Home
last modified time | relevance | path

Searched refs:isStreamActive (Results 1 – 20 of 20) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp111 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive()
118 bool AudioOutputDescriptor::isStreamActive(audio_stream_type_t stream, in isStreamActive() function in android::AudioOutputDescriptor
447 bool SwAudioOutputCollection::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::SwAudioOutputCollection
452 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
466 outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActiveRemotely()
552 bool HwAudioOutputCollection::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::HwAudioOutputCollection
557 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
/frameworks/av/services/audiopolicy/engineconfigurable/src/
DEngine.cpp164 outputs.isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_RESPECTFUL_AFTER_MUSIC_DELAY)) { in getDeviceForStrategy()
168 (outputs.isStreamActive(AUDIO_STREAM_RING) || outputs.isStreamActive(AUDIO_STREAM_ALARM))) { in getDeviceForStrategy()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h63 bool isStreamActive(audio_stream_type_t stream,
163 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
197 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
/frameworks/av/services/audiopolicy/enginedefault/src/
DEngine.cpp278 } else if (outputs.isStreamActive( in getDeviceForStrategyInt()
439 if (outputs.isStreamActive(AUDIO_STREAM_RING) || in getDeviceForStrategyInt()
440 outputs.isStreamActive(AUDIO_STREAM_ALARM)) { in getDeviceForStrategyInt()
/frameworks/av/include/media/
DIAudioPolicyService.h116 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
DAudioSystem.h79 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp519 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::AudioPolicyService
528 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
DAudioPolicyInterfaceImplLegacy.cpp456 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::AudioPolicyService
DAudioPolicyService.h136 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h190 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
/frameworks/base/media/java/android/media/
DAudioSystem.java136 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() method in AudioSystem
DAudioManager.java1724 return AudioSystem.isStreamActive(STREAM_MUSIC, 0); in isMusicActive()
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java899 && AudioSystem.isStreamActive(suggestedStream, 0)) { in dispatchAdjustVolumeLocked()
904 && !AudioSystem.isStreamActive(AudioManager.STREAM_MUSIC, 0)) { in dispatchAdjustVolumeLocked()
DMediaSessionRecord.java467 if (AudioSystem.isStreamActive(stream, 0)) { in postAdjustLocalVolume()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h183 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
DAudioPolicyManager.cpp567 isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY)) { in setPhoneState()
1899 if (!(desc->isStreamActive((audio_stream_type_t)curStream) || in setStreamVolumeIndex()
2027 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::AudioPolicyManager
2034 active = mOutputs.isStreamActive((audio_stream_type_t)curStream, inPastMs); in isStreamActive()
4413 if (outputDesc->isStreamActive((audio_stream_type_t)curStream)) { in AudioPolicyManager()
4961 if (isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY) || in AudioPolicyManager()
5257 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in AudioPolicyManager()
/frameworks/av/media/libmedia/
DAudioSystem.cpp952 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() function in android::AudioSystem
957 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive()
DIAudioPolicyService.cpp458 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::BpAudioPolicyService
1100 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioService.java3313 if (AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0) && in onCheckMusicActive()
3587 return AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, delay_ms) in isAfMusicActiveRecently()
3635 } else if (AudioSystem.isStreamActive(AudioSystem.STREAM_NOTIFICATION, in getActiveStreamType()
3637 AudioSystem.isStreamActive(AudioSystem.STREAM_RING, in getActiveStreamType()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp301 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive()