Home
last modified time | relevance | path

Searched refs:RecoveryController (Results 1 – 16 of 16) sorted by relevance

/aosp14/frameworks/base/core/java/android/security/keystore/recovery/
H A DRecoverySession.java53 private final RecoveryController mRecoveryController;
55 private RecoverySession(@NonNull RecoveryController recoveryController, in RecoverySession()
65 static @NonNull RecoverySession newInstance(RecoveryController recoveryController) { in newInstance()
125 if (e.errorCode == RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT in start()
126 || e.errorCode == RecoveryController.ERROR_INVALID_CERTIFICATE) { in start()
157 if (e.errorCode == RecoveryController.ERROR_DECRYPTION_FAILED) { in recoverKeyChainSnapshot()
160 if (e.errorCode == RecoveryController.ERROR_SESSION_EXPIRED) { in recoverKeyChainSnapshot()
H A DRecoveryController.java179 public class RecoveryController { class
277 private RecoveryController(ILockSettings binder, KeyStore keystore) { in RecoveryController() method in RecoveryController
295 @NonNull public static RecoveryController getInstance(@NonNull Context context) { in getInstance()
299 return new RecoveryController(lockSettings, KeyStore.getInstance()); in getInstance()
488 return RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE; in getRecoveryStatus()
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
H A DWrappedKey.java20 import android.security.keystore.recovery.RecoveryController;
105 RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in fromSecretKey()
121 RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in WrappedKey()
H A DRecoverableKeyStoreManager.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT;
20 import static android.security.keystore.recovery.RecoveryController.ERROR_DECRYPTION_FAILED;
21 import static android.security.keystore.recovery.RecoveryController.ERROR_DOWNGRADE_CERTIFICATE;
22 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_KEY_FORMAT;
24 import static android.security.keystore.recovery.RecoveryController.ERROR_NO_SNAPSHOT_PENDING;
25 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
26 import static android.security.keystore.recovery.RecoveryController.ERROR_SESSION_EXPIRED;
43 import android.security.keystore.recovery.RecoveryController;
H A DTestOnlyInsecureCertificateHelper.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
/aosp14/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
H A DApplicationKeyStorage.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_KEY_NOT_FOUND;
20 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
H A DRecoverableKeyStoreDb.java25 import android.security.keystore.recovery.RecoveryController;
450 RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in invalidateKeysForUser()
462 RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in invalidateKeysForUserIdOnCustomScreenLock()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
H A DRecoverableKeyStoreDbTest.java27 import android.security.keystore.recovery.RecoveryController;
393 .isEqualTo(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in setPlatformKeyGenerationId_invalidatesExistingKeysForUser()
472 RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in getStatusForAllKeys_with3Keys()
529 .isEqualTo(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in testInvalidateKeysForUser_withSingleKey()
556 .isEqualTo(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in testInvalidateKeysForUserIdOnCustomScreenLock()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
H A DKeySyncTaskTest.java49 import android.security.keystore.recovery.RecoveryController;
799 assertEquals(RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS, status); in run_customLockScreen_RecoveryStatusFailure()
806 assertEquals(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE, status); in run_customLockScreen_RecoveryStatusFailure()
H A DRecoverableKeyStoreManagerTest.java21 import static android.security.keystore.recovery.RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT;
22 import static android.security.keystore.recovery.RecoveryController.ERROR_DOWNGRADE_CERTIFICATE;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
/aosp14/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt48306 Landroid/security/keystore/recovery/RecoveryController;->ERROR_BAD_CERTIFICATE_FORMAT:I
48307 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DECRYPTION_FAILED:I
48308 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DOWNGRADE_CERTIFICATE:I
48309 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INSECURE_USER:I
48310 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_CERTIFICATE:I
48311 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_KEY_FORMAT:I
48312 Landroid/security/keystore/recovery/RecoveryController;->ERROR_NO_SNAPSHOT_PENDING:I
48313 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SERVICE_INTERNAL_ERROR:I
48314 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SESSION_EXPIRED:I
48318 Landroid/security/keystore/recovery/RecoveryController;->mKeyStore:Landroid/security/KeyStore;
[all …]
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt11900 public class RecoveryController {
11905 …RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(…
/aosp14/frameworks/base/boot/
H A Dpreloaded-classes6704 android.security.keystore.recovery.RecoveryController
H A Dboot-image-profile.txt29494 Landroid/security/keystore/recovery/RecoveryController;
/aosp14/frameworks/base/config/
H A Dpreloaded-classes6708 android.security.keystore.recovery.RecoveryController
H A Dboot-image-profile.txt39601 Landroid/security/keystore/recovery/RecoveryController;