OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:mAudioRecord
(Results
1 - 9
of
9
) sorted by null
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
TrivialRecorder.java
29
AudioRecord
mAudioRecord
;
45
mAudioRecord
=
60
public AudioRecord getAudioRecord() { return
mAudioRecord
; }
87
mAudioRecord
.release();
92
mAudioRecord
.startRecording();
97
mAudioRecord
.read(mAudioData, 0, mBufferSize);
99
mAudioRecord
.stop();
/cts/tests/tests/media/src/android/media/cts/
AudioRecord_BufferSizeTest.java
44
private AudioRecord
mAudioRecord
;
57
if (
mAudioRecord
!= null) {
59
mAudioRecord
.release();
60
mAudioRecord
= null;
74
assertEquals(AudioRecord.RECORDSTATE_STOPPED,
mAudioRecord
.getRecordingState());
76
mAudioRecord
.startRecording();
77
assertEquals(AudioRecord.RECORDSTATE_RECORDING,
mAudioRecord
.getRecordingState());
83
assertTrue(
mAudioRecord
.read(buffer, 0, bufferSize) > 0);
85
mAudioRecord
.stop();
86
assertEquals(AudioRecord.RECORDSTATE_STOPPED,
mAudioRecord
.getRecordingState())
[
all
...]
AudioRecordingConfigurationTest.java
51
private AudioRecord
mAudioRecord
;
74
mAudioRecord
= new AudioRecord.Builder()
91
assertNotNull(
mAudioRecord
);
98
mAudioRecord
.stop();
99
mAudioRecord
.release();
117
assertEquals(AudioRecord.STATE_INITIALIZED,
mAudioRecord
.getState());
118
mAudioRecord
.startRecording();
119
assertEquals(AudioRecord.RECORDSTATE_RECORDING,
mAudioRecord
.getRecordingState());
131
verifyAudioConfig(TEST_AUDIO_SOURCE,
mAudioRecord
.getAudioSessionId(),
132
mAudioRecord
.getFormat(), mAudioRecord.getRoutedDevice(), configs))
[
all
...]
AudioRecordTest.java
74
private AudioRecord
mAudioRecord
;
112
mAudioRecord
= new AudioRecord.Builder()
132
assertNotNull(
mAudioRecord
);
138
mAudioRecord
.release();
154
assertEquals(AudioFormat.ENCODING_PCM_16BIT,
mAudioRecord
.getAudioFormat());
155
assertEquals(MediaRecorder.AudioSource.DEFAULT,
mAudioRecord
.getAudioSource());
156
assertEquals(1,
mAudioRecord
.getChannelCount());
158
mAudioRecord
.getChannelConfiguration());
159
assertEquals(AudioRecord.STATE_INITIALIZED,
mAudioRecord
.getState());
160
assertEquals(SAMPLING_RATE_HZ,
mAudioRecord
.getSampleRate())
[
all
...]
RoutingTest.java
494
AudioRecord
mAudioRecord
;
502
mAudioRecord
= audioRecord;
512
while (
mAudioRecord
!= null && mRecording) {
513
mAudioRecord
.read(mAudioData, 0, mBufferSize);
[
all
...]
/frameworks/av/media/libaaudio/src/legacy/
AudioStreamRecord.h
82
android::sp<android::AudioRecord>
mAudioRecord
;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
StreamRecorder.java
44
private AudioRecord
mAudioRecord
= null;
81
return
mAudioRecord
!= null &&
mAudioRecord
.getState() == AudioRecord.STATE_INITIALIZED;
89
if (
mAudioRecord
!= null) {
90
mAudioRecord
.setPreferredDevice(mRoutingDevice);
146
mAudioRecord
= builder.build();
150
mAudioRecord
= null;
175
mAudioRecord
.release();
176
mAudioRecord
= null;
180
mAudioRecord
.setPreferredDevice(mRoutingDevice)
[
all
...]
/developers/samples/android/wearable/wear/WearSpeakerSample/wear/src/main/java/com/example/android/wearable/speaker/
SoundRecorder.java
238
private AudioRecord
mAudioRecord
;
258
mAudioRecord
= new AudioRecord(MediaRecorder.AudioSource.MIC,
270
mAudioRecord
.startRecording();
272
int read =
mAudioRecord
.read(buffer, 0, buffer.length);
285
mAudioRecord
.release();
286
mAudioRecord
= null;
/frameworks/av/media/libaudioclient/include/media/
AudioRecord.h
[
all
...]
Completed in 3603 milliseconds