Home
last modified time | relevance | path

Searched refs:GetThermalLevel (Results 1 – 25 of 37) sorted by relevance

12

/base/powermgr/thermal_manager/frameworks/native/
Dthermal_mgr_listener.cpp22 bool ThermalMgrListener::ThermalLevelCallback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in OHOS::PowerMgr::ThermalMgrListener::ThermalLevelCallback
63 ThermalLevel ThermalMgrListener::GetThermalLevel() in GetThermalLevel() function in OHOS::PowerMgr::ThermalMgrListener
65 return ThermalMgrClient::GetInstance().GetThermalLevel(); in GetThermalLevel()
Dthermal_mgr_client.cpp170 thermalSrv_->GetThermalLevel(level); in GetLevel()
180 ThermalLevel ThermalMgrClient::GetThermalLevel() in GetThermalLevel() function in OHOS::PowerMgr::ThermalMgrClient
/base/powermgr/thermal_manager/test/systemtest/include/
Dthermal_mgr_interface_test.h71 virtual bool GetThermalLevel(ThermalLevel level) override;
78 virtual bool GetThermalLevel(ThermalLevel level) override;
85 virtual bool GetThermalLevel(ThermalLevel level) override;
/base/powermgr/thermal_manager/interfaces/innerkits/native/include/
Dthermal_mgr_listener.h41 virtual bool GetThermalLevel(ThermalLevel level) override;
49 ThermalLevel GetThermalLevel();
Dithermal_level_callback.h31 virtual bool GetThermalLevel(ThermalLevel level) = 0;
Dithermal_srv.h53 virtual bool GetThermalLevel(ThermalLevel& level) = 0;
/base/powermgr/thermal_manager/frameworks/napi/
Dthermal_manager_napi.h36 bool GetThermalLevel(ThermalLevel level) override;
55 static napi_value GetThermalLevel(napi_env env, napi_callback_info info);
Dthermal_manager_napi.cpp61 bool ThermalLevelCallback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in ThermalLevelCallback
133 DECLARE_NAPI_STATIC_FUNCTION("getThermalLevel", GetThermalLevel), in Init()
137 DECLARE_NAPI_STATIC_FUNCTION("getLevel", GetThermalLevel), in Init()
196 napi_value ThermalManagerNapi::GetThermalLevel(napi_env env, napi_callback_info info) in GetThermalLevel() function in ThermalManagerNapi
198 ThermalLevel level = g_thermalMgrClient.GetThermalLevel(); in GetThermalLevel()
/base/powermgr/thermal_manager/services/native/test/unittest/src/
Dthermal_mock_proxy_remote_test.cpp66 EXPECT_TRUE(thermalMgrClient.GetThermalLevel() == ThermalLevel::COOL);
99 EXPECT_FALSE(levalProxy->GetThermalLevel(level));
106 EXPECT_FALSE(srvProxy->GetThermalLevel(level));
Dthermal_listener_test.cpp105 ThermalLevel levelListener = thermalListener->GetThermalLevel();
106 ThermalLevel levelClient = ThermalMgrClient::GetInstance().GetThermalLevel();
Dthermal_mock_proxy_writeinterfacetoken_test.cpp65 EXPECT_FALSE(srvProxy->GetThermalLevel(level));
96 EXPECT_FALSE(levalProxy->GetThermalLevel(level));
Dthermal_action_report_test.cpp178 int32_t ThermalActionReportTest::GetThermalLevel(int32_t expectValue) in GetThermalLevel() function in ThermalActionReportTest
428 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
468 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
508 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
548 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
588 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
628 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
668 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
708 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
748 int32_t level = ThermalActionReportTest::GetThermalLevel(expectLevel);
[all …]
Dthermal_mock_proxy_writeremoteobject_test.cpp64 EXPECT_TRUE(thermalMgrClient.GetThermalLevel() == ThermalLevel::COOL);
112 EXPECT_FALSE(levalProxy->GetThermalLevel(leval));
/base/powermgr/thermal_manager/services/zidl/include/
Dthermal_level_callback_proxy.h30 virtual bool GetThermalLevel(ThermalLevel level) override;
Dthermal_level_callback_stub.h35 bool GetThermalLevel(ThermalLevel __attribute__((unused)) level) override in GetThermalLevel() function
Dthermal_srv_proxy.h51 virtual bool GetThermalLevel(ThermalLevel& level) override;
/base/powermgr/thermal_manager/services/zidl/src/
Dthermal_level_callback_proxy.cpp23 bool ThermalLevelCallbackProxy::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in OHOS::PowerMgr::ThermalLevelCallbackProxy
Dthermal_level_callback_stub.cpp63 GetThermalLevel(static_cast<ThermalLevel>(level)); in GetThermalLevelStub()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_thermal_level.cpp122 int32_t ActionThermalLevel::GetThermalLevel() in GetThermalLevel() function in OHOS::PowerMgr::ActionThermalLevel
154 listener->GetThermalLevel(static_cast<ThermalLevel>(level_)); in SubscribeThermalLevelCallback()
212 listener->GetThermalLevel(static_cast<ThermalLevel>(level_)); in NotifyThermalLevelChanged()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_action_manager.cpp93 uint32_t ThermalActionManager::GetThermalLevel() in GetThermalLevel() function in OHOS::PowerMgr::ThermalActionManager
96 return actionThermalLevel_->GetThermalLevel(); in GetThermalLevel()
/base/powermgr/thermal_manager/test/systemtest/src/
Dthermal_mgr_interface_test.cpp132 bool ThermalMgrInterfaceTest::ThermalLevelTest1Callback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in ThermalMgrInterfaceTest::ThermalLevelTest1Callback
142 bool ThermalMgrInterfaceTest::ThermalLevelTest2Callback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in ThermalMgrInterfaceTest::ThermalLevelTest2Callback
152 bool ThermalMgrInterfaceTest::ThermalLevelTest3Callback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in ThermalMgrInterfaceTest::ThermalLevelTest3Callback
393 ThermalLevel level = thermalMgrClient.GetThermalLevel();
419 ThermalLevel level = thermalMgrClient.GetThermalLevel();
445 ThermalLevel level = thermalMgrClient.GetThermalLevel();
479 ThermalLevel level = thermalMgrClient.GetThermalLevel();
520 ThermalLevel level = thermalMgrClient.GetThermalLevel();
546 ThermalLevel level = thermalMgrClient.GetThermalLevel();
580 ThermalLevel level = thermalMgrClient.GetThermalLevel();
[all …]
/base/powermgr/thermal_manager/test/fuzztest/thermal_fuzzer/
Dthermal_fuzzer_test.h71 virtual bool GetThermalLevel(ThermalLevel level) override;
Dthermal_fuzzer_test.cpp49 bool ThermalFuzzerTest::ThermalLevelTestCallback::GetThermalLevel(ThermalLevel level) in GetThermalLevel() function in ThermalFuzzerTest::ThermalLevelTestCallback
118 ThermalLevel level = g_thermalMgrClient.GetThermalLevel(); in TestGetLevel()
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_action_manager.h44 uint32_t GetThermalLevel();
/base/powermgr/thermal_manager/application/protector/include/policy/
Dprotector_thermal_zone_info.h39 uint32_t GetThermalLevel() in GetThermalLevel() function

12