Searched refs:PowerProfile (Results 1 – 14 of 14) sorted by relevance
33 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()
74 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 …]
30 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()
34 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()
52 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()
26 public FlashlightPowerCalculator(PowerProfile profile) { in FlashlightPowerCalculator()27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT); in FlashlightPowerCalculator()
28 public CameraPowerCalculator(PowerProfile profile) { in CameraPowerCalculator()29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA); in CameraPowerCalculator()
29 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager) { in SensorPowerCalculator()31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON); in SensorPowerCalculator()
28 public WakelockPowerCalculator(PowerProfile profile) { in WakelockPowerCalculator()29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE); in WakelockPowerCalculator()
25 private final PowerProfile mProfile;27 public CpuPowerCalculator(PowerProfile profile) { in CpuPowerCalculator()
38 public class PowerProfile { class203 public PowerProfile(Context context) { in PowerProfile() method in PowerProfile
554 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()
60 import com.android.internal.os.PowerProfile;224 mStats.setPowerProfile(new PowerProfile(context)); in publish()
5393 com.android.internal.os.PowerProfile5394 com.android.internal.os.PowerProfile$CpuClusterKey