Home
last modified time | relevance | path

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

12

/frameworks/base/core/java/android/hardware/camera2/legacy/
DCameraDeviceState.java46 private static final int STATE_ERROR = 0; field in CameraDeviceState
97 doStateTransition(STATE_ERROR); in setError()
176 doStateTransition(STATE_ERROR); in setCaptureResult()
263 if(newState != STATE_ERROR && newState != STATE_IDLE) { in doStateTransition()
276 case STATE_ERROR: in doStateTransition()
277 if (mCurrentState != STATE_ERROR && mCurrentHandler != null && in doStateTransition()
286 mCurrentState = STATE_ERROR; in doStateTransition()
292 doStateTransition(STATE_ERROR); in doStateTransition()
314 doStateTransition(STATE_ERROR); in doStateTransition()
333 doStateTransition(STATE_ERROR); in doStateTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DFingerprintDialogView.java83 if (newState == STATE_ERROR) { in shouldAnimateForTransition()
85 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATING) { in shouldAnimateForTransition()
90 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in shouldAnimateForTransition()
112 if (newState == STATE_ERROR) { in getAnimationForTransition()
114 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATING) { in getAnimationForTransition()
119 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in getAnimationForTransition()
DFaceDialogView.java414 } else if (oldState == STATE_ERROR && newState == STATE_IDLE) { in updateIcon()
418 } else if (oldState == STATE_ERROR && newState == STATE_AUTHENTICATED) { in updateIcon()
423 } else if (newState == STATE_ERROR) { in updateIcon()
453 if (oldState == STATE_ERROR && newState == STATE_ERROR) { in updateIcon()
DBiometricDialogView.java76 protected static final int STATE_ERROR = 2; field in BiometricDialogView
461 updateState(STATE_ERROR); in onHelpReceived()
466 updateState(STATE_ERROR); in onAuthenticationFailed()
475 updateState(STATE_ERROR); in onErrorReceived()
/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/packages/MtpDocumentsProvider/src/com/android/mtp/
DDocumentLoader.java242 static final int STATE_ERROR = 3; field in DocumentLoader.LoaderTask
284 mState = STATE_ERROR; in loadObjectHandles()
300 case STATE_ERROR: in createCursor()
323 mState = STATE_ERROR; in loadObjectInfoList()
388 mState = STATE_ERROR; in loadObjectInfoList()
397 mState = STATE_ERROR; in loadObjectInfoList()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
DUiccCarrierPrivilegeRules.java112 private static final int STATE_ERROR = 2; field in UiccCarrierPrivilegeRules
283 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
312 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
341 } else if (state == STATE_ERROR) { in getCarrierPrivilegeStatus()
532 updateState(STATE_ERROR, "Error parsing rules: " + ex); in handleMessage()
539 updateState(STATE_ERROR, errorMsg); in handleMessage()
555 updateState(STATE_ERROR, errorMsg); in handleMessage()
576 updateState(STATE_ERROR, "No ARA or ARF."); in handleMessage()
765 case STATE_ERROR: in getStateString()
/frameworks/base/core/java/android/service/notification/
DCondition.java44 STATE_ERROR
61 public static final int STATE_ERROR = 3; field in Condition
126 return state >= STATE_FALSE && state <= STATE_ERROR; in isValidState()
173 if (state == STATE_ERROR) return "STATE_ERROR"; in stateToString()
/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/av/services/camera/libcameraservice/device3/
DCamera3OutputStream.cpp54 mState = STATE_ERROR; in Camera3OutputStream()
81 mState = STATE_ERROR; in Camera3OutputStream()
86 mState = STATE_ERROR; in Camera3OutputStream()
113 mState = STATE_ERROR; in Camera3OutputStream()
121 mState = STATE_ERROR; in Camera3OutputStream()
326 if (mState == STATE_ERROR) { in setTransformLocked()
684 mState = STATE_ERROR; in disconnectLocked()
695 mState = STATE_ERROR; in disconnectLocked()
807 stream->mState = STATE_ERROR; in onBufferReleased()
DCamera3Stream.cpp90 mState = STATE_ERROR; in Camera3Stream()
160 case STATE_ERROR: in forceToIdle()
194 case STATE_ERROR: in restoreConfiguredState()
229 case STATE_ERROR: in startConfiguration()
301 case STATE_ERROR: in finishConfiguration()
357 mState = STATE_ERROR; in finishConfiguration()
373 case STATE_ERROR: in cancelConfiguration()
580 mState = STATE_ERROR; in tearDown()
DCamera3Stream.h464 STATE_ERROR, enumerator
DCamera3IOStreamBase.cpp51 mState = STATE_ERROR; in Camera3IOStreamBase()
/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/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()
/frameworks/base/core/java/android/bluetooth/
DBluetoothSap.java76 public static final int STATE_ERROR = -1; field in BluetoothSap
155 return BluetoothSap.STATE_ERROR; in getState()
DBluetoothMap.java61 public static final int STATE_ERROR = -1; field in BluetoothMap
143 return BluetoothMap.STATE_ERROR; in getState()
/frameworks/wilhelm/tests/sandbox/
Dmonkey.c35 STATE_ERROR, enumerator
122 return STATE_ERROR; in actionCreate()
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/
DRenderer.java38 public static final int STATE_ERROR = 0; field in Renderer
DLocalRenderer.java609 if (state != STATE_ERROR) { in setState()
639 setState(STATE_ERROR); in setError()
/frameworks/base/media/java/android/media/session/
DPlaybackState.java182 STATE_REWINDING, STATE_BUFFERING, STATE_ERROR, STATE_CONNECTING,
245 public static final int STATE_ERROR = 7; field in PlaybackState
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
DBasicTexture.java36 protected static final int STATE_ERROR = -1; field in BasicTexture
/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()
/frameworks/base/media/java/android/media/
DRemoteControlClient.java1039 return PlaybackState.STATE_ERROR; in getStateFromRccState()
1072 case PlaybackState.STATE_ERROR: in getRccStateFromState()

12