Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/security/keystore/recovery/
DKeyChainProtectionParamsTest.java36 private static final int USER_SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
37 private static final int LOCK_SCREEN_UI_FORMAT = KeyChainProtectionParams.UI_FORMAT_PATTERN;
56 KeyChainProtectionParams protParams = createTestParams(); in build_setsKeyDerivationParams()
65 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesSecret()
72 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesUserSecretType()
79 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesLockScreenUiFormat()
86 KeyChainProtectionParams protParams = writeToThenReadFromParcel(createTestParams()); in writeToParcel_writesKeyDerivationParams()
93 private KeyChainProtectionParams writeToThenReadFromParcel(KeyChainProtectionParams params) { in writeToThenReadFromParcel()
97 KeyChainProtectionParams fromParcel = in writeToThenReadFromParcel()
98 KeyChainProtectionParams.CREATOR.createFromParcel(parcel); in writeToThenReadFromParcel()
[all …]
DKeyChainSnapshotTest.java44 private static final int LOCK_SCREEN_UI_FORMAT = KeyChainProtectionParams.UI_FORMAT_PASSWORD;
45 private static final int USER_SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
87 KeyChainProtectionParams keyChainProtectionParams = in build_setsKeyChainProtectionParams()
154 KeyChainProtectionParams keyChainProtectionParams = in writeToParcel_writesKeyChainProtectionParams()
187 private static KeyChainProtectionParams createKeyChainProtectionParams() { in createKeyChainProtectionParams()
188 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 public @NonNull KeyChainProtectionParams build() { in build()
239 public static final @NonNull 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;
131 public @NonNull List<KeyChainProtectionParams> getKeyChainProtectionParams() { in getKeyChainProtectionParams()
234 @NonNull List<KeyChainProtectionParams> keyChainProtectionParams) { in setKeyChainProtectionParams()
299 mKeyChainProtectionParams = in.createTypedArrayList(KeyChainProtectionParams.CREATOR); in KeyChainSnapshot()
DKeyChainProtectionParams.aidl20 parcelable KeyChainProtectionParams;
DRecoveryController.java499 @NonNull @KeyChainProtectionParams.UserSecretType int[] secretTypes) in setRecoverySecretTypes()
520 public @NonNull @KeyChainProtectionParams.UserSecretType int[] getRecoverySecretTypes() in getRecoverySecretTypes()
DRecoverySession.java107 @NonNull List<KeyChainProtectionParams> secrets) in start()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverySnapshotStorageTest.java11 import android.security.keystore.recovery.KeyChainProtectionParams;
44 private static final int SECRET_TYPE = KeyChainProtectionParams.TYPE_LOCKSCREEN;
45 private static final int LOCK_SCREEN_UI = KeyChainProtectionParams.UI_FORMAT_PATTERN;
171 List<KeyChainProtectionParams> aParams = a.getKeyChainProtectionParams(); in assertKeyChainSnapshotsAreEqual()
172 List<KeyChainProtectionParams> bParams = b.getKeyChainProtectionParams(); in assertKeyChainSnapshotsAreEqual()
186 KeyChainProtectionParams a, KeyChainProtectionParams b) { in assertKeyChainProtectionParamsAreEqual()
201 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in createTestKeyChainSnapshot()
207 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = in createTestKeyChainSnapshot()
/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;
224 private static KeyChainProtectionParams roundTripParams() throws Exception { in roundTripParams()
288 private static List<KeyChainProtectionParams> createKeyChainProtectionParamsList() { in createKeyChainProtectionParamsList()
291 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in createKeyChainProtectionParamsList()
297 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = in createKeyChainProtectionParamsList()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/
DKeySyncTask.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
25 import android.security.keystore.recovery.KeyChainProtectionParams;
346 KeyChainProtectionParams keyChainProtectionParams = new KeyChainProtectionParams.Builder() in syncKeysForAgent()
353 ArrayList<KeyChainProtectionParams> metadataList = new ArrayList<>(); in syncKeysForAgent()
429 if (!ArrayUtils.contains(types, KeyChainProtectionParams.TYPE_LOCKSCREEN)) { in shouldCreateSnapshot()
452 @KeyChainProtectionParams.LockScreenUiFormat static int getUiFormat( in getUiFormat()
455 return KeyChainProtectionParams.UI_FORMAT_PATTERN; in getUiFormat()
457 return KeyChainProtectionParams.UI_FORMAT_PIN; in getUiFormat()
459 return KeyChainProtectionParams.UI_FORMAT_PASSWORD; in getUiFormat()
DRecoverableKeyStoreManager.java39 import android.security.keystore.recovery.KeyChainProtectionParams;
424 @NonNull @KeyChainProtectionParams.UserSecretType int[] secretTypes) in setRecoverySecretTypes()
489 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySession()
554 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySessionWithCertPath()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java44 import android.security.keystore.recovery.KeyChainProtectionParams;
211 private static List<KeyChainProtectionParams> readKeyChainProtectionParamsList( in readKeyChainProtectionParamsList()
216 ArrayList<KeyChainProtectionParams> keyChainProtectionParamsList = new ArrayList<>(); in readKeyChainProtectionParamsList()
228 private static KeyChainProtectionParams readKeyChainProtectionParams(XmlPullParser parser) in readKeyChainProtectionParams()
232 KeyChainProtectionParams.Builder builder = new KeyChainProtectionParams.Builder(); in readKeyChainProtectionParams()
DKeyChainSnapshotSerializer.java45 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;
87 in List<KeyChainProtectionParams> secrets); in startRecoverySessionWithCertPath()
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
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;
DRecoverableKeyStoreManagerTest.java19 import static android.security.keystore.recovery.KeyChainProtectionParams.TYPE_LOCKSCREEN;
20 import static android.security.keystore.recovery.KeyChainProtectionParams.UI_FORMAT_PASSWORD;
50 import android.security.keystore.recovery.KeyChainProtectionParams;
146 private static final KeyChainProtectionParams TEST_PROTECTION_PARAMS =
147 new KeyChainProtectionParams.Builder()
/frameworks/base/services/core/java/com/android/server/locksettings/
DLockSettingsService.java88 import android.security.keystore.recovery.KeyChainProtectionParams;
2253 public void setRecoverySecretTypes(@NonNull @KeyChainProtectionParams.UserSecretType in setRecoverySecretTypes()
2268 @NonNull List<KeyChainProtectionParams> secrets) in startRecoverySessionWithCertPath()
/frameworks/base/api/
Dsystem-current.txt6937 public final class KeyChainProtectionParams implements android.os.Parcelable {
6945 …android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR;
6952 public static class KeyChainProtectionParams.Builder {
6953 ctor public KeyChainProtectionParams.Builder();
6954 method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build();
6955 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyD…
6956 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLock…
6957 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecr…
6958 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUser…
6965 …onNull public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyCh…
[all …]
/frameworks/base/non-updatable-api/
Dsystem-current.txt6835 public final class KeyChainProtectionParams implements android.os.Parcelable {
6843 …android.os.Parcelable.Creator<android.security.keystore.recovery.KeyChainProtectionParams> CREATOR;
6850 public static class KeyChainProtectionParams.Builder {
6851 ctor public KeyChainProtectionParams.Builder();
6852 method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams build();
6853 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setKeyD…
6854 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setLock…
6855 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setSecr…
6856 …method @NonNull public android.security.keystore.recovery.KeyChainProtectionParams.Builder setUser…
6863 …onNull public java.util.List<android.security.keystore.recovery.KeyChainProtectionParams> getKeyCh…
[all …]
/frameworks/base/config/
Dboot-image-profile.txt13000 PLandroid/security/keystore/recovery/KeyChainProtectionParams$1;-><init>()V
13001 PLandroid/security/keystore/recovery/KeyChainProtectionParams$Builder;-><init>()V
13002 …curity/keystore/recovery/KeyChainProtectionParams$Builder;->build()Landroid/security/keystore/reco…
13003KeyChainProtectionParams$Builder;->setKeyDerivationParams(Landroid/security/keystore/recovery/KeyD…
13004 …eystore/recovery/KeyChainProtectionParams$Builder;->setLockScreenUiFormat(I)Landroid/security/keys…
13005 …/keystore/recovery/KeyChainProtectionParams$Builder;->setUserSecretType(I)Landroid/security/keysto…
Dhiddenapi-greylist-max-o.txt62171 …urity/keystore/recovery/KeyChainProtectionParams$Builder;->mInstance:Landroid/security/keystore/re…
62172 Landroid/security/keystore/recovery/KeyChainProtectionParams;-><init>()V
62173 Landroid/security/keystore/recovery/KeyChainProtectionParams;-><init>(Landroid/os/Parcel;)V
62174 Landroid/security/keystore/recovery/KeyChainProtectionParams;->mKeyDerivationParams:Landroid/securi…
62175 Landroid/security/keystore/recovery/KeyChainProtectionParams;->mLockScreenUiFormat:Ljava/lang/Integ…
62176 Landroid/security/keystore/recovery/KeyChainProtectionParams;->mSecret:[B
62177 Landroid/security/keystore/recovery/KeyChainProtectionParams;->mUserSecretType:Ljava/lang/Integer;
/frameworks/base/services/
Dart-profile8507 …Params(Lorg/xmlpull/v1/XmlPullParser;)Landroid/security/keystore/recovery/KeyChainProtectionParams;