Home
last modified time | relevance | path

Searched refs:hasAudio (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaRecorderTest.java303 boolean hasAudio = timelapse? false: true; in recordVideoUsingCamera()
304 checkTracksAndDuration(targetDurMs, hasVideo, hasAudio, fileName, frameRate); in recordVideoUsingCamera()
308 int targetMs, boolean hasVideo, boolean hasAudio, String fileName, in checkTracksAndDuration() argument
315 assertTrue(hasAudio? hasAudioStr != null : hasAudioStr == null); in checkTracksAndDuration()
572 private void setupRecorder(String filename, boolean useSurface, boolean hasAudio) in setupRecorder() argument
592 if (hasAudio) { in setupRecorder()
603 if (hasAudio) { in setupRecorder()
826 boolean hasAudio, in recordFromSurface() argument
831 setupRecorder(filename, true /* useSurface */, hasAudio); in recordFromSurface()
951 boolean hasAudio = false; in testRecordFromSurface()
[all …]
DMediaCodecClearKeyPlayer.java170 boolean hasAudio = false; in prepareAudio()
184 if (!hasAudio) { in prepareAudio()
187 hasAudio = true; in prepareAudio()
199 if (hasAudio) { in prepareAudio()