/frameworks/base/core/java/android/companion/virtual/audio/ |
D | AudioCapture.java | 53 private AudioRecord mAudioRecord; field in AudioCapture 86 if (mAudioRecord != null) { in setAudioRecord() 87 mAudioRecord.release(); in setAudioRecord() 89 mAudioRecord = audioRecord; in setAudioRecord() 99 if (mAudioRecord != null) { in close() 100 mAudioRecord.release(); in close() 101 mAudioRecord = null; in close() 121 if (mAudioRecord != null) { in read() 122 sizeRead = mAudioRecord.read(audioData, offsetInBytes, sizeInBytes, readMode); in read() 140 if (mAudioRecord != null) { in read() [all …]
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamRecord.cpp | 147 mAudioRecord = new AudioRecord( in open() 150 mAudioRecord->set( in open() 169 mAudioRecord->setCallerName(kCallerName); in open() 172 status_t status = mAudioRecord->initCheck(); in open() 180 bool gotFastPath = (mAudioRecord->getFlags() & AUDIO_INPUT_FLAG_FAST) in open() 187 mAudioRecord.clear(); in open() 195 + std::to_string(mAudioRecord->getPortId()); in open() 205 mAudioRecord->channelMask(), true /*isInput*/, in open() 207 setSampleRate(mAudioRecord->getSampleRate()); in open() 213 setDeviceSampleRate(mAudioRecord->getSampleRate()); in open() [all …]
|
D | AudioStreamRecord.h | 87 android::sp<android::AudioRecord> mAudioRecord;
|
/frameworks/wilhelm/src/android/ |
D | AudioRecorder_to_android.cpp | 380 ar->mAudioRecord.clear(); in android_audioRecorder_create() 575 audio_input_flags_t flags = ar->mAudioRecord->getFlags(); in checkAndSetPerformanceModePost() 658 ar->mAudioRecord = new android::AudioRecord( in android_audioRecorder_realize() 673 ar->mAudioRecord->setCallerName(ANDROID_OPENSLES_CALLER_NAME); in android_audioRecorder_realize() 675 android::status_t status = ar->mAudioRecord->initCheck(); in android_audioRecorder_realize() 681 ar->mAudioRecord.clear(); in android_audioRecorder_realize() 701 ar->mAudioRecord.get()); in android_audioRecorder_realize() 705 ar->mAudioRecord.clear(); in android_audioRecorder_realize() 712 audio_session_t sessionId = ar->mAudioRecord->getSessionId(); in android_audioRecorder_realize() 768 if (ar->mAudioRecord != 0) { in android_audioRecorder_destroy() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/ |
D | ScreenInternalAudioRecorder.java | 42 private AudioRecord mAudioRecord; field in ScreenInternalAudioRecorder 109 mAudioRecord = new AudioRecord.Builder() in setupSimple() 146 readShortsInternal = mAudioRecord.read(bufferInternal, offsetShortsInternal, in setupSimple() 191 readBytes = mAudioRecord.read(buffer, 0, buffer.length); in setupSimple() 301 mAudioRecord.startRecording(); in start() 303 Log.d(TAG, "channel count " + mAudioRecord.getChannelCount()); in start() 305 if (mAudioRecord.getRecordingState() != AudioRecord.RECORDSTATE_RECORDING) { in start() 315 mAudioRecord.stop(); in end() 319 mAudioRecord.release(); in end()
|
/frameworks/base/media/tests/AudioPolicyTest/src/com/android/audiopolicytest/ |
D | AudioPolicyDeathTestActivity.java | 111 private final AudioRecord mAudioRecord; field in AudioPolicyDeathTestActivity.AudioCapturingThread 116 mAudioRecord = record; in AudioCapturingThread() 123 int samplesLeft = mDurationMs * SAMPLE_RATE * mAudioRecord.getChannelCount() / 1000; in run() 125 mAudioRecord.startRecording(); in run() 130 read = mAudioRecord.read(readBuffer, 0, read); in run()
|
/frameworks/av/media/libaudioclient/ |
D | AudioRecord.cpp | 179 IInterface::asBinder(mAudioRecord)->unlinkToDeath(mDeathNotifier, this); in ~AudioRecord() 180 mAudioRecord.clear(); in ~AudioRecord() 323 if (mAudioRecord != 0) { in set() 450 status = statusTFromBinderStatus(mAudioRecord->start(event, triggerSession)); in start() 460 mAudioRecord->setPreferredMicrophoneDirection(mSelectedMicDirection); in start() 461 mAudioRecord->setPreferredMicrophoneFieldDimension(mSelectedMicFieldDimension); in start() 502 mAudioRecord->stop(); in stop() 691 if (mAudioRecord != 0) { in setInputDevice() 692 mAudioRecord->stop(); in setInputDevice() 931 if (mAudioRecord != 0) { in createRecord_l() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioRecord.h | 753 sp<media::IAudioRecord> mAudioRecord; variable 789 DeathNotifier(AudioRecord* audioRecord) : mAudioRecord(audioRecord) { } in DeathNotifier() 793 const wp<AudioRecord> mAudioRecord;
|
/frameworks/base/media/java/android/media/ |
D | AudioRecord.java | 2370 private final AudioRecord mAudioRecord; field in AudioRecord.NativeEventHandler 2374 mAudioRecord = recorder; in NativeEventHandler() 2381 listener = mAudioRecord.mPositionListener; in handleMessage() 2387 listener.onMarkerReached(mAudioRecord); in handleMessage() 2392 listener.onPeriodicNotification(mAudioRecord); in handleMessage()
|
/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 | 163 android::sp<android::AudioRecord> mAudioRecord; member
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 24610 Landroid/media/AudioRecord$NativeEventHandler;->mAudioRecord:Landroid/media/AudioRecord;
|