/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/ |
D | DefaultHalFactory.java | 66 return new SoundTriggerHw3Compat(ServiceManager.waitForService(aidlServiceName), in create() 104 return new SoundTriggerHw3Compat(ServiceManager.waitForService(aidlServiceName), in create() 107 ServiceManager.waitForService(aidlServiceName).shellCommand(null, in create()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 96 virtual sp<IBinder> waitForService(const String16& name) = 0; 156 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 158 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 96 virtual sp<IBinder> waitForService(const String16& name) = 0; 156 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 158 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
|
/frameworks/native/cmds/cmd/ |
D | cmd.cpp | 206 bool waitForService = ((argc > 1) && (argv[0] == "-w")); in cmdMain() local 207 int serviceIdx = (waitForService) ? 1 : 0; in cmdMain() 216 if(waitForService) { in cmdMain() 217 service = sm->waitForService(serviceName); in cmdMain()
|
/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 99 EXPECT_EQ(sm->waitForService(String16("foo")), nullptr); in TEST() 109 EXPECT_EQ(sm->waitForService(String16("foo")), service); in TEST()
|
D | ServiceManager.h | 47 sp<IBinder> waitForService(const String16& name) override;
|
D | ServiceManager.cpp | 56 sp<IBinder> ServiceManager::waitForService(const String16& name) { in waitForService() function in android::ServiceManager
|
/frameworks/base/core/jni/ |
D | android_os_ServiceManager.cpp | 43 sp<IBinder> service = defaultServiceManager()->waitForService(nameCopy); in android_os_ServiceManager_waitForServiceNative()
|
/frameworks/base/media/java/android/media/ |
D | MediaServiceManager.java | 74 return ServiceManager.waitForService(mServiceName); in get()
|
/frameworks/native/libs/binderthreadstate/ |
D | test.cpp | 188 android::waitForService<IAidlStuff>(String16(id2name(kP1Id).c_str())); in main() 190 android::waitForService<IAidlStuff>(String16(id2name(kP2Id).c_str())); in main()
|
/frameworks/base/core/java/android/os/ |
D | ServiceManager.java | 279 public static IBinder waitForService(@NonNull String name) { in waitForService() method in ServiceManager 297 return isDeclared(name) ? waitForService(name) : null; in waitForDeclaredService()
|
/frameworks/av/services/tuner/ |
D | TunerHelper.cpp | 53 sp<IBinder> binder = serviceMgr->waitForService(String16("package_native")); in checkTunerFeature()
|
/frameworks/av/services/audiopolicy/service/ |
D | BinderProxy.h | 59 mDelegate = waitForService<ServiceType>(String16(mServiceName.c_str())); in waitServiceOrDie()
|
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | LoginTest.java | 251 private void changeTest(boolean waitForService) throws Throwable { in changeTest() argument 255 if (waitForService) { in changeTest()
|
/frameworks/native/services/inputflinger/tests/ |
D | InputFlingerService_test.cpp | 178 sp<IBinder> input(defaultServiceManager()->waitForService(kTestServiceName)); in InitializeInputFlinger() 182 input = defaultServiceManager()->waitForService(kQueryServiceName); in InitializeInputFlinger()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 161 gSuspendControl = waitForService<ISuspendControlService>(String16("suspend_control")); in getSuspendControl() 171 waitForService<system::suspend::internal::ISuspendControlServiceInternal>( in getSuspendControlInternal()
|
/frameworks/native/libs/binder/ndk/ |
D | service_manager.cpp | 83 sp<IBinder> binder = sm->waitForService(String16(instance)); in AServiceManager_waitForService()
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTest.cpp | 148 auto rpcBinder = sm->waitForService(String16(kServiceName)); in TEST_F()
|
D | binderRpcBenchmark.cpp | 247 gKernelBinder = defaultServiceManager()->waitForService(kKernelBinderInstance); in main()
|
/frameworks/base/services/core/java/com/android/server/ |
D | DynamicSystemService.java | 60 return IGsiService.Stub.asInterface(ServiceManager.waitForService("gsiservice")); in getGsiService()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 79 sp<IBinder> waitForService(const String16& name16) override; 338 sp<IBinder> ServiceManagerShim::waitForService(const String16& name16) in waitForService() function in android::ServiceManagerShim
|
D | servicedispatcher.cpp | 236 auto adb = android::waitForService<IAdbManager>(String16("adb")); in exitOnAdbDebuggingDisabled()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 819 waitForService(false); in assertServiceNotRunning() 833 private void waitForService(boolean expectRunning) { in waitForService() method in BugreportReceiverTest 857 waitForService(false); in killService()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 59 MOCK_METHOD1(waitForService, sp<IBinder>(const String16&));
|
/frameworks/base/services/usb/java/com/android/server/usb/hal/port/ |
D | UsbPortAidl.java | 142 mBinder = ServiceManager.waitForService(USB_AIDL_SERVICE); in connectToProxy()
|