Searched refs:isAudio (Results 1 – 10 of 10) sorted by relevance
/cts/tests/media/jni/ |
D | NativeCodecUnitTest.cpp | 41 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/ |
D | MediaCodecTunneledPlayer.java | 242 boolean isAudio = mime.startsWith("audio/"); in addTrack() 291 if (isAudio) { in addTrack()
|
D | MediaCodecClearKeyPlayer.java | 398 boolean isAudio = mime.startsWith("audio/"); in addTrack() 436 if (isAudio) { in addTrack()
|
D | MediaSyncTest.java | 623 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument 626 mIsAudio = isAudio; in Decoder()
|
D | MediaCodecListTest.java | 515 boolean isAudio = (acaps != null); in testInputChannelLimits() 517 if (!isAudio) { in testInputChannelLimits()
|
D | MediaCodecTest.java | 2667 boolean isAudio = (caps.getAudioCapabilities() != null); in testPrependHeadersToSyncFrames() 2685 } else if(isAudio){ in testPrependHeadersToSyncFrames() 2697 if (isVideo || isAudio) { in testPrependHeadersToSyncFrames()
|
/cts/tests/tests/media/libmediandkjni/ |
D | native-mediadrm-jni.cpp | 358 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/ |
D | CodecUnitTest.java | 2037 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
|
D | CodecTestBase.java | 1162 void flattenBufferInfo(MediaCodec.BufferInfo info, boolean isAudio) { in flattenBufferInfo() argument 1163 if (isAudio) { in flattenBufferInfo()
|
/cts/tests/tests/security/src/android/security/cts/ |
D | StagefrightTest.java | 118 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()
|