/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/ |
H A D | HardwareAuthTokenUtils.java | 31 public static byte[] toByteArray(HardwareAuthToken hat) { in toByteArray() argument 38 writeLong(hat.challenge, array, 1 /* offset */); in toByteArray() 41 writeLong(hat.userId, array, 9 /* offset */); in toByteArray() 44 writeLong(hat.authenticatorId, array, 17 /* offset */); in toByteArray() 47 writeInt(flipIfNativelyLittle(hat.authenticatorType), array, 25 /* offset */); in toByteArray() 50 writeLong(flipIfNativelyLittle(hat.timestamp.milliSeconds), array, 29 /* offset */); in toByteArray() 53 System.arraycopy(hat.mac, 0 /* srcPos */, array, 37 /* destPos */, hat.mac.length); in toByteArray()
|
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
H A D | HardwareAuthTokenUtilsTest.java | 35 final byte[] hat = new byte[69]; in testByteArrayLoopBack() 37 hat[i] = (byte) i; in testByteArrayLoopBack() 40 final HardwareAuthToken hardwareAuthToken = HardwareAuthTokenUtils.toHardwareAuthToken(hat); in testByteArrayLoopBack() 43 for (int i = 0; i < hat.length; i++) { in testByteArrayLoopBack() 44 assertEquals(hat[i], hat2[i]); in testByteArrayLoopBack() 69 final byte[] hat = HardwareAuthTokenUtils.toByteArray(hardwareAuthToken); in testHardwareAuthTokenLoopBack() 71 HardwareAuthTokenUtils.toHardwareAuthToken(hat); in testHardwareAuthTokenLoopBack()
|
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/ |
H A D | BiometricDeferredQueue.java | 113 final byte[] hat = requestHatFromGatekeeperPassword(spManager, userAuthInfo, in onGenerateChallengeResult() 115 if (hat != null) { in onGenerateChallengeResult() 116 faceManager.resetLockout(sensorId, userAuthInfo.userId, hat); in onGenerateChallengeResult() 222 final byte[] hat = requestHatFromGatekeeperPassword(mSpManager, user, in processPendingLockoutsForFingerprint() 224 if (hat != null) { in processPendingLockoutsForFingerprint() 225 mFingerprintManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFingerprint() 265 if (hat != null) { in processPendingLockoutsForFace() 266 mFaceManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFace() 281 final byte[] hat = requestHatFromGatekeeperPassword(mSpManager, user, in processPendingLockoutsGeneric() 283 if (hat != null) { in processPendingLockoutsGeneric() [all …]
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
H A D | TestHal.java | 87 public ICancellationSignal enroll(HardwareAuthToken hat, in createSession() argument 163 public void setFeature(HardwareAuthToken hat, byte feature, boolean enabled) in createSession() 182 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in createSession() 201 HardwareAuthToken hat, byte enrollmentType, byte[] features, in createSession() 203 return enroll(hat, enrollmentType, features, previewSurface); in createSession()
|
H A D | FaceEnrollClient.java | 199 final HardwareAuthToken hat = in doEnroll() local 205 hat, EnrollmentType.DEFAULT, features, mHwPreviewHandle, in doEnroll() 216 return session.getSession().enroll(hat, EnrollmentType.DEFAULT, features, in doEnroll()
|
H A D | Sensor.java | 269 public void onAuthenticationSucceeded(int enrollmentId, HardwareAuthToken hat) { in onAuthenticationSucceeded() argument 281 final byte[] byteArray = HardwareAuthTokenUtils.toByteArray(hat); in onAuthenticationSucceeded()
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | PromptCredentialInteractorTest.kt | 149 val hat = ByteArray(4) regex 150 credentialInteractor.verifyCredentialResponse = { _ -> flowOf(verified(hat)) } 161 assertThat(checked!!.hat).isSameInstanceAs(hat) 267 private fun verified(hat: ByteArray) = CredentialStatus.Success.Verified(hat)
|
H A D | CredentialInteractorImplTest.kt | 121 assertThat(successfulResult!!.hat).isEqualTo(result.gatekeeperHAT) 204 hat: ByteArray = ByteArray(69), 208 .setGatekeeperHAT(hat)
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
H A D | TestHal.java | 81 public ICancellationSignal enroll(HardwareAuthToken hat) { in createSession() argument 162 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in createSession() 196 HardwareAuthToken hat, OperationContext context) { in createSession() 197 return enroll(hat); in createSession()
|
H A D | FingerprintEnrollClient.java | 188 final HardwareAuthToken hat = in doEnroll() local 194 hat, opContext.toAidlContext()); in doEnroll() 204 return session.getSession().enroll(hat); in doEnroll()
|
H A D | Sensor.java | 248 public void onAuthenticationSucceeded(int enrollmentId, HardwareAuthToken hat) { in onAuthenticationSucceeded() argument 260 final byte[] byteArray = HardwareAuthTokenUtils.toByteArray(hat); in onAuthenticationSucceeded()
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
H A D | TestHal.java | 78 public int enroll(ArrayList<Byte> hat, int timeoutSec, ArrayList<Integer> disabledFeatures) { in enroll() argument 89 public int setFeature(int feature, boolean enabled, ArrayList<Byte> hat, int faceId) { in setFeature() argument 161 public int resetLockout(ArrayList<Byte> hat) { in resetLockout() argument
|
H A D | BiometricTestSessionImpl.java | 179 final ArrayList<Byte> hat = new ArrayList<>(Collections.nCopies(69, (byte) 0)); in acceptAuthentication() local 180 mHalResultController.onAuthenticated(0 /* deviceId */, fid, userId, hat); in acceptAuthentication()
|
/aosp14/frameworks/base/data/keyboards/ |
H A D | Vendor_046d_Product_c294.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat
|
H A D | Vendor_046d_Product_c299.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat
|
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
H A D | CredentialViewModelTest.kt | 111 val hat = ByteArray(2) regex 113 flowOf(CredentialStatus.Success.Verified(hat)) 129 assertThat(attestation).isSameInstanceAs(hat)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
H A D | CredentialStatus.kt | 8 data class Verified(val hat: ByteArray) : Success
|
H A D | CredentialInteractor.kt | 90 val hat = gkResponse.gatekeeperHAT regex 92 emit(CredentialStatus.Success.Verified(checkNotNull(hat)))
|
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
H A D | BiometricTestSessionImpl.java | 189 final ArrayList<Byte> hat = new ArrayList<>(Collections.nCopies(69, (byte) 0)); in acceptAuthentication() local 190 mHalResultController.onAuthenticated(0 /* deviceId */, fid, userId, hat); in acceptAuthentication()
|
H A D | TestHal.java | 78 public int enroll(byte[] hat, int gid, int timeoutSec) { in enroll() argument
|
/aosp14/frameworks/base/services/core/jni/ |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 104 notifyKeystore(reinterpret_cast<uint8_t *>(&msg.data.authenticated.hat), in hal_notify_callback() 105 sizeof(msg.data.authenticated.hat)); in hal_notify_callback()
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
H A D | CredentialViewModel.kt | 124 _validatedAttestation.emit(result.hat)
|