Home
last modified time | relevance | path

Searched refs:getAveragePower (Results 1 – 12 of 12) 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()
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()
DBatteryStatsHelper.java151 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE) != 0 && in checkHasWifiPowerReporting()
152 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX) != 0 && in checkHasWifiPowerReporting()
153 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX) != 0; in checkHasWifiPowerReporting()
159 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE) != 0 && in checkHasBluetoothPowerReporting()
160 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX) != 0 && in checkHasBluetoothPowerReporting()
161 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX) != 0; in checkHasBluetoothPowerReporting()
609 double phoneOnPower = mPowerProfile.getAveragePower(PowerProfile.POWER_RADIO_ACTIVE) in addPhoneUsage()
622 power += screenOnTimeMs * mPowerProfile.getAveragePower(PowerProfile.POWER_SCREEN_ON); in addScreenUsage()
624 mPowerProfile.getAveragePower(PowerProfile.POWER_SCREEN_FULL); in addScreenUsage()
670 mPowerProfile.getAveragePower(PowerProfile.POWER_CPU_IDLE); in addIdleUsage()
[all …]
DPowerProfile.java367 return getAveragePower(mCpuClusters[cluster].powerKey, step); in getAveragePowerForCpu()
415 public double getAveragePower(String type) { in getAveragePower() method in PowerProfile
427 public double getAveragePower(String type, int level) { in getAveragePower() method in PowerProfile
453 return getAveragePower(POWER_BATTERY_CAPACITY); in getBatteryCapacity()
DCameraPowerCalculator.java29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA); in CameraPowerCalculator()
DFlashlightPowerCalculator.java27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT); in FlashlightPowerCalculator()
DSensorPowerCalculator.java31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON); in SensorPowerCalculator()
DMemoryPowerCalculator.java17 powerAverages[i] = profile.getAveragePower(PowerProfile.POWER_MEMORY, i); in MemoryPowerCalculator()
DWakelockPowerCalculator.java29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE); in WakelockPowerCalculator()
DBatteryStatsImpl.java9707 final double opVolt = mPowerProfile.getAveragePower( in updateWifiState()
9856 final double opVolt = mPowerProfile.getAveragePower( in updateMobileRadioState()
10031 final double opVolt = mPowerProfile.getAveragePower( in updateBluetoothStateLocked()