Home
last modified time | relevance | path

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

123

/frameworks/native/services/sensorservice/
DBatteryService.cpp59 if (checkService()) { in enableSensorImpl()
68 if (checkService()) { in disableSensorImpl()
78 if (checkService()) { in cleanupImpl()
93 bool BatteryService::checkService() { in checkService() function in android::BatteryService
DBatteryService.h52 bool checkService();
/frameworks/base/core/java/android/os/
DUpdateLock.java34 private static void checkService() { in checkService() method in UpdateLock
106 checkService(); in acquire()
130 checkService(); in release()
DServiceManager.java115 public static IBinder checkService(String name) { in checkService() method in ServiceManager
121 return Binder.allowBlocking(getIServiceManager().checkService(name)); in checkService()
DIServiceManager.java42 public IBinder checkService(String name) throws RemoteException; in checkService() method
DServiceManagerNative.java67 IBinder service = checkService(name); in onTransact()
130 public IBinder checkService(String name) throws RemoteException { in checkService() method in ServiceManagerProxy
/frameworks/base/telephony/java/com/android/ims/internal/uce/uceservice/
DImsUceManager.java143 public void createUceService(boolean checkService) { in createUceService() argument
145 if (checkService) { in createUceService()
146 IBinder binder = ServiceManager.checkService(getUceServiceName(mPhoneId)); in createUceService()
/frameworks/native/libs/binder/
DIServiceManager.cpp106 sp<IBinder> binder = defaultServiceManager()->checkService(_permission); in checkPermission()
148 sp<IBinder> svc = checkService(name); in getService()
154 virtual sp<IBinder> checkService( const String16& name) const in checkService() function in android::BpServiceManager
DProcessInfoService.cpp98 mProcessInfoService = interface_cast<IProcessInfoService>(sm->checkService(name)); in updateBinderLocked()
DAppOpsManager.cpp67 sp<IBinder> binder = defaultServiceManager()->checkService(_appops); in getService()
/frameworks/native/libs/vr/libvrflinger/
Dvr_flinger.cpp47 defaultServiceManager()->checkService(String16("vrmanager"))); in ~VrFlinger()
119 defaultServiceManager()->checkService(String16("vrmanager"))); in OnBootFinished()
/frameworks/native/cmds/service/
Dservice.cpp107 sp<IBinder> service = sm->checkService(String16(argv[optind])); in main()
121 sp<IBinder> service = sm->checkService(name); in main()
131 sp<IBinder> service = sm->checkService(String16(argv[optind++])); in main()
/frameworks/native/cmds/cmd/
Dcmd.cpp154 sp<IBinder> service = sm->checkService(services[i]); in main()
167 sp<IBinder> service = sm->checkService(cmd); in main()
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DServiceManager.java55 public static IBinder checkService(String name) { in checkService() method in ServiceManager
/frameworks/native/services/surfaceflinger/DisplayHardware/
DPowerHAL.cpp38 sp<IBinder> bs = defaultServiceManager()->checkService(serviceName); in vsyncHint()
/frameworks/av/media/utils/
DSchedulingPolicyService.cpp40 sp<IBinder> binder = defaultServiceManager()->checkService(_scheduling_policy); in requestPriority()
/frameworks/native/cmds/dumpsys/
Ddumpsys.cpp165 sp<IBinder> service = sm_->checkService(services[i]); in main()
182 sp<IBinder> service = sm_->checkService(service_name); in main()
/frameworks/base/cmds/bootanimation/
Dbootanimation_main.cpp61 while (sm->checkService(name) == nullptr) { in main()
/frameworks/native/libs/binder/include/binder/
DIServiceManager.h44 virtual sp<IBinder> checkService( const String16& name) const = 0;
/frameworks/base/services/core/java/com/android/server/power/
DShutdownThread.java424 IActivityManager.Stub.asInterface(ServiceManager.checkService("activity")); in run()
468 ServiceManager.checkService("mount")); in run()
532 INfcAdapter.Stub.asInterface(ServiceManager.checkService("nfc")); in shutdownRadios()
534 ITelephony.Stub.asInterface(ServiceManager.checkService("phone")); in shutdownRadios()
536 IBluetoothManager.Stub.asInterface(ServiceManager.checkService( in shutdownRadios()
/frameworks/av/include/common_time/
DICommonTimeConfig.h58 sp<IBinder> binder = defaultServiceManager()->checkService( in getInstance()
DICommonClock.h93 sp<IBinder> binder = defaultServiceManager()->checkService( in getInstance()
/frameworks/av/media/libstagefright/foundation/
DAWakeLock.cpp51 defaultServiceManager()->checkService(String16("power")); in acquire()
/frameworks/native/cmds/dumpsys/tests/
Ddumpsys_test.cpp51 MOCK_CONST_METHOD1(checkService, sp<IBinder>(const String16&));
141 EXPECT_CALL(sm_, checkService(String16(name))).WillRepeatedly(Return(binder_mock)); in ExpectCheckService()
/frameworks/av/media/libaudioclient/
DPlayerBase.cpp33 sp<IBinder> binder = defaultServiceManager()->checkService(String16("audio")); in PlayerBase()

123