/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) { 192 bool isActive(uint32_t inPastMs) const; 194 uint32_t inPastMs = 0, 249 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 252 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 535 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 545 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 555 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const; [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 135 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() argument 138 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive() 139 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 142 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() 145 if (inPastMs != 0) { in isActive() 149 if (iter.second.isActive(inPastMs, sysTime)) { in isActive() 850 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() 855 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() 862 bool SwAudioOutputCollection::isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs) const in isActiveLocally() 867 if (outputDesc->isActive(volumeSource, inPastMs, sysTime) in isActiveLocally() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioSystemAdapter.java | 529 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() argument 530 return AudioSystem.isStreamActive(stream, inPastMs); in isStreamActive() 539 public boolean isStreamActiveRemotely(int stream, int inPastMs) { in isStreamActiveRemotely() argument 540 return AudioSystem.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | NoOpAudioSystemAdapter.java | 130 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() argument
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioPolicyService.aidl | 163 boolean isStreamActive(AudioStreamType stream, int inPastMs); in isStreamActive() argument 165 boolean isStreamActiveRemotely(AudioStreamType stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 240 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 242 uint32_t inPastMs = 0) const = 0;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioSystem.h | 145 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); 150 uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 246 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 253 uint32_t inPastMs = 0) const;
|
D | AudioPolicyManager.cpp | 3788 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 3791 return vs != VOLUME_SOURCE_NONE ? mOutputs.isActive(vs, inPastMs) : false; in isStreamActive() 3794 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 3797 return vs != VOLUME_SOURCE_NONE ? mOutputs.isActiveRemotely(vs, inPastMs) : false; in isStreamActiveRemotely()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 591 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument 600 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyService.h | 164 binder::Status isStreamActive(AudioStreamType stream, int32_t inPastMs, 166 binder::Status isStreamActiveRemotely(AudioStreamType stream, int32_t inPastMs,
|
D | AudioPolicyInterfaceImpl.cpp | 1335 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActive() local 1346 *_aidl_return = mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive() 1355 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActiveRemotely() local 1366 *_aidl_return = mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1519 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) { in isStreamActive() argument 1526 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActive() 1533 uint32_t inPastMs) { in isStreamActiveRemotely() argument 1540 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActiveRemotely()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 454 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument 457 AudioSystem::isStreamActive(static_cast<audio_stream_type_t>(stream), &state, inPastMs); in android_media_AudioSystem_isStreamActive() 463 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument 466 AudioSystem::isStreamActiveRemotely(static_cast<audio_stream_type_t>(stream), &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()
|