/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 111 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/ |
D | Engine.cpp | 164 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/ |
D | AudioOutputDescriptor.h | 63 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/ |
D | Engine.cpp | 278 } 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/ |
D | IAudioPolicyService.h | 116 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
|
D | AudioSystem.h | 79 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 519 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()
|
D | AudioPolicyInterfaceImplLegacy.cpp | 456 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::AudioPolicyService
|
D | AudioPolicyService.h | 136 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 190 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 136 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() method in AudioSystem
|
D | AudioManager.java | 1724 return AudioSystem.isStreamActive(STREAM_MUSIC, 0); in isMusicActive()
|
/frameworks/base/services/core/java/com/android/server/media/ |
D | MediaSessionService.java | 899 && AudioSystem.isStreamActive(suggestedStream, 0)) { in dispatchAdjustVolumeLocked() 904 && !AudioSystem.isStreamActive(AudioManager.STREAM_MUSIC, 0)) { in dispatchAdjustVolumeLocked()
|
D | MediaSessionRecord.java | 467 if (AudioSystem.isStreamActive(stream, 0)) { in postAdjustLocalVolume()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 183 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
|
D | AudioPolicyManager.cpp | 567 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/ |
D | AudioSystem.cpp | 952 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()
|
D | IAudioPolicyService.cpp | 458 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/ |
D | AudioService.java | 3313 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/ |
D | android_media_AudioSystem.cpp | 301 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive()
|