Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DNoOpAudioSystemAdapter.java130 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() method in NoOpAudioSystemAdapter
/frameworks/base/services/core/java/com/android/server/audio/
DAudioSystemAdapter.java529 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() method in AudioSystemAdapter
530 return AudioSystem.isStreamActive(stream, inPastMs); in isStreamActive()
DSoundDoseHelper.java716 /*package*/ void onCheckMusicActive(String caller, boolean isStreamActive) { in onCheckMusicActive() argument
720 if (safeDevicesContains(device) && isStreamActive) { in onCheckMusicActive()
DAudioService.java3370 return AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0); in isMusicActive()
3515 activeForReal = mAudioSystem.isStreamActive(maybeActiveStreamType, 0); in adjustSuggestedStreamVolume()
7199 return mAudioSystem.isStreamActive(stream, delay_ms) in wasStreamActiveRecently()
7212 || mAudioSystem.isStreamActive(AudioManager.STREAM_VOICE_CALL, 0)) { in getActiveStreamType()
7260 } else if (mAudioSystem.isStreamActive( in getActiveStreamType()
7264 } else if (mAudioSystem.isStreamActive( in getActiveStreamType()
7269 if (mAudioSystem.isStreamActive( in getActiveStreamType()
7274 if (mAudioSystem.isStreamActive( in getActiveStreamType()
10120 mAudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0)); in onReceive()
12181 && mAudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, mLongPressTimeout)) in suppressAdjustment()
DAudioDeviceBroker.java2323 && AudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0) in messageMutesMusic()
DAudioDeviceInventory.java2705 if (!mAudioSystem.isStreamActive(AudioSystem.STREAM_MUSIC, 0 /*not looking in past*/)
/frameworks/av/media/libaudioclient/aidl/android/media/
DIAudioPolicyService.aidl163 boolean isStreamActive(AudioStreamType stream, int inPastMs); in isStreamActive() method
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h240 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
/frameworks/av/media/libaudioclient/include/media/
DAudioSystem.h145 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h246 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
DAudioPolicyManager.cpp967 isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY)); in setPhoneState()
3788 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() function in android::AudioPolicyManager
7500 return hasStream(streams, stream) && isStreamActive(stream, 0); in getNewOutputDevices()
7508 !isStreamActive(AUDIO_STREAM_ENFORCED_AUDIBLE, 0); in getNewOutputDevices()
8167 if (isStreamActive(AUDIO_STREAM_MUSIC, SONIFICATION_HEADSET_MUSIC_DELAY) in computeVolume()
/frameworks/base/media/java/android/media/
DAudioSystem.java591 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() method in AudioSystem
/frameworks/av/services/audiopolicy/service/
DAudioPolicyService.h164 binder::Status isStreamActive(AudioStreamType stream, int32_t inPastMs,
DAudioPolicyInterfaceImpl.cpp1331 Status AudioPolicyService::isStreamActive(AudioStreamType streamAidl, int32_t inPastMsAidl, in isStreamActive() function in android::AudioPolicyService
1346 *_aidl_return = mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
DAudioPolicyService.cpp97 BINDER_METHOD_ENTRY(isStreamActive) \
/frameworks/base/services/core/java/com/android/server/media/
DMediaSessionService.java2509 && AudioSystem.isStreamActive(suggestedStream, 0); in dispatchAdjustVolumeLocked()
2532 if (musicOnly && !AudioSystem.isStreamActive(AudioManager.STREAM_MUSIC, 0)) { in dispatchAdjustVolumeLocked()
DMediaSessionRecord.java839 if (AudioSystem.isStreamActive(stream, 0)) {
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp1519 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) { in isStreamActive() function in android::AudioSystem
1528 aps->isStreamActive(streamAidl, inPastMsAidl, state))); in isStreamActive()
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp457 AudioSystem::isStreamActive(static_cast<audio_stream_type_t>(stream), &state, inPastMs); in android_media_AudioSystem_isStreamActive()
3376 MAKE_AUDIO_SYSTEM_METHOD(isStreamActive),