/cts/tests/media/jni/ |
D | NativeCodecUnitTest.cpp | 42 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/ |
D | RawResource.java | 70 public Builder setFileName(String fileName, boolean isAudio) { in setFileName() argument 72 this.mIsAudio = isAudio; in setFileName()
|
D | CodecDecoderTestBase.java | 183 protected void flattenBufferInfo(MediaCodec.BufferInfo info, boolean isAudio) { in flattenBufferInfo() argument 184 if (isAudio) { in flattenBufferInfo()
|
/cts/tests/mediapc/src/android/mediapc/cts/ |
D | CodecInitializationLatencyTest.java | 303 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/ |
D | MediaCodecTunneledPlayer.java | 261 boolean isAudio = mime.startsWith("audio/"); in addTrack() 313 if (isAudio) { in addTrack()
|
D | MediaCodecClearKeyPlayer.java | 407 boolean isAudio = mime.startsWith("audio/"); in addTrack() 445 if (isAudio) { in addTrack()
|
/cts/tests/tests/media/misc/src/android/media/misc/cts/ |
D | MediaSyncTest.java | 624 Decoder(MediaSyncTest test, MediaSync sync, boolean isAudio) { in Decoder() argument 627 mIsAudio = isAudio; in Decoder()
|
D | MediaCodecListTest.java | 515 boolean isAudio = (acaps != null); in testInputChannelLimits() 517 if (!isAudio) { in testInputChannelLimits()
|
/cts/tests/tests/media/drmframework/jni/ |
D | native-mediadrm-jni.cpp | 360 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/ |
D | StagefrightTest.java | 106 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/ |
D | MediaCodecTest.java | 2361 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/ |
D | CodecUnitTest.java | 2881 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/ |
D | DecoderTest.java | 2742 boolean isAudio = mime.startsWith("audio/");
|