/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) { 187 bool isActive(uint32_t inPastMs) const; 189 uint32_t inPastMs = 0, 236 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 239 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 487 bool isActive(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 497 bool isActiveRemotely(VolumeSource volumeSource, uint32_t inPastMs = 0) const; 507 bool isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs = 0) const; [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 134 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() argument 137 isActive(inPastMs) : (mVolumeActivities.find(vs) != std::end(mVolumeActivities)? in isActive() 138 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 141 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() 144 if (inPastMs != 0) { in isActive() 148 if (iter.second.isActive(inPastMs, sysTime)) { in isActive() 796 bool SwAudioOutputCollection::isActive(VolumeSource volumeSource, uint32_t inPastMs) const in isActive() 801 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() 808 bool SwAudioOutputCollection::isActiveLocally(VolumeSource volumeSource, uint32_t inPastMs) const in isActiveLocally() 813 if (outputDesc->isActive(volumeSource, inPastMs, sysTime) in isActiveLocally() [all …]
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioSystemAdapter.java | 394 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() argument 395 return AudioSystem.isStreamActive(stream, inPastMs); in isStreamActive() 404 public boolean isStreamActiveRemotely(int stream, int inPastMs) { in isStreamActiveRemotely() argument 405 return AudioSystem.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/ |
D | NoOpAudioSystemAdapter.java | 124 public boolean isStreamActive(int stream, int inPastMs) { in isStreamActive() argument
|
/frameworks/av/media/libaudioclient/aidl/android/media/ |
D | IAudioPolicyService.aidl | 156 boolean isStreamActive(AudioStreamType stream, int inPastMs); in isStreamActive() argument 158 boolean isStreamActiveRemotely(AudioStreamType stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterface.h | 230 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 232 uint32_t inPastMs = 0) const = 0;
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioSystem.h | 126 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); 131 uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.h | 236 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 243 uint32_t inPastMs = 0) const;
|
D | AudioPolicyManager.cpp | 3329 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 3332 return vs != VOLUME_SOURCE_NONE ? mOutputs.isActive(vs, inPastMs) : false; in isStreamActive() 3335 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 3338 return vs != VOLUME_SOURCE_NONE ? mOutputs.isActiveRemotely(vs, inPastMs) : false; in isStreamActiveRemotely()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 551 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument 560 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/av/services/audiopolicy/service/ |
D | AudioPolicyInterfaceImpl.cpp | 1263 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActive() local 1274 *_aidl_return = mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive() 1283 uint32_t inPastMs = VALUE_OR_RETURN_BINDER_STATUS(convertIntegral<uint32_t>(inPastMsAidl)); in isStreamActiveRemotely() local 1294 *_aidl_return = mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyService.h | 147 binder::Status isStreamActive(AudioStreamType stream, int32_t inPastMs, 149 binder::Status isStreamActiveRemotely(AudioStreamType stream, int32_t inPastMs,
|
/frameworks/av/media/libaudioclient/ |
D | AudioSystem.cpp | 1409 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) { in isStreamActive() argument 1416 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActive() 1423 uint32_t inPastMs) { in isStreamActiveRemotely() argument 1430 int32_t inPastMsAidl = VALUE_OR_RETURN_STATUS(convertIntegral<int32_t>(inPastMs)); in isStreamActiveRemotely()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 406 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument 409 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive() 415 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument 418 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()
|