Home
last modified time | relevance | path

Searched refs:isAudio (Results 1 – 7 of 7) 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.java238 boolean isAudio = mime.startsWith("audio/"); in addTrack()
287 if (isAudio) { in addTrack()
DMediaSyncTest.java623 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument
626 mIsAudio = isAudio; in Decoder()
DMediaCodecClearKeyPlayer.java397 boolean isAudio = mime.startsWith("audio/"); in addTrack()
435 if (isAudio) { in addTrack()
DDecoderTest.java2653 boolean isAudio = mime.startsWith("audio/");
/cts/tests/tests/media/libmediandkjni/
Dnative-mediadrm-jni.cpp321 static bool isAudio(const char* mime) { in isAudio() function
361 } 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