Home
last modified time | relevance | path

Searched refs:getUtf8Bytes (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/storage/
DRecoverableKeyStoreDbTest.java85 byte[] nonce = getUtf8Bytes("nonce1"); in insertKey_replacesOldKey()
86 byte[] keyMaterial = getUtf8Bytes("keymaterial1"); in insertKey_replacesOldKey()
98 nonce = getUtf8Bytes("nonce2"); in insertKey_replacesOldKey()
99 keyMaterial = getUtf8Bytes("keymaterial2"); in insertKey_replacesOldKey()
100 keyMetadata = getUtf8Bytes("keymetadata2"); in insertKey_replacesOldKey()
117 getUtf8Bytes("nonce1"), in insertKey_allowsTwoUidsToHaveSameAlias()
118 getUtf8Bytes("key1"), in insertKey_allowsTwoUidsToHaveSameAlias()
122 getUtf8Bytes("nonce2"), in insertKey_allowsTwoUidsToHaveSameAlias()
123 getUtf8Bytes("key2"), in insertKey_allowsTwoUidsToHaveSameAlias()
131 getUtf8Bytes("nonce1"), in insertKey_allowsTwoUidsToHaveSameAlias()
[all …]
DRecoverySessionStorageTest.java40 private static final byte[] TEST_LSKF_HASH = getUtf8Bytes("lskf");
41 private static final byte[] TEST_KEY_CLAIMANT = getUtf8Bytes("0000111122223333");
42 private static final byte[] TEST_VAULT_PARAMS = getUtf8Bytes("vault params vault params");
175 private static byte[] getUtf8Bytes(String s) { in getUtf8Bytes() method in RecoverySessionStorageTest
/frameworks/base/services/tests/servicestests/src/com/android/server/locksettings/recoverablekeystore/
DRecoverableKeyStoreManagerTest.java105 private static final byte[] TEST_SALT = getUtf8Bytes("salt");
106 private static final byte[] TEST_SECRET = getUtf8Bytes("password1234");
107 private static final byte[] TEST_VAULT_CHALLENGE = getUtf8Bytes("vault_challenge");
138 private static final byte[] NONCE = getUtf8Bytes("nonce");
139 private static final byte[] KEY_MATERIAL = getUtf8Bytes("keymaterial");
141 private static final byte[] KEY_METADATA_NON_NULL = getUtf8Bytes("keymetametadata");
677 getUtf8Bytes("wrong-sig-file-format")); in initRecoveryServiceWithSigFile_throwsIfWrongSigFileFormat()
1295 private static byte[] getUtf8Bytes(String s) { in getUtf8Bytes() method in RecoverableKeyStoreManagerTest