/frameworks/base/services/tests/servicestests/src/com/android/server/power/ |
D | ThermalManagerServiceTest.java | 109 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/ |
D | PowerUITest.java | 120 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/ |
D | ExternalDisplayPolicyTest.java | 72 /*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()
|
D | BrightnessThrottlerTest.java | 173 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/ |
D | Temperature.java | 72 TYPE_SKIN, 99 public static final int TYPE_SKIN = TemperatureType.SKIN; field in Temperature
|
/frameworks/base/services/core/java/com/android/server/display/utils/ |
D | SensorUtils.java | 82 return Temperature.TYPE_SKIN; in getSensorTemperatureType()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/power/ |
D | ThermalManagerServiceMockingTest.java | 392 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/ |
D | BrightnessThermalClamperTest.java | 224 return captureThermalEventListener(Temperature.TYPE_SKIN); in captureSkinThermalEventListener() 241 return new Temperature(100, Temperature.TYPE_SKIN, "test_temperature", status); in createSkinTemperature()
|
D | BrightnessPowerClamperTest.java | 182 mCurrentTemperature = new Temperature(100, Temperature.TYPE_SKIN, "test_temp", status); in setThermalStatus()
|
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/ |
D | PmicMonitor.java | 82 Temperature.TYPE_SKIN); in getDisplayTemperature()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ThermalManagerService.java | 238 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/ |
D | ExternalDisplayPolicy.java | 361 thermalService.registerThermalEventListenerWithType(listener, Temperature.TYPE_SKIN); in registerThermalServiceListener()
|
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/mode/ |
D | SkinThermalStatusObserverTest.java | 221 return new Temperature(40.0f, Temperature.TYPE_SKIN, "test_temp", status); in createTemperature()
|
D | DisplayModeDirectorTest.java | 3439 return new Temperature(30.0f, Temperature.TYPE_SKIN, "test_skin_temp", status); in getSkinTemp()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/ |
D | PowerUI.java | 571 mSkinThermalEventListener, Temperature.TYPE_SKIN); in doSkinThermalEventListenerRegistration()
|
/frameworks/base/services/core/java/com/android/server/display/mode/ |
D | DisplayModeDirector.java | 3106 Temperature.TYPE_SKIN); in registerThermalServiceListener()
|