Home
last modified time | relevance | path

Searched refs:KeyChainProtectionParams (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainProtectionParamsTest.java35 private static final int USER_SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
36 private static final int LOCK_SCREEN_UI_FORMAT = KeyChainProtectionParams.UI_FORMAT_PATTERN;
55 KeyChainProtectionParams protParams = createTestParams(); in build_setsKeyDerivationParams()
64 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesSecret()
71 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesUserSecretType()
78 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesLockScreenUiFormat()
85 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesKeyDerivationParams()
92 private KeyChainProtectionParams writeToThenReadFromParcel(KeyChainProtectionParams params) { in writeToThenReadFromParcel()
96 KeyChainProtectionParams fromParcel = in writeToThenReadFromParcel()
97 KeyChainProtectionParams.CREATOR.createFromParcel(parcel); in writeToThenReadFromParcel()
[all …]
DKeyChainSnapshotTest.java42 private static final int LOCK_SCREEN_UI_FORMAT = KeyChainProtectionParams.UI_FORMAT_PASSWORD;
43 private static final int USER_SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
78 KeyChainProtectionParams keyChainProtectionParams = in build_setsKeyChainProtectionParams()
137 KeyChainProtectionParams keyChainProtectionParams = in writeToParcel_writesKeyChainProtectionParams()
168 private static KeyChainProtectionParams createKeyChainProtectionParams() { in createKeyChainProtectionParams()
169 return new KeyChainProtectionParams.Builder() in createKeyChainProtectionParams()
/frameworks/base/core/java/android/security/keystore/recovery/
DKeyChainProtectionParams.java52 public final class KeyChainProtectionParams implements Parcelable { class
113 private KeyChainProtectionParams() { in KeyChainProtectionParams() method in KeyChainProtectionParams
158 private KeyChainProtectionParams mInstance = new KeyChainProtectionParams();
219 @NonNull public KeyChainProtectionParams build() { in build()
239 public static final Parcelable.Creator<KeyChainProtectionParams> CREATOR =
240 new Parcelable.Creator<KeyChainProtectionParams>() {
241 public KeyChainProtectionParams createFromParcel(Parcel in) {
242 return new KeyChainProtectionParams(in);
245 public KeyChainProtectionParams[] newArray(int length) {
246 return new KeyChainProtectionParams[length];
[all …]
DKeyChainSnapshot.java75 private List<KeyChainProtectionParams> mKeyChainProtectionParams;
144 public @NonNull List<KeyChainProtectionParams> getKeyChainProtectionParams() { in getKeyChainProtectionParams()
259 @NonNull List<KeyChainProtectionParams> keyChainProtectionParams) { in setKeyChainProtectionParams()
322 mKeyChainProtectionParams = in.createTypedArrayList(KeyChainProtectionParams.CREATOR); in KeyChainSnapshot()
DRecoverySession.java90 @NonNull List<KeyChainProtectionParams> secrets) in start()
105 @NonNull List<KeyChainProtectionParams> secrets) in start()
138 @NonNull List<KeyChainProtectionParams> secrets) in start()
DKeyChainProtectionParams.aidl20 parcelable KeyChainProtectionParams;
DRecoveryController.java554 @NonNull @KeyChainProtectionParams.UserSecretType int[] secretTypes) in setRecoverySecretTypes()
575 public @NonNull @KeyChainProtectionParams.UserSecretType int[] getRecoverySecretTypes() in getRecoverySecretTypes()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotSerializerTest.java21 import android.security.keystore.recovery.KeyChainProtectionParams;
49 private static final int SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
50 private static final int LOCK_SCREEN_UI = KeyChainProtectionParams.UI_FORMAT_PASSWORD;
176 private static KeyChainProtectionParams roundTripParams() throws Exception { in roundTripParams()
209 private static List<KeyChainProtectionParams> createKeyChainProtectionParamsList() { in createKeyChainProtectionParamsList()
212 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in createKeyChainProtectionParamsList()
218 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = in createKeyChainProtectionParamsList()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java11 import android.security.keystore.recovery.KeyChainProtectionParams;
43 private static final int SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
44 private static final int LOCK_SCREEN_UI = KeyChainProtectionParams.UI_FORMAT_PATTERN;
170 List<KeyChainProtectionParams> aParams = a.getKeyChainProtectionParams(); in assertKeyChainSnapshotsAreEqual()
171 List<KeyChainProtectionParams> bParams = b.getKeyChainProtectionParams(); in assertKeyChainSnapshotsAreEqual()
185 KeyChainProtectionParams a, KeyChainProtectionParams b) { in assertKeyChainProtectionParamsAreEqual()
200 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in createTestKeyChainSnapshot()
206 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = in createTestKeyChainSnapshot()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
24 import android.security.keystore.recovery.KeyChainProtectionParams;
342 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in syncKeysForAgent()
349 ArrayList<KeyChainProtectionParams> metadataList = new ArrayList<>(); in syncKeysForAgent()
424 if (!ArrayUtils.contains(types, KeyChainProtectionParams.TYPE_LOCKSCREEN)) { in shouldCreateSnapshot()
447 @KeyChainProtectionParams.LockScreenUiFormat static int getUiFormat( in getUiFormat()
450 return KeyChainProtectionParams.UI_FORMAT_PATTERN; in getUiFormat()
452 return KeyChainProtectionParams.UI_FORMAT_PIN; in getUiFormat()
454 return KeyChainProtectionParams.UI_FORMAT_PASSWORD; in getUiFormat()
DRecoverableKeyStoreManager.java38 import android.security.keystore.recovery.KeyChainProtectionParams;
413 @NonNull @KeyChainProtectionParams.UserSecretType int[] secretTypes) in setRecoverySecretTypes()
478 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySession()
543 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySessionWithCertPath()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java45 import android.security.keystore.recovery.KeyChainProtectionParams;
208 private static List<KeyChainProtectionParams> readKeyChainProtectionParamsList( in readKeyChainProtectionParamsList()
213 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = new ArrayList<>(); in readKeyChainProtectionParamsList()
225 private static KeyChainProtectionParams readKeyChainProtectionParams(XmlPullParser parser) in readKeyChainProtectionParams()
229 KeyChainProtectionParams.Builder builder = new KeyChainProtectionParams.Builder(); in readKeyChainProtectionParams()
DKeyChainSnapshotSerializer.java46 import android.security.keystore.recovery.KeyChainProtectionParams;
110 List<KeyChainProtectionParams> keyChainProtectionParamsList) throws IOException { in writeKeyChainProtectionParams()
112 for (KeyChainProtectionParams keyChainProtectionParams : keyChainProtectionParamsList) { in writeKeyChainProtectionParams()
121 XmlSerializer xmlSerializer, KeyChainProtectionParams keyChainProtectionParams) in writeKeyChainProtectionParamsProperties()
/frameworks/base/core/java/com/android/internal/widget/
DILockSettings.aidl24 import android.security.keystore.recovery.KeyChainProtectionParams;
76 in List<KeyChainProtectionParams> secrets); in startRecoverySessionWithCertPath()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
20 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PASSWORD;
51 import android.security.keystore.recovery.KeyChainProtectionParams;
144 private static final KeyChainProtectionParams TEST_PROTECTION_PARAMS =
145 new KeyChainProtectionParams.Builder()
DKeySyncTaskTest.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
20 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PASSWORD;
21 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PATTERN;
22 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PIN;
/frameworks/base/api/
Dsystem-removed.txt112 …te[], byte[], java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws …
113 …te[], byte[], java.util.List<android.security.keystore.recovery.KeyChainProtectionParams>) throws …
Dsystem-current.txt4306 public final class KeyChainProtectionParams implements android.os.Parcelable {
4314 …android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR;
4321 public static class KeyChainProtectionParams.Builder {
4322 ctor public KeyChainProtectionParams.Builder();
4323 method public android.security.keystore.recovery.KeyChainProtectionParams build();
4324 …method public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyDerivation…
4325 …method public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLockScreenUiF…
4326 …method public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecret(byte[]…
4327 …method public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUserSecretTyp…
4334 …method public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyCh…
[all …]
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java83 import android.security.keystore.recovery.KeyChainProtectionParams;
2051 public void setRecoverySecretTypes(@NonNull @KeyChainProtectionParams.UserSecretType in setRecoverySecretTypes()
2066 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySessionWithCertPath()
/frameworks/base/config/
Dhiddenapi-public-dex.txt39354 Landroid/security/keystore/recovery/KeyChainProtectionParams$Builder;
39355 Landroid/security/keystore/recovery/KeyChainProtectionParams$Builder;-><init>()V
39356 …curity/keystore/recovery/KeyChainProtectionParams$Builder;->build()Landroid/security/keystore/reco…
39357KeyChainProtectionParams$Builder;->setKeyDerivationParams(Landroid/security/keystore/recovery/KeyD…
39358 …eystore/recovery/KeyChainProtectionParams$Builder;->setLockScreenUiFormat(I)Landroid/security/keys…
39359 …ity/keystore/recovery/KeyChainProtectionParams$Builder;->setSecret([B)Landroid/security/keystore/r…
39360 …/keystore/recovery/KeyChainProtectionParams$Builder;->setUserSecretType(I)Landroid/security/keysto…
39361 Landroid/security/keystore/recovery/KeyChainProtectionParams;
39362 Landroid/security/keystore/recovery/KeyChainProtectionParams;->clearSecret()V
39363 Landroid/security/keystore/recovery/KeyChainProtectionParams;->CREATOR:Landroid/os/Parcelable$Creat…
[all …]
Dboot-image-profile.txt4897 HPLandroid/security/keystore/recovery/KeyChainProtectionParams$1;-><init>()V
4898 …ore/recovery/KeyChainProtectionParams$1;->createFromParcel(Landroid/os/Parcel;)Landroid/security/k…
4899 HPLandroid/security/keystore/recovery/KeyChainProtectionParams$1;->createFromParcel(Landroid/os/Par…
4900 HPLandroid/security/keystore/recovery/KeyChainProtectionParams$Builder;-><init>()V
4901 …curity/keystore/recovery/KeyChainProtectionParams$Builder;->build()Landroid/security/keystore/reco…
4902KeyChainProtectionParams$Builder;->setKeyDerivationParams(Landroid/security/keystore/recovery/KeyD…
4903 …eystore/recovery/KeyChainProtectionParams$Builder;->setLockScreenUiFormat(I)Landroid/security/keys…
4904 …ity/keystore/recovery/KeyChainProtectionParams$Builder;->setSecret([B)Landroid/security/keystore/r…
4905 …/keystore/recovery/KeyChainProtectionParams$Builder;->setUserSecretType(I)Landroid/security/keysto…
4906 HPLandroid/security/keystore/recovery/KeyChainProtectionParams;-><init>(Landroid/os/Parcel;)V
[all …]