History log of /frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
8503fd51e52423229ae05a77c547081bf305888b 20-Dec-2016 Polina Bondarenko <pbond@google.com> Remove PO support from HardwarePropertiesManager

Removed broken profile owner support from HardwarePropertiesManager and
documentation.

Bug: 32945942
Test: compile
Change-Id: Ie5a26a4c94c35f6d894eff57c996552406ddd723
/frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java
b7caf1d06d5e4ef21cadcc6a68d4b4c4552fb7bc 15-Dec-2016 Andrew Sapperstein <asapperstein@google.com> Show notif when device reaches throttling temp

Adds logic to SystemUI that shows a notification alerting the user
that their phone has reached a certain temperature and has throttled
itself in order to cool down.

The logic is controlled by a configuration resource:
R.bool.config_showTemperatureWarning. If false, no action is taken.

When true, PowerUI checks every 30 seconds if the current temp of
HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN is greater than
the throttling temp of HardwarePropertiesManager.DEVICE_TEMPERATURE_SKIN.
If any one of the temperatures returned is greater, a notification is shown.

Clicking on the notification will show a dialog explaining more details
about what the device is doing in response to the high temperature.

The notification will disappear once the temperature drops below
the throttling temperature.

In order to check the temperature in SystemUI, HardwarePropertiesManager
has been updated to also allow any calls made by callers holding the
signature-level DEVICE_POWER permission.

Test: runtest systemui
Bug: 30995038

Change-Id: I1b3f122341911c68e90c8a49ad35267ac382b356
/frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java
8f1d5cbabb3bc4ef61b9c2edc70fcfd5d75efec8 23-Mar-2016 Ruben Brunk <rubenbrunk@google.com> Allow current VrListenerService to read thermal info.

Bug: 27549685
Bug: 22855417
Change-Id: I2d0cb85b54767876bcbf503b5f198bd7f4065680
/frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java
eb84552ef0135c1069f67a12f2e9985d4191880f 01-Mar-2016 Polina Bondarenko <pbond@google.com> Added skin temperature, thresholds to HardwarePropertiesManager

Bug: 27425887
Change-Id: I13f69ae37906b71d93edbf6bea6daf809d97cfd5
/frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java
f8754ac2127f8adf40bd4731f39b16340acdb2f7 12-Feb-2016 Polina Bondarenko <pbond@google.com> Added hardwareproperties SystemService

Add HardwarePropertiesManagerService which call native methods to
get CPU, GPU, battery temperatures, CPU usage info, fan speeds.
Restrict hardware properties retrieval only for device and profile
owners.

Bug: 26945055
Change-Id: I4d6b30b78e575532d5e9cfa59ef6cd81355439d4
/frameworks/base/services/core/java/com/android/server/HardwarePropertiesManagerService.java