Home
last modified time | relevance | path

Searched refs:mIsServiceEnabled (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java121 mSpyAttentionManager.mIsServiceEnabled = false; in testRegisterProximityUpdates_returnFalseWhenServiceDisabled()
130 mSpyAttentionManager.mIsServiceEnabled = true; in testRegisterProximityUpdates_returnFalseWhenProximityDisabled()
140 mSpyAttentionManager.mIsServiceEnabled = true; in testRegisterProximityUpdates_returnFalseWhenServiceUnavailable()
152 mSpyAttentionManager.mIsServiceEnabled = true; in testRegisterProximityUpdates_returnFalseWhenPowerManagerNotInteract()
164 mSpyAttentionManager.mIsServiceEnabled = true; in testRegisterProximityUpdates_callOnSuccess()
178 mSpyAttentionManager.mIsServiceEnabled = true; in testRegisterProximityUpdates_callOnSuccessTwiceInARow()
205 mSpyAttentionManager.mIsServiceEnabled = true; in testUnregisterProximityUpdates_noCrashWhenCallbackMismatched()
227 mSpyAttentionManager.mIsServiceEnabled = true; in testUnregisterProximityUpdates_cancelRegistrationWhenMatched()
240 mSpyAttentionManager.mIsServiceEnabled = true; in testUnregisterProximityUpdates_noCrashWhenTwiceInARow()
268 mSpyAttentionManager.mIsServiceEnabled = true; in testCheckAttention_returnFalseWhenPowerManagerNotInteract()
[all …]
/frameworks/base/services/core/java/com/android/server/wearable/
DWearableSensingManagerService.java111 volatile boolean mIsServiceEnabled; field in WearableSensingManagerService
144 mIsServiceEnabled = DeviceConfig.getBoolean( in onBootPhase()
153 mIsServiceEnabled = DeviceConfig.getBoolean( in onDeviceConfigChange()
420 if (!mIsServiceEnabled) { in provideConnection()
443 if (!mIsServiceEnabled) { in provideDataStream()
466 if (!mIsServiceEnabled) { in provideData()
486 if (!mIsServiceEnabled) { in registerDataRequestObserver()
536 if (!mIsServiceEnabled) { in unregisterDataRequestObserver()
574 if (!mIsServiceEnabled) { in startHotwordRecognition()
593 if (!mIsServiceEnabled) { in stopHotwordRecognition()
/frameworks/base/services/core/java/com/android/server/rotationresolver/
DRotationResolverManagerService.java88 boolean mIsServiceEnabled; field in RotationResolverManagerService
108 mIsServiceEnabled = DeviceConfig.getBoolean(NAMESPACE_ROTATION_RESOLVER, in onBootPhase()
115 mIsServiceEnabled = DeviceConfig.getBoolean(NAMESPACE_ROTATION_RESOLVER, in onDeviceConfigChange()
178 return mIsServiceEnabled; in isRotationResolverSupported()
192 if (mIsServiceEnabled && isCameraAvailable) { in resolveRotation()
/frameworks/base/services/core/java/com/android/server/ondeviceintelligence/
DOnDeviceIntelligenceManagerService.java146 volatile boolean mIsServiceEnabled; field in OnDeviceIntelligenceManagerService
195 mIsServiceEnabled = isServiceEnabled(); in onBootPhase()
211 mIsServiceEnabled = isServiceEnabled(); in onDeviceConfigChange()
242 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
267 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
305 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
349 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
393 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
433 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
477 if (!mIsServiceEnabled) { in getOnDeviceIntelligenceManagerService()
[all …]
/frameworks/base/services/core/java/com/android/server/attention/
DAttentionManagerService.java103 boolean mIsServiceEnabled; field in AttentionManagerService
249 mIsServiceEnabled = getIsServiceEnabled(); in readValuesFromDeviceConfig()
253 + "\nmIsServiceEnabled=" + mIsServiceEnabled in readValuesFromDeviceConfig()
270 if (!mIsServiceEnabled) { in checkAttention()
496 ipw.println("isServiceEnabled=" + mIsServiceEnabled); in dumpInternal()
525 return AttentionManagerService.this.mIsServiceEnabled; in isAttentionServiceSupported()
/frameworks/base/services/core/java/com/android/server/ambientcontext/
DAmbientContextManagerService.java115 boolean mIsServiceEnabled; field in AmbientContextManagerService
145 mIsServiceEnabled = DeviceConfig.getBoolean( in onBootPhase()
200 mIsServiceEnabled = DeviceConfig.getBoolean( in onDeviceConfigChange()
689 if (service.getServiceType() == ServiceType.DEFAULT && !mIsServiceEnabled) { in checkStatusCode()
/frameworks/base/services/tests/servicestests/src/com/android/server/rotationresolver/
DRotationResolverManagerPerUserServiceTest.java90 this.mService.getMaster().mIsServiceEnabled = true; in setUp()