/frameworks/base/services/core/java/com/android/server/audio/ |
D | ServiceHolder.java | 79 public IBinder waitForService(String name); in waitForService() method 106 public IBinder waitForService(String name) { in ServiceHolder() 107 return ServiceManager.waitForService(name); in ServiceHolder() 192 public @NonNull I waitForService() { in waitForService() method in ServiceHolder 194 return (s != null) ? s : onServiceInited(mServiceProvider.waitForService(mServiceName)); in waitForService()
|
D | DefaultAudioPolicyFacade.java | 56 IAudioPolicyService ap = mServiceHolder.waitForService(); in isHotwordStreamSupported()
|
/frameworks/base/services/voiceinteraction/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/base/core/java/android/os/ |
D | ArtModuleServiceManager.java | 55 public IBinder waitForService() { in waitForService() method in ArtModuleServiceManager.ServiceRegisterer 56 return ServiceManager.waitForService(mServiceName); in waitForService()
|
D | ServiceManager.java | 332 public static IBinder waitForService(@NonNull String name) { in waitForService() method in ServiceManager 352 return isDeclared(name) ? waitForService(name) : null; in waitForDeclaredService()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 97 virtual sp<IBinder> waitForService(const String16& name) = 0; 163 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 97 virtual sp<IBinder> waitForService(const String16& name) = 0; 163 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 165 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 172 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
|
/frameworks/native/cmds/cmd/ |
D | cmd.cpp | 205 bool waitForService = ((argc > 1) && (argv[0] == "-w")); in cmdMain() local 206 int serviceIdx = (waitForService) ? 1 : 0; in cmdMain() 215 if(waitForService) { in cmdMain() 216 service = sm->waitForService(serviceName); in cmdMain()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | ServiceHolderTest.java | 118 when(mServiceProviderFacade.waitForService(eq(AUDIO_POLICY_SERVICE_NAME))) in testWaitForServiceCalled_whenUncached() 120 assertThat(mServiceHolder.waitForService()).isEqualTo(mAudioPolicyService); in testWaitForServiceCalled_whenUncached() 133 mServiceHolder.waitForService(); in testWaitForServiceNotCalled_whenCached() 134 verify(mServiceProviderFacade, never()).waitForService(any()); in testWaitForServiceNotCalled_whenCached()
|
/frameworks/av/media/utils/ |
D | ProcessInfo.cpp | 55 sp<IBinder> binder = defaultServiceManager()->waitForService(String16("processinfo")); in checkProcessExistent() 90 sp<IBinder> binder = defaultServiceManager()->waitForService(String16("processinfo")); in getPriority()
|
/frameworks/base/core/jni/ |
D | android_os_ServiceManager.cpp | 43 sp<IBinder> service = defaultServiceManager()->waitForService(nameCopy); in android_os_ServiceManager_waitForServiceNative()
|
/frameworks/native/libs/fakeservicemanager/ |
D | test_sm.cpp | 116 EXPECT_EQ(sm->waitForService(String16("foo")), nullptr); in TEST() 126 EXPECT_EQ(sm->waitForService(String16("foo")), service); in TEST()
|
D | FakeServiceManager.cpp | 69 sp<IBinder> FakeServiceManager::waitForService(const String16& name) { in waitForService() function in android::FakeServiceManager
|
/frameworks/base/media/java/android/media/ |
D | MediaServiceManager.java | 74 return ServiceManager.waitForService(mServiceName); in get()
|
/frameworks/native/libs/fakeservicemanager/include/fakeservicemanager/ |
D | FakeServiceManager.h | 48 sp<IBinder> waitForService(const String16& name) override;
|
/frameworks/native/services/surfaceflinger/tests/ |
D | Binder_test.cpp | 52 mISurfaceComposerAidl = waitForService<gui::ISurfaceComposer>(String16("SurfaceFlingerAIDL")); in BinderTest() 53 mISurfaceComposer = waitForService<ISurfaceComposer>(String16("SurfaceFlinger")); in BinderTest()
|
/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/av/media/libmedia/ |
D | IMediaDeathNotifier.cpp | 41 sp<IBinder> binder = sm->waitForService(String16("media.player")); in getMediaPlayerService()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 154 gSuspendControl = waitForService<ISuspendControlService>(String16("suspend_control")); in getSuspendControl() 164 waitForService<system::suspend::internal::ISuspendControlServiceInternal>( in getSuspendControlInternal()
|
/frameworks/av/services/tuner/ |
D | TunerHelper.cpp | 53 sp<IBinder> binder = serviceMgr->waitForService(String16("package_native")); in checkTunerFeature()
|
/frameworks/native/libs/binderthreadstate/ |
D | test.cpp | 240 android::waitForService<IAidlStuff>(String16(id2name(kP1Id).c_str())); in main() 245 android::waitForService<IAidlStuff>(String16(id2name(kP2Id).c_str())); in main()
|
/frameworks/av/media/libaaudio/tests/ |
D | test_multiple_close_simultaneously.cpp | 69 sp<IBinder> binder = sm->waitForService(String16(AAUDIO_SERVICE_NAME)); in getAAudioService()
|
/frameworks/native/libs/sensorprivacy/ |
D | SensorPrivacyManager.cpp | 37 sp<IBinder> binder = defaultServiceManager()->waitForService(String16("sensor_privacy")); in getService()
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTest.cpp | 151 auto rpcBinder = sm->waitForService(String16(kServiceName)); in TEST_F()
|