Home
last modified time | relevance | path

Searched refs:authenticatorType (Results 1 – 12 of 12) sorted by relevance

/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/
H A DHardwareAuthTokenUtilsTest.java60 hardwareAuthToken.authenticatorType = testAuthenticatorType; in testHardwareAuthTokenLoopBack()
76 assertEquals(testAuthenticatorType, hardwareAuthToken2.authenticatorType); in testHardwareAuthTokenLoopBack()
/aosp14/frameworks/base/services/core/java/com/android/server/biometrics/
H A DHardwareAuthTokenUtils.java47 writeInt(flipIfNativelyLittle(hat.authenticatorType), array, 25 /* offset */); in toByteArray()
72 hardwareAuthToken.authenticatorType = flipIfNativelyLittle(getInt(array, 25 /* offset */)); in toHardwareAuthToken()
/aosp14/frameworks/base/keystore/java/android/security/keystore2/
H A DAndroidKeyStoreSecretKeyFactorySpi.java152 int authenticatorType = a.keyParameter.value.getHardwareAuthenticatorType(); in getKeyInfo() local
154 keymasterHwEnforcedUserAuthenticators = authenticatorType; in getKeyInfo()
156 keymasterSwEnforcedUserAuthenticators = authenticatorType; in getKeyInfo()
H A DAndroidKeyStoreSpi.java958 authenticatorSpec.authenticatorType = HardwareAuthenticatorType.PASSWORD; in setWrappedKeyEntry()
964 authSpec.authenticatorType = HardwareAuthenticatorType.FINGERPRINT; in setWrappedKeyEntry()
/aosp14/frameworks/base/core/java/android/hardware/biometrics/
H A DBiometricManager.java201 @NonNull public static String authenticatorToStr(@Authenticators.Types int authenticatorType) { in authenticatorToStr() argument
202 switch(authenticatorType) { in authenticatorToStr()
212 return "Unknown authenticator type: " + authenticatorType; in authenticatorToStr()
/aosp14/frameworks/base/keystore/java/android/security/
H A DAuthTokenUtils.java58 hardwareAuthToken.authenticatorType = in toHardwareAuthToken()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountsDbTest.java273 String authenticatorType = "authType"; in testMetaInsertFindDelete() local
274 mAccountsDb.insertOrReplaceMetaAuthTypeAndUid(authenticatorType, testUid); in testMetaInsertFindDelete()
277 assertEquals(testUid, (int)metaAuthUid.get(authenticatorType)); in testMetaInsertFindDelete()
280 boolean deleteResult = mAccountsDb.deleteMetaByAuthTypeAndUid(authenticatorType, testUid); in testMetaInsertFindDelete()
/aosp14/system/core/trusty/gatekeeper/
H A Dtrusty_gatekeeper.cpp70 aidlToken->authenticatorType = in sizedBuffer2AidlHWToken()
/aosp14/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountsDb.java1035 long insertOrReplaceMetaAuthTypeAndUid(String authenticatorType, int uid) { in insertOrReplaceMetaAuthTypeAndUid() argument
1039 META_KEY_FOR_AUTHENTICATOR_UID_FOR_TYPE_PREFIX + authenticatorType); in insertOrReplaceMetaAuthTypeAndUid()
1165 static long insertMetaAuthTypeAndUid(SQLiteDatabase db, String authenticatorType, int uid) { in insertMetaAuthTypeAndUid() argument
1168 META_KEY_FOR_AUTHENTICATOR_UID_FOR_TYPE_PREFIX + authenticatorType); in insertMetaAuthTypeAndUid()
H A DAccountManagerService.java5272 private boolean bindToAuthenticator(String authenticatorType) {
5275 AuthenticatorDescription.newKey(authenticatorType), mAccounts.userId);
5278 Log.v(TAG, "there is no authenticator for " + authenticatorType
/aosp14/system/core/trusty/keymaster/4.0/
H A DTrustyKeymaster4Device.cpp116 htobe32(static_cast<uint32_t>(authToken.authenticatorType)); in injectAuthToken()
319 request.auth_token.authenticator_type = legacy_enum_conversion(authToken.authenticatorType); in verifyAuthorization()
/aosp14/system/core/gatekeeperd/
H A Dgatekeeperd.cpp396 authToken.authenticatorType = static_cast<HardwareAuthenticatorType>( in verifyChallenge()