Searched refs:sysTime (Results 1 – 3 of 3) sorted by relevance
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioOutputDescriptor.cpp | 82 void AudioOutputDescriptor::setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime) in setStopTime() argument 84 mVolumeActivities[client->volumeSource()].setStopTime(sysTime); in setStopTime() 85 mRoutingActivities[client->strategy()].setStopTime(sysTime); in setStopTime() 126 bool AudioOutputDescriptor::isActive(VolumeSource vs, uint32_t inPastMs, nsecs_t sysTime) const in isActive() 130 mVolumeActivities.at(vs).isActive(inPastMs, sysTime) : false); in isActive() 135 nsecs_t sysTime = 0; in isActive() local 137 sysTime = systemTime(); in isActive() 140 if (iter.second.isActive(inPastMs, sysTime)) { in isActive() 670 nsecs_t sysTime = systemTime(); in isActive() local 673 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 45 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); 189 nsecs_t sysTime = 0) const; 235 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 238 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 473 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 673 nsecs_t sysTime = systemTime(); in setPhoneState() local 681 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState() 683 sysTime)) && in setPhoneState()
|