Searched refs:TYPE_SKIN (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 91 private Temperature mSkin1 = new Temperature(0, Temperature.TYPE_SKIN, "skin1", 93 private Temperature mSkin2 = new Temperature(0, Temperature.TYPE_SKIN, "skin2", 165 Temperature.TYPE_SKIN)); in setUp() 219 Temperature.TYPE_SKIN)); in testRegister() 250 Temperature newSkin = new Temperature(50, Temperature.TYPE_SKIN, "skin1", status); in testNotify() 275 newSkin = new Temperature(50, Temperature.TYPE_SKIN, "skin1", status); in testNotify() 291 assertListEqualsIgnoringOrder(mFakeHal.getCurrentTemperatures(true, Temperature.TYPE_SKIN), in testGetCurrentTemperatures() 292 mService.mService.getCurrentTemperaturesWithType(Temperature.TYPE_SKIN)); in testGetCurrentTemperatures() 298 Temperature newSkin = new Temperature(100, Temperature.TYPE_SKIN, "skin1", status); in testGetCurrentStatus() 306 Temperature newSkin = new Temperature(100, Temperature.TYPE_SKIN, "skin1", status); in testThermalShutdown() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/ |
D | PowerUITest.java | 102 final Temperature temp = getCriticalStatusTemp(Temperature.TYPE_SKIN, "skin1"); in testSkinWarning_throttlingCritical() 115 final Temperature temp = getEmergencyStatusTemp(Temperature.TYPE_SKIN, "skin2"); in testSkinWarning_throttlingEmergency() 158 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_enableSkinTemperatureWarning() 184 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_disableSkinTemperatureWarning() 207 anyObject(), eq(Temperature.TYPE_SKIN))).thenReturn(true); in testThermalEventListenerRegistration_success_skinType() 214 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_success_skinType() 233 anyObject(), eq(Temperature.TYPE_SKIN))).thenReturn(false); in testThermalEventListenerRegistration_fail_skinType() 240 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_fail_skinType() 259 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_fail_skinType()
|
/frameworks/base/core/java/android/os/ |
D | Temperature.java | 70 TYPE_SKIN, 86 public static final int TYPE_SKIN = TemperatureType.SKIN; field in Temperature
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 495 mSkinThermalEventListener, Temperature.TYPE_SKIN); in doSkinThermalEventListenerRegistration()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 267 case Temperature.TYPE_SKIN: in shutdownIfNeeded()
|