Home
last modified time | relevance | path

Searched refs:isEnabledLocked (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DLogicalDisplayMapperTest.java494 assertTrue(mLogicalDisplayMapper.getDisplayLocked(device1).isEnabledLocked()); in testDeviceStateLocked()
495 assertFalse(mLogicalDisplayMapper.getDisplayLocked(device2).isEnabledLocked()); in testDeviceStateLocked()
500 assertTrue(mLogicalDisplayMapper.getDisplayLocked(device1).isEnabledLocked()); in testDeviceStateLocked()
501 assertTrue(mLogicalDisplayMapper.getDisplayLocked(device2).isEnabledLocked()); in testDeviceStateLocked()
508 assertFalse(mLogicalDisplayMapper.getDisplayLocked(device1).isEnabledLocked()); in testDeviceStateLocked()
509 assertTrue(mLogicalDisplayMapper.getDisplayLocked(device2).isEnabledLocked()); in testDeviceStateLocked()
516 assertFalse(mLogicalDisplayMapper.getDisplayLocked(device1).isEnabledLocked()); in testDeviceStateLocked()
517 assertTrue(mLogicalDisplayMapper.getDisplayLocked(device2).isEnabledLocked()); in testDeviceStateLocked()
650 assertTrue(display1.isEnabledLocked()); in testCreateNewLogicalDisplay()
657 assertFalse(display2.isEnabledLocked()); in testCreateNewLogicalDisplay()
/frameworks/base/services/core/java/com/android/server/infra/
DAbstractPerUserSystemService.java118 protected boolean isEnabledLocked() { in isEnabledLocked() method in AbstractPerUserSystemService
145 final boolean wasEnabled = isEnabledLocked(); in updateLocked()
161 return wasEnabled != isEnabledLocked(); in updateLocked()
DAbstractMasterSystemService.java696 if (!service.isEnabledLocked()) { in updateCachedServiceListLocked()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java252 updateRemoteServiceLocked(!isEnabledLocked()); in onPackageUpdatedLocked()
274 final boolean enabled = isEnabledLocked(); in startSessionLocked()
370 if (!isEnabledLocked()) { in finishSessionLocked()
387 if (!isEnabledLocked()) { in removeDataLocked()
397 if (!isEnabledLocked()) { in onDataSharedLocked()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DAutofillManagerServiceImpl.java224 if (!isEnabledLocked()) { in updateLocked()
264 if (isEnabledLocked()) return FLAG_ADD_CLIENT_ENABLED; in addClientLocked()
285 if (!isEnabledLocked()) { in setAuthenticationResultLocked()
297 if (!isEnabledLocked()) { in setHasCallback()
325 if (!isEnabledLocked() && !forAugmentedAutofillOnly) { in startSessionLocked()
415 if (!isEnabledLocked()) { in setAutofillFailureLocked()
428 if (!isEnabledLocked()) { in finishSessionLocked()
458 if (!isEnabledLocked()) { in cancelSessionLocked()
1458 isEnabled = isEnabledLocked(); in sendStateToClients()
/frameworks/base/services/core/java/com/android/server/display/
DLogicalDisplayMapper.java231 if (display == null || display.isEnabledLocked() || includeDisabled) { in getDisplayLocked()
249 if (display.isEnabledLocked() || includeDisabled) { in getDisplayLocked()
264 if (display.isEnabledLocked() || includeDisabled) { in getDisplayIdsLocked()
978 if (display.isEnabledLocked() != isEnabled) { in setEnabledLocked()
DLogicalDisplay.java503 (isEnabledLocked() && device.getDisplayDeviceInfoLocked().touch != TOUCH_NONE) in configureDisplayLocked()
750 public boolean isEnabledLocked() { in isEnabledLocked() method in LogicalDisplay
DDisplayPowerController.java539 mIsEnabled = logicalDisplay.isEnabledLocked(); in DisplayPowerController()
828 final boolean isEnabled = mLogicalDisplay.isEnabledLocked(); in onDisplayChanged()
DDisplayManagerService.java2377 if (display.isEnabledLocked()) { in sendDisplayEventLocked()
3398 if (display == null || !display.isEnabledLocked()) { in getBrightnessInfo()
/frameworks/base/services/core/java/com/android/server/utils/quota/
DCountQuotaTracker.java184 if (!isEnabledLocked() || isQuotaFreeLocked(userId, packageName)) { in noteEvent()
317 if (!isEnabledLocked()) return true; in isWithinQuotaLocked()
588 if (!isEnabledLocked() || isQuotaFreeLocked(userId, packageName)) { in maybeUpdateStatusForUptcLocked()
DQuotaTracker.java271 boolean isEnabledLocked() { in isEnabledLocked() method in QuotaTracker
/frameworks/base/services/searchui/java/com/android/server/searchui/
DSearchUiPerUserService.java94 if (!isEnabledLocked()) { in updateLocked()
/frameworks/base/services/smartspace/java/com/android/server/smartspace/
DSmartspacePerUserService.java90 if (isEnabledLocked()) { in updateLocked()
/frameworks/base/services/core/java/com/android/server/textclassifier/
DTextClassificationManagerService.java513 } else if (!serviceState.isInstalledLocked() || !serviceState.isEnabledLocked()) { in handleRequest()
518 + ", enabled:" + serviceState.isEnabledLocked()); in handleRequest()
981 boolean isEnabledLocked() { in isEnabledLocked() method in TextClassificationManagerService.ServiceState
/frameworks/base/services/appprediction/java/com/android/server/appprediction/
DAppPredictionPerUserService.java104 if (!isEnabledLocked()) { in updateLocked()
/frameworks/base/services/
Dart-profile23052 HSPLcom/android/server/infra/AbstractPerUserSystemService;->isEnabledLocked()Z
45888 …om/android/server/textclassifier/TextClassificationManagerService$ServiceState;->isEnabledLocked()Z
48749 HPLcom/android/server/utils/quota/QuotaTracker;->isEnabledLocked()Z