/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/ |
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()
|
/frameworks/base/services/core/java/com/android/server/biometrics/ |
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()
|
/frameworks/base/services/core/java/com/android/server/locksettings/ |
D | BiometricDeferredQueue.java | 114 final byte[] hat = requestHatFromGatekeeperPassword(spManager, userAuthInfo, in onGenerateChallengeResult() 116 if (hat != null) { in onGenerateChallengeResult() 117 faceManager.resetLockout(sensorId, userAuthInfo.userId, hat); in onGenerateChallengeResult() 225 final byte[] hat = requestHatFromGatekeeperPassword(mSpManager, user, in processPendingLockoutsForFingerprint() 227 if (hat != null) { in processPendingLockoutsForFingerprint() 228 mFingerprintManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFingerprint() 266 final byte[] hat = requestHatFromGatekeeperPassword(mSpManager, user, in processPendingLockoutsForFace() 268 if (hat != null) { in processPendingLockoutsForFace() 269 mFaceManager.resetLockout(prop.sensorId, user.userId, hat); in processPendingLockoutsForFace() 284 final byte[] hat = requestHatFromGatekeeperPassword(mSpManager, user, in processPendingLockoutsGeneric() [all …]
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/ |
D | TestHal.java | 88 public ICancellationSignal enroll(HardwareAuthToken hat, in createSession() argument 164 public void setFeature(HardwareAuthToken hat, byte feature, boolean enabled) in createSession() 183 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in createSession() 202 HardwareAuthToken hat, byte enrollmentType, byte[] features, in createSession() 204 return enroll(hat, enrollmentType, features, previewSurface); in createSession()
|
D | FaceEnrollClient.java | 256 final HardwareAuthToken hat = in doEnroll() local 265 options.hardwareAuthToken = hat; in doEnroll() 274 hat, EnrollmentType.DEFAULT, features, mHwPreviewHandle, ctx); in doEnroll() 290 mCancellationSignal = session.getSession().enroll(hat, EnrollmentType.DEFAULT, features, in doEnroll()
|
D | AidlResponseHandler.java | 183 public void onAuthenticationSucceeded(int enrollmentId, HardwareAuthToken hat) { in onAuthenticationSucceeded() argument 185 final byte[] byteArray = HardwareAuthTokenUtils.toByteArray(hat); in onAuthenticationSucceeded()
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/hidl/ |
D | HidlToAidlSessionAdapter.java | 130 public ICancellationSignal enroll(HardwareAuthToken hat, byte type, byte[] features, in enroll() argument 133 final byte[] hardwareAuthTokenArray = HardwareAuthTokenUtils.toByteArray(hat); in enroll() 198 public void setFeature(HardwareAuthToken hat, byte feature, boolean enabled) in setFeature() argument 205 for (byte b: HardwareAuthTokenUtils.toByteArray(hat)) { in setFeature() 232 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in resetLockout() argument 234 for (byte b : HardwareAuthTokenUtils.toByteArray(hat)) { in resetLockout() 253 public ICancellationSignal enrollWithContext(HardwareAuthToken hat, byte type, byte[] features, in enrollWithContext() argument 256 return enroll(hat, type, features, previewSurface); in enrollWithContext()
|
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
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/hidl/ |
D | HidlToAidlSessionAdapter.java | 79 public ICancellationSignal enroll(HardwareAuthToken hat) throws RemoteException { in enroll() argument 80 mSession.get().enroll(HardwareAuthTokenUtils.toByteArray(hat), mUserId, in enroll() 137 public void resetLockout(HardwareAuthToken hat) throws RemoteException { in resetLockout() argument 159 public ICancellationSignal enrollWithContext(HardwareAuthToken hat, OperationContext context) in enrollWithContext() argument 162 return enroll(hat); in enrollWithContext()
|
D | TestHal.java | 78 public int enroll(byte[] hat, int gid, int timeoutSec) { in enroll() argument
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
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()
|
D | FingerprintEnrollClient.java | 248 final HardwareAuthToken hat = in doEnroll() local 256 hat, ctx); in doEnroll() 271 mCancellationSignal = session.getSession().enroll(hat); in doEnroll()
|
D | AidlResponseHandler.java | 174 public void onAuthenticationSucceeded(int enrollmentId, HardwareAuthToken hat) { in onAuthenticationSucceeded() argument 176 final byte[] byteArray = HardwareAuthTokenUtils.toByteArray(hat); in onAuthenticationSucceeded()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | PromptCredentialInteractorTest.kt | 239 val hat = ByteArray(4) in <lambda>() constant 240 credentialInteractor.verifyCredentialResponse = { _ -> flowOf(verified(hat)) } in <lambda>() 251 assertThat(checked!!.hat).isSameInstanceAs(hat) in <lambda>() 381 private fun verified(hat: ByteArray) = CredentialStatus.Success.Verified(hat)
|
D | CredentialInteractorImplTest.kt | 141 assertThat(successfulResult!!.hat).isEqualTo(result.gatekeeperHAT) in pinCredentialWhenGood() 224 hat: ByteArray = ByteArray(69), in pinRequest() 228 .setGatekeeperHAT(hat) in pinRequest()
|
/frameworks/base/data/keyboards/ |
D | Vendor_046d_Product_c294.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat
|
D | Vendor_046d_Product_c299.kl | 19 # 4 way buttons above hat 25 # Row of buttons under hat
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | CredentialViewModelTest.kt | 112 val hat = ByteArray(2) in <lambda>() constant 114 flowOf(CredentialStatus.Success.Verified(hat)) in <lambda>() 130 assertThat(attestation).isSameInstanceAs(hat) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | CredentialStatus.kt | 8 data class Verified(val hat: ByteArray) : Success constant in com.android.systemui.biometrics.domain.interactor.CredentialStatus.Success.Verified
|
D | CredentialInteractor.kt | 96 val hat = gkResponse.gatekeeperHAT in isStealthModeActive() constant 98 emit(CredentialStatus.Success.Verified(checkNotNull(hat))) in isStealthModeActive()
|
/frameworks/base/services/core/jni/ |
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()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/hidl/ |
D | HidlToAidlSessionAdapterTest.java | 338 private ArrayList<Byte> processHAT(HardwareAuthToken hat) { in processHAT() argument 340 for (byte b : HardwareAuthTokenUtils.toByteArray(hat)) { in processHAT()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | CredentialViewModel.kt | 135 _validatedAttestation.emit(result.hat) in <lambda>()
|