Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2868 mBatteryAudio.refCount = 0; in BatteryTracker()
2870 mBatteryAudio.deviceOn[i] = 0; in BatteryTracker()
2871 mBatteryAudio.lastTime[i] = 0; in BatteryTracker()
2872 mBatteryAudio.totalTime[i] = 0; in BatteryTracker()
2875 mBatteryAudio.deviceOn[SPEAKER] = 1; in BatteryTracker()
2908 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2910 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2912 mBatteryAudio.lastTime[i] += time; in addBatteryData()
2913 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()
2914 mBatteryAudio.lastTime[i] = 0; in addBatteryData()
[all …]
DMediaPlayerService.h321 BatteryAudioFlingerUsageInfo mBatteryAudio; member