Home
last modified time | relevance | path

Searched refs:STATE_CANCELING (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/biometrics/
DBiometricSensor.java54 static final int STATE_CANCELING = 4; field in BiometricSensor
61 STATE_CANCELING,
133 if (mSensorState != STATE_CANCELING) { in goToStateCancelling()
135 mSensorState = STATE_CANCELING; in goToStateCancelling()
DAuthSession.java26 import static com.android.server.biometrics.BiometricSensor.STATE_CANCELING;
272 && state != BiometricSensor.STATE_CANCELING) { in setSensorsToStateWaitingForCookie()
714 boolean isSensorCancelling = sensorIdToState(sensorId) == STATE_CANCELING; in pauseSensorIfSupported()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DRemotePrintDocument.java70 private static final int STATE_CANCELING = 6; field in RemotePrintDocument
136 if (mState == STATE_CANCELING) {
289 && mState != STATE_FAILED && mState != STATE_CANCELING in finish()
314 mState = STATE_CANCELING; in cancel()
345 return mState == STATE_UPDATING || mState == STATE_CANCELING; in isUpdating()
497 case STATE_CANCELING: { in stateToString()
571 private static final int STATE_CANCELING = 4; field in RemotePrintDocument.AsyncCommand
599 return mState == STATE_CANCELING; in isCanceling()
664 mState = STATE_CANCELING; in canceling()
668 if (mState != STATE_CANCELING) { in canceled()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
DAuthSessionTest.java257 assertEquals(BiometricSensor.STATE_CANCELING, sensor.getSensorState()); in testOnErrorReceived_lockoutError()
334 assertThat(faceSensor.getSensorState()).isEqualTo(BiometricSensor.STATE_CANCELING); in testOnRejectionReceivedBeforeOnDialogAnimatedIn()
367 assertEquals(BiometricSensor.STATE_CANCELING, sensor.getSensorState()); in testCancelReducesAppetiteForCookies()