Home
last modified time | relevance | path

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

/frameworks/native/services/powermanager/tests/
DIThermalManagerTest.cpp60 sp<IThermalService> mThermalSvc; member in IThermalServiceTest
77 binder::Status ret = mThermalSvc->getCurrentThermalStatus(&status); in getStatusFromService()
91 mThermalSvc = interface_cast<IThermalService>(binder); in SetUp()
92 EXPECT_NE(mThermalSvc, nullptr); in SetUp()
96 binder::Status ret = mThermalSvc->registerThermalStatusListener(mCallback, &success); in SetUp()
106 binder::Status ret = mThermalSvc->unregisterThermalStatusListener(mCallback, &success); in TearDown()
/frameworks/base/native/android/
Dthermal.cpp68 sp<IThermalService> mThermalSvc; member
99 : mThermalSvc(std::move(service)), mServiceListener(nullptr) {} in AThermalManager()
107 mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in ~AThermalManager()
148 auto ret = mThermalSvc->registerThermalStatusListener(mServiceListener, &success); in addListener()
181 auto ret = mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in removeListener()
194 binder::Status ret = mThermalSvc->getCurrentThermalStatus(status); in getCurrentThermalStatus()
206 binder::Status ret = mThermalSvc->getThermalHeadroom(forecastSeconds, result); in getThermalHeadroom()
222 binder::Status ret = mThermalSvc->getThermalHeadroomThresholds(thresholds.get()); in getThermalHeadroomThresholds()