Home
last modified time | relevance | path

Searched refs:keysAndValues (Results 1 – 4 of 4) sorted by relevance

/frameworks/data-binding/compilationTests/src/test/java/android/databinding/compilationTest/
DBaseCompilationTest.java148 protected static Map<String, String> toMap(String... keysAndValues) { in toMap() argument
149 assertEquals(0, keysAndValues.length % 2); in toMap()
151 for (int i = 0; i < keysAndValues.length; i += 2) { in toMap()
152 map.put(keysAndValues[i], keysAndValues[i + 1]); in toMap()
/frameworks/base/services/tests/shortcutmanagerutils/src/com/android/server/pm/shortcutmanagertest/
DShortcutManagerTestUtils.java288 public static Bundle makeBundle(Object... keysAndValues) { in makeBundle() argument
289 assertTrue((keysAndValues.length % 2) == 0); in makeBundle()
291 if (keysAndValues.length == 0) { in makeBundle()
296 for (int i = keysAndValues.length - 2; i >= 0; i -= 2) { in makeBundle()
297 final String key = keysAndValues[i].toString(); in makeBundle()
298 final Object value = keysAndValues[i + 1]; in makeBundle()
315 public static PersistableBundle makePersistableBundle(Object... keysAndValues) { in makePersistableBundle() argument
316 assertTrue((keysAndValues.length % 2) == 0); in makePersistableBundle()
318 if (keysAndValues.length == 0) { in makePersistableBundle()
323 for (int i = keysAndValues.length - 2; i >= 0; i -= 2) { in makePersistableBundle()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DLruCacheTest.java494 private <T> void assertSnapshot(LruCache<T, T> cache, T... keysAndValues) {
502 assertEquals(Arrays.asList(keysAndValues), actualKeysAndValues);
/frameworks/support/samples/SupportLeanbackShowcase/libs/
Dgson-1.7.2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...