Home
last modified time | relevance | path

Searched refs:SensorStates (Results 1 – 6 of 6) sorted by relevance

/cts/tests/framework/base/biometrics/src/android/server/biometrics/
DBiometricServiceState.java52 @NonNull public final SensorStates mSensorStates;
56 final List<SensorStates> sensorStates = new ArrayList<>(); in parseFrom()
58 sensorStates.add(SensorStates.parseFrom(sensorServiceState)); in parseFrom()
63 return new BiometricServiceState(SensorStates.merge(sensorStates), state); in parseFrom()
66 private BiometricServiceState(@NonNull SensorStates sensorStates, @AuthSessionState int state) { in BiometricServiceState()
DSensorStates.java44 public class SensorStates { class
142 public static SensorStates parseFrom(@NonNull SensorServiceStateProto proto) { in parseFrom()
161 return new SensorStates(sensorStates); in parseFrom()
168 public static SensorStates merge(@NonNull List<SensorStates> sensorServiceStates) { in merge()
171 for (SensorStates sensorServiceState : sensorServiceStates) { in merge()
180 return new SensorStates(sensorStates); in merge()
213 private SensorStates(@NonNull Map<Integer, SensorState> sensorStates) { in SensorStates() method in SensorStates
DBiometricTestBase.java20 import static android.server.biometrics.SensorStates.SensorState;
21 import static android.server.biometrics.SensorStates.UserState;
139 protected SensorStates getSensorStates() throws Exception { in getSensorStates()
DUtils.java61 SensorStates getSensorStates() throws Exception; in getSensorStates()
DBiometricServiceTests.java219 SensorStates.SensorState sensorState = state.mSensorStates.sensorStates in testLockoutResetRequestedAfterBiometricUnlock_whenStrong_forSensor()
/cts/tests/framework/base/biometrics/src/android/server/biometrics/fingerprint/
DFingerprintServiceTest.java19 import static android.server.biometrics.SensorStates.SensorState;
20 import static android.server.biometrics.SensorStates.UserState;
38 import android.server.biometrics.SensorStates;
68 private SensorStates getSensorStates() throws Exception { in getSensorStates()
71 return SensorStates.parseFrom(proto); in getSensorStates()
127 final SensorStates sensorStates = getSensorStates(); in cleanup()
167 final SensorStates sensorStates = getSensorStates(); in testEnrollForSensor()