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.cpp84 void AudioOutputDescriptor::setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime) in setStopTime() argument
86 mVolumeActivities[client->volumeSource()].setStopTime(sysTime); in setStopTime()
87 mRoutingActivities[client->strategy()].setStopTime(sysTime); in setStopTime()
134 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive()
138 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive()
143 nsecs_t sysTime = 0; in isActive() local
145 sysTime = systemTime(); in isActive()
148 if (iter.second.isActive(inPastMs, sysTime)) { in isActive()
798 nsecs_t sysTime = systemTime(); in isActive() local
801 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) {
173 void setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime);
190 nsecs_t sysTime = 0) const;
236 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const
239 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false;
522 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp838 nsecs_t sysTime = systemTime(); in setPhoneState() local
846 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState()
848 sysTime)) && in setPhoneState()