Home
last modified time | relevance | path

Searched refs:lastIndex (Results 1 – 5 of 5) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DEncodeVirtualDisplayTest.java302 int lastIndex = -1; in doTestEncodeVirtual() local
371 if (VERBOSE) Log.d(TAG, "awaiting frame " + (lastIndex+1)); in doTestEncodeVirtual()
375 if (foundIndex == lastIndex + 1) { in doTestEncodeVirtual()
377 lastIndex = foundIndex; in doTestEncodeVirtual()
379 } else if (foundIndex == lastIndex) { in doTestEncodeVirtual()
381 if (VERBOSE) Log.d(TAG, "Got another " + lastIndex); in doTestEncodeVirtual()
386 if (foundIndex < lastIndex) { in doTestEncodeVirtual()
388 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
391 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
393 lastIndex = foundIndex; in doTestEncodeVirtual()
DMediaMuxerTest.java867 int lastIndex = location.lastIndexOf('/'); in verifyLocationInFile() local
868 if (lastIndex != -1) { in verifyLocationInFile()
869 location = location.substring(0, lastIndex); in verifyLocationInFile()
DMediaRecorderTest.java528 int lastIndex = location.lastIndexOf('/'); in checkLocationInFile() local
529 if (lastIndex != -1) { in checkLocationInFile()
530 location = location.substring(0, lastIndex); in checkLocationInFile()
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java107 int lastIndex = index; in getIntValue() local
110 lastIndex = i; in getIntValue()
114 String valueStr = str.substring(index, lastIndex); in getIntValue()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java505 int lastIndex = loc.lastIndexOf('/', index); in verifyLocationInFile() local
506 if (lastIndex == -1) { in verifyLocationInFile()
507 lastIndex = loc.length(); in verifyLocationInFile()
509 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile()