Home
last modified time | relevance | path

Searched refs:testSample (Results 1 – 3 of 3) sorted by relevance

/cts/tests/camera/src/android/hardware/camera2/cts/
DConcurrentCameraTest.java125 TestSample testSample = new TestSample(deviceSample.getKey(), info.mStaticInfo, in testMandatoryConcurrentStreamCombination() local
127 testSamples.add(testSample); in testMandatoryConcurrentStreamCombination()
133 for (TestSample testSample : testSamples) { in testMandatoryConcurrentStreamCombination()
134 closeDevice(testSample.cameraId); in testMandatoryConcurrentStreamCombination()
240 for (TestSample testSample : testSamples) { in testMandatoryConcurrentStreamCombination()
241 CameraTestInfo info = mCameraTestInfos.get(testSample.cameraId); in testMandatoryConcurrentStreamCombination()
242 assertTrue("CameraTestInfo not found for camera id " + testSample.cameraId, in testMandatoryConcurrentStreamCombination()
246 testSample.combination.getStreamsInformation(), testSample.targets, in testMandatoryConcurrentStreamCombination()
247 outputConfigs, testSample.outputSurfaces, MIN_RESULT_COUNT, in testMandatoryConcurrentStreamCombination()
248 testSample.substituteY8, /*substituteHEIC*/false, /*physicalCameraId*/null, in testMandatoryConcurrentStreamCombination()
[all …]
/cts/tests/media/jni/
DNativeExtractorTest.cpp46 AMediaCodecBufferInfo* testSample) { in isSampleInfoIdentical() argument
47 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoIdentical()
48 refSample->presentationTimeUs == testSample->presentationTimeUs; in isSampleInfoIdentical()
52 AMediaCodecBufferInfo* testSample) { in isSampleInfoValidAndIdentical() argument
53 return refSample->flags == testSample->flags && refSample->size == testSample->size && in isSampleInfoValidAndIdentical()
54 abs(refSample->presentationTimeUs - testSample->presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()
/cts/tests/media/src/android/mediav2/cts/
DExtractorTest.java217 MediaCodec.BufferInfo testSample) { in isSampleInfoIdentical() argument
218 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoIdentical()
219 refSample.presentationTimeUs == testSample.presentationTimeUs; in isSampleInfoIdentical()
223 MediaCodec.BufferInfo testSample) { in isSampleInfoValidAndIdentical() argument
224 return refSample.flags == testSample.flags && refSample.size == testSample.size && in isSampleInfoValidAndIdentical()
225 Math.abs(refSample.presentationTimeUs - testSample.presentationTimeUs) <= 1 && in isSampleInfoValidAndIdentical()