Home
last modified time | relevance | path

Searched refs:TYPE_SKIN (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java109 private Temperature mSkin1 = new Temperature(0, Temperature.TYPE_SKIN, "skin1",
111 private Temperature mSkin2 = new Temperature(0, Temperature.TYPE_SKIN, "skin2",
124 skinThreshold.type = Temperature.TYPE_SKIN; in initializeThresholds()
228 Temperature.TYPE_SKIN)); in setUp()
282 Temperature.TYPE_SKIN)); in testRegister()
314 Temperature newSkin = new Temperature(50, Temperature.TYPE_SKIN, "skin1", status); in testNotify()
339 newSkin = new Temperature(50, Temperature.TYPE_SKIN, "skin1", status); in testNotify()
356 mFakeHal.getCurrentTemperatures(true, Temperature.TYPE_SKIN), in testGetCurrentTemperatures()
358 Temperature.TYPE_SKIN))); in testGetCurrentTemperatures()
364 Temperature newSkin = new Temperature(100, Temperature.TYPE_SKIN, "skin1", status); in testGetCurrentStatus()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java120 final Temperature temp = getCriticalStatusTemp(Temperature.TYPE_SKIN, "skin1"); in testSkinWarning_throttlingCritical()
133 final Temperature temp = getEmergencyStatusTemp(Temperature.TYPE_SKIN, "skin2"); in testSkinWarning_throttlingEmergency()
151 final Temperature temp = getEmergencyStatusTemp(Temperature.TYPE_SKIN, "skin2"); in testSkinWarning_throttlingEmergency_butVrMode()
193 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_enableSkinTemperatureWarning()
219 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testSettingOverrideConfig_disableSkinTemperatureWarning()
242 anyObject(), eq(Temperature.TYPE_SKIN))).thenReturn(true); in testThermalEventListenerRegistration_success_skinType()
249 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_success_skinType()
268 anyObject(), eq(Temperature.TYPE_SKIN))).thenReturn(false); in testThermalEventListenerRegistration_fail_skinType()
275 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_fail_skinType()
294 .registerThermalEventListenerWithType(anyObject(), eq(Temperature.TYPE_SKIN)); in testThermalEventListenerRegistration_fail_skinType()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DExternalDisplayPolicyTest.java72 /*type=*/ Temperature.TYPE_SKIN,
76 /*type=*/ Temperature.TYPE_SKIN,
80 /*type=*/ Temperature.TYPE_SKIN,
84 /*type=*/ Temperature.TYPE_SKIN,
342 assertThat(mThermalEventTypeCaptor.getValue()).isEqualTo(Temperature.TYPE_SKIN); in registerThermalListener()
DBrightnessThrottlerTest.java173 mThermalEventListenerCaptor.capture(), eq(Temperature.TYPE_SKIN)); in testThermalThrottlingSingleLevel()
231 mThermalEventListenerCaptor.capture(), eq(Temperature.TYPE_SKIN)); in testThermalThrottlingMultiLevel()
356 mThermalEventListenerCaptor.capture(), eq(Temperature.TYPE_SKIN)); in testUpdateThermalThrottlingData()
382 mThermalEventListenerCaptor.capture(), eq(Temperature.TYPE_SKIN)); in testInvalidThrottlingStrings()
464 mThermalEventListenerCaptor.capture(), eq(Temperature.TYPE_SKIN)); in testMultipleConfigPoints()
546 return new Temperature(30.0f, Temperature.TYPE_SKIN, "test_skin_temp", status); in getSkinTemp()
/frameworks/base/core/java/android/os/
DTemperature.java72 TYPE_SKIN,
99 public static final int TYPE_SKIN = TemperatureType.SKIN; field in Temperature
/frameworks/base/services/core/java/com/android/server/display/utils/
DSensorUtils.java82 return Temperature.TYPE_SKIN; in getSensorTemperatureType()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/
DThermalManagerServiceMockingTest.java392 halT1.type = Temperature.TYPE_SKIN; in getTemperatureThresholds_aidl()
410 TemperatureThreshold threshold = ret.get(0).type == Temperature.TYPE_SKIN ? ret.get(0) in getTemperatureThresholds_aidl()
430 halT1.type = Temperature.TYPE_SKIN; in getTemperatureThresholds_withFilter_aidl()
444 Temperature.TYPE_SKIN); in getTemperatureThresholds_withFilter_aidl()
446 Temperature.TYPE_SKIN); in getTemperatureThresholds_withFilter_aidl()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessThermalClamperTest.java224 return captureThermalEventListener(Temperature.TYPE_SKIN); in captureSkinThermalEventListener()
241 return new Temperature(100, Temperature.TYPE_SKIN, "test_temperature", status); in createSkinTemperature()
DBrightnessPowerClamperTest.java182 mCurrentTemperature = new Temperature(100, Temperature.TYPE_SKIN, "test_temp", status); in setThermalStatus()
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DPmicMonitor.java82 Temperature.TYPE_SKIN); in getDisplayTemperature()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java238 if (t.getType() == Temperature.TYPE_SKIN && t.getStatus() >= newStatus) { in onTemperatureMapChangedLocked()
314 case Temperature.TYPE_SKIN: in shutdownIfNeeded()
744 type = Temperature.TYPE_SKIN; in runInjectTemperature()
1631 mHalWrapper.getTemperatureThresholds(true, Temperature.TYPE_SKIN); in updateThresholds()
1698 Temperature.TYPE_SKIN); in updateTemperature()
/frameworks/base/services/core/java/com/android/server/display/
DExternalDisplayPolicy.java361 thermalService.registerThermalEventListenerWithType(listener, Temperature.TYPE_SKIN); in registerThermalServiceListener()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/
DSkinThermalStatusObserverTest.java221 return new Temperature(40.0f, Temperature.TYPE_SKIN, "test_temp", status); in createTemperature()
DDisplayModeDirectorTest.java3439 return new Temperature(30.0f, Temperature.TYPE_SKIN, "test_skin_temp", status); in getSkinTemp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java571 mSkinThermalEventListener, Temperature.TYPE_SKIN); in doSkinThermalEventListenerRegistration()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java3106 Temperature.TYPE_SKIN); in registerThermalServiceListener()