Home
last modified time | relevance | path

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

/frameworks/native/include/binder/
DIServiceManager.h90 virtual sp<IBinder> waitForService(const String16& name) = 0;
123 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function
125 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
132 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h90 virtual sp<IBinder> waitForService(const String16& name) = 0;
123 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function
125 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService()
132 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
/frameworks/native/cmds/cmd/
Dcmd.cpp206 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/
Dtest_sm.cpp99 EXPECT_EQ(sm->waitForService(String16("foo")), nullptr); in TEST()
109 EXPECT_EQ(sm->waitForService(String16("foo")), service); in TEST()
DServiceManager.h46 sp<IBinder> waitForService(const String16& name) override;
DServiceManager.cpp56 sp<IBinder> ServiceManager::waitForService(const String16& name) { in waitForService() function in android::ServiceManager
/frameworks/base/core/jni/
Dandroid_os_ServiceManager.cpp46 sp<IBinder> service = defaultServiceManager()->waitForService(nameCopy); in android_os_ServiceManager_waitForService()
/frameworks/base/media/java/android/media/
DMediaServiceManager.java74 return ServiceManager.waitForService(mServiceName); in get()
/frameworks/base/core/java/android/os/
DServiceManager.java260 public static native IBinder waitForService(@NonNull String name); in waitForService() method in ServiceManager
272 return isDeclared(name) ? waitForService(name) : null; in waitForDeclaredService()
/frameworks/native/libs/binderthreadstate/
Dtest.cpp188 android::waitForService<IAidlStuff>(String16(id2name(kP1Id).c_str())); in main()
190 android::waitForService<IAidlStuff>(String16(id2name(kP2Id).c_str())); in main()
/frameworks/av/services/audiopolicy/service/
DBinderProxy.h59 mDelegate = waitForService<ServiceType>(String16(mServiceName.c_str())); in waitServiceOrDie()
/frameworks/base/apct-tests/perftests/autofill/src/android/view/autofill/
DLoginTest.java251 private void changeTest(boolean waitForService) throws Throwable { in changeTest() argument
255 if (waitForService) { in changeTest()
/frameworks/base/services/core/jni/
Dcom_android_server_power_PowerManagerService.cpp158 gSuspendControl = waitForService<ISuspendControlService>(String16("suspend_control")); in getSuspendControl()
168 waitForService<system::suspend::internal::ISuspendControlServiceInternal>( in getSuspendControlInternal()
/frameworks/native/libs/binder/ndk/
Dservice_manager.cpp83 sp<IBinder> binder = sm->waitForService(String16(instance)); in AServiceManager_waitForService()
/frameworks/native/libs/binder/
DIServiceManager.cpp75 sp<IBinder> waitForService(const String16& name16) override;
292 sp<IBinder> ServiceManagerShim::waitForService(const String16& name16) in waitForService() function in android::ServiceManagerShim
/frameworks/base/services/core/java/com/android/server/
DDynamicSystemService.java60 return IGsiService.Stub.asInterface(ServiceManager.waitForService("gsiservice")); in getGsiService()
/frameworks/native/services/inputflinger/tests/
DInputFlingerService_test.cpp339 sp<IBinder> input(defaultServiceManager()->waitForService(kTestServiceName)); in InitializeInputFlinger()
343 input = defaultServiceManager()->waitForService(kQueryServiceName); in InitializeInputFlinger()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java819 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/
Ddumpsys_test.cpp59 MOCK_METHOD1(waitForService, sp<IBinder>(const String16&));
/frameworks/av/services/tuner/
DTunerService.cpp61 sp<IBinder> binder = serviceMgr->waitForService(String16("package_native")); in TunerService()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java702 ServiceManager.waitForService("installd")); in performSystemServerDexOpt()
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordDetectionConnection.java174 mAudioFlinger = ServiceManager.waitForService("media.audio_flinger"); in initAudioFlingerLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DApexManager.java479 Binder.allowBlocking(ServiceManager.waitForService("apexservice"))); in waitForApexService()
/frameworks/native/libs/gui/
DSurfaceComposerClient.cpp70 mComposerService = waitForService<ISurfaceComposer>(name); in connectLocked()
/frameworks/av/media/libstagefright/
DMediaCodec.cpp1784 sp<IBinder> binder = serviceMgr->waitForService(String16("package_native")); in connectFormatShaper()