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.java283 int lastIndex = -1; in doTestEncodeVirtual() local
352 if (VERBOSE) Log.d(TAG, "awaiting frame " + (lastIndex+1)); in doTestEncodeVirtual()
356 if (foundIndex == lastIndex + 1) { in doTestEncodeVirtual()
358 lastIndex = foundIndex; in doTestEncodeVirtual()
360 } else if (foundIndex == lastIndex) { in doTestEncodeVirtual()
362 if (VERBOSE) Log.d(TAG, "Got another " + lastIndex); in doTestEncodeVirtual()
367 if (foundIndex < lastIndex) { in doTestEncodeVirtual()
369 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
372 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
374 lastIndex = foundIndex; in doTestEncodeVirtual()
DMediaMuxerTest.java635 int lastIndex = location.lastIndexOf('/'); in verifyLocationInFile() local
636 if (lastIndex != -1) { in verifyLocationInFile()
637 location = location.substring(0, lastIndex); in verifyLocationInFile()
DMediaRecorderTest.java517 int lastIndex = location.lastIndexOf('/'); in checkLocationInFile() local
518 if (lastIndex != -1) { in checkLocationInFile()
519 location = location.substring(0, lastIndex); in checkLocationInFile()
/cts/hostsidetests/securitybulletin/res/
DCVE-2019-2052.pac43 reg.lastIndex = num;
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java443 int lastIndex = loc.lastIndexOf('/', index); in verifyLocationInFile() local
444 if (lastIndex == -1) { in verifyLocationInFile()
445 lastIndex = loc.length(); in verifyLocationInFile()
447 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile()