Home
last modified time | relevance | path

Searched refs:sysTime (Results 1 – 4 of 4) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp105 nsecs_t sysTime = 0; in isActive() local
107 sysTime = systemTime(); in isActive()
113 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive()
122 nsecs_t sysTime) const in isStreamActive()
130 if (sysTime == 0) { in isStreamActive()
131 sysTime = systemTime(); in isStreamActive()
133 if (ns2ms(sysTime - mStopTime[stream]) < inPastMs) { in isStreamActive()
395 nsecs_t sysTime = systemTime(); in isStreamActive() local
398 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
408 nsecs_t sysTime = systemTime(); in isStreamActiveRemotely() local
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h63 nsecs_t sysTime = 0) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h298 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
DAudioPolicyManager.cpp457 nsecs_t sysTime = systemTime(); in setPhoneState() local
465 sysTime) || in setPhoneState()
468 sysTime)) && in setPhoneState()
4855 nsecs_t sysTime) const in isStrategyActive()
4857 if ((sysTime == 0) && (inPastMs != 0)) { in isStrategyActive()
4858 sysTime = systemTime(); in isStrategyActive()
4866 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isStrategyActive()