Home
last modified time | relevance | path

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

/frameworks/av/media/libmediaplayerservice/
DMediaPlayerService.cpp2798 mBatteryAudio.deviceOn[i] = 0; in BatteryTracker()
2803 mBatteryAudio.deviceOn[SPEAKER] = 1; in BatteryTracker()
2821 int deviceOn[NUM_AUDIO_DEVICES]; in addBatteryData() local
2823 deviceOn[i] = 0; in addBatteryData()
2828 deviceOn[SPEAKER_AND_OTHER] = 1; in addBatteryData()
2830 deviceOn[SPEAKER] = 1; in addBatteryData()
2832 deviceOn[OTHER_AUDIO_DEVICE] = 1; in addBatteryData()
2836 if (mBatteryAudio.deviceOn[i] != deviceOn[i]){ in addBatteryData()
2839 if (!deviceOn[i]) { in addBatteryData()
2848 mBatteryAudio.deviceOn[i] = deviceOn[i]; in addBatteryData()
[all …]
DMediaPlayerService.h300 int deviceOn[NUM_AUDIO_DEVICES]; // whether the device is currently used member