Home
last modified time | relevance | path

Searched refs:mAudioSource (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenMediaRecorder.java92 private ScreenRecordingAudioSource mAudioSource; field in ScreenMediaRecorder
108 mAudioSource = audioSource; in ScreenMediaRecorder()
135 if (mAudioSource == MIC) { in prepare()
165 if (mAudioSource == MIC) { in prepare()
192 if (mAudioSource == INTERNAL || in prepare()
193 mAudioSource == MIC_AND_INTERNAL) { in prepare()
197 mMediaProjection, mAudioSource == MIC_AND_INTERNAL); in prepare()
314 if (mAudioSource == INTERNAL || mAudioSource == MIC_AND_INTERNAL) { in stopInternalAudioRecording()
321 if (mAudioSource == INTERNAL || mAudioSource == MIC_AND_INTERNAL) { in recordInternalAudio()
345 if (mAudioSource == MIC_AND_INTERNAL || mAudioSource == INTERNAL) { in save()
DRecordingService.java85 private ScreenRecordingAudioSource mAudioSource = ScreenRecordingAudioSource.NONE; field in RecordingService
155 mAudioSource = ScreenRecordingAudioSource in onStartCommand()
157 Log.d(getTag(), "recording with audio source " + mAudioSource); in onStartCommand() local
173 mAudioSource, in onStartCommand()
300 String notificationTitle = mAudioSource == ScreenRecordingAudioSource.NONE in createRecordingNotification()
328 String notificationTitle = mAudioSource == ScreenRecordingAudioSource.NONE in createProcessingNotification()
/frameworks/av/media/libmediaplayerservice/
DStagefrightRecorder.cpp129 mAudioSource((audio_source_t)AUDIO_SOURCE_CNT), // initialize with invalid value in StagefrightRecorder()
261 mAudioSource = AUDIO_SOURCE_MIC; in setAudioSource()
263 mAudioSource = as; in setAudioSource()
272 if (mAudioSource == AUDIO_SOURCE_CNT) { in setPrivacySensitive()
281 if (mAudioSource == AUDIO_SOURCE_CNT) { in isPrivacySensitive()
285 *privacySensitive = mAudioSource == AUDIO_SOURCE_VOICE_COMMUNICATION in isPrivacySensitive()
286 || mAudioSource == AUDIO_SOURCE_CAMCORDER; in isPrivacySensitive()
1315 if (mAudioSource != AUDIO_SOURCE_CNT) { in start()
1349 attr.source = mAudioSource; in createAudioSource()
1360 if (mAudioSource == AUDIO_SOURCE_REMOTE_SUBMIX in createAudioSource()
[all …]
DStagefrightRecorder.h116 audio_source_t mAudioSource; member
/frameworks/wilhelm/src/android/
Dandroid_AudioSfDecoder.cpp46 mAudioSource(0), in AudioSfDecoder()
75 if ((mAudioSource != 0) && mAudioSourceStarted) { in preDestroy()
76 mAudioSource->stop(); in preDestroy()
330 mAudioSource = source; in onPrepare()
501 err = mAudioSource->read(&mDecodeBuffer, &readOptions); in onDecode()
765 if ((mAudioSource != 0) && mAudioSourceStarted) { in hasNewDecodeParams()
766 sp<MetaData> meta = mAudioSource->getFormat(); in hasNewDecodeParams()
Dandroid_AudioSfDecoder.h95 sp<MediaSource> mAudioSource;// the decoder reading from the data source variable
DAacBqToPcmCbRenderer.cpp206 mAudioSource = source; in onPrepare()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java955 mAudioSource = null;
971 private AudioDevicePort mAudioSource; field in TvInputHardwareManager.TvInputHardwareImpl
998 mAudioSource = in TvInputHardwareImpl()
1103 if (mAudioSource == null || mAudioSink.isEmpty() || mActiveConfig == null) { in updateAudioConfigLocked()
1114 if (mAudioSource.gains().length > 0 && volume != mCommittedVolume) { in updateAudioConfigLocked()
1116 for (AudioGain gain : mAudioSource.gains()) { in updateAudioConfigLocked()
1141 AudioPortConfig sourceConfig = mAudioSource.activeConfig(); in updateAudioConfigLocked()
1191 if (intArrayContains(mAudioSource.samplingRates(), sinkConfig.samplingRate())) { in updateAudioConfigLocked()
1193 } else if (mAudioSource.samplingRates().length > 0) { in updateAudioConfigLocked()
1195 sourceSamplingRate = mAudioSource.samplingRates()[0]; in updateAudioConfigLocked()
[all …]
/frameworks/base/services/voiceinteraction/java/com/android/server/voiceinteraction/
DHotwordAudioStreamCopier.java314 private final ParcelFileDescriptor mAudioSource; field in HotwordAudioStreamCopier.SingleAudioStreamCopyTask
326 mAudioSource = audioSource; in SingleAudioStreamCopyTask()
344 fis = new ParcelFileDescriptor.AutoCloseInputStream(mAudioSource); in call()
372 mAudioSource.closeWithError(e.getMessage()); in call()
/frameworks/base/media/mca/filterpacks/java/android/filterpacks/videosink/
DMediaEncoderFilter.java66 private int mAudioSource = NO_AUDIO_SOURCE; field in MediaEncoderFilter
233 if (!mCaptureTimeLapse && (mAudioSource != NO_AUDIO_SOURCE)) { in updateMediaRecorderParams()
234 mMediaRecorder.setAudioSource(mAudioSource); in updateMediaRecorderParams()
/frameworks/av/media/libaudioclient/tests/
Daudioclient_serialization_tests.cpp247 mAudioSource(std::get<1>(GetParam())), in MMCParameterizedTest()
251 const audio_source_t mAudioSource; member in MMCParameterizedTest
262 AudioMixMatchCriterion ammc{mAudioUsage, mAudioSource, mAudioMixMatchRules}; in TEST_P()
/frameworks/av/services/audioflinger/
DThreads.cpp641 mAudioSource(AUDIO_SOURCE_DEFAULT), mId(id), in ThreadBase()
1104 dprintf(fd, " Audio source: %d (%s)\n", mAudioSource, toString(mAudioSource).c_str()); in dumpBase_l()
1693 effect->setAudioSource(mAudioSource); in createEffect_l()
1850 effect->setAudioSource(mAudioSource); in addEffect_ll()
9661 mAudioSource != (audio_source_t)value) { in checkForNewParameter_l()
9869 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
9870 mAudioSource = patch->sinks[0].ext.mix.usecase.source; in createAudioPatch_l()
9872 mEffectChains[i]->setAudioSource_l(mAudioSource); in createAudioPatch_l()
10089 config->ext.mix.usecase.source = mAudioSource; in toAudioPortConfig()
10716 if (mAudioSource != patch->sinks[0].ext.mix.usecase.source) { in createAudioPatch_l()
[all …]
DThreads.h715 audio_source_t mAudioSource; variable