Searched refs:modality (Results 1 – 5 of 5) sorted by relevance
/cts/hostsidetests/biometrics/src/android/server/biometrics/cts/ |
D | BiometricsAtomsTests.java | 86 final ModalityEnum modality = ModalityEnum.MODALITY_FINGERPRINT; in testEnrollAtom() local 89 filterEnrollmentAtoms(data, modality); in testEnrollAtom() 94 filterAcquiredAtoms(data, modality); in testEnrollAtom() 95 assertEnrollmentAcquiredAtomsData(acquiredAtoms, modality); in testEnrollAtom() 101 final ModalityEnum modality = ModalityEnum.MODALITY_FACE; in testEnrollAtom() local 104 filterEnrollmentAtoms(data, modality); in testEnrollAtom() 109 filterAcquiredAtoms(data, modality); in testEnrollAtom() 110 assertEnrollmentAcquiredAtomsData(acquiredAtoms, modality); in testEnrollAtom() 124 List<AtomsProto.BiometricAcquired> atoms, ModalityEnum modality) throws Exception { in assertEnrollmentAcquiredAtomsData() argument 128 assertThat(atom.hasModality() && atom.getModality() == modality).isTrue(); in assertEnrollmentAcquiredAtomsData() [all …]
|
/cts/common/device-side/device-info/src/com/android/compatibility/common/deviceinfo/ |
D | BiometricsDeviceInfo.java | 99 private SensorInfo(int modality, int curStrength) { in SensorInfo() argument 100 mModality = modality; in SensorInfo() 179 final int modality = toModality(Integer.parseInt(matcher.group("modality"))); in getSensorInfo() local 186 sensors.put(sensorId, new SensorInfo(modality, curStrength)); in getSensorInfo() 200 private int toModality(int modality) { in toModality() argument 201 switch (modality) { in toModality()
|
/cts/tests/framework/base/biometrics/src/android/server/biometrics/util/ |
D | SensorStates.java | 81 int modality, int[] modalityFlags, in SensorState() argument 86 mModality = modality; in SensorState() 154 sensorStateProto.modality, sensorStateProto.modalityFlags, in parseFrom() 193 public boolean containsModality(int modality) { in containsModality() argument 195 if (state.getModality() == modality) { in containsModality()
|
D | Utils.java | 76 public final int modality; field in Utils.SensorConfig 82 modality = Integer.parseInt(elems[1]); in SensorConfig()
|
/cts/hostsidetests/biometrics/app/src/android/server/biometrics/cts/app/ |
D | BiometricsAtomsHostSideTests.java | 236 private static boolean isSensorModality(int sensorId, int modality) throws Exception { in isSensorModality() argument 240 return states.get(sensorId).getModality() == modality; in isSensorModality()
|