Home
last modified time | relevance | path

Searched refs:mRecorder (Results 1 – 10 of 10) 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 …]
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/camera2/
DCameraPreviewManager.java70 private MediaRecorder mRecorder; field in CameraPreviewManager
105 mRecorder = new MediaRecorder(); in openCamera()
116 mRecorder.reset(); in closeCamera()
117 mRecorder.release(); in closeCamera()
135 mRecorder.setVideoSource(MediaRecorder.VideoSource.SURFACE); in setupMediaRecorder()
136 mRecorder.setOutputFormat(MediaRecorder.OutputFormat.MPEG_4); in setupMediaRecorder()
137 mRecorder.setVideoEncoder(MediaRecorder.VideoEncoder.H264); in setupMediaRecorder()
138 mRecorder.setVideoSize(VIDEO_SIZE.getWidth(), VIDEO_SIZE.getHeight()); in setupMediaRecorder()
139 mRecorder.setVideoFrameRate(VIDEO_FRAME_RATE); in setupMediaRecorder()
140 mRecorder.setVideoEncodingBitRate(VIDEO_BIT_RATE); in setupMediaRecorder()
[all …]
/packages/services/Car/tests/BugReportApp/src/com/android/car/bugreport/
DVoiceRecordingView.java48 private MediaRecorder mRecorder; field in VoiceRecordingView
62 mRecorder = recorder; in setRecorder()
82 if (mRecorder != null) { in updateCurrentRadius()
84 radius += maxRadius * mRecorder.getMaxAmplitude() in updateCurrentRadius()
116 if (mRecorder != null) { in onDraw()
DBugReportActivity.java135 private MediaRecorder mRecorder; field in BugReportActivity
621 mRecorder = createMediaRecorder(); in startRecordingWithPermission()
624 mRecorder.prepare(); in startRecordingWithPermission()
634 mRecorder.start(); in startRecordingWithPermission()
635 mVoiceRecordingView.setRecorder(mRecorder); in startRecordingWithPermission()
661 if (mRecorder != null) {
664 mRecorder.stop();
670 mRecorder.release();
671 mRecorder = null;
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/examplestore/
DFederatedExampleIteratorTest.java99 private final SingleQueryRecorder mRecorder = field in FederatedExampleIteratorTest
123 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testNormalHasGetNextResultSuccess()
145 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testGetNextResultSuccess()
170 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testNextResultSuccess()
189 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testCloseWithoutUse()
201 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testCloseAfterHashNext()
216 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testCloseAfterNext()
233 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testExampleStoreIteratorReturnsErrorWhenCallNext()
263 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testExampleStoreIteratorReturnsErrorWhenCallHasNext()
293 fakeIterator, RESUMPTION_TOKEN, mRecorder, TASK_ID, mContext); in testCallsAfterClose()
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DNetworkStatsObservers.java267 protected NetworkStatsRecorder mRecorder; field in NetworkStatsObservers.RequestInfo
312 if (mRecorder == null) { in updateStats()
347 mRecorder = new NetworkStatsRecorder(); in resetRecorder()
348 mCollection = mRecorder.getSinceBoot(); in resetRecorder()
393 mRecorder.recordSnapshotLocked(statsContext.mXtSnapshot, statsContext.mActiveIfaces, in recordSample()
436 mRecorder.recordSnapshotLocked(statsContext.mUidSnapshot, statsContext.mActiveUidIfaces, in recordSample()
/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()
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/examplestore/
DFederatedExampleIterator.java71 @Nullable private final SingleQueryRecorder mRecorder; field in FederatedExampleIterator
104 this.mRecorder = recorder; in FederatedExampleIterator()
134 if (mRecorder != null) { in next()
135 mRecorder.incrementAndUpdateResumptionToken(mCurrentResult.mResumptionToken); in next()