Home
last modified time | relevance | path

Searched refs:IThermalService (Results 1 – 25 of 40) sorted by relevance

12

/frameworks/base/native/android/
Dthermal.cpp52 static IThermalService *gIThermalServiceForTesting = nullptr;
67 AThermalManager(sp<IThermalService> service);
68 sp<IThermalService> mThermalSvc;
95 return new AThermalManager(interface_cast<IThermalService>(binder)); in createAThermalManager()
98 AThermalManager::AThermalManager(sp<IThermalService> service) in AThermalManager()
355 gIThermalServiceForTesting = static_cast<IThermalService *>(iThermalService); in AThermal_setIThermalServiceForTesting()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DBridgeThermalService.java23 import android.os.IThermalService;
32 public class BridgeThermalService implements IThermalService {
/frameworks/base/services/core/java/com/android/server/display/brightness/clamper/
DPmicMonitor.java27 import android.os.IThermalService;
58 @VisibleForTesting final IThermalService mThermalService;
68 mThermalService = IThermalService.Stub.asInterface( in PmicMonitor()
DBrightnessThermalClamper.java27 import android.os.IThermalService;
212 private IThermalService mThermalService;
312 IThermalService getThermalService() { in getThermalService()
313 return IThermalService.Stub.asInterface( in getThermalService()
/frameworks/base/services/core/java/com/android/server/display/
DBrightnessThrottler.java28 import android.os.IThermalService;
372 private IThermalService mThermalService;
465 public IThermalService getThermalService() { in getThermalService()
466 return IThermalService.Stub.asInterface( in getThermalService()
DExternalDisplayPolicy.java31 import android.os.IThermalService;
81 IThermalService getThermalService(); in getThermalService()
/frameworks/native/services/powermanager/tests/
DIThermalManagerTest.cpp60 sp<IThermalService> mThermalSvc;
91 mThermalSvc = interface_cast<IThermalService>(binder); in SetUp()
/frameworks/base/core/java/android/os/
DIThermalService.aidl29 interface IThermalService { interface
/frameworks/base/tests/vcn/java/com/android/server/vcn/routeselection/
DNetworkEvaluationTestBase.java40 import android.os.IThermalService;
159 mock(IThermalService.class), in setUp()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/brightness/clamper/
DBrightnessThermalClamperTest.java27 import android.os.IThermalService;
64 private IThermalService mMockThermalService;
251 IThermalService getThermalService() { in getThermalService()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DCachedDeviceStateServiceTest.java29 import android.os.IThermalService;
56 @Mock private IThermalService mThermalService;
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java30 import android.os.IThermalService;
108 @VisibleForTesting IThermalService mThermalService;
566 mThermalService = IThermalService.Stub.asInterface( in doSkinThermalEventListenerRegistration()
601 mThermalService = IThermalService.Stub.asInterface( in doUsbThermalEventListenerRegistration()
/frameworks/base/services/tests/displayservicetests/src/com/android/server/display/
DExternalDisplayPolicyTest.java36 import android.os.IThermalService;
94 private IThermalService mMockedThermalService;
DBrightnessThrottlerTest.java32 import android.os.IThermalService;
70 @Mock IThermalService mThermalServiceMock;
/frameworks/base/services/tests/servicestests/src/com/android/server/attention/
DAttentionManagerServiceTest.java45 import android.os.IThermalService;
85 private IThermalService mMockIThermalService;
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java37 import android.os.IThermalService;
78 private IThermalService mMockThermalService;
88 mMockThermalService = mock(IThermalService.class); in setUp()
DAbstractAccessibilityServiceConnectionTest.java87 import android.os.IThermalService;
168 @Mock private IThermalService mMockIThermalService;
/frameworks/base/core/tests/coretests/src/android/os/
DPowerManagerTest.java493 mock(IThermalService.class), in testBatterySaverSupported_isSupported()
505 mock(IThermalService.class), in testBatterySaverSupported_isNotSupported()
/frameworks/base/services/tests/servicestests/src/com/android/server/recoverysystem/
DRecoverySystemServiceTest.java53 import android.os.IThermalService;
80 private IThermalService mIThermalService;
105 mIThermalService = mock(IThermalService.class); in setup()
/frameworks/base/native/android/tests/thermal/
DNativeThermalUnitTest.cpp32 class MockIThermalService : public IThermalService {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java35 import android.os.IThermalService;
91 @Mock private IThermalService mThermalServiceMock;
/frameworks/base/services/tests/servicestests/src/com/android/server/power/
DThermalManagerServiceTest.java45 import android.os.IThermalService;
90 private IThermalService mIThermalServiceMock;
/frameworks/base/services/core/java/com/android/server/display/mode/
DDisplayModeDirector.java46 import android.os.IThermalService;
3099 IThermalService thermalService = getThermalService(); in registerThermalServiceListener()
3116 IThermalService thermalService = getThermalService(); in unregisterThermalServiceListener()
3161 private IThermalService getThermalService() { in getThermalService()
3162 return IThermalService.Stub.asInterface( in getThermalService()
/frameworks/base/services/core/java/com/android/server/power/
DThermalManagerService.java45 import android.os.IThermalService;
372 final IThermalService.Stub mService = new IThermalService.Stub() {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImplTest.java71 import android.os.IThermalService;
372 IThermalService thermalService = mock(IThermalService.class); in setup()

12