/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 90 virtual sp<IBinder> waitForService(const String16& name) = 0; 112 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 114 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 121 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForDeclaredService()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 90 virtual sp<IBinder> waitForService(const String16& name) = 0; 112 sp<INTERFACE> waitForService(const String16& name) { in waitForService() function 114 return interface_cast<INTERFACE>(sm->waitForService(name)); in waitForService() 121 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 | 60 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/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/apct-tests/perftests/autofill/src/android/view/autofill/ |
D | LoginTest.java | 242 private void changeTest(boolean waitForService) throws Throwable { in changeTest() argument 246 if (waitForService) { in changeTest()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 75 sp<IBinder> waitForService(const String16& name16) override; 290 sp<IBinder> ServiceManagerShim::waitForService(const String16& name16) in waitForService() function in android::ServiceManagerShim
|
/frameworks/base/services/core/java/com/android/server/ |
D | DynamicSystemService.java | 58 return IGsiService.Stub.asInterface(waitForService("gsiservice")); in getGsiService()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | BugreportReceiverTest.java | 277 waitForService(false); in testProgress_cancel() 608 waitForService(false); in testShareBugreportAfterServiceDies() 945 private void waitForService(boolean expectRunning) { in waitForService() method in BugreportReceiverTest 969 waitForService(false); in killService()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_power_PowerManagerService.cpp | 204 gSuspendControl = waitForService<ISuspendControlService>(String16("suspend_control")); in getSuspendControl()
|
/frameworks/native/cmds/dumpsys/tests/ |
D | dumpsys_test.cpp | 56 MOCK_METHOD1(waitForService, sp<IBinder>(const String16&));
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | ApexManager.java | 289 return IApexService.Stub.asInterface(Binder.waitForService("apexservice")); in waitForApexService()
|
/frameworks/base/core/java/android/os/ |
D | Binder.java | 1102 public static final native @Nullable IBinder waitForService(@NonNull String serviceName) in waitForService() method in Binder
|
/frameworks/base/core/jni/ |
D | android_util_Binder.cpp | 1050 sp<IBinder> service = sm->waitForService(nameCopy); in android_os_Binder_waitForService()
|