Home
last modified time | relevance | path

Searched refs:ThermalService (Results 1 - 25 of 49) sorted by relevance

12

/base/powermgr/thermal_manager/services/native/src/
H A Dthermal_service.cpp42 sptr<ThermalService> ThermalService::instance_ = nullptr;
43 std::mutex ThermalService::singletonMutex_;
51 auto g_service = ThermalService::GetInstance();
55 std::atomic_bool ThermalService::isBootCompleted_ = false;
56 std::string ThermalService::scene_;
58 bool ThermalService::userAirplaneState_ = false;
59 bool ThermalService::isThermalAirplane_ = false;
61 ThermalService::ThermalService() function in OHOS::PowerMgr::ThermalService
[all...]
H A Dthermal_mgr_dumper.cpp50 auto tms = ThermalService::GetInstance(); in Dump()
68 std::string& result, sptr<ThermalService>& tms) in SwitchTempReport()
84 std::string& result, sptr<ThermalService>& tms) in EmulateTempReport()
109 std::string& result, sptr<ThermalService>& tms) in DumpPolicy()
137 auto tms = ThermalService::GetInstance(); in ShowThermalZoneInfo()
/base/powermgr/thermal_manager/services/native/include/
H A Dthermal_mgr_dumper.h35 sptr<ThermalService>& tms);
37 sptr<ThermalService>& tms);
39 sptr<ThermalService>& tms);
H A Dthermal_service.h56 class ThermalService final : public SystemAbility, public ThermalSrvStub {
57 DECLARE_SYSTEM_ABILITY(ThermalService);
58 DISALLOW_COPY_AND_MOVE(ThermalService);
61 ThermalService();
62 virtual ~ThermalService();
86 static sptr<ThermalService> GetInstance();
215 static sptr<ThermalService> instance_;
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_airplane.cpp69 auto tms = ThermalService::GetInstance(); in Execute()
104 if (!ThermalService::userAirplaneState_) { in AirplaneRequest()
106 ThermalService::isThermalAirplane_ = true; in AirplaneRequest()
113 if (!ThermalService::userAirplaneState_) { in AirplaneRequest()
115 ThermalService::isThermalAirplane_ = true; in AirplaneRequest()
H A Daction_charger.cpp65 auto tms = ThermalService::GetInstance(); in Execute()
100 auto tms = ThermalService::GetInstance(); in ChargerRequest()
H A Daction_volume.cpp69 auto tms = ThermalService::GetInstance(); in Execute()
101 auto tms = ThermalService::GetInstance(); in VolumeRequest()
/base/powermgr/thermal_manager/test/fuzztest/thermal_utils/
H A Dthermal_fuzzer_test.cpp33 auto g_service = ThermalService::GetInstance();
51 datas.WriteInterfaceToken(ThermalService::GetDescriptor()); in TestThermalServiceStub()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
H A Dthermal_policy.cpp40 auto tms = ThermalService::GetInstance(); in Init()
88 auto tms = ThermalService::GetInstance(); in RegisterObserver()
104 auto tms = ThermalService::GetInstance(); in WriteLevel()
168 auto tms = ThermalService::GetInstance(); in ActionDecision()
183 auto tms = ThermalService::GetInstance(); in FindSubscribeActionValue()
198 auto tms = ThermalService::GetInstance(); in StateMachineDecision()
217 auto tms = ThermalService::GetInstance(); in ActionExecution()
240 auto tms = ThermalService::GetInstance(); in PrintPolicyState()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
H A Dthermal_service_subscriber.cpp35 auto tms = ThermalService::GetInstance(); in Init()
55 auto tms = ThermalService::GetInstance(); in OnTemperatureChanged()
H A Dthermal_sensor_info.cpp57 auto tms = ThermalService::GetInstance(); in NotifyObserver()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
H A Dscreen_state_collection.cpp51 auto tms = ThermalService::GetInstance(); in GetState()
62 auto tms = ThermalService::GetInstance(); in RegisterEvent()
H A Dcharger_state_collection.cpp45 auto tms = ThermalService::GetInstance(); in Init()
63 auto tms = ThermalService::GetInstance(); in GetState()
73 auto tms = ThermalService::GetInstance(); in RegisterEvent()
H A Dextend_state_collection.cpp27 auto g_service = ThermalService::GetInstance();
H A Dscene_state_collection.cpp53 auto tms = ThermalService::GetInstance(); in DecideState()
/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_listener_test.cpp40 sptr<ThermalService> g_service = nullptr;
51 g_service = ThermalService::GetInstance(); in SetUpTestCase()
H A Dthermal_service_test.cpp41 sptr<ThermalService> g_service = nullptr;
54 g_service = ThermalService::GetInstance(); in SetUpTestCase()
H A Dthermal_mgr_dump_test.cpp38 sptr<ThermalService> g_service = nullptr;
49 g_service = ThermalService::GetInstance(); in SetUpTestCase()
/base/powermgr/thermal_manager/services/native/include/thermal_observer/
H A Dthermal_observer.h33 class ThermalService;
38 explicit ThermalObserver(const wptr<ThermalService>& tms);
101 const wptr<ThermalService> tms_;
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/action_soc/
H A Daction_cpu_big.cpp59 auto tms = ThermalService::GetInstance(); in Execute()
H A Daction_cpu_boost.cpp58 auto tms = ThermalService::GetInstance(); in Execute()
H A Daction_cpu_isolate.cpp57 auto tms = ThermalService::GetInstance(); in Execute()
H A Daction_cpu_lit.cpp57 auto tms = ThermalService::GetInstance(); in Execute()
H A Daction_cpu_med.cpp57 auto tms = ThermalService::GetInstance(); in Execute()
H A Daction_gpu.cpp57 auto tms = ThermalService::GetInstance(); in Execute()

Completed in 9 milliseconds

12