/frameworks/base/core/java/com/android/internal/os/ |
D | MobileRadioPowerCalculator.java | 98 double power = 0; in calculateRemaining() local 109 power += p; in calculateRemaining() 123 power += p; in calculateRemaining() 127 power += (mPowerRadioOn * remainingActiveTimeMs) / (1000*60*60); in calculateRemaining() 130 if (power != 0) { in calculateRemaining() 136 app.mobileRadioPowerMah = power; in calculateRemaining()
|
D | BatteryStatsHelper.java | 290 public static String makemAh(double power) { in makemAh() argument 291 if (power == 0) return "0"; in makemAh() 294 if (power < .00001) { in makemAh() 296 } else if (power < .0001) { in makemAh() 298 } else if (power < .001) { in makemAh() 300 } else if (power < .01) { in makemAh() 302 } else if (power < .1) { in makemAh() 304 } else if (power < 1) { in makemAh() 306 } else if (power < 10) { in makemAh() 308 } 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()
|
/frameworks/native/cmds/atrace/ |
D | atrace.rc | 28 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency/enable 29 chown root shell /sys/kernel/tracing/events/power/cpu_frequency/enable 30 chown root shell /sys/kernel/debug/tracing/events/power/cpu_idle/enable 31 chown root shell /sys/kernel/tracing/events/power/cpu_idle/enable 32 chown root shell /sys/kernel/debug/tracing/events/power/clock_set_rate/enable 33 chown root shell /sys/kernel/tracing/events/power/clock_set_rate/enable 34 chown root shell /sys/kernel/debug/tracing/events/power/cpu_frequency_limits/enable 35 chown root shell /sys/kernel/tracing/events/power/cpu_frequency_limits/enable 78 chmod 0664 /sys/kernel/debug/tracing/events/power/cpu_frequency/enable 79 chmod 0664 /sys/kernel/tracing/events/power/cpu_frequency/enable [all …]
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BrightnessLimit.java | 48 IPowerManager power = IPowerManager.Stub.asInterface( in onClick() local 50 if (power != null) { in onClick() 52 power.setTemporaryScreenBrightnessSettingOverride(0); in onClick()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_am_BatteryStatsService.cpp | 45 using android::hardware::power::V1_0::IPower; 46 using android::hardware::power::V1_0::PowerStatePlatformSleepState; 47 using android::hardware::power::V1_0::PowerStateVoter; 48 using android::hardware::power::V1_0::Status;
|
D | com_android_server_power_PowerManagerService.cpp | 43 using android::hardware::power::V1_0::IPower; 44 using android::hardware::power::V1_0::PowerHint; 45 using android::hardware::power::V1_0::Feature;
|
/frameworks/support/wear/tests/src/android/support/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/os/ |
D | incident.proto | 31 import "frameworks/base/core/proto/android/service/power.proto"; 68 android.service.power.PowerServiceDumpProto power = 3009; field
|
/frameworks/native/services/sensorservice/ |
D | RotationVectorSensor.cpp | 40 .power = mSensorFusion.getPowerUsage(), in RotationVectorSensor() 126 .power = mSensorFusion.getPowerUsage(), in GyroDriftSensor()
|
D | CorrectedGyroSensor.cpp | 49 .power = mSensorFusion.getPowerUsage(), in CorrectedGyroSensor()
|
D | LinearAccelerationSensor.cpp | 43 .power = gsensor.getPowerUsage(), in LinearAccelerationSensor()
|
D | GravitySensor.cpp | 48 .power = mSensorFusion.getPowerUsage(), in GravitySensor()
|
/frameworks/base/core/proto/android/service/ |
D | power.proto | 19 package android.service.power; 124 // A bitfield that indicates what parts of the power state have 130 // True if the device is plugged into a power source. 171 // If true, the device is in low power mode. 191 // Timestamp of last interactive power hint. 197 // True if the display power state has been fully applied, which means the 255 // Put the screen in a low power state and allow the CPU to suspend 346 // If true, the device is in low power mode. 348 // Current state of whether the settings are allowing auto low power mode. 350 // The user turned off low power mode below the trigger level
|
D | wirelesschargerdetector.proto | 19 package android.service.power; 30 // Previously observed wireless power state.
|
/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;
|
D | PowerManagerShellCommand.java | 17 package com.android.server.power;
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/ |
D | MediaFrameworkPowerTestRunner.java | 19 import com.android.mediaframeworktest.power.MediaPlayerPowerTest;
|
/frameworks/native/services/surfaceflinger/DisplayHardware/ |
D | PowerHAL.cpp | 30 using android::hardware::power::V1_0::PowerHint;
|
/frameworks/base/location/java/android/location/ |
D | Criteria.java | 368 private static String powerToString(int power) { in powerToString() argument 369 switch (power) { in powerToString()
|
/frameworks/base/tests/AccessoryDisplay/ |
D | README | 17 in this arrangement and will provide power to the source. 32 in this arrangement and will receive power from the sink.
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | BatterySaverPolicyTest.java | 16 package com.android.server.power; 23 import com.android.server.power.BatterySaverPolicy.ServiceType;
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsHelper.java | 296 IPowerManager power = IPowerManager.Stub.asInterface( in setBrightness() local 298 if (power != null) { in setBrightness() 299 power.setTemporaryScreenBrightnessSettingOverride(brightness); in setBrightness()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/power/ |
D | MediaPlayerPowerTest.java | 17 package com.android.mediaframeworktest.power;
|