Lines Matching refs:sm
38 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addService() local
39 status_t exception = sm->addService(String16(instance), binder->getBinder()); in AServiceManager_addService()
49 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_addServiceWithFlags() local
69 sm->addService(String16(instance), binder->getBinder(), allowIsolated, dumpFlags); in AServiceManager_addServiceWithFlags()
79 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_checkService() local
80 sp<IBinder> binder = sm->checkService(String16(instance)); in AServiceManager_checkService()
91 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getService() local
92 sp<IBinder> binder = sm->getService(String16(instance)); in AServiceManager_getService()
113 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_waitForService() local
114 sp<IBinder> binder = sm->waitForService(String16(instance)); in AServiceManager_waitForService()
164 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_registerForServiceNotifications() local
165 if (status_t res = sm->registerForNotifications(String16(instance), cb); res != STATUS_OK) { in AServiceManager_registerForServiceNotifications()
187 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isDeclared() local
188 return sm->isDeclared(String16(instance)); in AServiceManager_isDeclared()
196 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_forEachDeclaredInstance() local
197 for (const String16& instance : sm->getDeclaredInstances(String16(interface))) { in AServiceManager_forEachDeclaredInstance()
206 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_isUpdatableViaApex() local
207 return sm->updatableViaApex(String16(instance)) != std::nullopt; in AServiceManager_isUpdatableViaApex()
215 sp<IServiceManager> sm = defaultServiceManager(); in AServiceManager_getUpdatableApexName() local
216 std::optional<String16> updatableViaApex = sm->updatableViaApex(String16(instance)); in AServiceManager_getUpdatableApexName()