/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | LevelTrackingMediaRecorder.java | 67 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/ |
D | VmsOperationRecorderTest.java | 63 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 …]
|
D | CarPropertyManagerTest.java | 1172 private ConcurrentHashMap<Integer, CarPropertyValue> mRecorder = new ConcurrentHashMap<>(); field in CarPropertyManagerTest.TestSequenceCallback 1179 mRecorder.put(value.getPropertyId(), value); in onChangeEvent() 1198 return mRecorder.get(propId); in getLastCarPropertyValue()
|
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/ |
D | BugReportActivity.java | 121 private MediaRecorder mRecorder; field in BugReportActivity 210 if (mRecorder != null) { in onDestroy() 211 mHandler.removeCallbacksAndMessages(/* token= */ mRecorder); in onDestroy() 566 mRecorder = new MediaRecorder(); in startRecordingWithPermission() 567 mRecorder.setAudioSource(MediaRecorder.AudioSource.MIC); in startRecordingWithPermission() 568 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.THREE_GPP); in startRecordingWithPermission() 569 mRecorder.setAudioEncoder(MediaRecorder.AudioEncoder.AAC); in startRecordingWithPermission() 570 mRecorder.setOnInfoListener((MediaRecorder recorder, int what, int extra) -> in startRecordingWithPermission() 572 mRecorder.setOnErrorListener((MediaRecorder recorder, int what, int extra) -> in startRecordingWithPermission() 574 mRecorder.setOutputFile(mAudioFile); in startRecordingWithPermission() [all …]
|
D | VoiceRecordingView.java | 47 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/ |
D | TunerRecordingSessionWorkerExoV2.java | 166 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()
|
D | TunerRecordingSessionWorker.java | 165 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()
|
/packages/modules/Connectivity/service-t/src/com/android/server/net/ |
D | NetworkStatsObservers.java | 262 protected NetworkStatsRecorder mRecorder; field in NetworkStatsObservers.RequestInfo 307 if (mRecorder == null) { in updateStats() 342 mRecorder = new NetworkStatsRecorder(); in resetRecorder() 343 mCollection = mRecorder.getSinceBoot(); in resetRecorder() 388 mRecorder.recordSnapshotLocked(statsContext.mXtSnapshot, statsContext.mActiveIfaces, in recordSample() 431 mRecorder.recordSnapshotLocked(statsContext.mUidSnapshot, statsContext.mActiveUidIfaces, in recordSample()
|