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() 651 nsecs_t sysTime = systemTime(); in isActive() local 654 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive() [all …]
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/ |
D | AudioOutputDescriptor.h | 44 bool isActive(uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 52 if (sysTime == 0) { 53 sysTime = systemTime(); 55 if (ns2ms(sysTime - mStopTime) < inPastMs) { 171 void setStopTime(const sp<TrackClientDescriptor>& client, nsecs_t sysTime); 187 nsecs_t sysTime = 0) const; 233 bool isStrategyActive(product_strategy_t ps, uint32_t inPastMs = 0, nsecs_t sysTime = 0) const 236 mRoutingActivities.at(ps).isActive(inPastMs, sysTime) : false; 462 uint32_t inPastMs = 0, nsecs_t sysTime = 0) const;
|
/frameworks/av/services/audiopolicy/managerdefault/ |
D | AudioPolicyManager.cpp | 685 nsecs_t sysTime = systemTime(); in setPhoneState() local 693 if ((desc->isStrategyActive(musicStrategy, SONIFICATION_HEADSET_MUSIC_DELAY, sysTime) || in setPhoneState() 695 sysTime)) && in setPhoneState()
|