Searched refs:keysAndValues (Results 1 – 3 of 3) sorted by relevance
24 public static Bundle makeBundle(Object... keysAndValues) { in makeBundle() argument25 if ((keysAndValues.length % 2) != 0) { in makeBundle()29 if (keysAndValues.length == 0) { in makeBundle()34 for (int i = keysAndValues.length - 2; i >= 0; i -= 2) { in makeBundle()35 final String key = keysAndValues[i].toString(); in makeBundle()36 final Object value = keysAndValues[i + 1]; in makeBundle()
334 public static Bundle makeBundle(Object... keysAndValues) { in makeBundle() argument335 assertTrue((keysAndValues.length % 2) == 0); in makeBundle()337 if (keysAndValues.length == 0) { in makeBundle()342 for (int i = keysAndValues.length - 2; i >= 0; i -= 2) { in makeBundle()343 final String key = keysAndValues[i].toString(); in makeBundle()344 final Object value = keysAndValues[i + 1]; in makeBundle()361 public static PersistableBundle makePersistableBundle(Object... keysAndValues) { in makePersistableBundle() argument362 assertTrue((keysAndValues.length % 2) == 0); in makePersistableBundle()364 if (keysAndValues.length == 0) { in makePersistableBundle()369 for (int i = keysAndValues.length - 2; i >= 0; i -= 2) { in makePersistableBundle()[all …]
516 private <T> void assertSnapshot(LruCache<T, T> cache, T... keysAndValues) {524 assertEquals(Arrays.asList(keysAndValues), actualKeysAndValues);