Home
last modified time | relevance | path

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

/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowRecoveryController.java22 import android.security.keystore.recovery.RecoveryController;
45 @Implements(RecoveryController.class)
61 public static RecoveryController getInstance(Context context) { in getInstance()
64 Constructor<RecoveryController> constructor = RecoveryController.class.getConstructor(); in getInstance()
91 sKeyStatusesByAlias.put(alias, RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in generateKey()
111 alias, RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in getRecoveryStatus()
133 sKeyStatusesByAlias.put(alias, RecoveryController.RECOVERY_STATUS_SYNCED); in syncAllKeys()
/frameworks/base/services/backup/java/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKey.java24 import android.security.keystore.recovery.RecoveryController;
84 int status = RecoveryController.getInstance(context).getRecoveryStatus(mAlias); in getStatusInternal()
86 case RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE: in getStatusInternal()
88 case RecoveryController.RECOVERY_STATUS_SYNCED: in getStatusInternal()
90 case RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS: in getStatusInternal()
DRecoverableKeyStoreSecondaryKeyManager.java22 import android.security.keystore.recovery.RecoveryController;
48 RecoveryController.getInstance(context), new SecureRandom()); in getInstance()
51 private final RecoveryController mRecoveryController;
56 RecoveryController recoveryController, SecureRandom secureRandom) { in RecoverableKeyStoreSecondaryKeyManager()
/frameworks/base/core/java/android/security/keystore/recovery/
DRecoverySession.java51 private final RecoveryController mRecoveryController;
53 private RecoverySession(@NonNull RecoveryController recoveryController, in RecoverySession()
63 static @NonNull RecoverySession newInstance(RecoveryController recoveryController) { in newInstance()
127 if (e.errorCode == RecoveryController.ERROR_BAD_CERTIFICATE_FORMAT in start()
128 || e.errorCode == RecoveryController.ERROR_INVALID_CERTIFICATE) { in start()
159 if (e.errorCode == RecoveryController.ERROR_DECRYPTION_FAILED) { in recoverKeyChainSnapshot()
162 if (e.errorCode == RecoveryController.ERROR_SESSION_EXPIRED) { in recoverKeyChainSnapshot()
DRecoveryController.java176 public class RecoveryController { class
267 private RecoveryController(ILockSettings binder, KeyStore keystore) { in RecoveryController() method in RecoveryController
285 @NonNull public static RecoveryController getInstance(@NonNull Context context) { in getInstance()
289 return new RecoveryController(lockSettings, KeyStore.getInstance()); in getInstance()
478 return RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE; in getRecoveryStatus()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/keys/
DRecoverableKeyStoreSecondaryKeyTest.java25 import android.security.keystore.recovery.RecoveryController;
113 setStatus(RecoveryController.RECOVERY_STATUS_SYNCED); in getStatus_whenSynced_returnsSynced()
123 setStatus(RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in getStatus_whenNotSynced_returnsNotSynced()
133 setStatus(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in getStatus_onPermanentFailure_returnsDestroyed()
DRecoverableKeyStoreSecondaryKeyManagerTest.java26 import android.security.keystore.recovery.RecoveryController;
66 RecoveryController.getInstance(mContext), new SecureRandom()); in setUp()
145 assertThat(RecoveryController.getInstance(mContext).getAliases()) in remove_removesKeyFromRecoverableStore()
/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;
42 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_SERVICE_INTERNAL_ERROR;
DRecoverableKeyStoreDb.java25 import android.security.keystore.recovery.RecoveryController;
402 RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in invalidateKeysForUser()
414 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;
354 .isEqualTo(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in setPlatformKeyGenerationId_invalidatesExistingKeysForUser()
433 RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS); in getStatusForAllKeys_with3Keys()
490 .isEqualTo(RecoveryController.RECOVERY_STATUS_PERMANENT_FAILURE); in testInvalidateKeysForUser_withSingleKey()
517 .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;
815 assertEquals(RecoveryController.RECOVERY_STATUS_SYNC_IN_PROGRESS, status); in run_customLockScreen_RecoveryStatusFailure()
822 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/config/
Dpreloaded-classes3126 android.security.keystore.recovery.RecoveryController
Dboot-image-profile.txt35665 Landroid/security/keystore/recovery/RecoveryController;
42403 …y/keystore/recovery/RecoveryController;->getInstance(Landroid/content/Context;)Landroid/security/k…
42404 HSPLandroid/security/keystore/recovery/RecoveryController;->getRecoverySecretTypes()[I
42405 HSPLandroid/security/keystore/recovery/RecoveryController;-><init>(Lcom/android/internal/widget/ILo…
42406 HSPLandroid/security/keystore/recovery/RecoveryController;->initRecoveryService(Ljava/lang/String;[…
42407 HSPLandroid/security/keystore/recovery/RecoveryController;->setRecoverySecretTypes([I)V
42408 HSPLandroid/security/keystore/recovery/RecoveryController;->setServerParams([B)V
42409 HSPLandroid/security/keystore/recovery/RecoveryController;->setSnapshotCreatedPendingIntent(Landroi…
Dhiddenapi-greylist-max-o.txt66593 Landroid/security/keystore/recovery/RecoveryController;-><init>(Lcom/android/internal/widget/ILockS…
66594 Landroid/security/keystore/recovery/RecoveryController;->ERROR_BAD_CERTIFICATE_FORMAT:I
66595 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DECRYPTION_FAILED:I
66596 Landroid/security/keystore/recovery/RecoveryController;->ERROR_DOWNGRADE_CERTIFICATE:I
66597 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INSECURE_USER:I
66598 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_CERTIFICATE:I
66599 Landroid/security/keystore/recovery/RecoveryController;->ERROR_INVALID_KEY_FORMAT:I
66600 Landroid/security/keystore/recovery/RecoveryController;->ERROR_NO_SNAPSHOT_PENDING:I
66601 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SERVICE_INTERNAL_ERROR:I
66602 Landroid/security/keystore/recovery/RecoveryController;->ERROR_SESSION_EXPIRED:I
[all …]
/frameworks/base/api/
Dsystem-current.txt6175 public class RecoveryController {
6180 …EYSTORE) @NonNull public static android.security.keystore.recovery.RecoveryController getInstance(…