Searched refs:mediaRecorder (Results 1 – 4 of 4) sorted by relevance
41 MediaRecorder mediaRecorder = null; in test_cve_2016_2499() local52 mediaRecorder = new MediaRecorder(); in test_cve_2016_2499()53 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.DEFAULT); in test_cve_2016_2499()54 mediaRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in test_cve_2016_2499()55 mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in test_cve_2016_2499()56 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in test_cve_2016_2499()57 mediaRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H263); in test_cve_2016_2499()58 mediaRecorder.setVideoFrameRate(30); in test_cve_2016_2499()59 mediaRecorder.setVideoSize(352, 288); in test_cve_2016_2499()60 mediaRecorder.setOutputFile( in test_cve_2016_2499()[all …]
52 MediaRecorder mediaRecorder = null; in testPocCVE_2023_20926() local63 mediaRecorder = new MediaRecorder(context); in testPocCVE_2023_20926()64 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in testPocCVE_2023_20926()65 mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in testPocCVE_2023_20926()66 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT); in testPocCVE_2023_20926()67 mediaRecorder.setOutputFile( in testPocCVE_2023_20926()69 mediaRecorder.prepare(); in testPocCVE_2023_20926()70 mediaRecorder.start(); in testPocCVE_2023_20926()89 if (mediaRecorder != null) { in testPocCVE_2023_20926()90 mediaRecorder.release(); in testPocCVE_2023_20926()
822 MediaRecorder mediaRecorder = new MediaRecorder(); in allocMediaRecorder() local823 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in allocMediaRecorder()824 assertEquals(0, mediaRecorder.getMaxAmplitude()); in allocMediaRecorder()825 mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in allocMediaRecorder()826 mediaRecorder.setOutputFile(outputPath); in allocMediaRecorder()827 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in allocMediaRecorder()828 mediaRecorder.setAudioChannels(AudioFormat.CHANNEL_OUT_DEFAULT); in allocMediaRecorder()829 mediaRecorder.setAudioSamplingRate(AUDIO_SAMPLE_RATE_HZ); in allocMediaRecorder()830 mediaRecorder.setAudioEncodingBitRate(AUDIO_BIT_RATE_IN_BPS); in allocMediaRecorder()831 mediaRecorder.setMaxFileSize(MAX_FILE_SIZE_BYTE); in allocMediaRecorder()[all …]
206 MediaRecorder mediaRecorder = new MediaRecorder(InstrumentationRegistry.getInstrumentation() in createMediaRecorderLoad() local208 mediaRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in createMediaRecorderLoad()209 mediaRecorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in createMediaRecorderLoad()210 mediaRecorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT); in createMediaRecorderLoad()211 mediaRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in createMediaRecorderLoad()212 mediaRecorder.setVideoEncoder(mMediaType.equalsIgnoreCase(HEVC) ? in createMediaRecorderLoad()214 mediaRecorder.setOutputFile(mTempRecordedFile); in createMediaRecorderLoad()215 mediaRecorder.setVideoSize(1920, 1080); in createMediaRecorderLoad()216 mediaRecorder.setOrientationHint(0); in createMediaRecorderLoad()217 mediaRecorder.setPreviewDisplay(surface); in createMediaRecorderLoad()[all …]