/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/audio/ |
H A D | SimTonesTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaBassBoostTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaPresetReverbTest.java | 17 package com.android.mediaframeworktest.functional.audio; 210 // creating a volume controller on output mix ensures that ro.audio.silent mutes 211 // audio after the effects and not before 281 // creating a volume controller on output mix ensures that ro.audio.silent mutes 282 // audio after the effects and not before
|
H A D | MediaVirtualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaAudioManagerTest.java | 17 package com.android.mediaframeworktest.functional.audio; 155 // the audio focus request is async, so wait a bit to verify it had the expected effect 173 //Test case 1: test audio focus listener loses audio focus: 184 //Test case 2: test audio focus listener loses audio focus: 196 //Test case 3: test audio focus listener loses audio focus: 208 //Test case 4: test audio focus registering and use over 3000 iterations 218 assertTrue("audio focu [all...] |
H A D | MediaEnvReverbTest.java | 17 package com.android.mediaframeworktest.functional.audio; 365 // creating a volume controller on output mix ensures that ro.audio.silent mutes 366 // audio after the effects and not before 438 // creating a volume controller on output mix ensures that ro.audio.silent mutes 439 // audio after the effects and not before
|
H A D | MediaEqualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio;
|
H A D | MediaVisualizerTest.java | 17 package com.android.mediaframeworktest.functional.audio; 242 // creating a volume controller on output mix ensures that ro.audio.silent mutes 243 // audio after the effects and not before 321 // creating a volume controller on output mix ensures that ro.audio.silent mutes 322 // audio after the effects and not before 454 // creating a volume controller on output mix ensures that ro.audio.silent mutes 455 // audio after the effects and not before
|
H A D | MediaAudioEffectTest.java | 17 package com.android.mediaframeworktest.functional.audio; 276 //Test case 1.4: test contructor on mediaPlayer audio session
|
H A D | MediaAudioTrackTest.java | 17 package com.android.mediaframeworktest.functional.audio; 758 // count (given the audio track properties), and add 77.
|
/frameworks/base/services/core/java/com/android/server/audio/ |
H A D | PlayerFocusEnforcer.java | 17 package com.android.server.audio;
|
H A D | RecordingActivityMonitor.java | 17 package com.android.server.audio;
|
H A D | RotationHelper.java | 17 package com.android.server.audio; 31 * to the audio HALs through AudioSystem. 38 * query the display rotation so audio stays in sync with video/dialogs. This is 99 // use display rotation so audio stays in sync with video/dialogs
|
H A D | FocusRequester.java | 17 package com.android.server.audio; 28 import com.android.server.audio.MediaFocusControl.AudioFocusDeathHandler; 34 * Class to handle all the information about a user of audio focus. The lifecycle of each 35 * instance is managed by android.media.MediaFocusControl, from its addition to the audio focus 54 * the audio focus gain request that caused the addition of this object in the focus stack. 63 * the audio focus loss received my mFocusDispatcher, is AudioManager.AUDIOFOCUS_NONE if 72 * the audio attributes associated with the focus request 261 * For a given audio focus gain request, return the audio focus loss type that will result 264 * @return the audio focu [all...] |
H A D | PlaybackActivityMonitor.java | 17 package com.android.server.audio; 115 Log.e(TAG, "Error updating audio attributes");
|
H A D | MediaFocusControl.java | 17 package com.android.server.audio; 123 * Discard the current audio focus owner. 124 * Notify top of audio focus stack that it lost focus (regardless of possibility to reassign 155 // going through the audio focus stack to signal new focus, traversing order doesn't 167 * Display in the log the current entries in the audio focus stack 239 // is the owner of the audio focus part of the client to remove? 311 * Push the focus requester onto the audio focus stack at the first position immediately 338 * Inner class to monitor audio focus client deaths, and remove them from the audio focus 360 * Indicates whether to notify an audio focu [all...] |
/frameworks/base/core/java/android/speech/tts/ |
H A D | UtteranceProgressListener.java | 18 * be soon before audio is played back in the case of a {@link TextToSpeech#speak} 28 * All audio will have been played back by this point for audible output, and all 79 * Called when the TTS engine begins to synthesize the audio for a request. 87 * This is called when the TTS engine starts synthesizing audio for the request. If an 88 * application wishes to know when the audio is about to start playing, {#onStart(String)} 93 * @param sampleRateInHz Sample rate in hertz of the generated audio. 94 * @param audioFormat Audio format of the generated audio. Should be one of 103 * This is called when a chunk of audio is ready for consumption. 106 * The audio parameter is a copy of what will be synthesized to the speakers (when synthesis was 108 * {@link TextToSpeech#synthesizeToFile}). The audio byte 121 onAudioAvailable(String utteranceId, byte[] audio) argument [all...] |
/frameworks/av/services/radio/ |
H A D | RadioHalLegacy.cpp | 102 bool audio, 112 int rc = mHwDevice->open_tuner(mHwDevice, config, audio, 101 openTuner(const radio_hal_band_config_t *config, bool audio, sp<TunerCallbackInterface> callback, sp<TunerInterface>& tuner) argument
|
H A D | RadioService.h | 79 bool audio); 101 bool mMute; // radio audio source state 102 // when unmuted, audio is routed to the 141 bool audio); 176 bool audio() const { return mAudio; } function in class:android::RadioService::ModuleClient
|
H A D | RadioHalHidl.cpp | 67 bool audio, 83 module->openTuner(halConfig, audio, tunerImpl, 66 openTuner(const radio_hal_band_config_t *config, bool audio, sp<TunerCallbackInterface> callback, sp<TunerInterface>& tuner) argument
|
H A D | RadioService.cpp | 25 #include <system/audio.h> 390 bool audio) 408 moduleClient = new ModuleClient(this, client, config, audio); 414 // There is a limited amount of tuners and a limited amount of radio audio sources per module. 415 // The minimum is one tuner and one audio source. 417 // NOTE: current framework implementation only supports one radio audio source. 419 // to the radio audio source (AUDIO_DEVICE_IN_FM_TUNER). 421 // and can use the audio source if requested. 424 // - If the newly connected client requests the audio source (audio 388 addClient(const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument 644 ModuleClient(const sp<Module>& module, const sp<IRadioClient>& client, const struct radio_band_config *config, bool audio) argument [all...] |
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
H A D | HTTPLiveSource.cpp | 147 sp<MetaData> NuPlayer::HTTPLiveSource::getFormatMeta(bool audio) { argument 151 audio ? LiveSession::STREAMTYPE_AUDIO 159 sp<AMessage> NuPlayer::HTTPLiveSource::getFormat(bool audio) { argument 164 audio ? LiveSession::STREAMTYPE_AUDIO 187 bool audio, sp<ABuffer> *accessUnit) { 189 audio ? LiveSession::STREAMTYPE_AUDIO 357 sp<AMessage> format = getFormat(false /* audio */); 400 bool audio = changedMask & LiveSession::STREAMTYPE_AUDIO; local 408 notify->setInt32("audio", audio); 186 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument [all...] |
H A D | StreamingSource.cpp | 195 sp<AnotherPacketSource> audioTrack = getSource(true /*audio*/); 196 sp<AnotherPacketSource> videoTrack = getSource(false /*audio*/); 204 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)", 226 sp<AnotherPacketSource> NuPlayer::StreamingSource::getSource(bool audio) { argument 232 audio ? ATSParser::AUDIO : ATSParser::VIDEO); 237 sp<AMessage> NuPlayer::StreamingSource::getFormat(bool audio) { argument 238 sp<AnotherPacketSource> source = getSource(audio); 259 bool audio, sp<ABuffer> *accessUnit) { 260 sp<AnotherPacketSource> source = getSource(audio); 258 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument
|
H A D | NuPlayer.h | 253 inline const sp<DecoderBase> &getDecoder(bool audio) { argument 254 return audio ? mAudioDecoder : mVideoDecoder; 272 bool audio, sp<DecoderBase> *decoder, bool checkAudioModeChange = true); 282 void handleFlushComplete(bool audio, bool isDecoder); 293 void flushDecoder(bool audio, bool needShutdown); 306 void performDecoderFlush(FlushCommand audio, FlushCommand video); 316 bool audio, bool video, const sp<AMessage> &reply);
|
H A D | RTSPSource.cpp | 172 sp<MetaData> NuPlayer::RTSPSource::getFormatMeta(bool audio) { argument 173 sp<AnotherPacketSource> source = getSource(audio); 201 ALOGV("audio track doesn't have enough data yet. (%.2f secs buffered)", 219 bool audio, sp<ABuffer> *accessUnit) { 224 sp<AnotherPacketSource> source = getSource(audio); 235 if (sourceReachedEOS(!audio)) { 244 int64_t eosTimeout = audio ? mEOSTimeoutAudio : mEOSTimeoutVideo; 246 setEOSTimeout(audio, ALooper::GetNowUs()); 248 setEOSTimeout(audio, 0); 254 if (!sourceNearEOS(!audio)) { 218 dequeueAccessUnit( bool audio, sp<ABuffer> *accessUnit) argument 270 getSource(bool audio) argument 281 setEOSTimeout(bool audio, int64_t timeout) argument 424 const bool audio = true; local 438 sourceReachedEOS(bool audio) argument 446 sourceNearEOS(bool audio) argument 468 const bool audio = true; local [all...] |