Home
last modified time | relevance | path

Searched refs:STATE_UNKNOWN (Results 1 – 25 of 39) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
DDozeScreenState.java30 private int mPendingScreenState = Display.STATE_UNKNOWN;
43 mPendingScreenState = Display.STATE_UNKNOWN; in transitionTo()
50 if (screenState == Display.STATE_UNKNOWN) { in transitionTo()
72 mPendingScreenState = Display.STATE_UNKNOWN; in applyPendingScreenState()
76 if (screenState != Display.STATE_UNKNOWN) { in applyScreenState()
78 mPendingScreenState = Display.STATE_UNKNOWN; in applyScreenState()
DDozeMachine.java104 return Display.STATE_UNKNOWN; in screenState()
/frameworks/support/compat/java/android/support/v4/text/
DTextDirectionHeuristicsCompat.java76 private static final int STATE_UNKNOWN = 2; field in TextDirectionHeuristicsCompat
86 return STATE_UNKNOWN; in isRtlText()
102 return STATE_UNKNOWN; in isRtlTextOrFormat()
183 int result = STATE_UNKNOWN; in checkRtl()
184 for (int i = start, e = start + count; i < e && result == STATE_UNKNOWN; ++i) { in checkRtl()
228 return STATE_UNKNOWN; in checkRtl()
/frameworks/base/core/java/android/text/
DTextDirectionHeuristics.java82 private static final int STATE_UNKNOWN = 2; field in TextDirectionHeuristics
120 return STATE_UNKNOWN; in isRtlCodePoint()
126 return STATE_UNKNOWN; in isRtlCodePoint()
208 int result = STATE_UNKNOWN; in checkRtl()
211 i < end && result == STATE_UNKNOWN; in checkRtl()
274 return STATE_UNKNOWN; in checkRtl()
/frameworks/base/core/java/android/content/om/
DOverlayInfo.java36 public static final int STATE_UNKNOWN = -1; field in OverlayInfo
134 case STATE_UNKNOWN: in ensureValidState()
201 case STATE_UNKNOWN: in stateToString()
/frameworks/base/services/core/java/com/android/server/location/
DGeofenceState.java31 private static final int STATE_UNKNOWN = 0; field in GeofenceState
48 mState = STATE_UNKNOWN; in GeofenceState()
/frameworks/base/packages/Shell/src/com/android/shell/
DBugreportWarningActivity.java21 import static com.android.shell.BugreportPrefs.STATE_UNKNOWN;
65 final int state = getWarningState(this, STATE_UNKNOWN); in onCreate()
DBugreportPrefs.java30 static final int STATE_UNKNOWN = 0; field in BugreportPrefs
/frameworks/base/core/java/android/view/autofill/
DAutofillManager.java211 public static final int STATE_UNKNOWN = 0; field in AutofillManager
299 private int mState = STATE_UNKNOWN;
426 mState = savedInstanceState.getInt(STATE_TAG, STATE_UNKNOWN); in onCreate()
440 mState = STATE_UNKNOWN; in onCreate()
486 if (mState != STATE_UNKNOWN) { in onSaveInstanceState()
998 if (mState != STATE_UNKNOWN && (flags & FLAG_MANUAL_REQUEST) == 0) { in startSessionLocked()
1056 mState = STATE_UNKNOWN; in resetSessionLocked()
1083 mState = (mSessionId == NO_SESSION) ? STATE_UNKNOWN : STATE_ACTIVE; in updateSessionLocked()
1360 mState = STATE_UNKNOWN; in setSaveUiState()
1534 case STATE_UNKNOWN: in getStateAsStringLocked()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
DDozeServiceFake.java62 screenState = Display.STATE_UNKNOWN; in reset()
/frameworks/base/core/java/android/service/notification/
DCondition.java58 public static final int STATE_UNKNOWN = 2; field in Condition
163 if (state == STATE_UNKNOWN) return "STATE_UNKNOWN"; in stateToString()
/frameworks/base/location/java/android/location/
DGnssMeasurement.java87 public static final int STATE_UNKNOWN = 0; field in GnssMeasurement
300 if (mState == STATE_UNKNOWN) { in getStateString()
1078 setState(STATE_UNKNOWN); in initialize()
DGpsMeasurement.java119 public static final short STATE_UNKNOWN = 0; field in GpsMeasurement
289 if (mState == STATE_UNKNOWN) { in getStateString()
1371 setState(STATE_UNKNOWN); in initialize()
/frameworks/base/core/java/android/view/
DDisplay.java269 public static final int STATE_UNKNOWN = 0; field in Display
1003 return mIsValid ? mDisplayInfo.state : STATE_UNKNOWN; in getState()
1104 case STATE_UNKNOWN: in stateToString()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DBugreportReceiverTest.java25 import static com.android.shell.BugreportPrefs.STATE_UNKNOWN;
549 bugreportFinishedWithWarningTest(STATE_UNKNOWN); in testBugreportFinished_withWarningUnknownState()
563 assertEquals("Did not reset properties", STATE_UNKNOWN, in bugreportFinishedWithWarningTest()
564 getWarningState(mContext, STATE_UNKNOWN)); in bugreportFinishedWithWarningTest()
578 final boolean firstTime = propertyState == null || propertyState == STATE_UNKNOWN; in bugreportFinishedWithWarningTest()
601 int newState = getWarningState(mContext, STATE_UNKNOWN); in bugreportFinishedWithWarningTest()
/frameworks/base/services/core/java/com/android/server/dreams/
DDreamManagerService.java89 private int mCurrentDreamDozeScreenState = Display.STATE_UNKNOWN;
257 Display.STATE_UNKNOWN, PowerManager.BRIGHTNESS_DEFAULT); in stopDozingInternal()
410 mCurrentDreamDozeScreenState = Display.STATE_UNKNOWN; in cleanupDreamLocked()
/frameworks/base/core/java/android/hardware/display/
DDisplayManagerInternal.java256 dozeScreenState = Display.STATE_UNKNOWN; in DisplayPowerRequest()
/frameworks/base/services/autofill/java/com/android/server/autofill/
DViewState.java51 public static final int STATE_UNKNOWN = 0x000; field in ViewState
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
DKeyboardUI.java75 private static final int STATE_UNKNOWN = 0; field in KeyboardUI
642 case STATE_UNKNOWN: in stateToString()
/frameworks/base/services/core/java/com/android/server/display/
DLocalDisplayAdapter.java164 private int mState = Display.STATE_UNKNOWN;
462 || oldState == Display.STATE_UNKNOWN) { in requestDisplayStateLocked()
DVirtualDisplayAdapter.java226 mDisplayState = Display.STATE_UNKNOWN; in VirtualDisplayDevice()
DDisplayPowerController.java621 if (mPowerRequest.dozeScreenState != Display.STATE_UNKNOWN) { in updatePowerState()
639 assert(state != Display.STATE_UNKNOWN); in updatePowerState()
/frameworks/base/core/java/android/service/dreams/
DDreamService.java191 private int mDozeScreenState = Display.STATE_UNKNOWN;
/frameworks/base/services/core/java/com/android/server/om/
DOverlayManagerSettings.java440 this(packageName, userId, targetPackageName, baseCodePath, OverlayInfo.STATE_UNKNOWN, in SettingsItem()
/frameworks/base/services/core/java/com/android/server/power/
DPowerManagerService.java506 private int mDozeScreenStateOverrideFromDreamManager = Display.STATE_UNKNOWN;
2376 mDisplayPowerRequest.dozeScreenState = Display.STATE_UNKNOWN; in updateDisplayPowerStateLocked()
2474 private int mDisplayState = Display.STATE_UNKNOWN;
4676 case Display.STATE_UNKNOWN: in setDozeOverrideFromDreamManager()
4684 screenState = Display.STATE_UNKNOWN; in setDozeOverrideFromDreamManager()

12