Home
last modified time | relevance | path

Searched refs:isAudio (Results 1 – 13 of 13) sorted by relevance

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp42 bool setupCodec(bool isAudio, bool isEncoder);
44 bool testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder);
142 bool NativeCodecUnitTest::setupCodec(bool isAudio, bool isEncoder) { in setupCodec() argument
144 mFormat = isAudio ? getSampleAudioFormat() : getSampleVideoFormat(); in setupCodec()
165 void setUpDefaultFormatElementsList(std::vector<formatKey*>& vec, bool isAudio, bool isEncoder) { in setUpDefaultFormatElementsList() argument
166 if (isAudio) { in setUpDefaultFormatElementsList()
205 bool NativeCodecUnitTest::testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder) { in testConfigureCodecForIncompleteFormat() argument
206 const char* mediaType = isAudio ? AMEDIA_MIMETYPE_AUDIO_AAC : AMEDIA_MIMETYPE_VIDEO_AVC; in testConfigureCodecForIncompleteFormat()
215 setUpDefaultFormatElementsList(vector, isAudio, isEncoder); in testConfigureCodecForIncompleteFormat()
242 bool isAudio = true; in testConfigureCodecForBadFlags() local
[all …]
/cts/tests/media/common/src/android/mediav2/common/cts/
DRawResource.java70 public Builder setFileName(String fileName, boolean isAudio) { in setFileName() argument
72 this.mIsAudio = isAudio; in setFileName()
DCodecDecoderTestBase.java183 protected void flattenBufferInfo(MediaCodec.BufferInfo info, boolean isAudio) { in flattenBufferInfo() argument
184 if (isAudio) { in flattenBufferInfo()
/cts/tests/mediapc/src/android/mediapc/cts/
DCodecInitializationLatencyTest.java303 boolean isAudio = mMediaType.startsWith("audio/"); in testInitializationLatency()
314 NUM_MEASUREMENTS * boolStates.length * ((!isEncoder && !isAudio) ? 2 : 1); in testInitializationLatency()
329 if (isAudio) { in testInitializationLatency()
363 if (isAudio) { in testInitializationLatency()
376 if (isAudio) { in testInitializationLatency()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaCodecTunneledPlayer.java261 boolean isAudio = mime.startsWith("audio/"); in addTrack()
313 if (isAudio) { in addTrack()
DMediaCodecClearKeyPlayer.java407 boolean isAudio = mime.startsWith("audio/"); in addTrack()
445 if (isAudio) { in addTrack()
/cts/tests/tests/media/misc/src/android/media/misc/cts/
DMediaSyncTest.java624 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument
627 mIsAudio = isAudio; in Decoder()
DMediaCodecListTest.java515 boolean isAudio = (acaps != null); in testInputChannelLimits()
517 if (!isAudio) { in testInputChannelLimits()
/cts/tests/tests/media/drmframework/jni/
Dnative-mediadrm-jni.cpp360 static bool isAudio(const char* mime) { in isAudio() function
400 } else if (isAudio(mime) || isVideo(mime)) { in addTracks()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java106 boolean isAudio; field in StagefrightTest.CodecConfig
115 this.isAudio = false; in setVideoParams()
122 this.isAudio = true; in setAudioParams()
3009 if (codecConfig.isAudio) { in doStagefrightTestRawBlob()
3048 if (codecConfig.isAudio) { in doStagefrightTestRawBlob()
/cts/tests/tests/media/codec/src/android/media/codec/cts/
DMediaCodecTest.java2361 boolean isAudio = (caps.getAudioCapabilities() != null); in testPrependHeadersToSyncFrames()
2379 } else if(isAudio){ in testPrependHeadersToSyncFrames()
2391 if (isVideo || isAudio) { in testPrependHeadersToSyncFrames()
/cts/tests/media/src/android/mediav2/cts/
DCodecUnitTest.java2881 for (boolean isAudio : boolStates) { in testConfigureCodecForIncompleteFormat()
2883 "testConfigureCodecForIncompleteFormat failed for isAudio " + isAudio + in testConfigureCodecForIncompleteFormat()
2885 nativeTestConfigureCodecForIncompleteFormat(isAudio, isEncoder)); in testConfigureCodecForIncompleteFormat()
2890 private native boolean nativeTestConfigureCodecForIncompleteFormat(boolean isAudio, in nativeTestConfigureCodecForIncompleteFormat() argument
/cts/tests/tests/media/decoder/src/android/media/decoder/cts/
DDecoderTest.java2742 boolean isAudio = mime.startsWith("audio/");