Home
last modified time | relevance | path

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

/cts/tests/tests/mediaediting/src/android/media/mediaediting/cts/
DTranscodeQualityTest.java122 int lastIndex = from.lastIndexOf('/'); in prepareParamList() local
123 if (lastIndex != -1) { in prepareParamList()
124 from = from.substring(lastIndex + 1); in prepareParamList()
126 lastIndex = to.lastIndexOf('/'); in prepareParamList()
127 if (lastIndex != -1) { in prepareParamList()
128 to = to.substring(lastIndex + 1); in prepareParamList()
DTransformHdrToSdrToneMapTest.java113 int lastIndex = codec.lastIndexOf('/'); in prepareParamList() local
114 if (lastIndex != -1) { in prepareParamList()
115 codec = codec.substring(lastIndex + 1); in prepareParamList()
DTransformVideoAspectRatio.java139 int lastIndex = from.lastIndexOf('/'); in prepareParamList() local
140 if (lastIndex != -1) { in prepareParamList()
141 from = from.substring(lastIndex + 1); in prepareParamList()
DTransformReverseTransformIdentityTest.java147 int lastIndex = mediaType.lastIndexOf('/'); in prepareParamList() local
149 if (lastIndex != -1) { in prepareParamList()
150 mimeType = mediaType.substring(lastIndex + 1); in prepareParamList()
DVideoResolutionTest.java224 int lastIndex = mediaType.lastIndexOf('/'); in prepareParamList() local
226 if (lastIndex != -1) { in prepareParamList()
227 mimeType = mediaType.substring(lastIndex + 1); in prepareParamList()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DEncodeVirtualDisplayTest.java322 int lastIndex = -1; in doTestEncodeVirtual() local
391 if (VERBOSE) Log.d(TAG, "awaiting frame " + (lastIndex+1)); in doTestEncodeVirtual()
395 if (foundIndex == lastIndex + 1) { in doTestEncodeVirtual()
397 lastIndex = foundIndex; in doTestEncodeVirtual()
399 } else if (foundIndex == lastIndex) { in doTestEncodeVirtual()
401 if (VERBOSE) Log.d(TAG, "Got another " + lastIndex); in doTestEncodeVirtual()
406 if (foundIndex < lastIndex) { in doTestEncodeVirtual()
408 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
411 lastIndex + " to " + foundIndex); in doTestEncodeVirtual()
413 lastIndex = foundIndex; in doTestEncodeVirtual()
/cts/hostsidetests/bootstats/src/android/bootstats/cts/
DBootStatsHostTest.java108 int lastIndex = index; in getIntValue() local
111 lastIndex = i; in getIntValue()
115 String valueStr = str.substring(index, lastIndex); in getIntValue()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DResourceManagerRecorderActivity.java185 int lastIndex = location.lastIndexOf('/'); in checkLocationInFile() local
186 if (lastIndex != -1) { in checkLocationInFile()
187 location = location.substring(0, lastIndex); in checkLocationInFile()
/cts/tests/media/src/android/mediav2/cts/
DMuxerTest.java486 int lastIndex = loc.lastIndexOf('/', index); in verifyLocationInFile() local
487 if (lastIndex == -1) { in verifyLocationInFile()
488 lastIndex = loc.length(); in verifyLocationInFile()
490 float longitude = Float.parseFloat(loc.substring(index, lastIndex - 1)); in verifyLocationInFile()
/cts/tests/tests/media/muxer/src/android/media/muxer/cts/
DMediaMuxerTest.java907 int lastIndex = location.lastIndexOf('/'); in verifyLocationInFile() local
908 if (lastIndex != -1) { in verifyLocationInFile()
909 location = location.substring(0, lastIndex); in verifyLocationInFile()
/cts/tests/tests/media/recorder/src/android/media/recorder/cts/
DMediaRecorderTest.java555 int lastIndex = location.lastIndexOf('/'); in checkLocationInFile() local
556 if (lastIndex != -1) { in checkLocationInFile()
557 location = location.substring(0, lastIndex); in checkLocationInFile()