Home
last modified time | relevance | path

Searched refs:newPair (Results 1 – 5 of 5) sorted by relevance

/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/testing/
H A DCryptoTestUtils.java114 public static KeyValuePairProto.KeyValuePair newPair(String key, String value) { in newPair() method in CryptoTestUtils
115 return newPair(key, value.getBytes(Charset.forName("UTF-8"))); in newPair()
118 public static KeyValuePairProto.KeyValuePair newPair(String key, byte[] value) { in newPair() method in CryptoTestUtils
119 KeyValuePairProto.KeyValuePair newPair = new KeyValuePairProto.KeyValuePair(); in newPair() local
120 newPair.key = key; in newPair()
121 newPair.value = value; in newPair()
122 return newPair; in newPair()
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/pm/parsing/
H A DPackageInfoUserFieldsTest.kt48 .forEach { (oldPair, newPair) ->
50 val (newPkg, newInfo) = newPair
/aosp12/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
H A DBackupFileDecryptorTaskTest.java22 import static com.android.server.backup.testing.CryptoTestUtils.newPair;
104 TEST_KV_DATA.add(newPair("key1", "value1"));
105 TEST_KV_DATA.add(newPair("key2", "value2"));
H A DEncryptedKvRestoreTaskTest.java173 return MessageNano.toByteArray(CryptoTestUtils.newPair(key, value)); in createPair()
/aosp12/system/libvintf/
H A DVintfObject.cpp823 for (const auto& newPair : in IsFqInstanceDeprecated() local
826 if (newPair.first == fqInstance.getInstance()) { in IsFqInstanceDeprecated()