Home
last modified time | relevance | path

Searched refs:persistentData (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/testharness/
DTestHarnessModeService.java184 private void setUpAdbFiles(PersistentData persistentData) { in setUpAdbFiles() argument
188 writeBytesToFile(persistentData.mAdbKeys, adbManager.getAdbKeysFile().toPath()); in setUpAdbFiles()
191 writeBytesToFile(persistentData.mAdbTempKeys, adbManager.getAdbTempKeysFile().toPath()); in setUpAdbFiles()
353 PersistentData persistentData = new PersistentData(adbKeysBytes, adbTempKeysBytes); in handleEnable() local
361 blockManager.setTestHarnessModeData(persistentData.toBytes()); in handleEnable()
/frameworks/base/services/core/java/com/android/server/locksettings/
DSyntheticPasswordManager.java975 PersistentData persistentData = mStorage.readPersistentDataBlock(); in getNextAvailableWeaverSlot() local
976 if (persistentData != null && persistentData.type == PersistentData.TYPE_SP_WEAVER) { in getNextAvailableWeaverSlot()
977 int slot = persistentData.userId; // Note: field name is misleading in getNextAvailableWeaverSlot()
1092 final PersistentData persistentData = getSpecialUserPersistentData(sourceUserId); in verifySpecialUserCredential() local
1093 if (persistentData.type == PersistentData.TYPE_SP_GATEKEEPER) { in verifySpecialUserCredential()
1094 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifySpecialUserCredential()
1099 response = gatekeeper.verifyChallenge(fakeUserId(persistentData.userId), in verifySpecialUserCredential()
1107 } else if (persistentData.type == PersistentData.TYPE_SP_WEAVER) { in verifySpecialUserCredential()
1113 PasswordData pwd = PasswordData.fromBytes(persistentData.payload); in verifySpecialUserCredential()
1115 int weaverSlot = persistentData.userId; in verifySpecialUserCredential()
[all …]