/ohos5.0/base/powermgr/thermal_manager/services/native/src/ |
H A D | thermal_service.cpp | 40 sptr<ThermalService> ThermalService::instance_ = nullptr; 55 std::string ThermalService::scene_; 56 ThermalService::ThermalService() : SystemAbility(POWER_MANAGER_THERMAL_SERVICE_ID, true) {} in ThermalService() function in OHOS::PowerMgr::ThermalService 58 ThermalService::~ThermalService() {} in ~ThermalService() 60 sptr<ThermalService> ThermalService::GetInstance() in GetInstance() 71 void ThermalService::OnStart() in OnStart() 110 bool ThermalService::Init() in Init() 169 bool ThermalService::InitConfigFile() in InitConfigFile() 217 bool ThermalService::InitModules() in InitModules() 270 bool ThermalService::InitBaseInfo() in InitBaseInfo() [all …]
|
H A D | thermal_mgr_dumper.cpp | 50 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()
|
/ohos5.0/base/powermgr/thermal_manager/services/native/include/ |
H A D | thermal_service.h | 50 class ThermalService final : public SystemAbility, public ThermalSrvStub { 51 DECLARE_SYSTEM_ABILITY(ThermalService); 52 DISALLOW_COPY_AND_MOVE(ThermalService); 55 ThermalService(); 56 virtual ~ThermalService(); 80 static sptr<ThermalService> GetInstance(); 202 static sptr<ThermalService> instance_;
|
H A D | thermal_mgr_dumper.h | 35 sptr<ThermalService>& tms); 37 sptr<ThermalService>& tms); 39 sptr<ThermalService>& tms);
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
H A D | thermal_policy.cpp | 40 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()
|
H A D | thermal_srv_config_parser.cpp | 176 auto tms = ThermalService::GetInstance(); in ParseBaseNode() 232 auto tms = ThermalService::GetInstance(); in ParseLevelNode() 496 auto tms = ThermalService::GetInstance(); in ParseStateNode() 525 auto tms = ThermalService::GetInstance(); in ParseActionNode() 607 auto tms = ThermalService::GetInstance(); in ParsePolicyNode() 691 auto tms = ThermalService::GetInstance(); in ParseIdleNode() 721 auto tms = ThermalService::GetInstance(); in ParseFanNode()
|
/ohos5.0/base/powermgr/thermal_manager/test/fuzztest/thermal_utils/ |
H A D | thermal_fuzzer_test.cpp | 35 service_ = ThermalService::GetInstance(); in ThermalFuzzerTest() 50 datas.WriteInterfaceToken(ThermalService::GetDescriptor()); in TestThermalServiceStub()
|
H A D | thermal_fuzzer_test.h | 32 OHOS::sptr<OHOS::PowerMgr::ThermalService> service_ {nullptr};
|
/ohos5.0/docs/zh-cn/device-dev/subsystems/ |
H A D | subsys-thermal_control.md | 148 ----------------------------------ThermalService--------------------------------- 179 ----------------------------------ThermalService---------------------------------- 193 ----------------------------------ThermalService---------------------------------- 201 ----------------------------------ThermalService---------------------------------- 216 ----------------------------------ThermalService----------------------------------
|
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_observer/ |
H A D | thermal_observer.h | 33 class ThermalService; variable 38 explicit ThermalObserver(const wptr<ThermalService>& tms); 101 const wptr<ThermalService> tms_;
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
H A D | screen_state_collection.cpp | 51 auto tms = ThermalService::GetInstance(); in GetState() 62 auto tms = ThermalService::GetInstance(); in RegisterEvent()
|
H A D | charger_state_collection.cpp | 45 auto tms = ThermalService::GetInstance(); in Init() 63 auto tms = ThermalService::GetInstance(); in GetState() 73 auto tms = ThermalService::GetInstance(); in RegisterEvent()
|
H A D | scene_state_collection.cpp | 53 auto tms = ThermalService::GetInstance(); in DecideState()
|
H A D | extend_state_collection.cpp | 27 auto g_service = ThermalService::GetInstance();
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
H A D | thermal_service_subscriber.cpp | 35 auto tms = ThermalService::GetInstance(); in Init() 55 auto tms = ThermalService::GetInstance(); in OnTemperatureChanged()
|
H A D | thermal_observer.cpp | 32 ThermalObserver::ThermalObserver(const wptr<ThermalService>& tms) : tms_(tms) {}; in ThermalObserver() 52 auto tms = ThermalService::GetInstance(); in InitSensorTypeMap() 313 auto pms = ThermalService::GetInstance(); in OnRemoteDied() 328 auto pms = ThermalService::GetInstance(); in OnRemoteDied()
|
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_listener_test.cpp | 40 sptr<ThermalService> g_service = nullptr; 51 g_service = ThermalService::GetInstance(); in SetUpTestCase()
|
H A D | thermal_service_test.cpp | 41 sptr<ThermalService> g_service = nullptr; 54 g_service = ThermalService::GetInstance(); in SetUpTestCase()
|
H A D | thermal_mgr_dump_test.cpp | 38 sptr<ThermalService> g_service = nullptr; 49 g_service = ThermalService::GetInstance(); in SetUpTestCase()
|
H A D | thermal_policy_test.cpp | 42 sptr<ThermalService> g_service = nullptr; 53 g_service = ThermalService::GetInstance(); in SetUpTestCase()
|
H A D | thermal_mock_action_test.cpp | 49 static sptr<ThermalService> g_service = nullptr; 145 g_service = ThermalService::GetInstance(); in SetUpTestCase() 156 ThermalService::DestroyInstance(); in TearDownTestCase()
|
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
H A D | action_charger.cpp | 65 auto tms = ThermalService::GetInstance(); in Execute() 100 auto tms = ThermalService::GetInstance(); in ChargerRequest()
|
H A D | action_volume.cpp | 69 auto tms = ThermalService::GetInstance(); in Execute() 101 auto tms = ThermalService::GetInstance(); in VolumeRequest()
|
H A D | action_thermal_level.cpp | 73 auto tms = ThermalService::GetInstance(); in Execute() 149 auto tms = ThermalService::GetInstance(); in OnRemoteDied()
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-basic-services-kit/ |
H A D | errorcode-thermal.md | 33 2. 查看系统服务列表中是否包含ThermalService系统服务。
|