/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 45 bool isActive(uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 50 if (inPastMs == 0) { 56 if (ns2ms(sysTime - mStopTime) < inPastMs) { 186 bool isActive(uint32_t inPastMs) const; 188 uint32_t inPastMs = 0, 235 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 238 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 438 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 448 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 458 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const; [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 126 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() argument 129 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive() 130 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 133 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() 136 if (inPastMs != 0) { in isActive() 140 if (iter.second.isActive(inPastMs, sysTime)) { in isActive() 668 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() 673 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() 680 bool SwAudioOutputCollection::isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs) const in isActiveLocally() 685 if (outputDesc->isActive(volumeSource, inPastMs, sysTime) in isActiveLocally() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | IAudioPolicyService.h | 121 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 122 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0)
|
D | AudioSystem.h | 91 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); 96 uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 201 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 203 uint32_t inPastMs = 0) const = 0;
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 856 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 866 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive() 869 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 879 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyService.h | 141 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 142 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
|
/frameworks/av/media/libaudioclient/ |
D | IAudioPolicyService.cpp | 570 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 575 data.writeInt32(inPastMs); in isStreamActive() 580 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 585 data.writeInt32(inPastMs); in isStreamActiveRemotely() 1828 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 1829 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact() 1836 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 1837 reply->writeInt32( isStreamActiveRemotely(stream, inPastMs) ); in onTransact()
|
D | AudioSystem.cpp | 1068 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() argument 1073 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive() 1078 uint32_t inPastMs) in isStreamActiveRemotely() argument 1083 *state = aps->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 205 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 212 uint32_t inPastMs = 0) const;
|
D | AudioPolicyManager.cpp | 2792 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 2794 return mOutputs.isActive(toVolumeSource(stream), inPastMs); in isStreamActive() 2797 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 2799 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs); in isStreamActiveRemotely()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 237 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument 246 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 325 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument 328 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive() 334 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument 337 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()
|