Home
last modified time | relevance | path

Searched refs:PowerProfile (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DWifiPowerEstimator.java33 public WifiPowerEstimator(PowerProfile profile) { in WifiPowerEstimator()
35 mWifiPowerOn = profile.getAveragePower(PowerProfile.POWER_WIFI_ON); in WifiPowerEstimator()
36 mWifiPowerScan = profile.getAveragePower(PowerProfile.POWER_WIFI_SCAN); in WifiPowerEstimator()
37 mWifiPowerBatchScan = profile.getAveragePower(PowerProfile.POWER_WIFI_BATCHED_SCAN); in WifiPowerEstimator()
43 private static double getWifiPowerPerPacket(PowerProfile profile) { in getWifiPowerPerPacket()
45 final double WIFI_POWER = profile.getAveragePower(PowerProfile.POWER_WIFI_ACTIVE) in getWifiPowerPerPacket()
DBatteryStatsHelper.java74 private PowerProfile mPowerProfile;
138 public static boolean checkHasWifiPowerReporting(BatteryStats stats, PowerProfile profile) { in checkHasWifiPowerReporting()
140 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE) != 0 && in checkHasWifiPowerReporting()
141 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX) != 0 && in checkHasWifiPowerReporting()
142 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX) != 0; in checkHasWifiPowerReporting()
146 PowerProfile profile) { in checkHasBluetoothPowerReporting()
148 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE) != 0 && in checkHasBluetoothPowerReporting()
149 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX) != 0 && in checkHasBluetoothPowerReporting()
150 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX) != 0; in checkHasBluetoothPowerReporting()
248 public PowerProfile getPowerProfile() { in getPowerProfile()
[all …]
DBluetoothPowerCalculator.java30 public BluetoothPowerCalculator(PowerProfile profile) { in BluetoothPowerCalculator()
31 mIdleMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE); in BluetoothPowerCalculator()
32 mRxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX); in BluetoothPowerCalculator()
33 mTxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX); in BluetoothPowerCalculator()
DWifiPowerCalculator.java34 public WifiPowerCalculator(PowerProfile profile) { in WifiPowerCalculator()
35 mIdleCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE); in WifiPowerCalculator()
36 mTxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX); in WifiPowerCalculator()
37 mRxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX); in WifiPowerCalculator()
DMobileRadioPowerCalculator.java52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) { in MobileRadioPowerCalculator()
53 mPowerRadioOn = profile.getAveragePower(PowerProfile.POWER_RADIO_ACTIVE); in MobileRadioPowerCalculator()
55 mPowerBins[i] = profile.getAveragePower(PowerProfile.POWER_RADIO_ON, i); in MobileRadioPowerCalculator()
57 mPowerScan = profile.getAveragePower(PowerProfile.POWER_RADIO_SCANNING); in MobileRadioPowerCalculator()
DFlashlightPowerCalculator.java26 public FlashlightPowerCalculator(PowerProfile profile) { in FlashlightPowerCalculator()
27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT); in FlashlightPowerCalculator()
DCameraPowerCalculator.java28 public CameraPowerCalculator(PowerProfile profile) { in CameraPowerCalculator()
29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA); in CameraPowerCalculator()
DSensorPowerCalculator.java29 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager) { in SensorPowerCalculator()
31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON); in SensorPowerCalculator()
DWakelockPowerCalculator.java28 public WakelockPowerCalculator(PowerProfile profile) { in WakelockPowerCalculator()
29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE); in WakelockPowerCalculator()
DCpuPowerCalculator.java25 private final PowerProfile mProfile;
27 public CpuPowerCalculator(PowerProfile profile) { in CpuPowerCalculator()
DPowerProfile.java38 public class PowerProfile { class
203 public PowerProfile(Context context) { in PowerProfile() method in PowerProfile
DBatteryStatsImpl.java554 private PowerProfile mPowerProfile;
7619 public void setPowerProfile(PowerProfile profile) { in setPowerProfile()
8588 PowerProfile.POWER_WIFI_CONTROLLER_OPERATING_VOLTAGE) / 1000.0; in updateWifiStateLocked()
8716 PowerProfile.POWER_MODEM_CONTROLLER_OPERATING_VOLTAGE) / 1000.0; in updateMobileRadioStateLocked()
8890 PowerProfile.POWER_BLUETOOTH_CONTROLLER_OPERATING_VOLTAGE) / 1000.0; in updateBluetoothStateLocked()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java60 import com.android.internal.os.PowerProfile;
224 mStats.setPowerProfile(new PowerProfile(context)); in publish()
/frameworks/base/
Dcompiled-classes-phone5393 com.android.internal.os.PowerProfile
5394 com.android.internal.os.PowerProfile$CpuClusterKey