Loading libs/services/include/android/os/DropBoxManager.h +1 −4 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ public: // file descriptor. Status addFile(const String16& tag, int fd, int flags); class Entry : public virtual RefBase, public Parcelable { class Entry : public Parcelable { public: Entry(); virtual ~Entry(); Loading @@ -89,9 +89,6 @@ public: friend class DropBoxManager; }; // Get the next entry from the drop box after the specified time. Status getNextEntry(const String16& tag, long msec, Entry* entry); private: enum { HAS_BYTE_ARRAY = 8 Loading libs/services/src/os/DropBoxManager.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -228,15 +228,4 @@ DropBoxManager::add(const Entry& entry) return service->add(entry); } Status DropBoxManager::getNextEntry(const String16& tag, long msec, Entry* entry) { sp<IDropBoxManagerService> service = interface_cast<IDropBoxManagerService>( defaultServiceManager()->getService(android::String16("dropbox"))); if (service == NULL) { return Status::fromExceptionCode(Status::EX_NULL_POINTER, "can't find dropbox service"); } return service->getNextEntry(tag, msec, android::String16("android"), entry); } }} // namespace android::os Loading
libs/services/include/android/os/DropBoxManager.h +1 −4 Original line number Diff line number Diff line Loading @@ -62,7 +62,7 @@ public: // file descriptor. Status addFile(const String16& tag, int fd, int flags); class Entry : public virtual RefBase, public Parcelable { class Entry : public Parcelable { public: Entry(); virtual ~Entry(); Loading @@ -89,9 +89,6 @@ public: friend class DropBoxManager; }; // Get the next entry from the drop box after the specified time. Status getNextEntry(const String16& tag, long msec, Entry* entry); private: enum { HAS_BYTE_ARRAY = 8 Loading
libs/services/src/os/DropBoxManager.cpp +0 −11 Original line number Diff line number Diff line Loading @@ -228,15 +228,4 @@ DropBoxManager::add(const Entry& entry) return service->add(entry); } Status DropBoxManager::getNextEntry(const String16& tag, long msec, Entry* entry) { sp<IDropBoxManagerService> service = interface_cast<IDropBoxManagerService>( defaultServiceManager()->getService(android::String16("dropbox"))); if (service == NULL) { return Status::fromExceptionCode(Status::EX_NULL_POINTER, "can't find dropbox service"); } return service->getNextEntry(tag, msec, android::String16("android"), entry); } }} // namespace android::os