/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 38 import android.os.Temperature; 87 private static final int INIT_STATUS = Temperature.THROTTLING_NONE; 88 private ArrayList<Temperature> mTemperatureList = new ArrayList<>(); 91 private Temperature mSkin1 = new Temperature(0, Temperature.TYPE_SKIN, "skin1", 93 private Temperature mSkin2 = new Temperature(0, Temperature.TYPE_SKIN, "skin2", 95 private Temperature mBattery = new Temperature(0, Temperature.TYPE_BATTERY, "batt", 97 private Temperature mUsbPort = new Temperature(0, Temperature.TYPE_USB_PORT, "usbport", 112 protected List<Temperature> getCurrentTemperatures(boolean shouldFilter, int type) { in getCurrentTemperatures() 113 List<Temperature> ret = new ArrayList<>(); in getCurrentTemperatures() 114 for (Temperature temperature : mTemperatureList) { in getCurrentTemperatures() [all …]
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 39 import android.os.Temperature; 95 private ArrayMap<String, Temperature> mTemperatureMap = new ArrayMap<>(); 150 List<Temperature> temperatures = mHalWrapper.getCurrentTemperatures(false, in onActivityManagerReady() 175 if (!Temperature.isValidStatus(mStatus)) { in notifyStatusListenersLocked() 194 Temperature t = mTemperatureMap.valueAt(i); in onTemperatureMapChangedLocked() 223 private void postEventListener(Temperature temperature, in postEventListener() 242 private void notifyEventListenersLocked(Temperature temperature) { in notifyEventListenersLocked() 259 private void shutdownIfNeeded(Temperature temperature) { in shutdownIfNeeded() 260 if (temperature.getStatus() != Temperature.THROTTLING_SHUTDOWN) { in shutdownIfNeeded() 265 case Temperature.TYPE_CPU: in shutdownIfNeeded() [all …]
|
/frameworks/base/core/java/android/os/ |
D | Temperature.java | 34 public final class Temperature implements Parcelable { class 112 public Temperature(float value, @Type int type, in Temperature() method in Temperature 175 if (!(o instanceof Temperature)) { in equals() 178 Temperature other = (Temperature) o; in equals() 191 public static final @android.annotation.NonNull Parcelable.Creator<Temperature> CREATOR = 192 new Parcelable.Creator<Temperature>() { 194 public Temperature createFromParcel(Parcel p) { 199 return new Temperature(value, type, name, status); 203 public Temperature[] newArray(int size) { 204 return new Temperature[size];
|
D | IThermalService.aidl | 22 import android.os.Temperature; 59 List<Temperature> getCurrentTemperatures(); in getCurrentTemperatures() 67 List<Temperature> getCurrentTemperaturesWithType(in int type); in getCurrentTemperaturesWithType()
|
D | IThermalEventListener.aidl | 19 import android.os.Temperature; 30 void notifyThrottling(in Temperature temperature); in notifyThrottling()
|
D | Temperature.aidl | 19 parcelable Temperature;
|
D | PowerManager.java | 1709 public static final int THERMAL_STATUS_NONE = Temperature.THROTTLING_NONE; 1714 public static final int THERMAL_STATUS_LIGHT = Temperature.THROTTLING_LIGHT; 1719 public static final int THERMAL_STATUS_MODERATE = Temperature.THROTTLING_MODERATE; 1724 public static final int THERMAL_STATUS_SEVERE = Temperature.THROTTLING_SEVERE; 1729 public static final int THERMAL_STATUS_CRITICAL = Temperature.THROTTLING_CRITICAL; 1735 public static final int THERMAL_STATUS_EMERGENCY = Temperature.THROTTLING_EMERGENCY; 1740 public static final int THERMAL_STATUS_SHUTDOWN = Temperature.THROTTLING_SHUTDOWN;
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 35 import android.os.Temperature; 102 final Temperature temp = getCriticalStatusTemp(Temperature.TYPE_SKIN, "skin1"); in testSkinWarning_throttlingCritical() 115 final Temperature temp = getEmergencyStatusTemp(Temperature.TYPE_SKIN, "skin2"); in testSkinWarning_throttlingEmergency() 128 final Temperature temp = getCriticalStatusTemp(Temperature.TYPE_USB_PORT, "usb1"); in testUsbAlarm_throttlingCritical() 140 final Temperature temp = getEmergencyStatusTemp(Temperature.TYPE_USB_PORT, "usb2"); in testUsbAlarm_throttlingEmergency() 158 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_enableSkinTemperatureWarning() 171 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_USB_PORT)); in testSettingOverrideConfig_enableUsbTemperatureAlarm() 184 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_disableSkinTemperatureWarning() 197 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_USB_PORT)); in testSettingOverrideConfig_disableUsbTemperatureAlarm() 207 anyObject(), eq(Temperature.TYPE_SKIN))).thenReturn(true); in testThermalEventListenerRegistration_success_skinType() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityMetricsLaunchObserver.java | 87 @interface Temperature {} annotation 147 @Temperature int temperature); in onActivityLaunched()
|
D | LaunchObserverRegistryImpl.java | 137 @Temperature int temperature) { in handleOnActivityLaunched()
|
D | ActivityMetricsLogger.java | 1041 @ActivityMetricsLaunchObserver.Temperature int temperature = in launchObserverNotifyActivityLaunched() 1102 private static @ActivityMetricsLaunchObserver.Temperature int
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 35 import android.os.Temperature; 497 mSkinThermalEventListener, Temperature.TYPE_SKIN); in doSkinThermalEventListenerRegistration() 532 mUsbThermalEventListener, Temperature.TYPE_USB_PORT); in doUsbThermalEventListenerRegistration() 652 @Override public void notifyThrottling(Temperature temp) { in notifyThrottling() 655 if (status >= Temperature.THROTTLING_EMERGENCY) { in notifyThrottling() 672 @Override public void notifyThrottling(Temperature temp) { in notifyThrottling() 675 if (status >= Temperature.THROTTLING_EMERGENCY) { in notifyThrottling()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_HardwarePropertiesManagerService.cpp | 39 using hardware::thermal::V1_0::Temperature; 160 hidl_vec<Temperature> list; in nativeGetDeviceTemperatures() 162 [&list](ThermalStatus status, hidl_vec<Temperature> temperatures) { in nativeGetDeviceTemperatures()
|
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/ |
D | AppLaunchEvent.java | 31 import com.android.server.wm.ActivityMetricsLaunchObserver.Temperature; 182 public final @ActivityMetricsLaunchObserver.Temperature 187 @ActivityMetricsLaunchObserver.Temperature int temperature) { in ActivityLaunched()
|
D | IorapForwardingService.java | 41 import com.android.server.wm.ActivityMetricsLaunchObserver.Temperature; 300 @Temperature int temperature) {
|
/frameworks/hardware/interfaces/stats/1.0/ |
D | types.hal | 125 /* Temperature Temperature, in 1/10ths of degree C. */ 171 /* Temperature of USB port at USB plug event, in 1/10ths of degree C. */
|
D | IStats.hal | 60 * Resistance, Voltage, Open Circuit Voltage, Temperature, and Charge Level
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 98 import android.os.Temperature; 1923 List<Temperature> temperatures = sThermalService.getCurrentTemperatures(); in pullTemperature() 1924 for (Temperature temp : temperatures) { in pullTemperature() 2756 public void notifyThrottling(Temperature temp) { in notifyThrottling()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobSchedulerService.java | 70 import android.os.Temperature; 326 mThermalConstraint = status >= Temperature.THROTTLING_SEVERE; in onStatusChange()
|
/frameworks/base/cmds/statsd/src/ |
D | atoms.proto | 395 Temperature temperature = 10021; 2618 * Resistance, Voltage, Open Circuit Voltage, Temperature, and Charge Level 2637 // Temperature, in 1/10ths of degree C. 2690 // Temperature in tenths of a degree C. 3702 /* Temperature of USB port at USB plug event, in 1/10ths of degree C. */ 4712 message Temperature { message 4719 // Temperature in tenths of a degree C.
|
/frameworks/base/core/proto/android/providers/settings/ |
D | global.proto | 927 // Temperature at which the high temperature warning notification should
|
/frameworks/base/services/ |
D | art-profile | 12405 …r/-$$Lambda$ThermalManagerService$9JFHCKCwrnUIYoXDsqNamhlY5VU;->onValues(Landroid/os/Temperature;)V 12600 …nagerService$ThermalHal20Wrapper$1;->notifyThrottling(Landroid/hardware/thermal/V2_0/Temperature;)V 12609 …erService;->lambda$postEventListener$1(Landroid/os/IThermalEventListener;Landroid/os/Temperature;)V 12611 …/android/server/power/ThermalManagerService;->notifyEventListenersLocked(Landroid/os/Temperature;)V 12616 HSPLcom/android/server/power/ThermalManagerService;->onTemperatureChanged(Landroid/os/Temperature;Z… 12617 …ndroid/server/power/ThermalManagerService;->onTemperatureChangedCallback(Landroid/os/Temperature;)V 12619 HSPLcom/android/server/power/ThermalManagerService;->postEventListener(Landroid/os/Temperature;Land… 12621 HSPLcom/android/server/power/ThermalManagerService;->shutdownIfNeeded(Landroid/os/Temperature;)V 13148 …rver/stats/StatsCompanionService$ThermalEventListener;->notifyThrottling(Landroid/os/Temperature;)V
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 7600 HSPLandroid/hardware/thermal/V2_0/Temperature;->readEmbeddedFromParcel(Landroid/os/HwParcel;Landroi… 7601 HSPLandroid/hardware/thermal/V2_0/Temperature;->readVectorFromParcel(Landroid/os/HwParcel;)Ljava/ut… 11667 HSPLandroid/os/IThermalEventListener$Stub$Proxy;->notifyThrottling(Landroid/os/Temperature;)V 12289 HSPLandroid/os/Temperature$1;-><init>()V 33940 Landroid/hardware/thermal/V2_0/Temperature; 35415 Landroid/os/Temperature$1; 35416 Landroid/os/Temperature; 42358 HSPLandroid/os/Temperature$1;->createFromParcel(Landroid/os/Parcel;)Landroid/os/Temperature; 42359 HSPLandroid/os/Temperature$1;->createFromParcel(Landroid/os/Parcel;)Ljava/lang/Object; 42360 HSPLandroid/os/Temperature;-><init>(FILjava/lang/String;I)V [all …]
|
D | hiddenapi-greylist-max-o.txt | 51003 Landroid/os/IThermalEventListener$Stub$Proxy;->notifyThrottling(ZLandroid/os/Temperature;)V 51008 Landroid/os/IThermalEventListener;->notifyThrottling(ZLandroid/os/Temperature;)V 51013 Landroid/os/IThermalService$Stub$Proxy;->notifyThrottling(ZLandroid/os/Temperature;)V 51024 Landroid/os/IThermalService;->notifyThrottling(ZLandroid/os/Temperature;)V 53656 Landroid/os/Temperature;-><init>()V 53657 Landroid/os/Temperature;-><init>(FI)V 53658 Landroid/os/Temperature;-><init>(Landroid/os/Parcel;)V 53659 Landroid/os/Temperature;->CREATOR:Landroid/os/Parcelable$Creator; 53660 Landroid/os/Temperature;->getType()I 53661 Landroid/os/Temperature;->getValue()F [all …]
|