Home
last modified time | relevance | path

Searched refs:inPastMs (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/include/media/
DIAudioPolicyService.h110 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)
DAudioSystem.h72 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
77 uint32_t inPastMs);
/frameworks/av/services/audiopolicy/
DAudioPolicyInterfaceImplLegacy.cpp453 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()
DAudioPolicyInterfaceImpl.cpp478 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()
DAudioPolicyInterface.h184 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
186 uint32_t inPastMs = 0) const = 0;
DAudioPolicyManager.h155 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,
DAudioPolicyService.h128 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;
DAudioPolicyManager.cpp2062 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/
DIAudioPolicyService.cpp439 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()
DAudioSystem.cpp807 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/
DAudioSystem.java118 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/
Dandroid_media_AudioSystem.cpp265 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()