Home
last modified time | relevance | path

Searched refs:COMP_SVC (Results 1 – 25 of 40) sorted by relevance

12

/base/powermgr/thermal_manager/services/native/src/
Dthermal_service.cpp49 THERMAL_HILOGD(COMP_SVC, "Enter"); in OnStart()
51 THERMAL_HILOGE(COMP_SVC, "OnStart is ready, nothing to do"); in OnStart()
58 THERMAL_HILOGE(COMP_SVC, "OnStart call init fail"); in OnStart()
63 THERMAL_HILOGE(COMP_SVC, "OnStart register to system ability manager failed."); in OnStart()
67 THERMAL_HILOGD(COMP_SVC, "OnStart and add system ability success"); in OnStart()
72 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
78 THERMAL_HILOGE(COMP_SVC, "Init failed due to create EventRunner"); in Init()
86 THERMAL_HILOGE(COMP_SVC, "Init failed due to create handler error"); in Init()
98 THERMAL_HILOGE(COMP_SVC, "failed to get thermal hdf interface"); in Init()
104 THERMAL_HILOGE(COMP_SVC, "hdf status register fail"); in Init()
[all …]
Dthermalsrv_event_handler.cpp26 THERMAL_HILOGD(COMP_SVC, "ThermalsrvEventHandler::ThermalsrvEventHandler instance created."); in ThermalsrvEventHandler()
35 THERMAL_HILOGI(COMP_SVC, "eventid = %{public}d", event->GetInnerEventId()); in ProcessEvent()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/
Dscreen_state_collection.cpp45 THERMAL_HILOGD(COMP_SVC, "Enter"); in InitParam()
52 THERMAL_HILOGD(COMP_SVC, "screen state = %{public}s", mockState_.c_str()); in GetState()
62 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterEvent()
66 THERMAL_HILOGD(COMP_SVC, "register screen on event"); in RegisterEvent()
70 THERMAL_HILOGE(COMP_SVC, "fail to COMMON_EVENT_SCREEN_ON"); in RegisterEvent()
73 THERMAL_HILOGD(COMP_SVC, "register screen off event"); in RegisterEvent()
77 THERMAL_HILOGE(COMP_SVC, "fail to COMMON_EVENT_SCREEN_OFF"); in RegisterEvent()
85 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleScreenOnCompleted()
91 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleScreenOffCompleted()
97 THERMAL_HILOGD(COMP_SVC, "Enter"); in SetState()
[all …]
Dcharger_state_collection.cpp46 THERMAL_HILOGD(COMP_SVC, "Enter"); in InitParam()
53 THERMAL_HILOGD(COMP_SVC, "charger state = %{public}s", mockState_.c_str()); in GetState()
63 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterEvent()
67 THERMAL_HILOGI(COMP_SVC, "start register charger state change event"); in RegisterEvent()
72 THERMAL_HILOGE(COMP_SVC, "fail to COMMON_EVENT_BATTERY_CHANGED"); in RegisterEvent()
80 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleChangerStatusCompleted()
112 THERMAL_HILOGD(COMP_SVC, "Enter"); in SetState()
119 THERMAL_HILOGD(COMP_SVC, "read charge state"); in SetState()
125 THERMAL_HILOGI(COMP_SVC, "mockState_=%{public}s", mockState_.c_str()); in SetState()
130 THERMAL_HILOGD(COMP_SVC, "Enter"); in DecideState()
[all …]
Dstate_machine.cpp34 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
40 THERMAL_HILOGI(COMP_SVC, "StateMachine name = %{public}s", state->name.c_str()); in Init()
98 THERMAL_HILOGE(COMP_SVC, "failed to open file"); in ReadFileNode()
104 THERMAL_HILOGE(COMP_SVC, "failed to read file"); in ReadFileNode()
/base/powermgr/thermal_manager/services/native/src/thermal_policy/
Dthermal_policy.cpp40 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
53 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterObserver()
119 THERMAL_HILOGW(COMP_SVC, "failed to execute action"); in PolicyDecision()
126 THERMAL_HILOGD(COMP_SVC, "action.size=%{public}zu", vAction.size()); in ActionDecision()
132 THERMAL_HILOGD(COMP_SVC, "actoinIterName = %{public}s", actionIter->first.c_str()); in ActionDecision()
134 THERMAL_HILOGE(COMP_SVC, "action instance is nullptr"); in ActionDecision()
138 THERMAL_HILOGD(COMP_SVC, "start state decision"); in ActionDecision()
142 THERMAL_HILOGE(COMP_SVC, "failed to decide state"); in ActionDecision()
145 THERMAL_HILOGD(COMP_SVC, "add action value"); in ActionDecision()
149 THERMAL_HILOGE(COMP_SVC, "failed to find action"); in ActionDecision()
[all …]
Dthermal_srv_config_parser.cpp44 THERMAL_HILOGD(COMP_SVC, "Enter"); in ParseXMLFile()
49 THERMAL_HILOGE(COMP_SVC, "ParseXMLFile::Init failed, read file failed."); in ParseXMLFile()
55 THERMAL_HILOGE(COMP_SVC, "ParseXMLFile::Get root node failed."); in ParseXMLFile()
87 THERMAL_HILOGD(COMP_SVC, "tag: %{public}s, value:%{public}s", in ParseBaseNode()
115 … THERMAL_HILOGD(COMP_SVC, "The auxiliary sensor does not match the threshold range"); in ParseAuxSensorInfo()
125 THERMAL_HILOGD(COMP_SVC, "sensorType: %{public}s, tempRanges: %{public}s", in ParseAuxSensorInfo()
127 THERMAL_HILOGD(COMP_SVC, "lowerTemp: %{public}d, upperTemp: %{public}d", in ParseAuxSensorInfo()
155 THERMAL_HILOGD(COMP_SVC, "The sensor does not match the threshold range"); in ParseSensorInfo()
213 THERMAL_HILOGD(COMP_SVC, "si.name: %{public}s, si.params %{public}s", in ParseStateNode()
239 THERMAL_HILOGD(COMP_SVC, in ParseActionNode()
[all …]
Dthermal_config_base_info.cpp49 THERMAL_HILOGD(COMP_SVC, "type: %{public}s, count: %{public}d.", in Dump()
52 THERMAL_HILOGI(COMP_SVC, "sensorType = %{public}s", type.c_str()); in Dump()
Dthermal_config_sensor_cluster.cpp31 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
74 THERMAL_HILOGD(COMP_SVC, "all auxiliary sensor is satisfied"); in CalculateSensorLevel()
88 THERMAL_HILOGD(COMP_SVC, "all auxiliary sensor is satisfied"); in CalculateSensorLevel()
220 … THERMAL_HILOGD(COMP_SVC, "type:%{public}s temp:%{public}d", iter->first.c_str(), iter->second); in IsTempRateTrigger()
225 THERMAL_HILOGD(COMP_SVC, "configRate = %{public}f", configRate); in IsTempRateTrigger()
/base/powermgr/thermal_manager/services/native/src/thermal_observer/
Dthermal_common_event_receiver.cpp39 THERMAL_HILOGD(COMP_SVC, "eventName=%{public}s", eventName.c_str()); in Start()
46 THERMAL_HILOGD(COMP_SVC, "Add Event: %{public}s", eventName.c_str()); in InitEventHandles()
62 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterSubscriber()
68 THERMAL_HILOGI(COMP_SVC, "start subscribe"); in RegisterSubscriber()
73 THERMAL_HILOGE(COMP_SVC, "Sleep for a while and retry to register subscriber"); in RegisterSubscriber()
77 THERMAL_HILOGE(COMP_SVC, "Failed to register subscriber"); in RegisterSubscriber()
81 THERMAL_HILOGI(COMP_SVC, "Succeed to register subscriber"); in RegisterSubscriber()
87 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleEventChanged()
95 THERMAL_HILOGE(COMP_SVC, "Ignore event: %{public}s", action.c_str()); in HandleEvent()
98 THERMAL_HILOGI(COMP_SVC, "Handle Event: %{public}s", action.c_str()); in HandleEvent()
Dthermal_observer.cpp38 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
44 THERMAL_HILOGD(COMP_SVC, "Exit"); in Init()
50 THERMAL_HILOGD(COMP_SVC, "Enter"); in InitSensorTypeMap()
56 THERMAL_HILOGD(COMP_SVC, "sensorType size = %{public}zu", typeList.size()); in InitSensorTypeMap()
65 THERMAL_HILOGD(COMP_SVC, "sensorType = %{public}s", typeList[i].c_str()); in InitSensorTypeMap()
79 THERMAL_HILOGD(COMP_SVC, "Exit"); in InitSensorTypeMap()
90 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalTempCallback()
100 THERMAL_HILOGD(COMP_SVC, in SubscribeThermalTempCallback()
108 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalTempCallback()
121 THERMAL_HILOGD(COMP_SVC, in UnSubscribeThermalTempCallback()
[all …]
/base/powermgr/thermal_manager/services/zidl/src/
Dthermal_srv_stub.cpp34 THERMAL_HILOGD(COMP_SVC, in OnRemoteRequest()
40 … THERMAL_HILOGE(COMP_SVC, "ThermalSrvStub::OnRemoteRequest failed, descriptor is not matched!"); in OnRemoteRequest()
84 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalTempCallbackStub()
91 THERMAL_HILOGI(COMP_SVC, "failed to read type list"); in SubscribeThermalTempCallbackStub()
100 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalTempCallbackStub()
111 THERMAL_HILOGD(COMP_SVC, "SubscribeThermalLevelCallbackStub Enter"); in SubscribeThermalLevelCallbackStub()
122 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalLevelCallbackStub()
135 THERMAL_HILOGD(COMP_SVC, "Enter"); in GetThermalSrvSensorInfoStub()
138 THERMAL_HILOGI(COMP_SVC, "type is %{public}d", type); in GetThermalSrvSensorInfoStub()
142 THERMAL_HILOGE(COMP_SVC, "write failed"); in GetThermalSrvSensorInfoStub()
[all …]
Dthermal_temp_callback_proxy.cpp25 THERMAL_HILOGD(COMP_SVC, "Enter"); in OnThermalTempChanged()
40 THERMAL_HILOGD(COMP_SVC, "proxy type=%{public}s", iter.first.c_str()); in OnThermalTempChanged()
41 THERMAL_HILOGD(COMP_SVC, "proxy temp=%{public}d", iter.second); in OnThermalTempChanged()
Dthermal_level_callback_stub.cpp26 THERMAL_HILOGD(COMP_SVC, in OnRemoteRequest()
32 THERMAL_HILOGE(COMP_SVC, in OnRemoteRequest()
Dthermal_temp_callback_stub.cpp28 THERMAL_HILOGD(COMP_SVC, in OnRemoteRequest()
34 THERMAL_HILOGE(COMP_SVC, "ThermalTempCallbackStub::OnRemoteRequest failed, \ in OnRemoteRequest()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_action_manager.cpp30 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init()
33 THERMAL_HILOGI(COMP_SVC, "ThermalActionManager name = %{public}s", item->name.c_str()); in Init()
43 THERMAL_HILOGE(COMP_SVC, "failed to create level action"); in Init()
52 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalLevelCallback()
60 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalLevelCallback()
68 THERMAL_HILOGD(COMP_SVC, "Enter"); in GetThermalLevel()
74 THERMAL_HILOGD(COMP_SVC, "Enter"); in CreateActionMockFile()
85 THERMAL_HILOGD(COMP_SVC, "start create file"); in CreateActionMockFile()
94 THERMAL_HILOGD(COMP_SVC, "start create file"); in CreateActionMockFile()
Dthermal_timer.cpp33 THERMAL_HILOGD(COMP_SVC, "Enter"); in OnTrigger()
35 THERMAL_HILOGI(COMP_SVC, "call back"); in OnTrigger()
38 THERMAL_HILOGD(COMP_SVC, "Exit"); in OnTrigger()
71 THERMAL_HILOGE(COMP_SVC, "failed to create timer id"); in CreateTimer()
83 THERMAL_HILOGE(COMP_SVC, "failed to start timer"); in StartTimer()
93 THERMAL_HILOGE(COMP_SVC, "failed to stop timer"); in StopTimer()
103 THERMAL_HILOGE(COMP_SVC, "failed to destroy timer"); in DestroyTimer()
Dthermal_action_factory.cpp34 THERMAL_HILOGD(COMP_SVC, "Enter"); in Create()
54 THERMAL_HILOGD(COMP_SVC, "Exit"); in Create()
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp36 THERMAL_HILOGD(COMP_SVC, "Enter"); in CreateNodeDir()
40 THERMAL_HILOGI(COMP_SVC, "Create directory successfully."); in CreateNodeDir()
42 THERMAL_HILOGE(COMP_SVC, "Fail to create directory, flag: %{public}d", flag); in CreateNodeDir()
46 THERMAL_HILOGE(COMP_SVC, "This directory already exists."); in CreateNodeDir()
57 THERMAL_HILOGE(COMP_SVC, "open failed to file."); in CreateNodeFile()
61 THERMAL_HILOGI(COMP_SVC, "the file already exists."); in CreateNodeFile()
74 THERMAL_HILOGE(COMP_SVC, "ret=%{public}zu", ret); in WriteFile()
95 THERMAL_HILOGE(COMP_SVC, "open failed to file."); in ReadFile()
101 THERMAL_HILOGE(COMP_SVC, "failed to read file."); in ReadFile()
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
Daction_application_process.cpp95 THERMAL_HILOGE(COMP_SVC, "kill application:%{public}s successfully.", bundleName.c_str()); in KillApplicationAction()
97 THERMAL_HILOGE(COMP_SVC, "failed to kill application:%{public}s.", bundleName.c_str()); in KillApplicationAction()
107 THERMAL_HILOGD(COMP_SVC, "get running process info successfully."); in GetRunningProcessInfo()
109 THERMAL_HILOGE(COMP_SVC, "failed to get running process info."); in GetRunningProcessInfo()
118 THERMAL_HILOGD(COMP_SVC, "KillProcess: kill pid %{public}d", pid); in KillProcess()
121 THERMAL_HILOGD(COMP_SVC, "KillProcess: success kill"); in KillProcess()
123 THERMAL_HILOGE(COMP_SVC, "KillProcess: failed to kill"); in KillProcess()
161 THERMAL_HILOGE(COMP_SVC, "failed to kill bg process"); in KillBgAppProcess()
170 THERMAL_HILOGE(COMP_SVC, "failed to kill fg process"); in KillFgAppProcess()
179 THERMAL_HILOGE(COMP_SVC, "failed to kill all process"); in KillAllAppProcess()
[all …]
Daction_popup.cpp78 THERMAL_HILOGE(COMP_SVC, "failed to popup"); in HandlePopupEvent()
85 THERMAL_HILOGE(COMP_SVC, "failed to popup"); in HandlePopupEvent()
118 THERMAL_HILOGD(COMP_SVC, "Dialog callback: %{public}s, %{public}s", in ShowDialog()
133 THERMAL_HILOGE(COMP_SVC, "dialog GetDefaultDisplay fail, try again."); in GetDisplayPosition()
138 THERMAL_HILOGD(COMP_SVC, "display size: %{public}d x %{public}d", in GetDisplayPosition()
141 THERMAL_HILOGD(COMP_SVC, "share dialog narrow."); in GetDisplayPosition()
149 THERMAL_HILOGD(COMP_SVC, "share dialog wide."); in GetDisplayPosition()
160 THERMAL_HILOGD(COMP_SVC, "dialog get display fail, use default wide."); in GetDisplayPosition()
167 THERMAL_HILOGD(COMP_SVC, "GetDisplayPosition: %{public}d, %{public}d (%{public}d x %{public}d)", in GetDisplayPosition()
Daction_thermal_level.cpp94 THERMAL_HILOGD(COMP_SVC, "level changed, notify"); in LevelRequest()
118 THERMAL_HILOGD(COMP_SVC, in SubscribeThermalLevelCallback()
134 THERMAL_HILOGD(COMP_SVC, in UnSubscribeThermalLevelCallback()
145 THERMAL_HILOGD(COMP_SVC, "remote = %{public}p", remote.promote().GetRefPtr()); in OnRemoteDied()
195 THERMAL_HILOGE(COMP_SVC, in PublishEvent()
207 THERMAL_HILOGE(COMP_SVC, "publish level event"); in PushlishLevelChangedEvents()
Daction_shutdown.cpp80 THERMAL_HILOGD(COMP_SVC, "device start shutdown"); in ShutdownRequest()
113 THERMAL_HILOGD(COMP_SVC, "shutdown run"); in DelayShutdown()
127 THERMAL_HILOGE(COMP_SVC, "HandleShutdownActionHUb: success to cancell"); in DelayShutdown()
/base/powermgr/battery_manager/services/native/src/
Dbattery_service.cpp75 BATTERY_HILOGD(COMP_SVC, "OnDump"); in OnDump()
81 BATTERY_HILOGD(COMP_SVC, "Service is ready, nothing to do"); in OnStart()
85 BATTERY_HILOGE(COMP_SVC, "Call init failed"); in OnStart()
89 BATTERY_HILOGE(COMP_SVC, "Call initBatteryd failed"); in OnStart()
93 BATTERY_HILOGE(COMP_SVC, "Register to system ability manager failed"); in OnStart()
104 BATTERY_HILOGE(COMP_SVC, "Init failed due to create EventRunner"); in Init()
112 BATTERY_HILOGE(COMP_SVC, "Init failed due to create handler error"); in Init()
125 BATTERY_HILOGE(COMP_SVC, "ibatteryInterface is nullptr"); in InitBatteryd()
134 BATTERY_HILOGD(COMP_SVC, "InitBatteryd ret: %{public}d", ret); in InitBatteryd()
142 BATTERY_HILOGE(COMP_SVC, "instantiate batteryconfig error."); in InitConfig()
[all …]
Dbattery_service_event_handler.cpp26 BATTERY_HILOGD(COMP_SVC, "Instance created"); in BatteryServiceEventHandler()

12