Home
last modified time | relevance | path

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

123

/aosp14/frameworks/base/core/java/android/text/
H A 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()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/
H A DDozeScreenState.java85 private int mPendingScreenState = Display.STATE_UNKNOWN;
135 mPendingScreenState = Display.STATE_UNKNOWN; in transitionTo()
143 if (screenState == Display.STATE_UNKNOWN) { in transitionTo()
218 mPendingScreenState = Display.STATE_UNKNOWN; in applyPendingScreenState()
222 if (screenState != Display.STATE_UNKNOWN) { in applyScreenState()
231 mPendingScreenState = Display.STATE_UNKNOWN; in applyScreenState()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DBiometricSensor.java44 static final int STATE_UNKNOWN = 0; field in BiometricSensor
57 @IntDef({STATE_UNKNOWN,
102 mSensorState = STATE_UNKNOWN; in goToStateUnknown()
/aosp14/frameworks/base/services/core/java/com/android/server/display/state/
H A DDisplayStateController.java63 if (displayPowerRequest.dozeScreenState != Display.STATE_UNKNOWN) { in updateDisplayState()
75 assert (state != Display.STATE_UNKNOWN); in updateDisplayState()
/aosp14/frameworks/base/core/java/android/content/om/
H A DOverlayInfo.java54 STATE_UNKNOWN,
75 public static final int STATE_UNKNOWN = -1; field in OverlayInfo
411 case STATE_UNKNOWN: in ensureValidState()
487 case STATE_UNKNOWN: in stateToString()
/aosp14/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
H A DRealControllerMetricsLogger.java34 …atic com.android.server.timezonedetector.location.LocationTimeZoneProviderController.STATE_UNKNOWN;
75 case STATE_UNKNOWN: in metricsState()
H A DLocationTimeZoneProviderController.java109 value = { STATE_UNKNOWN, STATE_PROVIDERS_INITIALIZING, STATE_STOPPED,
117 static final @State String STATE_UNKNOWN = "UNKNOWN"; field in LocationTimeZoneProviderController
198 mState.set(STATE_UNKNOWN); in LocationTimeZoneProviderController()
823 case STATE_UNKNOWN: in mapControllerStateToDetectionAlgorithmStatus()
H A DLocationTimeZoneManagerShellCommand.java54 …atic com.android.server.timezonedetector.location.LocationTimeZoneProviderController.STATE_UNKNOWN;
324 case STATE_UNKNOWN: in convertControllerStateToProtoEnum()
/aosp14/frameworks/base/packages/Shell/src/com/android/shell/
H A DBugreportWarningActivity.java21 import static com.android.shell.BugreportPrefs.STATE_UNKNOWN;
72 final int state = getWarningState(this, STATE_UNKNOWN); in onCreate()
H A DBugreportPrefs.java30 static final int STATE_UNKNOWN = 0; field in BugreportPrefs
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/power/
H A DPowerGroupTest.java277 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileAwake_UpdatesDisplayPowerRequest()
352 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileDozing_DozeAfterScreenOff()
388 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateQuiescent()
424 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileAsleep_UpdatesDisplayPowerRequest()
461 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileDreamingWithScreenBrightWakelock_UpdatesDisplayPowerRequest()
496 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileAwakeBootNotComplete_UpdatesDisplayPowerRequest()
532 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileAwakeUserActivityScreenBright_UpdatesDisplayPowerRequest()
567 assertThat(displayPowerRequest.dozeScreenState).isEqualTo(Display.STATE_UNKNOWN); in testUpdateWhileAwakeScreenBrightnessBoostInProgress_UpdatesDisplayPowerRequest()
/aosp14/frameworks/base/core/java/android/service/notification/
H A DCondition.java44 STATE_UNKNOWN,
61 public static final int STATE_UNKNOWN = 2; field in Condition
182 if (state == STATE_UNKNOWN) return "STATE_UNKNOWN"; in stateToString()
/aosp14/frameworks/base/services/core/java/com/android/server/display/
H A DDisplayPowerState.java347 mScreenState = Display.STATE_UNKNOWN; in resetScreenState()
423 private static final int INITIAL_SCREEN_STATE = Display.STATE_UNKNOWN;
506 boolean valid = state != Display.STATE_UNKNOWN && !Float.isNaN(brightnessState); in run()
H A DLocalDisplayAdapter.java203 private int mState = Display.STATE_UNKNOWN;
204 private int mCommittedState = Display.STATE_UNKNOWN;
776 || oldState == Display.STATE_UNKNOWN) { in requestDisplayStateLocked()
791 } else if (oldState != Display.STATE_UNKNOWN) { in requestDisplayStateLocked()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DDozeServiceFake.java62 screenState = Display.STATE_UNKNOWN; in reset()
/aosp14/frameworks/base/packages/Shell/tests/src/com/android/shell/
H A DBugreportReceiverTest.java25 import static com.android.shell.BugreportPrefs.STATE_UNKNOWN;
457 bugreportFinishedWithWarningTest(STATE_UNKNOWN); in testBugreportFinished_withWarningUnknownState()
471 assertEquals("Did not reset properties", STATE_UNKNOWN, in bugreportFinishedWithWarningTest()
472 getWarningState(mContext, STATE_UNKNOWN)); in bugreportFinishedWithWarningTest()
489 final boolean firstTime = propertyState == null || propertyState == STATE_UNKNOWN; in bugreportFinishedWithWarningTest()
512 int newState = getWarningState(mContext, STATE_UNKNOWN); in bugreportFinishedWithWarningTest()
/aosp14/frameworks/base/core/java/android/view/autofill/
H A DAutofillManager.java356 public static final int STATE_UNKNOWN = 0; field in AutofillManager
583 private int mState = STATE_UNKNOWN;
1176 mState = savedInstanceState.getInt(STATE_TAG, STATE_UNKNOWN); in onCreate()
1199 mState = STATE_UNKNOWN; in onCreate()
1275 if (mState != STATE_UNKNOWN) { in onSaveInstanceState()
2481 mState = STATE_UNKNOWN; in resetSessionLocked()
2571 if (mState == STATE_UNKNOWN in startAutofillIfNeededLocked()
3106 mState = STATE_UNKNOWN; in setSaveUiState()
3139 mState = STATE_UNKNOWN; in setSessionFinished()
3299 if (sessionFinishedState != STATE_UNKNOWN) { in notifyNoFillUi()
[all …]
/aosp14/frameworks/base/location/java/android/location/
H A DGpsMeasurement.java123 public static final short STATE_UNKNOWN = 0; field in GpsMeasurement
293 if (mState == STATE_UNKNOWN) { in getStateString()
1376 setState(STATE_UNKNOWN); in initialize()
H A DGnssMeasurement.java126 public static final int STATE_UNKNOWN = 0; field in GnssMeasurement
411 if (mState == STATE_UNKNOWN) { in getStateString()
2142 setState(STATE_UNKNOWN); in initialize()
/aosp14/frameworks/base/core/proto/android/nfc/
H A Dnfc_service.proto33 STATE_UNKNOWN = 0; enumerator
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DAuthSessionTest.java145 assertEquals(BiometricSensor.STATE_UNKNOWN, sensor.getSensorState()); in testNewAuthSession_eligibleSensorsSetToStateUnknown()
168 assertEquals(BiometricSensor.STATE_UNKNOWN, sensor.getSensorState()); in testStartNewAuthSession()
326 assertEquals(BiometricSensor.STATE_UNKNOWN, sensor.getSensorState()); in testMultiAuth_fingerprintSensorStartsAfterUINotifies()
/aosp14/frameworks/base/services/core/java/com/android/server/location/geofence/
H A DGeofenceManager.java113 private static final int STATE_UNKNOWN = 0; field in GeofenceManager.GeofenceRegistration
175 mGeofenceState = STATE_UNKNOWN; in onRegister()
/aosp14/frameworks/base/core/java/android/view/
H A DDisplay.java445 public static final int STATE_UNKNOWN = ViewProtoEnums.DISPLAY_STATE_UNKNOWN; // 0 field in Display
1790 return mIsValid ? mDisplayInfo.state : STATE_UNKNOWN; in getState()
1805 return mIsValid ? mDisplayInfo.committedState : STATE_UNKNOWN; in getCommittedState()
1973 case STATE_UNKNOWN: in stateToString()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/
H A DKeyboardUI.java81 private static final int STATE_UNKNOWN = 0; field in KeyboardUI
644 case STATE_UNKNOWN: in stateToString()
/aosp14/frameworks/base/core/java/android/hardware/display/
H A DDisplayManagerInternal.java500 dozeScreenState = Display.STATE_UNKNOWN; in DisplayPowerRequest()

123