Lines Matching refs:sm
564 auto sm = defaultServiceManager1_2(); in getAllHalInstanceNames() local
565 sm->listManifestByInterface(descriptor, [&](const auto& instances) { in getAllHalInstanceNames()
586 const sp<IServiceManager1_1>& sm) : mInterfaceName(interface), in Waiter()
587 mInstanceName(instanceName), mSm(sm) { in Waiter()
744 sp<IServiceManager1_1> sm; in getRawServiceInternal() local
749 sm = defaultServiceManager1_1(); in getRawServiceInternal()
750 if (sm == nullptr) { in getRawServiceInternal()
755 Return<Transport> transportRet = sm->getTransport(descriptor, instance); in getRawServiceInternal()
783 waiter = new Waiter(descriptor, instance, sm); in getRawServiceInternal()
788 Return<sp<IBase>> ret = sm->get(descriptor, instance); in getRawServiceInternal()
841 sp<IServiceManager1_2> sm = defaultServiceManager1_2(); in registerAsServiceInternal() local
842 if (sm == nullptr) { in registerAsServiceInternal()
850 Return<Transport> transport = sm->getTransport(descriptor, name); in registerAsServiceInternal()
867 registered = sm->addWithChain(name.c_str(), service, chain).withDefault(false); in registerAsServiceInternal()