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

/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp2287 info.audioLastTime = 0;
2301 info.audioLastTime -= time;
2319 info.audioLastTime += time;
2329 info.audioTotalTime += info.audioLastTime;
2330 info.audioLastTime = 0;
H A DMediaPlayerService.h296 // when we start a audio codec, we minus the system time from audioLastTime
297 // when we pause it, we add the system time back to the audioLastTime
298 // so after the pause, audioLastTime = pause time - start time
299 // if multiple audio streams are played (or recorded), then audioLastTime
301 int32_t audioLastTime; member in struct:android::MediaPlayerService::BatteryUsageInfo
302 // when all the audio streams are being paused, we assign audioLastTime to

Completed in 742 milliseconds