Lines Matching refs:FakeServiceManager
20 using android::FakeServiceManager;
25 FakeServiceManager::FakeServiceManager() {} in FakeServiceManager() function in android::FakeServiceManager
27 sp<IBinder> FakeServiceManager::getService( const String16& name) const { in getService()
32 sp<IBinder> FakeServiceManager::checkService( const String16& name) const { in checkService()
42 status_t FakeServiceManager::addService(const String16& name, const sp<IBinder>& service, in addService()
54 Vector<String16> FakeServiceManager::listServices(int /*dumpsysFlags*/) { in listServices()
65 IBinder* FakeServiceManager::onAsBinder() { in onAsBinder()
69 sp<IBinder> FakeServiceManager::waitForService(const String16& name) { in waitForService()
73 bool FakeServiceManager::isDeclared(const String16& name) { in isDeclared()
79 Vector<String16> FakeServiceManager::getDeclaredInstances(const String16& name) { in getDeclaredInstances()
93 std::optional<String16> FakeServiceManager::updatableViaApex(const String16& name) { in updatableViaApex()
98 Vector<String16> FakeServiceManager::getUpdatableNames(const String16& apexName) { in getUpdatableNames()
103 std::optional<IServiceManager::ConnectionInfo> FakeServiceManager::getConnectionInfo( in getConnectionInfo()
109 status_t FakeServiceManager::registerForNotifications(const String16&, in registerForNotifications()
114 status_t FakeServiceManager::unregisterForNotifications(const String16&, in unregisterForNotifications()
119 std::vector<IServiceManager::ServiceDebugInfo> FakeServiceManager::getServiceDebugInfo() { in getServiceDebugInfo()
124 void FakeServiceManager::clear() { in clear()
141 [[clang::no_destroy]] static sp<FakeServiceManager> gFakeServiceManager;
150 gFakeServiceManager = new FakeServiceManager(); in setupFakeServiceManager()