Home
last modified time | relevance | path

Searched refs:thermalService (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/core/java/com/android/server/display/
DExternalDisplayPolicy.java355 final var thermalService = mInjector.getThermalService(); in registerThermalServiceListener() local
356 if (thermalService == null) { in registerThermalServiceListener()
361 thermalService.registerThermalEventListenerWithType(listener, Temperature.TYPE_SKIN); in registerThermalServiceListener()
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java3099 IThermalService thermalService = getThermalService(); in registerThermalServiceListener() local
3100 if (thermalService == null) { in registerThermalServiceListener()
3105 thermalService.registerThermalEventListenerWithType(listener, in registerThermalServiceListener()
3116 IThermalService thermalService = getThermalService(); in unregisterThermalServiceListener() local
3117 if (thermalService == null) { in unregisterThermalServiceListener()
3121 thermalService.unregisterThermalEventListener(listener); in unregisterThermalServiceListener()
/frameworks/base/services/core/java/com/android/server/stats/pull/
DStatsPullAtomService.java923 IThermalService thermalService = getIThermalService(); in registerEventListeners() local
924 if (thermalService != null) { in registerEventListeners()
926 thermalService.registerThermalEventListener(new ThermalEventListener()); in registerEventListeners()
2709 IThermalService thermalService = getIThermalService();
2710 if (thermalService == null) {
2715 Temperature temperatures[] = thermalService.getCurrentTemperatures();
2741 IThermalService thermalService = getIThermalService();
2742 if (thermalService == null) {
2747 CoolingDevice devices[] = thermalService.getCurrentCoolingDevices();
/frameworks/base/core/java/android/os/
DPowerManager.java1208 public PowerManager(Context context, IPowerManager service, IThermalService thermalService, in PowerManager() argument
1212 mThermalService = thermalService; in PowerManager()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java372 IThermalService thermalService = mock(IThermalService.class); in setup() local
373 mPowerManager = new PowerManager(mContext, mPowerManagerService, thermalService, in setup()
/frameworks/base/core/java/android/app/
DSystemServiceRegistry.java646 IThermalService thermalService = IThermalService.Stub.asInterface(thermalBinder); in registerService() argument
647 return new PowerManager(ctx.getOuterContext(), powerService, thermalService, in registerService()