HomeSort by relevance Sort by last modified time
    Searched refs:PowerProfile (Results 1 - 14 of 14) sorted by null

  /frameworks/base/core/java/com/android/internal/os/
CameraPowerCalculator.java 28 public CameraPowerCalculator(PowerProfile profile) {
29 mCameraPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_CAMERA);
FlashlightPowerCalculator.java 26 public FlashlightPowerCalculator(PowerProfile profile) {
27 mFlashlightPowerOnAvg = profile.getAveragePower(PowerProfile.POWER_FLASHLIGHT);
BluetoothPowerCalculator.java 28 public BluetoothPowerCalculator(PowerProfile profile) {
29 mIdleMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE);
30 mRxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX);
31 mTxMa = profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX);
WifiPowerEstimator.java 33 public WifiPowerEstimator(PowerProfile profile) {
35 mWifiPowerOn = profile.getAveragePower(PowerProfile.POWER_WIFI_ON);
36 mWifiPowerScan = profile.getAveragePower(PowerProfile.POWER_WIFI_SCAN);
37 mWifiPowerBatchScan = profile.getAveragePower(PowerProfile.POWER_WIFI_BATCHED_SCAN);
43 private static double getWifiPowerPerPacket(PowerProfile profile) {
45 final double WIFI_POWER = profile.getAveragePower(PowerProfile.POWER_WIFI_ACTIVE)
WifiPowerCalculator.java 33 public WifiPowerCalculator(PowerProfile profile) {
34 mIdleCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE);
35 mTxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX);
36 mRxCurrentMa = profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX);
SensorPowerCalculator.java 29 public SensorPowerCalculator(PowerProfile profile, SensorManager sensorManager) {
31 mGpsPowerOn = profile.getAveragePower(PowerProfile.POWER_GPS_ON);
MobileRadioPowerCalculator.java 52 public MobileRadioPowerCalculator(PowerProfile profile, BatteryStats stats) {
53 mPowerRadioOn = profile.getAveragePower(PowerProfile.POWER_RADIO_ACTIVE);
55 mPowerBins[i] = profile.getAveragePower(PowerProfile.POWER_RADIO_ON, i);
57 mPowerScan = profile.getAveragePower(PowerProfile.POWER_RADIO_SCANNING);
WakelockPowerCalculator.java 28 public WakelockPowerCalculator(PowerProfile profile) {
29 mPowerWakelock = profile.getAveragePower(PowerProfile.POWER_CPU_AWAKE);
CpuPowerCalculator.java 33 public CpuPowerCalculator(PowerProfile profile) {
38 mPowerCpuNormal[p] = profile.getAveragePower(PowerProfile.POWER_CPU_ACTIVE, p);
BatteryStatsHelper.java 74 private PowerProfile mPowerProfile;
138 public static boolean checkHasWifiPowerReporting(BatteryStats stats, PowerProfile profile) {
140 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_IDLE) != 0 &&
141 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_RX) != 0 &&
142 profile.getAveragePower(PowerProfile.POWER_WIFI_CONTROLLER_TX) != 0;
146 PowerProfile profile) {
148 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_IDLE) != 0 &&
149 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_RX) != 0 &&
150 profile.getAveragePower(PowerProfile.POWER_BLUETOOTH_CONTROLLER_TX) != 0;
248 public PowerProfile getPowerProfile()
    [all...]
PowerProfile.java 38 public class PowerProfile {
188 public PowerProfile(Context context) {
BatteryStatsImpl.java 476 private PowerProfile mPowerProfile;
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
PowerUsageSummary.java 41 import com.android.internal.os.PowerProfile;
289 final PowerProfile powerProfile = mStatsHelper.getPowerProfile();
291 final double averagePower = powerProfile.getAveragePower(PowerProfile.POWER_SCREEN_FULL);
  /frameworks/base/services/core/java/com/android/server/am/
BatteryStatsService.java 53 import com.android.internal.os.PowerProfile;
175 mStats.setNumSpeedSteps(new PowerProfile(mContext).getNumSpeedSteps());
179 mStats.setPowerProfile(new PowerProfile(context));
    [all...]

Completed in 169 milliseconds