Home
last modified time | relevance | path

Searched refs:mThermalServiceMock (Results 1 – 2 of 2) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
H A DPowerUITest.java91 @Mock private IThermalService mThermalServiceMock; field in PowerUITest
178 verify(mThermalServiceMock, times(1)) in testSettingOverrideConfig_enableSkinTemperatureWarning()
191 verify(mThermalServiceMock, times(1)) in testSettingOverrideConfig_enableUsbTemperatureAlarm()
204 verify(mThermalServiceMock, times(0)) in testSettingOverrideConfig_disableSkinTemperatureWarning()
217 verify(mThermalServiceMock, times(0)) in testSettingOverrideConfig_disableUsbTemperatureAlarm()
234 verify(mThermalServiceMock, times(1)) in testThermalEventListenerRegistration_success_skinType()
260 verify(mThermalServiceMock, times(1)) in testThermalEventListenerRegistration_fail_skinType()
279 verify(mThermalServiceMock, times(2)) in testThermalEventListenerRegistration_fail_skinType()
296 verify(mThermalServiceMock, times(1)) in testThermalEventListenerRegistration_success_usbType()
321 verify(mThermalServiceMock, times(1)) in testThermalEventListenerRegistration_fail_usbType()
[all …]
/aosp14/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
H A DBrightnessThrottlerTest.java68 @Mock IThermalService mThermalServiceMock; field in BrightnessThrottlerTest
78 when(mInjectorMock.getThermalService()).thenReturn(mThermalServiceMock); in setUp()
170 verify(mThermalServiceMock).registerThermalEventListenerWithType( in testThermalThrottlingSingleLevel()
228 verify(mThermalServiceMock).registerThermalEventListenerWithType( in testThermalThrottlingMultiLevel()
306 verify(mThermalServiceMock).registerThermalEventListenerWithType( in testUpdateThermalThrottlingData()
332 verify(mThermalServiceMock).registerThermalEventListenerWithType( in testInvalidThrottlingStrings()
414 verify(mThermalServiceMock).registerThermalEventListenerWithType( in testMultipleConfigPoints()