Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp275 mBatteryAudio.refCount = 0; in MediaPlayerService()
277 mBatteryAudio.deviceOn[i] = 0; in MediaPlayerService()
278 mBatteryAudio.lastTime[i] = 0; in MediaPlayerService()
279 mBatteryAudio.totalTime[i] = 0; in MediaPlayerService()
282 mBatteryAudio.deviceOn[SPEAKER] = 1; in MediaPlayerService()
2222 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2224 if (mBatteryAudio.refCount > 0) { // if playing audio in addBatteryData()
2226 mBatteryAudio.lastTime[i] += time; in addBatteryData()
2227 mBatteryAudio.totalTime[i] += mBatteryAudio.lastTime[i]; in addBatteryData()
2228 mBatteryAudio.lastTime[i] = 0; in addBatteryData()
[all …]
DMediaPlayerService.h329 BatteryAudioFlingerUsageInfo mBatteryAudio; variable