Home
last modified time | relevance | path

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

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp85 void AudioOutputDescriptor::setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime) in setStopTime() argument
87 mVolumeActivities[client->volumeSource()].setStopTime(sysTime); in setStopTime()
88 mRoutingActivities[client->strategy()].setStopTime(sysTime); in setStopTime()
135 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive()
139 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive()
144 nsecs_t sysTime = 0; in isActive() local
146 sysTime = systemTime(); in isActive()
149 if (iter.second.isActive(inPastMs, sysTime)) { in isActive()
852 nsecs_t sysTime = systemTime(); in isActive() local
855 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h45 bool isActive(uint32_t inPastMs = 0, nsecs_t sysTime = 0) const
53 if (sysTime == 0) {
54 sysTime = systemTime();
56 if (ns2ms(sysTime - mStopTime) < inPastMs) {
178 void setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime);
195 nsecs_t sysTime = 0) const;
249 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const
252 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false;
570 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp894 nsecs_t sysTime = systemTime(); in setPhoneState() local
902 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState()
904 sysTime)) && in setPhoneState()