Home
last modified time | relevance | path

Searched refs:STATE_DISABLED (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationController.java49 @IntDef({STATE_DISABLED, STATE_ENABLED, STATE_DISABLING, STATE_ENABLING})
53 @VisibleForTesting static final int STATE_DISABLED = 0; field in WindowMagnificationAnimationController
74 private int mState = STATE_DISABLED;
162 if (mState == STATE_DISABLED) { in enableWindowMagnification()
209 if (mState == STATE_DISABLED) { in setupEnableAnimationSpecs()
263 if (mState == STATE_DISABLED || mState == STATE_DISABLING) { in deleteWindowMagnification()
264 if (mState == STATE_DISABLED) { in deleteWindowMagnification()
278 setState(STATE_DISABLED); in updateState()
/frameworks/base/core/java/com/android/internal/compat/
DChangeReporter.java173 return isLoggableBySdk && state != STATE_DISABLED; in shouldWriteToDebug()
265 case STATE_DISABLED: in stateToString()
277 public static final int STATE_DISABLED = field in ChangeReporter
292 STATE_DISABLED,
/frameworks/base/core/tests/PlatformCompatFramework/src/com/android/internal/compat/
DChangeReporterTest.java38 int myState = ChangeReporter.STATE_ENABLED, otherState = ChangeReporter.STATE_DISABLED; in testStatsLogOnce()
131 int myDisabledState = ChangeReporter.STATE_DISABLED; in testDebugLogWithFlagOnAndOldSdk()
154 int myDisabledState = ChangeReporter.STATE_DISABLED; in testDebugLogWithFlagOnAndDisabledChange()
177 int myDisabledState = ChangeReporter.STATE_DISABLED; in testDebugLogWithFlagOff()
/frameworks/base/services/contentcapture/java/com/android/server/contentcapture/
DContentCapturePerUserService.java21 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
263 setClientState(clientReceiver, STATE_DISABLED | STATE_INTERNAL_ERROR, in startSessionLocked()
289 setClientState(clientReceiver, STATE_DISABLED | STATE_NO_SERVICE, in startSessionLocked()
294 STATE_DISABLED | STATE_NO_SERVICE, serviceComponentName, in startSessionLocked()
313 setClientState(clientReceiver, STATE_DISABLED | STATE_NOT_WHITELISTED, in startSessionLocked()
318 STATE_DISABLED | STATE_NOT_WHITELISTED, serviceComponentName, in startSessionLocked()
327 setClientState(clientReceiver, STATE_DISABLED | STATE_DUPLICATED_ID, in startSessionLocked()
332 STATE_DISABLED | STATE_DUPLICATED_ID, in startSessionLocked()
344 setClientState(clientReceiver, STATE_DISABLED | STATE_NO_SERVICE, in startSessionLocked()
349 STATE_DISABLED | STATE_NO_SERVICE, serviceComponentName, in startSessionLocked()
DContentCaptureServerSession.java23 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
212 setClientState(mSessionStateReceiver, STATE_DISABLED | STATE_SERVICE_UPDATING, in pauseLocked()
DContentCaptureManagerService.java37 import static android.view.contentcapture.ContentCaptureSession.STATE_DISABLED;
1102 setClientState(result, STATE_DISABLED, /* binder= */ null); in startSession()
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java57 STATE_DISABLED,
98 public static final int STATE_DISABLED = 2; field in OverlayInfo
413 case STATE_DISABLED: in ensureValidState()
492 case STATE_DISABLED: in stateToString()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerSettingsTests.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
196 STATE_DISABLED, in testSetPriority()
316 + " state='" + STATE_DISABLED + "'\n" in testRestoreSingleUserSingleOverlay()
333 assertEquals(STATE_DISABLED, oi.state); in testRestoreSingleUserSingleOverlay()
427 STATE_DISABLED, in createInfo()
DOverlayManagerServiceImplTests.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
177 assertState(STATE_DISABLED, IDENTIFIER, USER); in testOverlayInfoStateTransitions()
/frameworks/base/core/java/android/app/
DAppCompatCallbacks.java79 reportChange(changeId, ChangeReporter.STATE_DISABLED, isLoggable); in isChangeEnabled()
/frameworks/base/core/java/android/view/contentcapture/
DMainContentCaptureSession.java204 STATE_DISABLED | STATE_INTERNAL_ERROR)); in send()
335 if ((resultCode & STATE_DISABLED) != 0) { in onSessionStarted()
516 resetSession(STATE_DISABLED | STATE_NO_RESPONSE); in sendContentCaptureEvent()
723 mDisabled.set((newState & STATE_DISABLED) != 0); in resetSession()
DMainContentCaptureSessionV2.java219 STATE_DISABLED | STATE_INTERNAL_ERROR)); in send()
358 if ((resultCode & STATE_DISABLED) != 0) { in onSessionStarted()
539 resetSession(STATE_DISABLED | STATE_NO_RESPONSE); in sendContentCaptureEvent()
751 mDisabled.set((newState & STATE_DISABLED) != 0); in resetSession()
DContentCaptureSession.java106 public static final int STATE_DISABLED = 0x4; field in ContentCaptureSession
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/theme/
DThemeOverlayApplierTest.java301 enabled ? OverlayInfo.STATE_ENABLED : OverlayInfo.STATE_DISABLED, 0, 0, false, in createOverlayInfo()
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerServiceImpl.java19 import static android.content.om.OverlayInfo.STATE_DISABLED;
876 return enabled ? STATE_ENABLED : STATE_DISABLED; in calculateNewState()
DOverlayManagerShellCommand.java224 case OverlayInfo.STATE_DISABLED: in printListOverlay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/accessibility/
DWindowMagnificationAnimationControllerTest.java393 assertEquals(WindowMagnificationAnimationController.STATE_DISABLED, in enableWindowMagnificationWithScaleLessThanOne_enabled_AnimationAndInvokeCallback()
411 assertEquals(WindowMagnificationAnimationController.STATE_DISABLED, in enableWindowMagnificationWithScaleLessThanOneAndWithoutCallBack_enabled_expectedValues()
/frameworks/base/services/core/java/com/android/server/compat/
DPlatformCompat.java189 int state = enabled ? ChangeReporter.STATE_ENABLED : ChangeReporter.STATE_DISABLED; in isChangeEnabledInternal()
/frameworks/base/core/java/android/service/contentcapture/
DContentCaptureService.java534 stateFlags |= ContentCaptureSession.STATE_DISABLED; in handleOnCreateSession()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DSatelliteController.java721 case UwbManager.AdapterStateCallback.STATE_DISABLED: in toString()
740 if (state == UwbManager.AdapterStateCallback.STATE_DISABLED) { in onStateChanged()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt10889 Landroid/content/om/OverlayInfo;->STATE_DISABLED:I