Home
last modified time | relevance | path

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

/cts/tests/tests/mediaparser/src/android/media/mediaparser/cts/
DMediaParserTest.java479 MockMediaParserInputReader inputReader = getInputReader("media/ts/bbb_2500ms.ts"); in testTsBigBuckBunny() local
481 advanceUntilSample(outputConsumer, inputReader, mediaParser, /* sampleNumber= */ 100); in testTsBigBuckBunny()
484 inputReader.setPosition(0); in testTsBigBuckBunny()
485 advanceUntilSample(outputConsumer, inputReader, mediaParser, /* sampleNumber= */ 101); in testTsBigBuckBunny()
553 MockMediaParserInputReader inputReader = in testMatroskaOutOfBandCrypto() local
566 advanceUntilSample(outputConsumer, inputReader, mediaParser, /* sampleNumber= */ 1); in testMatroskaOutOfBandCrypto()
621 MockMediaParserInputReader inputReader = in testMp4FragmentedOutOfBandCrypto() local
634 advanceUntilSample(outputConsumer, inputReader, mediaParser, /* sampleNumber= */ 1); in testMp4FragmentedOutOfBandCrypto()
639 advanceUntilSample(outputConsumer, inputReader, mediaParser, /* sampleNumber= */ 12); in testMp4FragmentedOutOfBandCrypto()
693 MockMediaParserInputReader inputReader = getInputReader(assetPath); in testAssetExtraction() local
[all …]
DMockMediaParserOutputConsumer.java117 public void onSampleDataFound(int trackIndex, MediaParser.InputReader inputReader) in onSampleDataFound() argument
122 new DataReaderAdapter(inputReader), (int) inputReader.getLength(), false); in onSampleDataFound()
346 private DataReaderAdapter(MediaParser.InputReader inputReader) { in DataReaderAdapter() argument
347 mInputReader = inputReader; in DataReaderAdapter()
/cts/tests/camera/src/android/hardware/camera2/cts/
DMultiResolutionReprocessCaptureTest.java331 MultiResolutionImageReader inputReader = null; in testMultiResolutionMandatoryStreamCombination() local
367 inputReader = new MultiResolutionImageReader(multiResInputs, inputFormat, in testMultiResolutionMandatoryStreamCombination()
369 inputReader.setOnImageAvailableListener( in testMultiResolutionMandatoryStreamCombination()
372 OutputConfiguration.createInstancesForMultiResolutionOutput(inputReader)); in testMultiResolutionMandatoryStreamCombination()
373 outputSurfaces.add(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
394 builder.addTarget(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
404 reprocessOutputs.add(inputReader.getSurface()); in testMultiResolutionMandatoryStreamCombination()
465 if (inputReader != null) { in testMultiResolutionMandatoryStreamCombination()
466 inputReader.close(); in testMultiResolutionMandatoryStreamCombination()
DDngCreatorTest.java972 ImageReader inputReader, in captureReprocessedRawShot() argument
985 inputReader.setOnImageAvailableListener(inputReaderListener, mHandler); in captureReprocessedRawShot()
989 outputSurfaces.add(inputReader.getSurface()); in captureReprocessedRawShot()
1053 builder.addTarget(inputReader.getSurface()); in captureReprocessedRawShot()
DRobustnessTest.java950 ImageReader inputReader = null; in testMandatoryReprocessableStreamCombination() local
1001 inputReader = ImageReader.newInstance(inputConfig.getWidth(), inputConfig.getHeight(), in testMandatoryReprocessableStreamCombination()
1004 inputReader.setOnImageAvailableListener(inputReaderListener, mHandler); in testMandatoryReprocessableStreamCombination()
1005 allOutputSurfaces.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
1022 builder.addTarget(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
1037 reprocessOutputs.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
1045 reprocessOutputs.add(inputReader.getSurface()); in testMandatoryReprocessableStreamCombination()
1091 if (inputReader != null) { in testMandatoryReprocessableStreamCombination()
1092 inputReader.close(); in testMandatoryReprocessableStreamCombination()