/frameworks/base/cmds/statsd/src/external/ |
D | SubsystemSleepStatePuller.cpp | 44 using android::hardware::power::V1_0::IPower; 45 using android::hardware::power::V1_0::PowerStatePlatformSleepState; 46 using android::hardware::power::V1_0::PowerStateVoter; 47 using android::hardware::power::V1_1::PowerStateSubsystem; 48 using android::hardware::power::V1_1::PowerStateSubsystemSleepState; 49 using android::hardware::power::stats::V1_0::PowerEntityInfo; 50 using android::hardware::power::stats::V1_0::PowerEntityStateResidencyResult; 51 using android::hardware::power::stats::V1_0::PowerEntityStateSpace; 65 static sp<android::hardware::power::V1_0::IPower> gPowerHalV1_0 = nullptr; 66 static sp<android::hardware::power::V1_1::IPower> gPowerHalV1_1 = nullptr; [all …]
|
D | PowerStatsPuller.cpp | 29 using android::hardware::power::stats::V1_0::IPowerStats; 30 using android::hardware::power::stats::V1_0::EnergyData; 31 using android::hardware::power::stats::V1_0::RailInfo; 32 using android::hardware::power::stats::V1_0::Status; 43 static sp<android::hardware::power::stats::V1_0::IPowerStats> gPowerStatsHal = nullptr; 61 gPowerStatsHal = android::hardware::power::stats::V1_0::IPowerStats::getService(); in getPowerStatsHalLocked()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/component/ |
D | CpuProfile.java | 76 float[] power = mCorePower.get(cluster); in setCoreSpeeds() local 77 if (power != null && value.length != power.length) { in setCoreSpeeds() 80 + " cpu.core_power.cluster" + cluster + " (" + power.length + ")"); in setCoreSpeeds() 131 float[] power = mCorePower.get(i); in build() local 136 freq.onMa = power[j]; in build()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 52 using android::hardware::power::V1_0::PowerStatePlatformSleepState; 53 using android::hardware::power::V1_0::PowerStateVoter; 54 using android::hardware::power::V1_0::Status; 55 using android::hardware::power::V1_1::PowerStateSubsystem; 56 using android::hardware::power::V1_1::PowerStateSubsystemSleepState; 59 using IPowerV1_1 = android::hardware::power::V1_1::IPower; 60 using IPowerV1_0 = android::hardware::power::V1_0::IPower; 87 sp<android::hardware::power::stats::V1_0::IPowerStats> gPowerStatsHalV1_0 = nullptr; 264 using android::hardware::power::stats::V1_0::Status; in initializePowerStats() 265 using android::hardware::power::stats::V1_0::PowerEntityType; in initializePowerStats() [all …]
|
D | Android.bp | 124 "android.hardware.power@1.0", 125 "android.hardware.power@1.1", 126 "android.hardware.power.stats@1.0",
|
D | com_android_server_power_PowerManagerService.cpp | 48 using android::hardware::power::V1_0::PowerHint; 49 using android::hardware::power::V1_0::Feature; 55 using IPowerV1_1 = android::hardware::power::V1_1::IPower; 56 using IPowerV1_0 = android::hardware::power::V1_0::IPower;
|
/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 | 308 public static String makemAh(double power) { in makemAh() argument 309 if (power == 0) return "0"; in makemAh() 312 if (power < .00001) { in makemAh() 314 } else if (power < .0001) { in makemAh() 316 } else if (power < .001) { in makemAh() 318 } else if (power < .01) { in makemAh() 320 } else if (power < .1) { in makemAh() 322 } else if (power < 1) { in makemAh() 324 } else if (power < 10) { in makemAh() 326 } 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; 44 import com.android.server.power.PowerManagerService; 45 import com.android.server.power.batterysaver.BatterySaverPolicy.BatterySaverPolicyListener; 46 import com.android.server.power.batterysaver.BatterySaverPolicy.Policy; 47 import com.android.server.power.batterysaver.BatterySavingStats.BatterySaverState; 48 import com.android.server.power.batterysaver.BatterySavingStats.DozeState; 49 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/packages/SystemUI/src/com/android/systemui/power/ |
D | BatteryStateSnapshot.kt | 1 package com.android.systemui.power 3 import com.android.systemui.power.PowerUI.NO_ESTIMATE_AVAILABLE
|
/frameworks/base/core/proto/android/os/ |
D | enums.proto | 94 // Platform has done everything to reduce power. 128 // backlight will be allowed to go off. If the user presses the power 134 // backlight will be allowed to go off. If the user presses the power 140 // brightness. If the user presses the power button, then the 158 // Put the screen in a low power state and allow the CPU to suspend if 160 // implement doze mode. It currently has no effect unless the power 166 // is dozing. It currently has no effect unless the power manager is in
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | PowerManagerHelper.java | 22 import android.car.hardware.power.CarPowerManager; 23 import android.car.hardware.power.CarPowerManager.CarPowerStateListener;
|
/frameworks/native/cmds/atrace/ |
D | atrace.rc | 42 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable 43 chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency/enable 44 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_idle/enable 45 chmod 0666 /sys/kernel/tracing/events/power/cpu_idle/enable 46 chmod 0666 /sys/kernel/debug/tracing/events/power/clock_set_rate/enable 47 chmod 0666 /sys/kernel/tracing/events/power/clock_set_rate/enable 48 chmod 0666 /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable 49 chmod 0666 /sys/kernel/tracing/events/power/cpu_frequency_limits/enable 54 chmod 0666 /sys/kernel/debug/tracing/events/power/gpu_frequency/enable 55 chmod 0666 /sys/kernel/tracing/events/power/gpu_frequency/enable [all …]
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/batterysaver/ |
D | BatterySaverPolicyTest.java | 16 package com.android.server.power.batterysaver; 18 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_ADAPTIVE; 19 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_FULL; 20 import static com.android.server.power.batterysaver.BatterySaverPolicy.POLICY_LEVEL_OFF; 35 import com.android.server.power.batterysaver.BatterySaverPolicy.Policy;
|
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/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/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 …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | SystemUIDefaultModule.java | 28 import com.android.systemui.power.EnhancedEstimates; 29 import com.android.systemui.power.EnhancedEstimatesImpl;
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/ |
D | CarSystemUIModule.java | 28 import com.android.systemui.power.EnhancedEstimates; 29 import com.android.systemui.power.EnhancedEstimatesImpl;
|
/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.cpp | 40 .power = mSensorFusion.getPowerUsage(), in RotationVectorSensor() 126 .power = mSensorFusion.getPowerUsage(), in GyroDriftSensor()
|
/frameworks/base/data/keyboards/ |
D | Vendor_18d1_Product_2c40.kl | 41 # Left arrow to the immediate left of the power button 43 # Circle to the immediate right of the power button
|