Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2628 mBatteryAudio.deviceOn[i] = 0; in BatteryTracker()
2633 mBatteryAudio.deviceOn[SPEAKER] = 1; in BatteryTracker()
2651 int deviceOn[NUM_AUDIO_DEVICES]; in addBatteryData() local
2653 deviceOn[i] = 0; in addBatteryData()
2658 deviceOn[SPEAKER_AND_OTHER] = 1; in addBatteryData()
2660 deviceOn[SPEAKER] = 1; in addBatteryData()
2662 deviceOn[OTHER_AUDIO_DEVICE] = 1; in addBatteryData()
2666 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2669 if (!deviceOn[i]) { in addBatteryData()
2678 mBatteryAudio.deviceOn[i] = deviceOn[i]; in addBatteryData()
[all …]
DMediaPlayerService.h301 int deviceOn[NUM_AUDIO_DEVICES]; // whether the device is currently used member