Home
last modified time | relevance | path

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

/cts/tests/media/jni/
DNativeCodecUnitTest.cpp41 bool setupCodec(bool isAudio, bool isEncoder);
43 bool testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder);
141 bool NativeCodecUnitTest::setupCodec(bool isAudio, bool isEncoder) { in setupCodec() argument
143 mFormat = isAudio ? getSampleAudioFormat() : getSampleVideoFormat(); in setupCodec()
164 void setUpDefaultFormatElementsList(std::vector<formatKey*>& vec, bool isAudio, bool isEncoder) { in setUpDefaultFormatElementsList() argument
165 if (isAudio) { in setUpDefaultFormatElementsList()
204 bool NativeCodecUnitTest::testConfigureCodecForIncompleteFormat(bool isAudio, bool isEncoder) { in testConfigureCodecForIncompleteFormat() argument
205 const char* mime = isAudio ? AMEDIA_MIMETYPE_AUDIO_AAC : AMEDIA_MIMETYPE_VIDEO_AVC; in testConfigureCodecForIncompleteFormat()
214 setUpDefaultFormatElementsList(vector, isAudio, isEncoder); in testConfigureCodecForIncompleteFormat()
239 bool isAudio = true; in testConfigureCodecForBadFlags() local
[all …]
/cts/tests/tests/media/src/android/media/cts/
DMediaCodecTunneledPlayer.java242 boolean isAudio = mime.startsWith("audio/"); in addTrack()
291 if (isAudio) { in addTrack()
DMediaCodecClearKeyPlayer.java398 boolean isAudio = mime.startsWith("audio/"); in addTrack()
436 if (isAudio) { in addTrack()
DMediaSyncTest.java623 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument
626 mIsAudio = isAudio; in Decoder()
DMediaCodecListTest.java515 boolean isAudio = (acaps != null); in testInputChannelLimits()
517 if (!isAudio) { in testInputChannelLimits()
DMediaCodecTest.java2667 boolean isAudio = (caps.getAudioCapabilities() != null); in testPrependHeadersToSyncFrames()
2685 } else if(isAudio){ in testPrependHeadersToSyncFrames()
2697 if (isVideo || isAudio) { in testPrependHeadersToSyncFrames()
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp358 static bool isAudio(const char* mime) { in isAudio() function
398 } else if (isAudio(mime) || isVideo(mime)) { in addTracks()
/cts/tests/media/src/android/mediav2/cts/
DCodecUnitTest.java2037 for (boolean isAudio : boolStates) { in testConfigureCodecForIncompleteFormat()
2039 "testConfigureCodecForIncompleteFormat failed for isAudio " + isAudio + in testConfigureCodecForIncompleteFormat()
2041 nativeTestConfigureCodecForIncompleteFormat(isAudio, isEncoder)); in testConfigureCodecForIncompleteFormat()
2046 private native boolean nativeTestConfigureCodecForIncompleteFormat(boolean isAudio, in nativeTestConfigureCodecForIncompleteFormat() argument
DCodecTestBase.java1162 void flattenBufferInfo(MediaCodec.BufferInfo info, boolean isAudio) { in flattenBufferInfo() argument
1163 if (isAudio) { in flattenBufferInfo()
/cts/tests/tests/security/src/android/security/cts/
DStagefrightTest.java118 boolean isAudio; field in StagefrightTest.CodecConfig
127 this.isAudio = false; in setVideoParams()
134 this.isAudio = true; in setAudioParams()
2904 if (codecConfig.isAudio) { in doStagefrightTestRawBlob()
2943 if (codecConfig.isAudio) { in doStagefrightTestRawBlob()