Home
last modified time | relevance | path

Searched refs:getAveragePower (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DWifiPowerEstimator.java35 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()
45 final double WIFI_POWER = profile.getAveragePower(PowerProfile.POWER_WIFI_ACTIVE) in getWifiPowerPerPacket()
DBluetoothPowerCalculator.java31 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.java35 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()
DBatteryStatsHelper.java140 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()
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()
558 double phoneOnPower = mPowerProfile.getAveragePower(PowerProfile.POWER_RADIO_ACTIVE) in addPhoneUsage()
571 power += screenOnTimeMs * mPowerProfile.getAveragePower(PowerProfile.POWER_SCREEN_ON); in addScreenUsage()
573 mPowerProfile.getAveragePower(PowerProfile.POWER_SCREEN_FULL); in addScreenUsage()
619 mPowerProfile.getAveragePower(PowerProfile.POWER_CPU_IDLE); in addIdleUsage()
[all …]
DMobileRadioPowerCalculator.java53 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()
DPowerProfile.java362 return getAveragePower(mCpuClusters[cluster].powerKey, step); in getAveragePowerForCpu()
392 public double getAveragePower(String type) { in getAveragePower() method in PowerProfile
404 public double getAveragePower(String type, int level) { in getAveragePower() method in PowerProfile
430 return getAveragePower(POWER_BATTERY_CAPACITY); in getBatteryCapacity()
DFlashlightPowerCalculator.java27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT); in FlashlightPowerCalculator()
DCameraPowerCalculator.java29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA); in CameraPowerCalculator()
DSensorPowerCalculator.java31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON); in SensorPowerCalculator()
DWakelockPowerCalculator.java29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE); in WakelockPowerCalculator()
DBatteryStatsImpl.java8587 final double opVolt = mPowerProfile.getAveragePower( in updateWifiStateLocked()
8715 final double opVolt = mPowerProfile.getAveragePower( in updateMobileRadioStateLocked()
8889 final double opVolt = mPowerProfile.getAveragePower( in updateBluetoothStateLocked()