diff options
author | 2020-09-24 16:34:21 +0000 | |
---|---|---|
committer | 2020-09-24 16:43:22 +0000 | |
commit | c68e32d3b03d1024d570dc4283a3201d7bc8429e (patch) | |
tree | 2a1f28f63f50d139bec3d7d9a0304c63d08745ce | |
parent | b3f953a7bfb7299954e95f64b3edecf5eb04be8a (diff) |
libfakeservicemanager: remove copied comments
These APIs are documented in the super class.
Bug: N/A
Test: N/A
Change-Id: I812fcbc51f561f9bc732a4699ef4fb2fb47baadf
-rw-r--r-- | libs/fakeservicemanager/ServiceManager.h | 23 |
1 files changed, 1 insertions, 22 deletions
diff --git a/libs/fakeservicemanager/ServiceManager.h b/libs/fakeservicemanager/ServiceManager.h index 62311d4727..a6b6b84219 100644 --- a/libs/fakeservicemanager/ServiceManager.h +++ b/libs/fakeservicemanager/ServiceManager.h @@ -30,42 +30,21 @@ class ServiceManager : public IServiceManager { public: ServiceManager(); - /** - * Equivalent of checkService. - */ sp<IBinder> getService( const String16& name) const override; - /** - * Retrieve an existing service, non-blocking. - */ sp<IBinder> checkService( const String16& name) const override; - /** - * Register a service. - */ status_t addService(const String16& name, const sp<IBinder>& service, bool allowIsolated = false, int dumpsysFlags = DUMP_FLAG_PRIORITY_DEFAULT) override; - /** - * Return list of all existing services. - */ Vector<String16> listServices(int dumpsysFlags = 0) override; IBinder* onAsBinder() override; - /** - * Effectively no-oped in this implementation - equivalent to checkService. - */ sp<IBinder> waitForService(const String16& name) override; - /** - * Check if a service is declared (e.g. VINTF manifest). - * - * If this returns true, waitForService should always be able to return the - * service. - */ - bool isDeclared(const String16& name) override; + bool isDeclared(const String16& name) override; private: std::map<String16, sp<IBinder>> mNameToService; |