Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/security/keystore/recovery/
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()
DRecoveryController.java178 public class RecoveryController { class
275 private RecoveryController(ILockSettings binder) { in RecoveryController() method in RecoveryController
292 @NonNull public static RecoveryController getInstance(@NonNull Context context) { in getInstance()
296 return new RecoveryController(lockSettings); in getInstance()
485 return RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE; in getRecoveryStatus()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
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()
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_INSECURE_USER;
23 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
24 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_KEY_FORMAT;
25 import static android.security.keystore.recovery.RecoveryController.ERROR_NO_SNAPSHOT_PENDING;
26 import static android.security.keystore.recovery.RecoveryController.ERROR_SERVICE_INTERNAL_ERROR;
27 import static android.security.keystore.recovery.RecoveryController.ERROR_SESSION_EXPIRED;
44 import android.security.keystore.recovery.RecoveryController;
DTestOnlyInsecureCertificateHelper.java19 import static android.security.keystore.recovery.RecoveryController.ERROR_INVALID_CERTIFICATE;
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/storage/
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;
DRecoverableKeyStoreDb.java25 import android.security.keystore.recovery.RecoveryController;
450 RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in invalidateKeysForUser()
462 RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in invalidateKeysForUserIdOnCustomScreenLock()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
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()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DKeySyncTaskTest.java50 import android.security.keystore.recovery.RecoveryController;
889 assertEquals(RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS, status); in run_customLockScreen_RecoveryStatusFailure()
896 assertEquals(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE, status); in run_customLockScreen_RecoveryStatusFailure()
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;
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt47662 Landroid/security/keystore/recovery/RecoveryController;-><init>(Lcom/android/internal/widget/ILockS…
47663 Landroid/security/keystore/recovery/RecoveryController;->ERROR_BAD_CERTIFICATE_FORMAT:I
47664 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DECRYPTION_FAILED:I
47665 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DOWNGRADE_CERTIFICATE:I
47666 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INSECURE_USER:I
47667 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_CERTIFICATE:I
47668 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_KEY_FORMAT:I
47669 Landroid/security/keystore/recovery/RecoveryController;->ERROR_NO_SNAPSHOT_PENDING:I
47670 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SERVICE_INTERNAL_ERROR:I
47671 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SESSION_EXPIRED:I
[all …]
/frameworks/base/core/api/
Dsystem-current.txt12223 public class RecoveryController {
12228 …RECOVER_KEYSTORE) public static android.security.keystore.recovery.RecoveryController getInstance(…
/frameworks/base/boot/
Dpreloaded-classes6833 android.security.keystore.recovery.RecoveryController
Dboot-image-profile.txt29234 Landroid/security/keystore/recovery/RecoveryController;
/frameworks/base/config/
Dpreloaded-classes6837 android.security.keystore.recovery.RecoveryController
Dboot-image-profile.txt39368 Landroid/security/keystore/recovery/RecoveryController;