Searched refs:newPair (Results 1 – 5 of 5) sorted by relevance
114 public static KeyValuePairProto.KeyValuePair newPair(String key, String value) { in newPair() method in CryptoTestUtils115 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 CryptoTestUtils119 KeyValuePairProto.KeyValuePair newPair = new KeyValuePairProto.KeyValuePair(); in newPair() local120 newPair.key = key; in newPair()121 newPair.value = value; in newPair()122 return newPair; in newPair()
48 .forEach { (oldPair, newPair) ->50 val (newPkg, newInfo) = newPair
22 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"));
173 return MessageNano.toByteArray(CryptoTestUtils.newPair(key, value)); in createPair()
823 for (const auto& newPair : in IsFqInstanceDeprecated() local826 if (newPair.first == fqInstance.getInstance()) { in IsFqInstanceDeprecated()