Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp102 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive()
105 if (inPastMs != 0) { in isActive()
112 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive()
120 uint32_t inPastMs, in isStreamActive() argument
126 if (inPastMs == 0) { in isStreamActive()
132 if (ns2ms(sysTime - mStopTime[stream]) < inPastMs) { in isStreamActive()
450 bool SwAudioOutputCollection::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
455 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
463 uint32_t inPastMs) const in isStreamActiveRemotely()
469 outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActiveRemotely()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h64 bool isActive(uint32_t inPastMs = 0) const;
66 uint32_t inPastMs = 0,
166 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
175 bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
200 bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
/frameworks/av/media/libaudioclient/include/media/
DIAudioPolicyService.h116 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
117 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0)
DAudioSystem.h81 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
86 uint32_t inPastMs);
/frameworks/av/include/media/
DIAudioPolicyService.h116 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
117 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0)
DAudioSystem.h81 static status_t isStreamActive(audio_stream_type_t stream, bool *state, uint32_t inPastMs);
86 uint32_t inPastMs);
/frameworks/av/services/audiopolicy/service/
DAudioPolicyInterfaceImpl.cpp550 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
559 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
562 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
571 return mAudioPolicyManager->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
DAudioPolicyService.h132 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
133 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
/frameworks/av/services/audiopolicy/
DAudioPolicyInterface.h200 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const = 0;
202 uint32_t inPastMs = 0) const = 0;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h184 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs = 0) const;
191 uint32_t inPastMs = 0) const;
298 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
DAudioPolicyManager.cpp2411 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2418 active = mOutputs.isStreamActive((audio_stream_type_t)curStream, inPastMs); in isStreamActive()
2423 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2425 return mOutputs.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
5712 routing_strategy strategy, uint32_t inPastMs, in AudioPolicyManager() argument
5715 if ((sysTime == 0) && (inPastMs != 0)) { in AudioPolicyManager()
5721 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in AudioPolicyManager()
/frameworks/av/media/libaudioclient/
DIAudioPolicyService.cpp484 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
489 data.writeInt32(inPastMs); in isStreamActive()
494 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
499 data.writeInt32(inPastMs); in isStreamActiveRemotely()
1175 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local
1176 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact()
1183 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local
1184 reply->writeInt32( isStreamActiveRemotely(stream, inPastMs) ); in onTransact()
DAudioSystem.cpp996 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() argument
1001 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive()
1006 uint32_t inPastMs) in isStreamActiveRemotely() argument
1011 *state = aps->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
/frameworks/base/media/java/android/media/
DAudioSystem.java152 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument
160 public static native boolean isStreamActiveRemotely(int stream, int inPastMs); in isStreamActiveRemotely() argument
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp298 android_media_AudioSystem_isStreamActive(JNIEnv *env, jobject thiz, jint stream, jint inPastMs) in android_media_AudioSystem_isStreamActive() argument
301 AudioSystem::isStreamActive((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActive()
307 jint inPastMs) in android_media_AudioSystem_isStreamActiveRemotely() argument
310 AudioSystem::isStreamActiveRemotely((audio_stream_type_t) stream, &state, inPastMs); in android_media_AudioSystem_isStreamActiveRemotely()