/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 44 status_t AudioRecord::getMinFrameCount( in getMinFrameCount() 77 void AudioRecord::MediaMetrics::gather(const AudioRecord *record) in gather() 109 status_t AudioRecord::getMetrics(MediaAnalyticsItem * &item) in getMetrics() 120 AudioRecord::AudioRecord(const String16 &opPackageName) in AudioRecord() function in android::AudioRecord 130 AudioRecord::AudioRecord( in AudioRecord() function in android::AudioRecord 163 AudioRecord::~AudioRecord() in ~AudioRecord() 193 status_t AudioRecord::set( in set() 377 status_t AudioRecord::start(AudioSystem::sync_event_t event, audio_session_t triggerSession) in start() 444 void AudioRecord::stop() in stop() 472 bool AudioRecord::stopped() const in stopped() [all …]
|
D | Android.bp | 49 "AudioRecord.cpp",
|
/frameworks/base/core/jni/ |
D | android_media_AudioRecord.cpp | 96 case AudioRecord::EVENT_MARKER: { in recorderCallback() 110 case AudioRecord::EVENT_NEW_POS: { in recorderCallback() 160 static sp<AudioRecord> getAudioRecord(JNIEnv* env, jobject thiz) in getAudioRecord() 163 AudioRecord* const ar = in getAudioRecord() 164 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in getAudioRecord() 165 return sp<AudioRecord>(ar); in getAudioRecord() 168 static sp<AudioRecord> setAudioRecord(JNIEnv* env, jobject thiz, const sp<AudioRecord>& ar) in setAudioRecord() 171 sp<AudioRecord> old = in setAudioRecord() 172 (AudioRecord*)env->GetLongField(thiz, javaAudioRecordFields.nativeRecorderInJavaObj); in setAudioRecord() 210 sp<AudioRecord> lpRecorder = 0; in android_media_AudioRecord_setup() [all …]
|
/frameworks/av/media/libaudioclient/tests/ |
D | record_test_output_v1.0_ref_walleye.txt | 3 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 …]
|
D | test_create_audiorecord.cpp | 43 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()
|
D | record_test_input_v1.0_ref.txt | 3 # Add one line for each tested AudioRecord constructor with the following arguments:
|
/frameworks/av/include/media/ |
D | AudioRecord.h | 45 class AudioRecord : public AudioSystem::AudioDeviceCallback 148 AudioRecord(const String16& opPackageName); 180 AudioRecord(audio_source_t inputSource, 204 virtual ~AudioRecord(); 567 AudioRecord(const AudioRecord& other); 568 AudioRecord& operator = (const AudioRecord& other); 574 AudioRecordThread(AudioRecord& receiver); 588 friend class AudioRecord; variable 590 AudioRecord& mReceiver; 709 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 45 class AudioRecord : public AudioSystem::AudioDeviceCallback 148 AudioRecord(const String16& opPackageName); 180 AudioRecord(audio_source_t inputSource, 204 virtual ~AudioRecord(); 567 AudioRecord(const AudioRecord& other); 568 AudioRecord& operator = (const AudioRecord& other); 574 AudioRecordThread(AudioRecord& receiver); 588 friend class AudioRecord; variable 590 AudioRecord& mReceiver; 709 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier() [all …]
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 71 public class AudioRecord implements AudioRouting, MicrophoneDirection, class 298 public AudioRecord(int audioSource, int sampleRateInHz, int channelConfig, int audioFormat, in AudioRecord() method in AudioRecord 335 public AudioRecord(AudioAttributes attributes, AudioFormat format, int bufferSizeInBytes, in AudioRecord() method in AudioRecord 404 int initResult = native_setup( new WeakReference<AudioRecord>(this), in AudioRecord() 435 /*package*/ AudioRecord(long nativeRecordInJavaObj) { in AudioRecord() method in AudioRecord 469 int initResult = native_setup(new WeakReference<AudioRecord>(this), in deferred_connect() 652 private @NonNull AudioRecord buildAudioPlaybackCaptureRecord() { in buildAudioPlaybackCaptureRecord() 664 AudioRecord record = audioPolicy.createAudioRecordSink(audioMix); in buildAudioPlaybackCaptureRecord() 679 public AudioRecord build() throws UnsupportedOperationException { in build() 715 final AudioRecord record = new AudioRecord( in build() [all …]
|
D | AudioRecordRoutingProxy.java | 22 class AudioRecordRoutingProxy extends AudioRecord {
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 124 AudioRecord::callback_t callback = nullptr; in open() 126 AudioRecord::transfer_type streamTransferType = AudioRecord::transfer_type::TRANSFER_SYNC; in open() 128 streamTransferType = AudioRecord::transfer_type::TRANSFER_CALLBACK; in open() 158 mAudioRecord = new AudioRecord( in open() 311 case AudioRecord::EVENT_MORE_DATA: in processCallback() 316 case AudioRecord::EVENT_NEW_IAUDIORECORD: in processCallback()
|
D | README.md | 2 Android AudioTrack and AudioRecord.
|
D | AudioStreamRecord.h | 82 android::sp<android::AudioRecord> mAudioRecord;
|
/frameworks/base/media/java/android/media/audiopolicy/ |
D | AudioPolicy.java | 32 import android.media.AudioRecord; 93 @Nullable private ArrayList<WeakReference<AudioRecord>> mCaptors; 636 public AudioRecord createAudioRecordSink(AudioMix mix) throws IllegalArgumentException { in createAudioRecordSink() 649 AudioRecord ar = new AudioRecord( in createAudioRecordSink() 653 .addTag(AudioRecord.SUBMIX_FIXED_VOLUME) in createAudioRecordSink() 656 AudioRecord.getMinBufferSize(mix.getFormat().getSampleRate(), in createAudioRecordSink() 665 mCaptors.add(new WeakReference<AudioRecord>(ar)); in createAudioRecordSink() 728 for (final WeakReference<AudioRecord> weakRecord : mCaptors) { in invalidateCaptorsAndInjectors() 729 final AudioRecord record = weakRecord.get(); in invalidateCaptorsAndInjectors()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | AudioSource.h | 34 class AudioRecord; variable 64 status_t dataCallback(const AudioRecord::Buffer& buffer); 98 sp<AudioRecord> mRecord;
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 38 case AudioRecord::EVENT_MORE_DATA: { in AudioRecordCallbackFunction() 39 source->dataCallback(*((AudioRecord::Buffer *) info)); in AudioRecordCallbackFunction() 42 case AudioRecord::EVENT_OVERRUN: { in AudioRecordCallbackFunction() 79 status_t status = AudioRecord::getMinFrameCount(&minFrameCount, in AudioSource() 94 mRecord = new AudioRecord( in AudioSource() 103 AudioRecord::TRANSFER_DEFAULT, in AudioSource() 328 status_t AudioSource::dataCallback(const AudioRecord::Buffer& audioBuffer) { in dataCallback()
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 321 case android::AudioRecord::EVENT_MORE_DATA: { in audioRecorder_callback() 323 android::AudioRecord::Buffer* pBuff = (android::AudioRecord::Buffer*)info; in audioRecorder_callback() 376 case android::AudioRecord::EVENT_OVERRUN: in audioRecorder_callback() 380 case android::AudioRecord::EVENT_MARKER: in audioRecorder_callback() 384 case android::AudioRecord::EVENT_NEW_POS: in audioRecorder_callback() 388 case android::AudioRecord::EVENT_NEW_IAUDIORECORD: in audioRecorder_callback() 691 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize() 702 android::AudioRecord::TRANSFER_CALLBACK, in android_audioRecorder_realize()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
D | MediaAudioEffectTest.java | 26 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/ |
D | AudioGroup.cpp | 797 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/ |
D | SoundTriggerTestService.java | 30 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/ |
D | SoundTriggerService.java | 50 import android.media.AudioRecord; 1062 private @NonNull AudioRecord createAudioRecordForEvent( in createAudioRecordForEvent() 1076 int bufferSize = AudioRecord.getMinBufferSize( in createAudioRecordForEvent() 1087 return new AudioRecord(attributes, captureFormat, bufferSize, in createAudioRecordForEvent() 1114 AudioRecord capturedData = createAudioRecordForEvent(event); in onGenericSoundTriggerDetected()
|
/frameworks/wilhelm/src/itf/ |
D | IAndroidConfiguration.cpp | 227 android::AudioRecord* pAudioRecord = ((CAudioRecorder*)configObj)->mAudioRecord.get(); in AllocRecorderRoutingProxy()
|
D | IEngine.cpp | 461 (void) new (&thiz->mAudioRecord) android::sp<android::AudioRecord>(); in IEngine_CreateAudioRecorder()
|
/frameworks/wilhelm/src/ |
D | classes.h | 162 android::sp<android::AudioRecord> mAudioRecord;
|
/frameworks/base/core/proto/android/stats/mediametrics/ |
D | mediametrics.proto | 43 * frameworks/av/media/libaudioclient/AudioRecord.cpp
|