Home
last modified time | relevance | path

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

/frameworks/native/services/powermanager/
DIThermalManagerTest.cpp46 sp<IThermalService> mThermalSvc; member in IThermalServiceTest
73 binder::Status ret = mThermalSvc->getCurrentThermalStatus(&status); in getStatusFromService()
87 mThermalSvc = interface_cast<IThermalService>(binder); in SetUp()
88 EXPECT_NE(mThermalSvc, nullptr); in SetUp()
90 binder::Status ret = mThermalSvc->registerThermalStatusListener(this, &success); in SetUp()
100 binder::Status ret = mThermalSvc->unregisterThermalStatusListener(this, &success); in TearDown()
/frameworks/base/native/android/
Dthermal.cpp57 sp<IThermalService> mThermalSvc; member
82 : mThermalSvc(service), in AThermalManager()
92 mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in ~AThermalManager()
130 auto ret = mThermalSvc->registerThermalStatusListener(mServiceListener, &success); in addListener()
163 auto ret = mThermalSvc->unregisterThermalStatusListener(mServiceListener, &success); in removeListener()
176 binder::Status ret = mThermalSvc->getCurrentThermalStatus(status); in getCurrentThermalStatus()