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.java343 Set<String> toFind = asSet("int", "long", "float", "string"); in testKeySetContainsAndRemove() local
347 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
349 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
364 Set<String> toFind = asSet("int", "long", "string"); in testKeySetContainsAndRemove() local
366 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
368 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
385 Set<String> toFind = asSet("int", "string"); in testKeySetContainsAndRemove() local
389 assertTrue(toFind.remove(k)); in testKeySetContainsAndRemove()
394 assertEquals(0, toFind.size()); in testKeySetContainsAndRemove()
446 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()