Home
last modified time | relevance | path

Searched refs:mThermalCallback (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/thermal/1.1/vts/functional/
DVtsHalThermalV1_1TargetTest.cpp73 mThermalCallback = new(std::nothrow) ThermalCallback(); in SetUp()
74 ASSERT_NE(mThermalCallback, nullptr); in SetUp()
75 auto ret = mThermal->registerThermalCallback(mThermalCallback); in SetUp()
86 sp<ThermalCallback> mThermalCallback; member in ThermalHidlTest
94 auto ret = mThermalCallback->notifyThrottling(true, kThrottleTemp); in TEST_P()
96 auto res = mThermalCallback->WaitForCallback(kCallbackNameNotifyThrottling); in TEST_P()
/hardware/interfaces/thermal/utils/tests/
DThermalHidlWrapperTest.cpp100 mThermalCallback = new (std::nothrow) ThermalCallback(); in SetUp()
101 ASSERT_NE(mThermalCallback, nullptr); in SetUp()
103 mThermalCallback, false, TemperatureType::SKIN, in SetUp()
108 mThermalCallback, false, TemperatureType::SKIN, in SetUp()
115 mThermalCallback, in TearDown()
120 mThermalCallback, in TearDown()
127 sp<ThermalCallback> mThermalCallback; member in aidl::android::hardware::thermal::__anone92e998d0111::ThermalHidlWrapperTest
146 mThermalCallback, false, TemperatureType::SKIN, in TEST_P()
/hardware/interfaces/thermal/2.0/vts/functional/
DVtsHalThermalV2_0TargetTest.cpp74 mThermalCallback = new (std::nothrow) ThermalCallback(); in SetUp()
75 ASSERT_NE(mThermalCallback, nullptr); in SetUp()
77 mThermalCallback, false, TemperatureType::SKIN, in SetUp()
82 mThermalCallback, false, TemperatureType::SKIN, in SetUp()
89 mThermalCallback, in TearDown()
94 mThermalCallback, in TearDown()
101 sp<ThermalCallback> mThermalCallback; member in ThermalHidlTest
120 mThermalCallback, false, TemperatureType::SKIN, in TEST_P()
/hardware/interfaces/thermal/aidl/vts/
DVtsHalThermalTargetTest.cpp145 mThermalCallback = ndk::SharedRefBase::make<ThermalCallback>(); in SetUp()
146 ASSERT_NE(mThermalCallback, nullptr); in SetUp()
147 ::ndk::ScopedAStatus status = mThermal->registerThermalChangedCallback(mThermalCallback); in SetUp()
162 ::ndk::ScopedAStatus status = mThermal->unregisterThermalChangedCallback(mThermalCallback); in TearDown()
166 status = mThermal->unregisterThermalChangedCallback(mThermalCallback); in TearDown()
183 std::shared_ptr<ThermalCallback> mThermalCallback; member in aidl::android::hardware::thermal::__anonc56554370111::ThermalAidlTest
214 ::ndk::ScopedAStatus status = mThermal->registerThermalChangedCallback(mThermalCallback); in TEST_P()
238 mThermalCallback, TemperatureType::SKIN); in TEST_P()