Home
last modified time | relevance | path

Searched refs:AudioRecord (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/av/media/libaudioclient/
DAudioRecord.cpp38 status_t AudioRecord::getMinFrameCount( in getMinFrameCount()
90 void AudioRecord::MediaMetrics::gather(const AudioRecord *record) in gather()
138 status_t AudioRecord::getMetrics(MediaAnalyticsItem * &item) in getMetrics()
149 AudioRecord::AudioRecord(const String16 &opPackageName) in AudioRecord() function in android::AudioRecord
157 AudioRecord::AudioRecord( in AudioRecord() function in android::AudioRecord
187 AudioRecord::~AudioRecord() in ~AudioRecord()
217 status_t AudioRecord::set( in set()
388 status_t AudioRecord::start(AudioSystem::sync_event_t event, audio_session_t triggerSession) in start()
452 void AudioRecord::stop() in stop()
478 bool AudioRecord::stopped() const in stopped()
[all …]
DAndroid.bp27 "AudioRecord.cpp",
/frameworks/av/media/libaudioclient/tests/
Drecord_test_output_v1.0_ref_walleye.txt3 AudioRecord::dump
12 AudioRecord::dump
21 AudioRecord::dump
30 AudioRecord::dump
39 AudioRecord::dump
48 AudioRecord::dump
57 AudioRecord::dump
66 AudioRecord::dump
75 AudioRecord::dump
84 AudioRecord::dump
[all …]
Dtest_create_audiorecord.cpp43 sp<AudioRecord> record = new AudioRecord(AUDIO_SOURCE_DEFAULT, in testRecord()
93 sp<AudioRecord> record = new AudioRecord(String16(PACKAGE_NAME)); in testRecord()
105 fast ? AudioRecord::TRANSFER_CALLBACK : AudioRecord::TRANSFER_DEFAULT, in testRecord()
Drecord_test_input_v1.0_ref.txt3 # Add one line for each tested AudioRecord constructor with the following arguments:
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp102 case AudioRecord::EVENT_MARKER: { in recorderCallback()
116 case AudioRecord::EVENT_NEW_POS: { in recorderCallback()
166 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) in getAudioRecord()
169 AudioRecord* const ar = in getAudioRecord()
170 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in getAudioRecord()
171 return sp<AudioRecord>(ar); in getAudioRecord()
174 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) in setAudioRecord()
177 sp<AudioRecord> old = in setAudioRecord()
178 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in setAudioRecord()
217 sp<AudioRecord> lpRecorder = 0; in android_media_AudioRecord_setup()
[all …]
/frameworks/av/media/libaudioclient/include/media/
DAudioRecord.h42 class AudioRecord : public AudioSystem::AudioDeviceCallback
145 AudioRecord(const String16& opPackageName);
177 AudioRecord(audio_source_t inputSource,
198 virtual ~AudioRecord();
544 AudioRecord(const AudioRecord& other);
545 AudioRecord& operator = (const AudioRecord& other);
551 AudioRecordThread(AudioRecord& receiver, bool bCanCallJava = false);
565 friend class AudioRecord; variable
567 AudioRecord& mReceiver;
683 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier()
[all …]
/frameworks/av/include/media/
DAudioRecord.h42 class AudioRecord : public AudioSystem::AudioDeviceCallback
145 AudioRecord(const String16& opPackageName);
177 AudioRecord(audio_source_t inputSource,
198 virtual ~AudioRecord();
544 AudioRecord(const AudioRecord& other);
545 AudioRecord& operator = (const AudioRecord& other);
551 AudioRecordThread(AudioRecord& receiver, bool bCanCallJava = false);
565 friend class AudioRecord; variable
567 AudioRecord& mReceiver;
683 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier()
[all …]
/frameworks/base/media/java/android/media/
DAudioRecord.java62 public class AudioRecord implements AudioRouting class
281 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() method in AudioRecord
318 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() method in AudioRecord
387 int initResult = native_setup( new WeakReference<AudioRecord>(this), in AudioRecord()
409 /*package*/ AudioRecord(long nativeRecordInJavaObj) { in AudioRecord() method in AudioRecord
433 int initResult = native_setup(new WeakReference<AudioRecord>(this), in deferred_connect()
596 public AudioRecord build() throws UnsupportedOperationException { in build()
628 final AudioRecord record = new AudioRecord( in build()
1504 public void onRoutingChanged(AudioRecord audioRecord); in onRoutingChanged()
1508 if (router instanceof AudioRecord) { in onRoutingChanged()
[all …]
DAudioRecordRoutingProxy.java22 class AudioRecordRoutingProxy extends AudioRecord {
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamRecord.cpp115 AudioRecord::callback_t callback = nullptr; in open()
117 AudioRecord::transfer_type streamTransferType = AudioRecord::transfer_type::TRANSFER_SYNC; in open()
119 streamTransferType = AudioRecord::transfer_type::TRANSFER_CALLBACK; in open()
153 mAudioRecord = new AudioRecord( in open()
306 case AudioRecord::EVENT_MORE_DATA: in processCallback()
311 case AudioRecord::EVENT_NEW_IAUDIORECORD: in processCallback()
DREADME.md2 Android AudioTrack and AudioRecord.
DAudioStreamRecord.h82 android::sp<android::AudioRecord> mAudioRecord;
/frameworks/av/media/libstagefright/include/media/stagefright/
DAudioSource.h34 class AudioRecord; variable
62 status_t dataCallback(const AudioRecord::Buffer& buffer);
93 sp<AudioRecord> mRecord;
/frameworks/av/media/libstagefright/
DAudioSource.cpp38 case AudioRecord::EVENT_MORE_DATA: { in AudioRecordCallbackFunction()
39 source->dataCallback(*((AudioRecord::Buffer *) info)); in AudioRecordCallbackFunction()
42 case AudioRecord::EVENT_OVERRUN: { in AudioRecordCallbackFunction()
77 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, in AudioSource()
92 mRecord = new AudioRecord( in AudioSource()
101 AudioRecord::TRANSFER_DEFAULT, in AudioSource()
324 status_t AudioSource::dataCallback(const AudioRecord::Buffer& audioBuffer) { in dataCallback()
/frameworks/wilhelm/src/android/
DAudioRecorder_to_android.cpp320 case android::AudioRecord::EVENT_MORE_DATA: { in audioRecorder_callback()
322 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; in audioRecorder_callback()
375 case android::AudioRecord::EVENT_OVERRUN: in audioRecorder_callback()
379 case android::AudioRecord::EVENT_MARKER: in audioRecorder_callback()
383 case android::AudioRecord::EVENT_NEW_POS: in audioRecorder_callback()
387 case android::AudioRecord::EVENT_NEW_IAUDIORECORD: in audioRecorder_callback()
690 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize()
701 android::AudioRecord::TRANSFER_CALLBACK, in android_audioRecorder_realize()
/frameworks/base/media/java/android/media/audiopolicy/
DAudioPolicy.java28 import android.media.AudioRecord;
470 public AudioRecord createAudioRecordSink(AudioMix mix) throws IllegalArgumentException { in createAudioRecordSink()
483 AudioRecord ar = new AudioRecord( in createAudioRecordSink()
487 .addTag(AudioRecord.SUBMIX_FIXED_VOLUME) in createAudioRecordSink()
490 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioRecordSink()
/frameworks/base/media/java/android/media/projection/
DMediaProjection.java24 import android.media.AudioRecord;
146 public AudioRecord createAudioRecord( in createAudioRecord()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/
DMediaAudioEffectTest.java26 import android.media.AudioRecord;
130 private AudioRecord getAudioRecord() { in getAudioRecord()
131 AudioRecord ar = null; in getAudioRecord()
133 ar = new AudioRecord(MediaRecorder.AudioSource.DEFAULT, in getAudioRecord()
137 AudioRecord.getMinBufferSize(SAMPLING_RATE, in getAudioRecord()
142 AudioRecord.STATE_INITIALIZED, ar.getState()); in getAudioRecord()
158 AudioRecord ar = null; in test1_0ConstructorFromType()
201 AudioRecord ar = null; in test1_1ConstructorFromUuid()
/frameworks/opt/net/voip/src/jni/rtp/
DAudioGroup.cpp797 AudioRecord::getMinFrameCount(&input, sampleRate, in threadLoop()
814 sp<AudioRecord> record = new AudioRecord(mGroup->mOpPackageName); in threadLoop()
823 AudioRecord::TRANSFER_OBTAIN) != NO_ERROR) { in threadLoop()
903 AudioRecord::Buffer buffer; in threadLoop()
/frameworks/base/tests/SoundTriggerTestApp/src/com/android/test/soundtrigger/
DSoundTriggerTestService.java30 import android.media.AudioRecord;
541 AudioRecord audioRecord = null; in run()
571 int minBufferSize = AudioRecord.getMinBufferSize( in run()
596 audioRecord = new AudioRecord(attributes, format, bytesRequired, in run()
/frameworks/base/services/voiceinteraction/java/com/android/server/soundtrigger/
DSoundTriggerService.java51 import android.media.AudioRecord;
1033 private @NonNull AudioRecord createAudioRecordForEvent( in createAudioRecordForEvent()
1047 int bufferSize = AudioRecord.getMinBufferSize( in createAudioRecordForEvent()
1056 return new AudioRecord(attributes, captureFormat, bufferSize, in createAudioRecordForEvent()
1080 AudioRecord capturedData = createAudioRecordForEvent(event); in onGenericSoundTriggerDetected()
/frameworks/wilhelm/src/itf/
DIAndroidConfiguration.cpp225 android::AudioRecord* pAudioRecord = ((CAudioRecorder*)configObj)->mAudioRecord.get(); in AllocRecorderRoutingProxy()
DIEngine.cpp461 (void) new (&thiz->mAudioRecord) android::sp<android::AudioRecord>(); in IEngine_CreateAudioRecorder()
/frameworks/wilhelm/src/
Dclasses.h162 android::sp<android::AudioRecord> mAudioRecord;

12