Home
last modified time | relevance | path

Searched refs:toFind (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaFormatTest.java329 Set<String> toFind = asSet("int", "long", "float", "string"); in testKeySetContainsAndRemove() local
333 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
335 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
350 Set<String> toFind = asSet("int", "long", "string"); in testKeySetContainsAndRemove() local
352 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
354 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
371 Set<String> toFind = asSet("int", "string"); in testKeySetContainsAndRemove() local
375 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
380 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
432 Set<String> toFind = asSet("int", "long", "float", "string"); in testFeatureKeySetContainsAndRemove() local
[all …]
/cts/libs/json/src/com/android/json/stream/
DJsonReader.java784 private boolean skipTo(String toFind) throws IOException { in skipTo() argument
786 for (; pos + toFind.length() < limit || fillBuffer(toFind.length()); pos++) { in skipTo()
787 for (int c = 0; c < toFind.length(); c++) { in skipTo()
788 if (buffer[pos + c] != toFind.charAt(c)) { in skipTo()