/frameworks/av/include/media/ |
D | IAudioPolicyService.h | 110 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 111 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0)
|
D | AudioSystem.h | 72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs); 77 uint32_t inPastMs);
|
/frameworks/av/services/audiopolicy/ |
D | AudioPolicyInterfaceImplLegacy.cpp | 453 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 462 return mpAudioPolicy->is_stream_active(mpAudioPolicy, stream, inPastMs); in isStreamActive() 465 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 474 return mpAudioPolicy->is_stream_active_remotely(mpAudioPolicy, stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyInterfaceImpl.cpp | 478 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 487 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive() 490 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 499 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
D | AudioPolicyInterface.h | 184 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0; 186 uint32_t inPastMs = 0) const = 0;
|
D | AudioPolicyManager.h | 155 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 161 … virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 487 bool isActive(uint32_t inPastMs = 0) const; 489 uint32_t inPastMs = 0, 492 uint32_t inPastMs = 0,
|
D | AudioPolicyService.h | 128 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const; 129 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
|
D | AudioPolicyManager.cpp | 2062 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 2067 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive() 2075 uint32_t inPastMs) const in isStreamActiveRemotely() 2081 outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActiveRemotely() 5999 bool AudioPolicyManager::AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive() 6001 return isStrategyActive(NUM_STRATEGIES, inPastMs); in isActive() 6005 uint32_t inPastMs, in isStrategyActive() argument 6008 if ((sysTime == 0) && (inPastMs != 0)) { in isStrategyActive() 6017 isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isStrategyActive() 6025 uint32_t inPastMs, in isStreamActive() argument [all …]
|
/frameworks/av/media/libmedia/ |
D | IAudioPolicyService.cpp | 439 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive() 444 data.writeInt32(inPastMs); in isStreamActive() 449 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely() 454 data.writeInt32(inPastMs); in isStreamActiveRemotely() 998 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 999 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact() 1006 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local 1007 reply->writeInt32( isStreamActiveRemotely(stream, inPastMs) ); in onTransact()
|
D | AudioSystem.cpp | 807 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() argument 812 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive() 817 uint32_t inPastMs) in isStreamActiveRemotely() argument 822 *state = aps->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
|
/frameworks/base/media/java/android/media/ |
D | AudioSystem.java | 118 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument 126 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 265 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument 268 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive() 274 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument 277 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()
|