Home
last modified time | relevance | path

Searched refs:mBatteryAudio (Results 1 – 2 of 2) sorted by relevance

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2623 mBatteryAudio.refCount = 0; in BatteryTracker()
2625 mBatteryAudio.deviceOn[i] = 0; in BatteryTracker()
2626 mBatteryAudio.lastTime[i] = 0; in BatteryTracker()
2627 mBatteryAudio.totalTime[i] = 0; in BatteryTracker()
2630 mBatteryAudio.deviceOn[SPEAKER] = 1; in BatteryTracker()
2663 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2665 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2667 mBatteryAudio.lastTime[i] += time; in addBatteryData()
2668 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()
2669 mBatteryAudio.lastTime[i] = 0; in addBatteryData()
[all …]
DMediaPlayerService.h308 BatteryAudioFlingerUsageInfo mBatteryAudio; member