Home
last modified time | relevance | path

Searched refs:mRecord (Results 1 – 2 of 2) sorted by relevance

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/experiments/
DLoopbackExperiment.java115 private AudioRecord mRecord; field in LoopbackExperiment.Recorder
136 mRecord = new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION, in run()
139 if (mRecord.getState() != AudioRecord.STATE_INITIALIZED) { in run()
143 mRecord.startRecording(); in run()
144 if (mRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in run()
151 mRecord.stop(); in run()
152 mRecord.release(); in run()
153 mRecord = null; in run()
162 bytes = mRecord.read(mBuffer, position, totalBytes - position); in captureLoop()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audioquality/
DCalibrateVolumeActivity.java149 private AudioRecord mRecord; field in CalibrateVolumeActivity.Monitor
164 mRecord = new AudioRecord(MediaRecorder.AudioSource.VOICE_RECOGNITION, in Monitor()
167 if (mRecord.getState() != AudioRecord.STATE_INITIALIZED) { in Monitor()
171 mRecord.startRecording(); in Monitor()
172 if (mRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in Monitor()
190 mRecord.stop(); in run()
191 mRecord.release(); in run()
194 bytes = mRecord.read(mBuffer, 0, maxBytes); in run()