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.cpp103 nsecs_t sysTime = 0; in isActive() local
105 sysTime = systemTime(); in isActive()
111 if (isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in isActive()
120 nsecs_t sysTime) const in isStreamActive()
128 if (sysTime == 0) { in isStreamActive()
129 sysTime = systemTime(); in isStreamActive()
131 if (ns2ms(sysTime - mStopTime[stream]) < inPastMs) { in isStreamActive()
449 nsecs_t sysTime = systemTime(); in isStreamActive() local
452 if (outputDesc->isStreamActive(stream, inPastMs, sysTime)) { in isStreamActive()
462 nsecs_t sysTime = systemTime(); in isStreamActiveRemotely() local
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h65 nsecs_t sysTime = 0) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.h295 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
DAudioPolicyManager.cpp494 nsecs_t sysTime = systemTime(); in setPhoneState() local
502 sysTime) || in setPhoneState()
505 sysTime)) && in setPhoneState()
5211 nsecs_t sysTime) const in AudioPolicyManager()
5213 if ((sysTime == 0) && (inPastMs != 0)) { in AudioPolicyManager()
5214 sysTime = systemTime(); in AudioPolicyManager()
5219 outputDesc->isStreamActive((audio_stream_type_t)i, inPastMs, sysTime)) { in AudioPolicyManager()