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.cpp101 bool AudioOutputDescriptor::isActive(uint32_t inPastMs) const in isActive()
104 if (inPastMs != 0) { in isActive()
111 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive()
119 uint32_t inPastMs, in isStreamActive() argument
125 if (inPastMs == 0) { in isStreamActive()
131 if (ns2ms(sysTime - mStopTime[stream]) < inPastMs) { in isStreamActive()
448 bool SwAudioOutputCollection::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
453 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
461 uint32_t inPastMs) const in isStreamActiveRemotely()
467 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.cpp549 bool AudioPolicyService::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
558 return mAudioPolicyManager->isStreamActive(stream, inPastMs); in isStreamActive()
561 bool AudioPolicyService::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
570 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/media/libaudioclient/
DIAudioPolicyService.cpp471 virtual bool isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
476 data.writeInt32(inPastMs); in isStreamActive()
481 virtual bool isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
486 data.writeInt32(inPastMs); in isStreamActiveRemotely()
1138 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local
1139 reply->writeInt32( isStreamActive(stream, inPastMs) ); in onTransact()
1146 uint32_t inPastMs = (uint32_t)data.readInt32(); in onTransact() local
1147 reply->writeInt32( isStreamActiveRemotely(stream, inPastMs) ); in onTransact()
DAudioSystem.cpp974 status_t AudioSystem::isStreamActive(audio_stream_type_t stream, bool* state, uint32_t inPastMs) in isStreamActive() argument
979 *state = aps->isStreamActive(stream, inPastMs); in isStreamActive()
984 uint32_t inPastMs) in isStreamActiveRemotely() argument
989 *state = aps->isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
/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;
296 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
DAudioPolicyManager.cpp2282 bool AudioPolicyManager::isStreamActive(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActive()
2289 active = mOutputs.isStreamActive((audio_stream_type_t)curStream, inPastMs); in isStreamActive()
2294 bool AudioPolicyManager::isStreamActiveRemotely(audio_stream_type_t stream, uint32_t inPastMs) const in isStreamActiveRemotely()
2296 return mOutputs.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
5541 routing_strategy strategy, uint32_t inPastMs, in AudioPolicyManager() argument
5544 if ((sysTime == 0) && (inPastMs != 0)) { in AudioPolicyManager()
5550 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in AudioPolicyManager()
/frameworks/base/media/java/android/media/
DAudioSystem.java141 public static native boolean isStreamActive(int stream, int inPastMs); in isStreamActive() argument
149 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()