Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2625 mBatteryAudio.deviceOn[i] = 0; in BatteryTracker()
2630 mBatteryAudio.deviceOn[SPEAKER] = 1; in BatteryTracker()
2648 int deviceOn[NUM_AUDIO_DEVICES]; in addBatteryData() local
2650 deviceOn[i] = 0; in addBatteryData()
2655 deviceOn[SPEAKER_AND_OTHER] = 1; in addBatteryData()
2657 deviceOn[SPEAKER] = 1; in addBatteryData()
2659 deviceOn[OTHER_AUDIO_DEVICE] = 1; in addBatteryData()
2663 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2666 if (!deviceOn[i]) { in addBatteryData()
2675 mBatteryAudio.deviceOn[i] = deviceOn[i]; in addBatteryData()
[all …]
DMediaPlayerService.h300 int deviceOn[NUM_AUDIO_DEVICES]; // whether the device is currently used member