/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | ServiceHolderTest.java | 101 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testServiceSuccessfullyPopulated_whenCallback() 106 when(mServiceProviderFacade.checkService(eq(AUDIO_POLICY_SERVICE_NAME))) in testCheckServiceCalled_whenUncached() 108 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testCheckServiceCalled_whenUncached() 113 assertThat(mServiceHolder.checkService()).isEqualTo(null); in testCheckServiceTransmitsNull() 126 mServiceHolder.checkService(); in testCheckServiceNotCalled_whenCached() 127 verify(mServiceProviderFacade, never()).checkService(any()); in testCheckServiceNotCalled_whenCached() 142 when(mServiceProviderFacade.checkService(eq(AUDIO_POLICY_SERVICE_NAME))) in testStartTaskCalled_onStart() 145 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testStartTaskCalled_onStart() 159 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testStartTaskCalled_onStartFromCallback() 174 assertThat(mServiceHolder.checkService()).isEqualTo(mAudioPolicyService); in testBinderDied_clearsServiceAndUnlinks() [all …]
|
/frameworks/native/services/sensorservice/ |
D | BatteryService.cpp | 59 if (checkService()) { in enableSensorImpl() 68 if (checkService()) { in disableSensorImpl() 78 if (checkService()) { in noteWakeupSensorEventImpl() 85 bool BatteryService::checkService() { in checkService() function in android::BatteryService
|
/frameworks/base/core/java/com/android/ims/internal/uce/uceservice/ |
D | ImsUceManager.java | 115 public void createUceService(boolean checkService) { in createUceService() argument 117 if (checkService) { in createUceService() 118 IBinder binder = ServiceManager.checkService(getUceServiceName()); in createUceService()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/development/ |
D | SystemPropPoker.java | 70 IBinder checkService(String service) { in checkService() method in SystemPropPoker.PokerTask 71 return ServiceManager.checkService(service); in checkService() 82 IBinder obj = checkService(service); in doInBackground()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | ServiceHolder.java | 77 public IBinder checkService(String name); in checkService() method 101 public IBinder checkService(String name) { in ServiceHolder() 102 return ServiceManager.checkService(name); in ServiceHolder() 183 public @Nullable I checkService() { in checkService() method in ServiceHolder 186 IBinder registered = mServiceProvider.checkService(mServiceName); in checkService()
|
/frameworks/base/core/java/android/os/ |
D | UpdateLock.java | 35 private static void checkService() { in checkService() method in UpdateLock 112 checkService(); in acquire() 137 checkService(); in release()
|
D | ServiceManagerNative.java | 63 return mServiceManager.checkService(name); in getService() 66 public IBinder checkService(String name) throws RemoteException { in checkService() method in ServiceManagerProxy 67 return mServiceManager.checkService(name); in checkService()
|
D | StatsServiceManager.java | 82 return ServiceManager.checkService(mServiceName); in tryGet()
|
D | BluetoothServiceManager.java | 94 return ServiceManager.checkService(mServiceName); in tryGet()
|
/frameworks/native/libs/fakeservicemanager/ |
D | FakeServiceManager.cpp | 29 return checkService(name); in getService() 32 sp<IBinder> FakeServiceManager::checkService( const String16& name) const { in checkService() function in android::FakeServiceManager 70 return checkService(name); in waitForService()
|
/frameworks/av/media/utils/ |
D | SchedulingPolicyService.cpp | 52 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority() 81 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestCpusetBoost()
|
/frameworks/native/libs/binder/ |
D | IServiceManager.cpp | 82 sp<IBinder> checkService(const String16& name) const override; 249 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); in checkPermission() 305 sp<IBinder> svc = checkService(name); in getService() 333 sp<IBinder> svc = checkService(name); in getService() 345 sp<IBinder> ServiceManagerShim::checkService(const String16& name) const in checkService() function in android::ServiceManagerShim 348 if (!mTheRealServiceManager->checkService(String8(name).c_str(), &ret).isOk()) { in checkService() 640 sp<IBinder> checkService(const String16& name) const override { in checkService() function in android::ServiceManagerHostShim
|
/frameworks/base/wifi/java/src/android/net/wifi/ |
D | WifiBlobStore.java | 47 ServiceManager.checkService(LEGACY_KEYSTORE_SERVICE_NAME)); in getLegacyKeystore()
|
/frameworks/layoutlib/bridge/src/android/os/ |
D | ServiceManager.java | 61 public static IBinder checkService(String name) { in checkService() method in ServiceManager
|
/frameworks/native/cmds/service/ |
D | service.cpp | 93 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main() 107 sp<IBinder> service = sm->checkService(name); in main() 117 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main()
|
/frameworks/av/media/libaudioclient/ |
D | RecordingActivityTracker.cpp | 29 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); in RecordingActivityTracker()
|
/frameworks/native/libs/binder/include/binder/ |
D | IServiceManager.h | 76 virtual sp<IBinder> checkService( const String16& name) const = 0; 179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
|
/frameworks/native/libs/binder/tests/ |
D | binderHostDeviceTest.cpp | 128 auto rpcBinder = sm->checkService(String16(kServiceName)); in TEST_F() 162 auto rpcBinder = sm->checkService(String16(kServiceName)); in TEST_F()
|
/frameworks/native/include/binder/ |
D | IServiceManager.h | 76 virtual sp<IBinder> checkService( const String16& name) const = 0; 179 return interface_cast<INTERFACE>(sm->checkService(name)); in checkDeclaredService()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_gpu_GpuService.cpp | 28 android::defaultServiceManager()->checkService(android::String16("gpu")); in getGpuService()
|
/frameworks/av/media/libstagefright/ |
D | VideoFrameScheduler.cpp | 46 mComposer = interface_cast<gui::ISurfaceComposer>(sm->checkService(name)); in updateVsync()
|
/frameworks/native/libs/binderdebug/ |
D | stats.cpp | 35 sp<IBinder> binder = defaultServiceManager()->checkService(name); in main()
|
/frameworks/av/media/utils/fuzzers/ |
D | SchedulingPolicyServiceFuzz.cpp | 38 sp<IBinder> obj = sm->checkService(name); in getBatteryService()
|
/frameworks/base/cmds/bootanimation/ |
D | BootAnimationUtil.cpp | 70 while (sm->checkService(name) == nullptr) { in waitForSurfaceFlinger()
|
/frameworks/base/nfc/java/android/nfc/ |
D | NfcServiceManager.java | 99 return ServiceManager.checkService(mServiceName); in tryGet()
|