Searched refs:mBatteryAudio (Results 1 – 2 of 2) sorted by relevance
276 mBatteryAudio.refCount = 0; in MediaPlayerService()278 mBatteryAudio.deviceOn[i] = 0; in MediaPlayerService()279 mBatteryAudio.lastTime[i] = 0; in MediaPlayerService()280 mBatteryAudio.totalTime[i] = 0; in MediaPlayerService()283 mBatteryAudio.deviceOn[SPEAKER] = 1; in MediaPlayerService()2279 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()2281 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()2283 mBatteryAudio.lastTime[i] += time; in addBatteryData()2284 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()2285 mBatteryAudio.lastTime[i] = 0; in addBatteryData()[all …]
276 BatteryAudioFlingerUsageInfo mBatteryAudio; variable