Home
last modified time | relevance | path

Searched refs:recorder (Results 1 – 12 of 12) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DAudioRecordRoutingNative.java66 AudioRecorder recorder = new AudioRecorder(); in testAquireDefaultProxy() local
67 recorder.ClearLastSLResult(); in testAquireDefaultProxy()
68 recorder.RealizeRecorder(); in testAquireDefaultProxy()
69 recorder.RealizeRoutingProxy(); in testAquireDefaultProxy()
71 AudioRouting routingObj = recorder.GetRoutingInterface(); in testAquireDefaultProxy()
75 routingObj = recorder.GetRoutingInterface(); in testAquireDefaultProxy()
77 assertTrue(recorder.GetLastSLResult() != 0); in testAquireDefaultProxy()
79 recorder.ReleaseRoutingInterface(routingObj); in testAquireDefaultProxy()
80 assertTrue(recorder.GetLastSLResult() == 0); in testAquireDefaultProxy()
88 AudioRecorder recorder = new AudioRecorder(); in testAquirePreRealizeDefaultProxy() local
[all …]
DAudioNativeTest.java232 AudioRecordNative recorder = new AudioRecordNative(); in testInputChannelMasks() local
249 boolean ok = recorder.open(channelCount, in testInputChannelMasks()
251 recorder.close(); in testInputChannelMasks()
DMediaPlayerTest.java940 MediaRecorder recorder = new MediaRecorder();
941 recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA);
942 recorder.setAudioSource(MediaRecorder.AudioSource.MIC);
943 recorder.setOutputFormat(MediaRecorder.OutputFormat.DEFAULT);
944 recorder.setVideoEncoder(MediaRecorder.VideoEncoder.DEFAULT);
945 recorder.setAudioEncoder(MediaRecorder.AudioEncoder.DEFAULT);
946 recorder.setOutputFile(file);
947 recorder.setOrientationHint(angle);
948 recorder.setVideoSize(w, h);
949 recorder.setPreviewDisplay(getActivity().getSurfaceHolder2().getSurface());
[all …]
DMediaRandomTest.java274 public void onError(MediaRecorder recorder, int what, int extra) { in testRecorderRandomAction()
275 if (mRecorder == recorder && in testRecorderRandomAction()
DAudioRecordTest.java154 public void onMarkerReached(AudioRecord recorder) { in testAudioRecordOP()
158 public void onPeriodicNotification(AudioRecord recorder) { in testAudioRecordOP()
/cts/tests/tests/media/libaudiojni/
Dappendix-b-1-2-recording.cpp48 SLObjectItf recorder; in TestAudioRecording() local
170 res = (*EngineItf)->CreateAudioRecorder(EngineItf, &recorder, in TestAudioRecording()
175 res = (*recorder)->Realize(recorder, SL_BOOLEAN_FALSE); in TestAudioRecording()
179 res = (*recorder)->GetInterface(recorder, SL_IID_RECORD, (void *)&recordItf); in TestAudioRecording()
208 (*recorder)->Destroy(recorder); in TestAudioRecording()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1200 MediaRecorder recorder = new MediaRecorder(); in recordVideo() local
1203 recorder.setCamera(mCamera); in recordVideo()
1204 recorder.setAudioSource(MediaRecorder.AudioSource.CAMCORDER); in recordVideo()
1205 recorder.setVideoSource(MediaRecorder.VideoSource.CAMERA); in recordVideo()
1206 recorder.setProfile(profile); in recordVideo()
1207 recorder.setOutputFile("/dev/null"); in recordVideo()
1208 recorder.setPreviewDisplay(holder.getSurface()); in recordVideo()
1209 recorder.prepare(); in recordVideo()
1210 recorder.start(); in recordVideo()
1239 recorder.stop(); in recordVideo()
[all …]
/cts/tests/tests/media/libndkaudio/
DAudioRecorder.cpp62 AudioRecorder* recorder = (AudioRecorder*)context; in RecBufferQueueCallback() local
64 recorder->enqueBuffer(); in RecBufferQueueCallback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioFrequencyLineActivity.java616 public void onPeriodicNotification(AudioRecord recorder) { in onPeriodicNotification() argument
DAudioFrequencySpeakerActivity.java632 public void onPeriodicNotification(AudioRecord recorder) { in onPeriodicNotification() argument
DAudioFrequencyUnprocessedActivity.java622 public void onPeriodicNotification(AudioRecord recorder) { in onPeriodicNotification() argument
DAudioFrequencyMicActivity.java771 public void onPeriodicNotification(AudioRecord recorder) { in onPeriodicNotification() argument