Home
last modified time | relevance | path

Searched refs:mRecorder (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/
DLevelTrackingMediaRecorder.java67 private MediaRecorder mRecorder; field in LevelTrackingMediaRecorder
83 return mRecorder != null; in isRecording()
94 if (mRecorder == null) { in startRecording()
97 mRecorder = new MediaRecorder(); in startRecording()
107 mRecorder.setAudioSource(MEDIA_RECORDER_AUDIO_SOURCE); in startRecording()
108 mRecorder.setOutputFormat(MEDIA_RECORDER_OUTPUT_FORMAT); in startRecording()
109 mRecorder.setAudioEncoder(MEDIA_RECORDER_AUDIO_ENCODER); in startRecording()
110 mRecorder.setOutputFile(mOutputFD.getFileDescriptor()); in startRecording()
111 mRecorder.setMaxFileSize(maxSize); in startRecording()
112 mRecorder.setOnErrorListener(errorListener); in startRecording()
[all …]
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsOperationRecorderTest.java63 private VmsOperationRecorder mRecorder; field in VmsOperationRecorderTest
84 mRecorder = new VmsOperationRecorder(mWriter); in setUp()
89 mRecorder.subscribe(layer1); in testSubscribe()
95 mRecorder.unsubscribe(layer1); in testUnsubscribe()
101 mRecorder.startMonitoring(); in testStartMonitoring()
107 mRecorder.stopMonitoring(); in testStopMonitoring()
113 mRecorder.setLayersOffering(layersOffering0); in testSetLayersOffering0()
119 mRecorder.setLayersOffering(layersOffering2); in testSetLayersOffering2()
129 mRecorder.getPublisherId(9); in testGetPublisherId()
135 mRecorder.addSubscription(42, layer1); in testAddSubscription()
[all …]
DCarPropertyManagerTest.java909 private ConcurrentHashMap<Integer, CarPropertyValue> mRecorder = new ConcurrentHashMap<>(); field in CarPropertyManagerTest.TestSequenceCallback
916 mRecorder.put(value.getPropertyId(), value); in onChangeEvent()
935 return mRecorder.get(propId); in getLastCarPropertyValue()
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DBugReportActivity.java114 private MediaRecorder mRecorder; field in BugReportActivity
194 if (mRecorder != null) { in onDestroy()
195 mHandler.removeCallbacksAndMessages(/* token= */ mRecorder); in onDestroy()
554 mRecorder = new MediaRecorder(); in startRecordingWithPermission()
555 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecordingWithPermission()
556 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in startRecordingWithPermission()
557 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in startRecordingWithPermission()
558 mRecorder.setOnInfoListener((MediaRecorder recorder, int what, int extra) -> in startRecordingWithPermission()
560 mRecorder.setOnErrorListener((MediaRecorder recorder, int what, int extra) -> in startRecordingWithPermission()
562 mRecorder.setOutputFile(mAudioFile); in startRecordingWithPermission()
[all …]
DVoiceRecordingView.java47 private MediaRecorder mRecorder; field in VoiceRecordingView
61 mRecorder = recorder; in setRecorder()
81 if (mRecorder != null) { in updateCurrentRadius()
83 radius += maxRadius * mRecorder.getMaxAmplitude() in updateCurrentRadius()
115 if (mRecorder != null) { in onDraw()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java165 private SampleExtractor mRecorder; field in TunerRecordingSessionWorker
323 if (!mRecorder.prepare()) { in handleMessage()
413 if (mRecorder != null) { in reset()
414 mRecorder.release(); in reset()
415 mRecorder = null; in reset()
478 mRecorder = in doStartRecording()
481 mRecorder.setOnCompletionListener(this, mHandler); in doStartRecording()
516 if (mRecorder != null) { in stopRecorder()
517 mRecorder.release(); in stopRecorder()
519 mRecorder = null; in stopRecorder()
DTunerRecordingSessionWorkerExoV2.java166 private SampleExtractor mRecorder; field in TunerRecordingSessionWorkerExoV2
324 mRecorder.prepare(this); in handleMessage()
416 if (mRecorder != null) { in reset()
417 mRecorder.release(); in reset()
418 mRecorder = null; in reset()
481 mRecorder = in doStartRecording()
484 mRecorder.setOnCompletionListener(this, mHandler); in doStartRecording()
519 if (mRecorder != null) { in stopRecorder()
520 mRecorder.release(); in stopRecorder()
522 mRecorder = null; in stopRecorder()