/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 101 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() 104 if (inPastMs != 0) { in isActive() 111 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive() 119 uint32_t inPastMs, in isStreamActive() argument 125 if (inPastMs == 0) { in isStreamActive() 131 if (ns2ms(sysTime - mStopTime[stream]) < inPastMs) { in isStreamActive() 447 bool SwAudioOutputCollection::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 452 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive() 460 uint32_t inPastMs) const in isStreamActiveRemotely() 466 outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActiveRemotely() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 62 bool isActive(uint32_t inPastMs = 0) const; 64 uint32_t inPastMs = 0, 163 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 172 bool isStreamActiveRemotely(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/include/media/ |
D | IAudioPolicyService.h | 116 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 117 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0)
|
D | AudioSystem.h | 79 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); 84 uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 456 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 465 return mpAudioPolicy->is_stream_active(mpAudioPolicy, stream, inPastMs); in isStreamActive() 468 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 477 return mpAudioPolicy->is_stream_active_remotely(mpAudioPolicy, stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyInterfaceImpl.cpp | 519 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 528 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive() 531 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 540 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyService.h | 136 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 137 virtual bool isStreamActiveRemotely(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; 192 uint32_t inPastMs = 0) const = 0;
|
/frameworks/av/media/libmedia/ |
D | IAudioPolicyService.cpp | 458 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 463 data.writeInt32(inPastMs); in isStreamActive() 468 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 473 data.writeInt32(inPastMs); in isStreamActiveRemotely() 1099 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 1100 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact() 1107 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 1108 reply->writeInt32( isStreamActiveRemotely(stream, inPastMs) ); in onTransact()
|
D | AudioSystem.cpp | 952 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() argument 957 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive() 962 uint32_t inPastMs) in isStreamActiveRemotely() argument 967 *state = aps->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 183 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 190 uint32_t inPastMs = 0) const; 295 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
|
D | AudioPolicyManager.cpp | 1994 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 2001 active = mOutputs.isStreamActive((audio_stream_type_t)curStream, inPastMs); in isStreamActive() 2006 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 2008 return mOutputs.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely() 5210 routing_strategy strategy, uint32_t inPastMs, in AudioPolicyManager() argument 5213 if ((sysTime == 0) && (inPastMs != 0)) { in AudioPolicyManager() 5219 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in AudioPolicyManager()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 136 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument 144 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 297 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument 300 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive() 306 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument 309 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()
|