Home
last modified time | relevance | path

Searched refs:getService (Results 1 – 25 of 79) sorted by relevance

1234

/system/tools/aidl/tests/
Daidl_test_client.h30 using android::getService; in SetUp()
34 ASSERT_EQ(OK, getService(ITestService::descriptor, &service)); in SetUp()
Daidl_test_client_versioned_interface.cpp30 ASSERT_EQ(OK, android::getService(IFooInterface::descriptor, &service)); in SetUp()
/system/hwservicemanager/
DServiceManager.cpp72 if (service->getService() == nullptr) { in forEachExistingService()
81 if (service->getService() == nullptr) { in forEachExistingService()
202 if (service->getService() == nullptr) { in addPackageListener()
278 sp<IBase> service = hidlService->getService(); in get()
288 if (otherService != hidlService && interfacesEqual(service, otherService->getService())) { in get()
350 if (hidlService != nullptr && hidlService->getService() != nullptr) { in addImpl()
376 const sp<IBase> remove = hidlService->getService(); in addImpl()
468 if (service->getService() == nullptr) continue; in listByInterface()
477 if (service->getService() == nullptr) continue; in listByInterface()
592 sp<IBase> service = registered->getService(); in registerClientCallback()
[all …]
DHidlService.cpp45 sp<IBase> HidlService::getService() const { in getService() function in android::hidl::manager::implementation::HidlService
241 Return<void> ret = callback->onClients(getService(), hasClients); in sendClientCallbackNotification()
/system/hardware/interfaces/suspend/1.0/default/
DSystemSuspendBenchmark.cpp31 static sp<ISystemSuspend> suspendService = ISystemSuspend::getService(); in BM_acquireWakeLock()
41 android::defaultServiceManager()->getService(android::String16("suspend_control")); in BM_getWakeLockStats()
/system/libhwbinder/vts/performance/
DBenchmark.cpp59 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true); in startServer()
86 sp<IBenchmark> service = IBenchmark::getService(gServiceName, true /* getStub */); in BM_sendVec_passthrough()
98 sp<IBenchmark> service = IBenchmark::getService(gServiceName); in BM_sendVec_binderize()
DBenchmark_binder.cpp38 using android::getService;
83 status_t status = getService(String16(kServiceName), &service); in BM_sendVec_binder()
/system/extras/partition_tools/
Dlpdump_target.cc56 status_t status = getService(String16("lpdump_service"), &service_); in LpdumpService()
60 status = getService(String16("lpdump"), &service_); in LpdumpService()
/system/bt/service/example/heart_rate/
Dserver_main.cc37 using android::getService;
93 status_t status = getService(String16(kServiceName.c_str()), &bluetooth); in main()
/system/core/healthd/
Dcharger_utils.cpp32 sp<V2_1::IHealth> service = V2_1::IHealth::getService(); in GetHealthServiceOrDefault()
/system/sepolicy/prebuilts/api/29.0/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/sepolicy/prebuilts/api/28.0/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/sepolicy/prebuilts/api/30.0/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/sepolicy/prebuilts/api/27.0/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/sepolicy/prebuilts/api/26.0/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/sepolicy/private/
Dhalclientdomain.te12 # Wait for HAL server to be up (used by getService)
/system/security/keystore/
Dkeystore_get.cpp28 sp<IBinder> binder = sm->getService(String16("android.security.keystore")); in keystore_get()
Dkeystore_main.cpp62 auto device = Wrapper::WrappedIKeymasterDevice::getService(name); in enumerateKeymasterDevices()
105 auto serviceManager = IServiceManager::getService(); in initializeKeymasters()
/system/core/usbd/
Dusbd.cpp38 android::sp<IUsbGadget> gadget = IUsbGadget::getService(); in main()
/system/core/fastboot/device/
Dfastboot_device.cpp65 boot_control_hal_(IBootControl::getService()),
67 fastboot_hal_(IFastboot::getService()),
/system/extras/profcollectd/libprofcollectd/
Dinterface.cpp37 defaultServiceManager()->getService(String16(ProfcollectdBinder::getServiceName())); in GetIProfcollectdService()
/system/tools/aidl/tests/java_app/src/android/aidl/tests/
DTestVersionedInterface.java41 IBinder binder = ServiceManager.getService(IFooInterface.class.getName()); in setUp()
/system/tools/hidl/test/hidl_test/
Dhidl_test_client.cpp375 manager = IServiceManager::getService(); in getServices()
383 tokenManager = ITokenManager::getService(); in getServices()
387 ashmemAllocator = IAllocator::getService("ashmem"); in getServices()
394 memoryTest = IMemoryTest::getService("memory", mode == PASSTHROUGH /* getStub */); in getServices()
398 fetcher = IFetcher::getService("fetcher", mode == PASSTHROUGH /* getStub */); in getServices()
402 foo = IFoo::getService("foo", mode == PASSTHROUGH /* getStub */); in getServices()
406 baz = IBaz::getService("baz", mode == PASSTHROUGH /* getStub */); in getServices()
410 dyingBaz = IBaz::getService("dyingBaz", mode == PASSTHROUGH /* getStub */); in getServices()
414 bar = IBar::getService("foo", mode == PASSTHROUGH /* getStub */); in getServices()
419 IMultithread::getService("multithread", mode == PASSTHROUGH /* getStub */); in getServices()
[all …]
/system/libhidl/libhidlmemory/
Dmapping.cpp46 sp<IMapper> mapper = IMapper::getService(name, true /* getStub */); in getMapperService()
/system/gsid/tests/
Dboot_tests.cpp58 auto weaver = IWeaver::getService(); in TEST()

1234