Home
last modified time | relevance | path

Searched refs:STATE_ERROR (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricFingerprintView.java121 case STATE_ERROR: in getIconContentDescription()
133 case STATE_ERROR: in shouldAnimateForTransition()
137 if (oldState == STATE_ERROR || oldState == STATE_HELP) { in shouldAnimateForTransition()
154 case STATE_ERROR: in getAnimationForTransition()
159 if (oldState == STATE_ERROR || oldState == STATE_HELP) { in getAnimationForTransition()
DAuthBiometricFaceToFingerprintView.java61 lastState == STATE_ERROR || lastState == STATE_HELP; in updateState()
78 case STATE_ERROR: in updateState()
188 if (newState == STATE_HELP || newState == STATE_ERROR) { in updateState()
DAuthBiometricFaceView.java122 lastState == STATE_ERROR || lastState == STATE_HELP; in updateState()
144 } else if (newState == STATE_ERROR && lastState != STATE_ERROR) { in updateState()
DAuthBiometricView.java80 protected static final int STATE_ERROR = 4; field in AuthBiometricView
92 STATE_ERROR, STATE_PENDING_CONFIRMATION, STATE_AUTHENTICATED})
520 case STATE_ERROR: in updateState()
557 updateState(STATE_ERROR); in onAuthenticationFailed()
568 updateState(STATE_ERROR); in onError()
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DTaskResult.java58 public static final int STATE_ERROR = 3; field in TaskResult
59 private static final int STATE_MAX = STATE_ERROR;
66 STATE_ERROR,
/frameworks/base/core/java/android/service/voice/
DAlwaysOnHotwordDetector.java117 public static final int STATE_ERROR = 3; field in AlwaysOnHotwordDetector
621 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in updateState()
642 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in triggerHardwareRecognitionEventForTest()
679 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in getSupportedRecognitionModesLocked()
747 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in startRecognition()
794 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in stopRecognition()
836 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in setParameter()
868 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in getParameter()
898 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in queryParameter()
975 if (mAvailability == STATE_INVALID || mAvailability == STATE_ERROR) { in getManageIntentLocked()
[all …]
/frameworks/base/core/java/android/service/notification/
DCondition.java45 STATE_ERROR
62 public static final int STATE_ERROR = 3; field in Condition
127 return state >= STATE_FALSE && state <= STATE_ERROR; in isValidState()
174 if (state == STATE_ERROR) return "STATE_ERROR"; in stateToString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DPreparationCoordinator.java147 } else if (state == STATE_ERROR) {
175 return getInflationState(entry) == STATE_ERROR;
209 mInflationStates.put(entry, STATE_ERROR);
284 case STATE_ERROR:
360 value = {STATE_UNINFLATED, STATE_INFLATED_INVALID, STATE_INFLATED, STATE_ERROR})
376 private static final int STATE_ERROR = -1; local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFaceToFingerprintViewTest.java129 mFaceToFpView.updateState(AuthBiometricFaceToFingerprintView.STATE_ERROR); in testStateUpdated_whenSwitchToFingerprint()
161 mFaceToFpView.updateState(AuthBiometricFaceToFingerprintView.STATE_ERROR); in testStateUpdated_whenSwitchToFingerprint_invokesCallbacks()
180 assertEquals(AuthBiometricFaceToFingerprintView.STATE_ERROR, mFaceToFpView.mState); in testModeUpdated_onSoftError_whenSwitchToFingerprint()
196 assertEquals(AuthBiometricFaceToFingerprintView.STATE_ERROR, mFaceToFpView.mState); in testModeUpdated_onHardError_whenSwitchToFingerprint()
206 mFaceToFpView.updateState(AuthBiometricFaceToFingerprintView.STATE_ERROR); in testFingerprintOnlyStartsOnFirstError()
DAuthBiometricViewTest.java296 assertEquals(AuthBiometricView.STATE_ERROR, mBiometricView.mState); in testRestoresState()
297 assertEquals(AuthBiometricView.STATE_ERROR, state.getInt(AuthDialog.KEY_BIOMETRIC_STATE)); in testRestoresState()
327 assertEquals(AuthBiometricView.STATE_ERROR, mBiometricView.mState); in testRestoresState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java114 private static final int STATE_ERROR = 2; field in UiccCarrierPrivilegeRules
293 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
322 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
351 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
544 updateState(STATE_ERROR, "Error parsing rules: " + ex); in handleMessage()
551 updateState(STATE_ERROR, errorMsg); in handleMessage()
567 updateState(STATE_ERROR, errorMsg); in handleMessage()
588 updateState(STATE_ERROR, "No ARA or ARF."); in handleMessage()
777 case STATE_ERROR: in getStateString()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DPlayerSession.java168 bob.setState(PlaybackState.STATE_ERROR, -1, 0, 0); in onError()
197 case Renderer.STATE_ERROR: in onStateChanged()
198 pbState = PlaybackState.STATE_ERROR; in onStateChanged()
208 pbState = PlaybackState.STATE_ERROR; in onStateChanged()
DPlayerService.java115 case PlaybackState.STATE_ERROR:
/frameworks/base/core/java/android/widget/
DVideoView.java88 private static final int STATE_ERROR = -1; field in VideoView
433 mCurrentState = STATE_ERROR; in openVideo()
434 mTargetState = STATE_ERROR; in openVideo()
439 mCurrentState = STATE_ERROR; in openVideo()
440 mTargetState = STATE_ERROR; in openVideo()
573 mCurrentState = STATE_ERROR;
574 mTargetState = STATE_ERROR;
864 mCurrentState != STATE_ERROR && in isInPlaybackState()
/frameworks/av/services/camera/libcameraservice/device3/
DCamera3Stream.cpp94 mState = STATE_ERROR; in Camera3Stream()
184 case STATE_ERROR: in forceToIdle()
218 case STATE_ERROR: in restoreConfiguredState()
253 case STATE_ERROR: in startConfiguration()
325 case STATE_ERROR: in finishConfiguration()
382 mState = STATE_ERROR; in finishConfiguration()
398 case STATE_ERROR: in cancelConfiguration()
612 mState = STATE_ERROR; in tearDown()
DCamera3OutputStream.cpp63 mState = STATE_ERROR; in Camera3OutputStream()
93 mState = STATE_ERROR; in Camera3OutputStream()
98 mState = STATE_ERROR; in Camera3OutputStream()
127 mState = STATE_ERROR; in Camera3OutputStream()
135 mState = STATE_ERROR; in Camera3OutputStream()
410 if (mState == STATE_ERROR) { in setTransformLocked()
814 mState = STATE_ERROR; in disconnectLocked()
825 mState = STATE_ERROR; in disconnectLocked()
938 stream->mState = STATE_ERROR; in onBufferReleased()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java95 public static final int STATE_ERROR = 3; field in BlockingStateCallback
131 setCurrentState(STATE_ERROR); in onError()
DBlockingOfflineSessionCallback.java98 public static final int STATE_ERROR = 3; field in BlockingOfflineSessionCallback
148 setCurrentState(STATE_ERROR); in onError()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRenderer.java38 public static final int STATE_ERROR = 0; field in Renderer
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c35 STATE_ERROR, enumerator
122 return STATE_ERROR; in actionCreate()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSap.java85 public static final int STATE_ERROR = -1; field in BluetoothSap
169 return BluetoothSap.STATE_ERROR; in getState()
DBluetoothMap.java71 public static final int STATE_ERROR = -1; field in BluetoothMap
156 return BluetoothMap.STATE_ERROR; in getState()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java36 protected static final int STATE_ERROR = -1; field in BasicTexture
/frameworks/base/media/java/android/media/session/
DPlaybackState.java191 STATE_REWINDING, STATE_BUFFERING, STATE_ERROR, STATE_CONNECTING,
254 public static final int STATE_ERROR = 7; field in PlaybackState
/frameworks/base/services/core/java/com/android/server/notification/
DScheduleConditionProvider.java132 notifyCondition(createCondition(conditionId, Condition.STATE_ERROR, "invalidId")); in onSubscribe()
192 condition = createCondition(conditionId, Condition.STATE_ERROR, "!invalidId"); in evaluateSubscriptionLocked()

12