Searched refs:audioLastTime (Results 1 - 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1967 info.audioLastTime = 0;
1981 info.audioLastTime -= time;
1999 info.audioLastTime += time;
2009 info.audioTotalTime += info.audioLastTime;
2010 info.audioLastTime = 0;
H A DMediaPlayerService.h265 // when we start a audio codec, we minus the system time from audioLastTime
266 // when we pause it, we add the system time back to the audioLastTime
267 // so after the pause, audioLastTime = pause time - start time
268 // if multiple audio streams are played (or recorded), then audioLastTime
270 int32_t audioLastTime; member in struct:android::MediaPlayerService::BatteryUsageInfo
271 // when all the audio streams are being paused, we assign audioLastTime to

Completed in 9 milliseconds