/frameworks/base/cmds/statsd/src/external/ |
D | SubsystemSleepStatePuller.cpp | 42 using android::hardware::power::V1_0::IPower; 43 using android::hardware::power::V1_0::PowerStatePlatformSleepState; 44 using android::hardware::power::V1_0::PowerStateVoter; 45 using android::hardware::power::V1_0::Status; 46 using android::hardware::power::V1_1::PowerStateSubsystem; 47 using android::hardware::power::V1_1::PowerStateSubsystemSleepState; 58 sp<android::hardware::power::V1_0::IPower> gPowerHalV1_0 = nullptr; 59 sp<android::hardware::power::V1_1::IPower> gPowerHalV1_1 = nullptr; 65 gPowerHalV1_0 = android::hardware::power::V1_0::IPower::getService(); in getPowerHal() 67 gPowerHalV1_1 = android::hardware::power::V1_1::IPower::castFrom(gPowerHalV1_0); in getPowerHal() [all …]
|
/frameworks/base/core/java/com/android/internal/os/ |
D | MobileRadioPowerCalculator.java | 120 double power = 0; in calculateRemaining() local 131 power += p; in calculateRemaining() 145 power += p; in calculateRemaining() 149 power += (mPowerRadioOn * remainingActiveTimeMs) / (1000*60*60); in calculateRemaining() 152 if (power != 0) { in calculateRemaining() 158 app.mobileRadioPowerMah = power; in calculateRemaining()
|
D | BatteryStatsHelper.java | 294 public static String makemAh(double power) { in makemAh() argument 295 if (power == 0) return "0"; in makemAh() 298 if (power < .00001) { in makemAh() 300 } else if (power < .0001) { in makemAh() 302 } else if (power < .001) { in makemAh() 304 } else if (power < .01) { in makemAh() 306 } else if (power < .1) { in makemAh() 308 } else if (power < 1) { in makemAh() 310 } else if (power < 10) { in makemAh() 312 } else if (power < 100) { in makemAh() [all …]
|
D | WakelockPowerCalculator.java | 67 final double power = (wakeTimeMillis * mPowerWakelock) / (1000*60*60); in calculateRemaining() local 70 + BatteryStatsHelper.makemAh(power)); in calculateRemaining() 73 app.wakeLockPowerMah += power; in calculateRemaining()
|
D | CpuPowerCalculator.java | 59 double power = in calculateApp() local 61 cpuPowerMaUs += power; in calculateApp() 65 + BatteryStatsHelper.makemAh(power / MICROSEC_IN_HR)); in calculateApp()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverController.java | 16 package com.android.server.power.batterysaver; 24 import android.hardware.power.V1_0.PowerHint; 42 import com.android.server.power.BatterySaverPolicy; 43 import com.android.server.power.BatterySaverPolicy.BatterySaverPolicyListener; 44 import com.android.server.power.PowerManagerService; 45 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 46 import com.android.server.power.batterysaver.BatterySavingStats.DozeState; 47 import com.android.server.power.batterysaver.BatterySavingStats.InteractiveState;
|
D | BatterySaverLocationPlugin.java | 16 package com.android.server.power.batterysaver; 24 import com.android.server.power.batterysaver.BatterySaverController.Plugin;
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 46 using android::hardware::power::V1_0::PowerStatePlatformSleepState; 47 using android::hardware::power::V1_0::PowerStateVoter; 48 using android::hardware::power::V1_0::Status; 49 using android::hardware::power::V1_1::PowerStateSubsystem; 50 using android::hardware::power::V1_1::PowerStateSubsystemSleepState; 52 using IPowerV1_1 = android::hardware::power::V1_1::IPower; 53 using IPowerV1_0 = android::hardware::power::V1_0::IPower;
|
D | com_android_server_power_PowerManagerService.cpp | 44 using android::hardware::power::V1_0::PowerHint; 45 using android::hardware::power::V1_0::Feature; 47 using IPowerV1_1 = android::hardware::power::V1_1::IPower; 48 using IPowerV1_0 = android::hardware::power::V1_0::IPower;
|
D | Android.bp | 121 "android.hardware.power@1.0", 122 "android.hardware.power@1.1",
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 82 // backlight will be allowed to go off. If the user presses the power 88 // backlight will be allowed to go off. If the user presses the power 94 // brightness. If the user presses the power button, then the 112 // Put the screen in a low power state and allow the CPU to suspend if 114 // implement doze mode. It currently has no effect unless the power 120 // is dozing. It currently has no effect unless the power manager is in
|
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/util/ |
D | WakeLockRule.java | 54 PowerManager power = (PowerManager) context.getSystemService(Context.POWER_SERVICE); 55 return power.newWakeLock(WAKELOCK_FLAGS, context.getPackageName());
|
/frameworks/base/core/proto/android/view/ |
D | enums.proto | 31 // The display is dozing in a low power state; it is still on but is 35 // The display is dozing in a suspended low power state; it is still on 41 // The display is in a suspended full power state; it is still on but the
|
/frameworks/native/cmds/atrace/ |
D | atrace.rc | 36 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable 37 chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency/enable 38 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_idle/enable 39 chmod 0666 /sys/kernel/tracing/events/power/cpu_idle/enable 40 chmod 0666 /sys/kernel/debug/tracing/events/power/clock_set_rate/enable 41 chmod 0666 /sys/kernel/tracing/events/power/clock_set_rate/enable 42 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable 43 chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency_limits/enable
|
/frameworks/base/core/proto/android/server/ |
D | forceappstandbytracker.proto | 41 // App ids that are in power-save whitelist. 44 // App ids that are in power-save user whitelist. 47 // App ids that are in temporary power-save whitelist.
|
D | powermanagerservice.proto | 18 package com.android.server.power; 36 // A com.android.server.power.PowerManagerService.Constants object. 62 // A com.android.server.power.PowerManagerService.UidState object. 74 // A bitfield that indicates what parts of the power state have 80 // True if the device is plugged into a power source. 139 // Timestamp of last interactive power hint. 145 // True if the display power state has been fully applied, which means the 177 // A com.android.server.power.PowerManagerService.SuspendBlockerImpl object. 185 // A com.android.server.power.PowerManagerService.WakeLock object. 311 // True if Sidekick is controlling the display and we shouldn't change its power mode. [all …]
|
D | wirelesschargerdetector.proto | 18 package com.android.server.power; 35 // Previously observed wireless power state.
|
/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.cpp | 40 .power = mSensorFusion.getPowerUsage(), in RotationVectorSensor() 126 .power = mSensorFusion.getPowerUsage(), in GyroDriftSensor()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySavingStatsTest.java | 16 package com.android.server.power.batterysaver; 33 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 34 import com.android.server.power.batterysaver.BatterySavingStats.DozeState; 35 import com.android.server.power.batterysaver.BatterySavingStats.InteractiveState;
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 17 package com.android.server.power; 35 import com.android.server.power.batterysaver.BatterySaverController;
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ScreenOnBlocker.java | 17 package com.android.server.power;
|
D | SuspendBlocker.java | 17 package com.android.server.power;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | EnhancedEstimates.java | 1 package com.android.systemui.power;
|
D | Estimate.java | 1 package com.android.systemui.power;
|
D | EnhancedEstimatesImpl.java | 1 package com.android.systemui.power;
|