Home
last modified time | relevance | path

Searched refs:audioRecord (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DRoutingTest.java206 AudioRecord audioRecord = in allocAudioRecord() local
212 return audioRecord; in allocAudioRecord()
218 public void onRoutingChanged(AudioRecord audioRecord) {} in onRoutingChanged() argument
235 AudioRecord audioRecord = allocAudioRecord(); in test_audioRecord_RoutingListener() local
239 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()
242 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()
251 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()
254 audioRecord.addOnRoutingChangedListener( in test_audioRecord_RoutingListener()
261 audioRecord.removeOnRoutingChangedListener( in test_audioRecord_RoutingListener()
264 audioRecord.removeOnRoutingChangedListener( in test_audioRecord_RoutingListener()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DAudioRecordHelper.java31 private AudioRecord audioRecord; field in AudioRecordHelper
76 audioRecord = new AudioRecord(source, sampleRate, CHANNEL, ENCODING, bufferSize); in start()
77 audioRecord.startRecording(); in start()
88 audioRecord.stop(); in stop()
89 audioRecord.release(); in stop()
90 audioRecord = null; in stop()
105 int read = audioRecord.read(data, 0, bufferSize); in startPullingData()
DAudioInputRoutingNotificationsActivity.java72 public void onRoutingChanged(AudioRecord audioRecord) { in onRoutingChanged() argument
78 AudioDeviceInfo routedDevice = audioRecord.getRoutedDevice(); in onRoutingChanged()
105 AudioRecord audioRecord = mAudioRecorder.getAudioRecord(); in onCreate() local
106 audioRecord.addOnRoutingChangedListener( in onCreate()