Home
last modified time | relevance | path

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

/frameworks/base/test-runner/src/android/test/
DMoreAsserts.java398 public static void assertEmpty(String message, Iterable<?> iterable) { in assertEmpty() argument
399 if (iterable.iterator().hasNext()) { in assertEmpty()
400 failNotEmpty(message, iterable.toString()); in assertEmpty()
408 public static void assertEmpty(Iterable<?> iterable) { in assertEmpty() argument
409 assertEmpty(null, iterable); in assertEmpty()
432 public static void assertNotEmpty(String message, Iterable<?> iterable) { in assertNotEmpty() argument
433 if (!iterable.iterator().hasNext()) { in assertNotEmpty()
442 public static void assertNotEmpty(Iterable<?> iterable) { in assertNotEmpty() argument
443 assertNotEmpty(null, iterable); in assertNotEmpty()
/frameworks/libs/binary_translation/assembler/
Dasm_defs.py125 def exactly_one_of(iterable): argument
126 return sum(1 for elem in iterable if elem) == 1
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
DFakeExpandableAdapter.java54 private void createItems(Iterable<DataBindingItem> iterable, final int itemCount, in createItems() argument
63 for (DataBindingItem dataBindingItem : iterable) { in createItems()