Home
last modified time | relevance | path

Searched refs:configure (Results 1 – 25 of 92) sorted by relevance

1234

/cts/tests/tests/media/common/src/android/media/cts/
DSdkMediaCodec.java54 public void configure(MediaFormat format, int flags) { in configure() method in SdkMediaCodec
55 mCodec.configure(format, null, null, flags); in configure()
59 public void configure(MediaFormat format, int flags, Surface surface) { in configure() method in SdkMediaCodec
60 mCodec.configure(format, surface, null, flags); in configure()
65 surface.configure(mCodec); in setInputSurface()
DInputSurfaceInterface.java32 void configure(MediaCodec codec); in configure() method
34 void configure(NdkMediaCodec codec); in configure() method
DMediaCodecWrapper.java36 void configure(MediaFormat format, int flags); in configure() method
38 void configure(MediaFormat format, int flags, Surface surface); in configure() method
DNdkInputSurface.java92 public void configure(MediaCodec codec) { in configure() method in NdkInputSurface
97 public void configure(NdkMediaCodec codec) { in configure() method in NdkInputSurface
DNdkMediaCodec.java116 public void configure(MediaFormat format, int flags) { in configure() method in NdkMediaCodec
117 configure(format, flags, null /* surface */); in configure()
121 public void configure(MediaFormat format, int flags, Surface surface) { in configure() method in NdkMediaCodec
177 surface.configure(this); in setInputSurface()
DInputSurface.java258 public void configure(MediaCodec codec) { in configure() method in InputSurface
263 public void configure(NdkMediaCodec codec) { in configure() method in InputSurface
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java291 codec.configure(format, null /* surface */, null /* crypto */, in verifyException()
303 codec.configure(format, null /* surface */, null /* crypto */, flags /* flags */); in verifyException()
310 codec.configure(format, null /* surface */, null /* crypto */, in verifyException()
359 codec.configure(format, null /* surface */, null /* crypto */, 0 /* flags */); in verifyException()
468 codec.configure(format, null /* surface */, null /* crypto */, in verifyException()
494 codec.configure(format, null /* surface */, null /* crypto */, in verifyException()
603 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testCreateInputSurfaceErrors()
646 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in testSignalSurfaceEOS()
716 encoder.configure(format, null, null, MediaCodec.CONFIGURE_FLAG_ENCODE); in doTestAbruptStop()
854 mediaCodec.configure(mediaFormat, surface, null /* crypto */, 0 /* flags */); in testAsyncReset()
[all …]
DMediaCodecResourceTest.java137 mediaCodec.configure(codecInfo.mediaFormat, /* surface= */ null, in testLowerPriorityProcessFailsToReclaimResources()
164 mediaCodec.configure(codecInfo.mediaFormat, /* surface= */ null, /* crypto= */ null, in testLowerPriorityProcessFailsToReclaimResources()
224 mediaCodec.configure(codecInfo.mediaFormat, /* surface= */ null, in testHigherPriorityProcessReclaimsResources()
251 mediaCodec.configure(codecInfo.mediaFormat, /* surface= */ null, /* crypto= */ null, in testHigherPriorityProcessReclaimsResources()
/cts/tests/sensor/src/android/hardware/cts/
DSensorDirectReportTest.java622 mChannel.configure(s, s.getHighestDirectReportRateLevel()); in testCloseWithoutConfigStop()
745 int token = mChannel.configure(s, rateLevel); in runSensorDirectReportTest()
751 mChannel.configure(s, SensorDirectChannel.RATE_STOP); in runSensorDirectReportTest()
775 int token = mChannel.configure(s, rateLevel); in runSensorDirectReportUidIdleTest()
802 mChannel.configure(s, SensorDirectChannel.RATE_STOP); in runSensorDirectReportUidIdleTest()
835 int token1 = mChannel.configure(s1, rateLevel1); in runSingleChannelRateIndependencyTest()
836 int token2 = mChannel.configure(s2, rateLevel2); in runSingleChannelRateIndependencyTest()
848 mChannel.configure(s1, SensorDirectChannel.RATE_STOP); in runSingleChannelRateIndependencyTest()
849 mChannel.configure(s2, SensorDirectChannel.RATE_STOP); in runSingleChannelRateIndependencyTest()
890 int token1 = mChannel.configure(s, rateLevel1); in runMultiChannelRateIndependencyTest()
[all …]
/cts/tests/tests/tv/src/android/media/tv/tuner/cts/
DTunerDvrTest.java102 d.configure(getDvrSettings()); in testDvrRecorder()
120 filter.configure(config); in testDvrRecorder()
147 d.configure(getDvrSettings()); in testDvrPlayback()
191 d.configure(getDvrSettings()); in testSetRecordBufferStatusCheckIntervalHint()
225 d.configure(getDvrSettings()); in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/tests/tv/tuner/src/android/media/tv/tuner/cts/
DTunerDvrTest.java102 d.configure(getDvrSettings()); in testDvrRecorder()
120 filter.configure(config); in testDvrRecorder()
147 d.configure(getDvrSettings()); in testDvrPlayback()
191 d.configure(getDvrSettings()); in testSetRecordBufferStatusCheckIntervalHint()
225 d.configure(getDvrSettings()); in testSetPlaybackBufferStatusCheckIntervalHint()
/cts/tests/tests/virtualdevice/sensor/src/android/virtualdevice/cts/sensor/
DVirtualSensorTest.java463 assertThat(channel.configure(sensor, RATE_NORMAL)).isEqualTo(0); in directConnection_memoryFile_notSupported()
488 assertThat(mDirectChannel.configure(defaultDeviceSensor, RATE_NORMAL)).isEqualTo(0); in directConnection_memoryFile_onlyValidForVirtualDevice()
510 assertThat(channel.configure(sensor, RATE_NORMAL)).isEqualTo(0); in directConnectionForDefaultDevice_memoryFile_notValidForVirtualDevice()
527 assertThat(mDirectChannel.configure(sensor, RATE_NORMAL)).isEqualTo(0); in directConnection_memoryFile_notValidForAnotherVirtualDevice()
546 assertThat(channel.configure(sensor, RATE_NORMAL)).isEqualTo(0); in directConnectionForDefaultDevice_hardwareBuffer_notValidForVirtualDevice()
566 int reportToken = mDirectChannel.configure(sensor, RATE_NORMAL); in directConnection_memoryFile_triggersVirtualSensorCallback()
575 assertThat(mDirectChannel.configure(sensor, RATE_STOP)).isEqualTo(1); in directConnection_memoryFile_triggersVirtualSensorCallback()
605 int reportToken = mDirectChannel.configure(sensor, RATE_NORMAL); in directConnection_memoryFile_stopAll_triggersVirtualSensorCallback()
614 assertThat(mDirectChannel.configure(/*sensor=*/null, RATE_STOP)).isEqualTo(1); in directConnection_memoryFile_stopAll_triggersVirtualSensorCallback()
640 int reportToken = mDirectChannel.configure(sensor, RATE_NORMAL); in directConnection_memoryFile_injectEvents()
[all …]
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTestCase.java115 provider.configure.getPackageName()); in verifyInstalledProviders()
117 provider.configure.getClassName()); in verifyInstalledProviders()
164 provider.configure.getPackageName()); in verifyInstalledProviders()
166 provider.configure.getClassName()); in verifyInstalledProviders()
DUpdateProviderInfoTest.java156 boolean passesTest = condition.test(getProviderInfo().configure); in waitAndConfirmComponentName()
161 passesTest = condition.test(getProviderInfo().configure); in waitAndConfirmComponentName()
DCollectionAppWidgetTest.java133 CollectionAppWidgetProvider.configure(providerCountDownLatch, null, null); in setup()
237 CollectionAppWidgetProvider.configure(updateLatch, null, null); in verifySetDisplayedChild()
274 CollectionAppWidgetProvider.configure(updateLatch, null, null); in verifyShowCommand()
467 CollectionAppWidgetProvider.configure(updateLatch, () -> mListView.getChildCount() > 0, in testSetScrollPosition()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DHifiUltrasoundTestActivity.java253 seriesFormat.configure(getApplicationContext(), in plotResponse()
270 noiseSeriesFormat.configure(getApplicationContext(), in plotResponse()
286 seriesFormat.configure(getApplicationContext(), in plotResponse()
296 passSeriesFormat.configure(getApplicationContext(), in plotResponse()
DHifiUltrasoundSpeakerTestActivity.java293 seriesFormat.configure(getApplicationContext(), in plotResponse()
310 noiseSeriesFormat.configure(getApplicationContext(), in plotResponse()
326 seriesFormat.configure(getApplicationContext(), in plotResponse()
336 passSeriesFormat.configure(getApplicationContext(), in plotResponse()
/cts/tests/sensor/src/android/hardware/cts/helpers/
DSensorRatePermissionDirectReportTestHelper.java165 int token = channel.configure(mSensor, rateLevel); in getSensorEvents()
167 channel.configure(mSensor, SensorDirectChannel.RATE_STOP); in getSensorEvents()
/cts/tests/sensor/sensorratepermission/DirectReportAPI30/src/android/sensorratepermission/cts/directreportapi30/
DDirectReportAPI30Test.java153 int token = channel.configure(s, SensorDirectChannel.RATE_VERY_FAST); in testSamplingRateMicToggleOffOnOff()
171 channel.configure(s, SensorDirectChannel.RATE_STOP); in testSamplingRateMicToggleOffOnOff()
/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaDrmCodecTest.java115 codec.configure(format, null, crypto, 0); in testCryptoError()
167 codec.configure(format, null, crypto, 0); in testCryptoErrorLostSessionState()
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderRenderTest.java135 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in onFrameRendered_indicatesAllFramesRendered()
272 videoCodec.configure(videoFormat, surface, null, 0); in onFrameRendered_whenInvalidRenderTime_indicatesAllFramesRendered()
387 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in primeVideoPipeline()
DDecodeOnlyTest.java302 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in testNonTunneledTrickPlay()
405 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in testTunneledTrickPlay()
413 audioCodec.configure(audioFormat, null, null, 0); in testTunneledTrickPlay()
544 videoCodec.configure(videoFormat, getActivity().getSurfaceHolder().getSurface(), null, 0); in testTunneledPerfectSeek()
551 audioCodec.configure(audioFormat, null, null, 0); in testTunneledPerfectSeek()
/cts/tests/sensor/sensorratepermission/DebuggableAPI31/src/android/sensorratepermission/cts/debuggableapi31/
DDebuggableAPI31Test.java109 channel.configure(s, rateLevel); in testDirectChannel()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DLoudnessCodecControllerTest.java391 private MediaCodec createMediaCodec(boolean configure) throws Exception { in createMediaCodec() argument
408 if (configure) { in createMediaCodec()
410 mediaCodec.configure(format, null /* surface */, null /* crypto */, 0 /* flags */); in createMediaCodec()
/cts/tests/video/src/android/video/cts/
DCodecDecoderPerformanceTestBase.java88 mDecoder.configure(mDecoderFormat, mSurface, null, 0); in decode()

1234