Home
last modified time | relevance | path

Searched refs:mNameToService (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/fakeservicemanager/
DServiceManager.cpp29 auto it = mNameToService.find(name); in checkService()
30 if (it == mNameToService.end()) { in checkService()
39 mNameToService[name] = service; in addService()
45 for (auto const& [name, service] : mNameToService) { in listServices()
61 return mNameToService.find(name) != mNameToService.end(); in isDeclared()
DServiceManager.h71 std::map<String16, sp<IBinder>> mNameToService;
/frameworks/native/cmds/servicemanager/
DServiceManager.cpp114 for (const auto& [name, service] : mNameToService) { in ~ServiceManager()
136 if (auto it = mNameToService.find(name); it != mNameToService.end()) { in tryGetService()
216 auto entry = mNameToService.emplace(name, Service { in addService()
241 for (auto const& [name, service] : mNameToService) { in listServices()
250 for (auto const& [name, service] : mNameToService) { in listServices()
285 if (auto it = mNameToService.find(name); it != mNameToService.end()) { in registerForNotifications()
355 for (auto it = mNameToService.begin(); it != mNameToService.end();) { in binderDied()
357 it = mNameToService.erase(it); in binderDied()
392 auto serviceIt = mNameToService.find(name); in registerClientCallback()
393 if (serviceIt == mNameToService.end()) { in registerClientCallback()
[all …]
DServiceManager.h87 ServiceMap mNameToService; variable