/base/powermgr/thermal_manager/services/native/src/ |
D | thermal_service.cpp | 53 THERMAL_HILOGD(COMP_SVC, "Enter"); in OnStart() 55 THERMAL_HILOGE(COMP_SVC, "OnStart is ready, nothing to do"); in OnStart() 62 THERMAL_HILOGE(COMP_SVC, "OnStart call init fail"); in OnStart() 68 THERMAL_HILOGE(COMP_SVC, "OnStart register to system ability manager failed."); in OnStart() 72 THERMAL_HILOGD(COMP_SVC, "OnStart and add system ability success"); in OnStart() 77 …THERMAL_HILOGI(COMP_SVC, "systemAbilityId=%{public}d, deviceId=%{private}s", systemAbilityId, devi… in OnAddSystemAbility() 85 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 91 THERMAL_HILOGE(COMP_SVC, "Init failed due to create EventRunner"); in Init() 99 THERMAL_HILOGE(COMP_SVC, "Init failed due to create handler error"); in Init() 113 THERMAL_HILOGD(COMP_SVC, "Init success"); in Init() [all …]
|
/base/powermgr/battery_statistics/services/native/src/entities/ |
D | battery_stats_entity.cpp | 26 STATS_HILOGE(COMP_SVC, "No need to add app power to related user"); in AggregateUserPowerMah() 31 STATS_HILOGE(COMP_SVC, "No need to calculate"); in Calculate() 36 STATS_HILOGE(COMP_SVC, "No need to get traffic"); in GetTrafficByte() 42 STATS_HILOGE(COMP_SVC, "No need to consumption count"); in GetConsumptionCount() 58 STATS_HILOGE(COMP_SVC, "No need to get active time, return 0"); in GetActiveTimeMs() 64 STATS_HILOGE(COMP_SVC, "No need to get active time, return 0"); in GetActiveTimeMs() 70 STATS_HILOGE(COMP_SVC, "No need to dump"); in DumpInfo() 75 STATS_HILOGE(COMP_SVC, "No need to update uid"); in UpdateUidMap() 80 STATS_HILOGE(COMP_SVC, "No need to get uids"); in GetUids() 87 STATS_HILOGE(COMP_SVC, "No need to get cpu time, return 0"); in GetCpuTimeMs() [all …]
|
D | bluetooth_entity.cpp | 76 …STATS_HILOGD(COMP_SVC, "Calculate bluetooth Br time: %{public}" PRId64 "ms, Br power average: %{pu… in CalculateBtPower() 109 …STATS_HILOGD(COMP_SVC, "Calculate bluetooth Br scan time: %{public}" PRId64 "ms, " … in CalculateBtPowerForApp() 130 …STATS_HILOGD(COMP_SVC, "Update app bluetooth Br power consumption: %{public}lfmAh for uid: %{publi… in UpdateAppBluetoothBlePower() 135 …STATS_HILOGD(COMP_SVC, "Create app bluetooth Br power consumption: %{public}lfmAh for uid: %{publi… in UpdateAppBluetoothBlePower() 143 …STATS_HILOGD(COMP_SVC, "Update app bluetooth Ble power consumption: %{public}lfmAh for uid: %{publ… in UpdateAppBluetoothBlePower() 148 …STATS_HILOGD(COMP_SVC, "Create app bluetooth Ble power consumption: %{public}lfmAh for uid: %{publ… in UpdateAppBluetoothBlePower() 156 …STATS_HILOGD(COMP_SVC, "Update app bluetooth power consumption: %{public}lfmAh for uid: %{public}d… in UpdateAppBluetoothBlePower() 161 …STATS_HILOGD(COMP_SVC, "Create app bluetooth power consumption: %{public}lfmAh for uid: %{public}d… in UpdateAppBluetoothBlePower() 178 … STATS_HILOGD(COMP_SVC, "Get blueooth Br scan time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 182 …STATS_HILOGD(COMP_SVC, "No bluetooth Br scan timer related to uid: %{public}d was found, return 0"… in GetActiveTimeMs() [all …]
|
D | cpu_entity.cpp | 29 STATS_HILOGD(COMP_SVC, "Created cpu entity"); in CpuEntity() 42 STATS_HILOGD(COMP_SVC, "Get cpu time: %{public}sms for uid: %{public}d", in GetCpuTimeMs() 46 STATS_HILOGD(COMP_SVC, "No cpu time realted to uid: %{public}d was found, return 0", uid); in GetCpuTimeMs() 55 STATS_HILOGE(COMP_SVC, "Update CPU time failed"); in UpdateCpuTime() 58 STATS_HILOGW(COMP_SVC, "CPU reader is nullptr"); in UpdateCpuTime() 73 STATS_HILOGD(COMP_SVC, "Update cpu time: %{public}sms for uid: %{public}d", in Calculate() 77 STATS_HILOGD(COMP_SVC, "Create cpu time: %{public}sms for uid: %{public}d", in Calculate() 93 … STATS_HILOGD(COMP_SVC, "Update cpu speed power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 97 … STATS_HILOGD(COMP_SVC, "Create cpu speed power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 112 … STATS_HILOGD(COMP_SVC, "Update cpu active power consumption: %{public}lfmAh for uid: %{public}d", in CalculateCpuActivePower() [all …]
|
D | sensor_entity.cpp | 42 … STATS_HILOGD(COMP_SVC, "Get gravity on time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 46 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 53 … STATS_HILOGD(COMP_SVC, "Get proximity on time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 57 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 74 … STATS_HILOGD(COMP_SVC, "Update gravity on power consumption: %{public}lfmAh for uid: %{public}d", in CalculateGravity() 78 … STATS_HILOGD(COMP_SVC, "Create gravity on power consumption: %{public}lfmAh for uid: %{public}d", in CalculateGravity() 93 …STATS_HILOGD(COMP_SVC, "Update proximity on power consumption: %{public}lfmAh for uid: %{public}d", in CalculateProximity() 97 …STATS_HILOGD(COMP_SVC, "Create proximity on power consumption: %{public}lfmAh for uid: %{public}d", in CalculateProximity() 112 …STATS_HILOGD(COMP_SVC, "Update sensor total power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 116 …STATS_HILOGD(COMP_SVC, "Create sensor total power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() [all …]
|
D | flashlight_entity.cpp | 42 … STATS_HILOGD(COMP_SVC, "Get flashlight on time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 46 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 63 …STATS_HILOGD(COMP_SVC, "Update flashlight on power consumption: %{public}lfmAh for uid: %{public}d… in Calculate() 67 …STATS_HILOGD(COMP_SVC, "Create flashlight on power consumption: %{public}lfmAh for uid: %{public}d… in Calculate() 79 … STATS_HILOGD(COMP_SVC, "Get app flashlight power consumption: %{public}lfmAh for uid: %{public}d", in GetEntityPowerMah() 82 STATS_HILOGD(COMP_SVC, in GetEntityPowerMah() 95 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 98 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 113 STATS_HILOGD(COMP_SVC, "Get flashlight on timer for uid: %{public}d", uid); in GetOrCreateTimer() 117 STATS_HILOGD(COMP_SVC, "Create flashlight on timer for uid: %{public}d", uid); in GetOrCreateTimer() [all …]
|
D | wakelock_entity.cpp | 42 … STATS_HILOGD(COMP_SVC, "Get wakelock on time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 46 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 63 … STATS_HILOGD(COMP_SVC, "Update wakelock on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 67 … STATS_HILOGD(COMP_SVC, "Create wakelock on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 79 … STATS_HILOGD(COMP_SVC, "Get app wakelock power consumption: %{public}lfmAh for uid: %{public}d", in GetEntityPowerMah() 82 STATS_HILOGD(COMP_SVC, in GetEntityPowerMah() 95 … STATS_HILOGD(COMP_SVC, "Get wakelock on power consumption: %{public}lfmAh for uid: %{public}d", in GetStatsPowerMah() 98 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 113 STATS_HILOGD(COMP_SVC, "Get wakelock on timer for uid: %{public}d", uid); in GetOrCreateTimer() 117 STATS_HILOGD(COMP_SVC, "Create wakelock on timer for uid: %{public}d", uid); in GetOrCreateTimer() [all …]
|
D | gnss_entity.cpp | 42 …STATS_HILOGD(COMP_SVC, "Get gnss on time: %{public}" PRId64 "ms for uid: %{public}d", activeTimeMs, in GetActiveTimeMs() 46 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 62 … STATS_HILOGD(COMP_SVC, "Update gnss on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 66 … STATS_HILOGD(COMP_SVC, "Create gnss on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 78 STATS_HILOGD(COMP_SVC, "Get app gnss power consumption: %{public}lfmAh for uid: %{public}d", in GetEntityPowerMah() 81 STATS_HILOGD(COMP_SVC, in GetEntityPowerMah() 94 … STATS_HILOGD(COMP_SVC, "Get gnss on power consumption: %{public}lfmAh for uid: %{public}d", in GetStatsPowerMah() 97 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 112 STATS_HILOGD(COMP_SVC, "Get gnss on timer for uid: %{public}d", uid); in GetOrCreateTimer() 116 STATS_HILOGD(COMP_SVC, "Create gnss on timer for uid: %{public}d", uid); in GetOrCreateTimer() [all …]
|
D | audio_entity.cpp | 42 … STATS_HILOGD(COMP_SVC, "Get audio on time: %{public}" PRId64 "ms for uid: %{public}d", in GetActiveTimeMs() 46 STATS_HILOGD(COMP_SVC, "Didn't find related timer for uid: %{public}d, return 0", uid); in GetActiveTimeMs() 62 … STATS_HILOGD(COMP_SVC, "Update audio on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 66 … STATS_HILOGD(COMP_SVC, "Create audio on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 78 … STATS_HILOGD(COMP_SVC, "Get app audio power consumption: %{public}lfmAh for uid: %{public}d", in GetEntityPowerMah() 81 STATS_HILOGD(COMP_SVC, in GetEntityPowerMah() 94 … STATS_HILOGD(COMP_SVC, "Get audio on power consumption: %{public}lfmAh for uid: %{public}d", in GetStatsPowerMah() 97 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 112 STATS_HILOGD(COMP_SVC, "Get audio on timer for uid: %{public}d", uid); in GetOrCreateTimer() 116 STATS_HILOGD(COMP_SVC, "Create audio on timer for uid: %{public}d", uid); in GetOrCreateTimer() [all …]
|
D | alarm_entity.cpp | 42 … STATS_HILOGD(COMP_SVC, "Get alarm count: %{public}" PRId64 " for uid: %{public}d", count, uid); in GetConsumptionCount() 45 … STATS_HILOGD(COMP_SVC, "No alarm count related to uid: %{public}d was found, return 0", uid); in GetConsumptionCount() 61 … STATS_HILOGD(COMP_SVC, "Update alarm on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 65 … STATS_HILOGD(COMP_SVC, "Create alarm on power consumption: %{public}lfmAh for uid: %{public}d", in Calculate() 77 … STATS_HILOGD(COMP_SVC, "Get app alarm power consumption: %{public}lfmAh for uid: %{public}d", in GetEntityPowerMah() 80 STATS_HILOGD(COMP_SVC, in GetEntityPowerMah() 93 … STATS_HILOGD(COMP_SVC, "Get alarm on power consumption: %{public}lfmAh for uid: %{public}d", in GetStatsPowerMah() 96 STATS_HILOGD(COMP_SVC, in GetStatsPowerMah() 110 STATS_HILOGD(COMP_SVC, "Get alarm on counter for uid: %{public}d", uid); in GetOrCreateCounter() 114 STATS_HILOGD(COMP_SVC, "Create alarm on counter for uid: %{public}d", uid); in GetOrCreateCounter() [all …]
|
D | wifi_entity.cpp | 52 STATS_HILOGD(COMP_SVC, "Calculate wifi power consumption: %{public}lfmAh", wifiPowerMah_); in Calculate() 62 STATS_HILOGD(COMP_SVC, "Get wifi on time: %{public}" PRId64 "ms", time); in GetActiveTimeMs() 65 STATS_HILOGD(COMP_SVC, "Wifi has not been turned on yet, return 0"); in GetActiveTimeMs() 91 STATS_HILOGD(COMP_SVC, "Get wifi scan count: %{public}" PRId64 "", count); in GetConsumptionCount() 94 STATS_HILOGD(COMP_SVC, "Wifi scan has not been triggered yet, return 0"); in GetConsumptionCount() 109 STATS_HILOGD(COMP_SVC, "Get wifi on timer"); in GetOrCreateTimer() 113 STATS_HILOGD(COMP_SVC, "Create wifi on timer"); in GetOrCreateTimer() 119 STATS_HILOGW(COMP_SVC, "Create active timer failed"); in GetOrCreateTimer() 131 STATS_HILOGD(COMP_SVC, "Get wifi scan counter"); in GetOrCreateCounter() 135 STATS_HILOGD(COMP_SVC, "Create wifi scan counter"); in GetOrCreateCounter() [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
D | thermal_policy.cpp | 42 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 55 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterObserver() 101 THERMAL_HILOGD(COMP_SVC, "policySize = %{public}zu, clusterSize = %{public}zu", in PolicyDecision() 123 THERMAL_HILOGW(COMP_SVC, "failed to execute action"); in PolicyDecision() 133 THERMAL_HILOGD(COMP_SVC, "action.size=%{public}zu", vAction.size()); in ActionDecision() 135 THERMAL_HILOGD(COMP_SVC, "actionName: %{public}s", action->actionName.c_str()); in ActionDecision() 139 THERMAL_HILOGD(COMP_SVC, "action Iter Name = %{public}s", actionIter->first.c_str()); in ActionDecision() 141 THERMAL_HILOGE(COMP_SVC, "action instance is nullptr"); in ActionDecision() 145 THERMAL_HILOGD(COMP_SVC, "start state decision"); in ActionDecision() 150 THERMAL_HILOGW(COMP_SVC, "failed to decide state"); in ActionDecision() [all …]
|
/base/powermgr/battery_statistics/services/zidl/src/ |
D | battery_stats_stub.cpp | 34 STATS_HILOGD(COMP_SVC, "Remote request, cmd = %{public}d, flags = %{public}d", in OnRemoteRequest() 43 STATS_HILOGE(COMP_SVC, "Remote request failed, descriptor is not matched"); in OnRemoteRequest() 106 STATS_HILOGD(COMP_SVC, "Enter"); in GetBatteryStatsStub() 111 STATS_HILOGE(COMP_SVC, "Write size failed"); in GetBatteryStatsStub() 114 STATS_HILOGD(COMP_SVC, "Write size: %{public}u", size); in GetBatteryStatsStub() 126 STATS_HILOGD(COMP_SVC, "Enter"); in GetTotalTimeSecondStub() 132 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalTimeSecondStub() 140 STATS_HILOGD(COMP_SVC, "Enter"); in GetTotalDataBytesStub() 146 STATS_HILOGE(COMP_SVC, "Write ret failed"); in GetTotalDataBytesStub() 154 STATS_HILOGD(COMP_SVC, "Enter"); in GetAppStatsMahStub() [all …]
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
D | system_suspend_controller.cpp | 41 POWER_HILOGD(COMP_SVC, "power rigister Hdi status listener"); in RegisterHdiStatusListener() 45 POWER_HILOGW(COMP_SVC, "hdi service manager is nullptr"); in RegisterHdiStatusListener() 55 POWER_HILOGI(COMP_SVC, "power interface service start"); in RegisterHdiStatusListener() 58 POWER_HILOGW(COMP_SVC, "power interface service stop, unregister interface"); in RegisterHdiStatusListener() 66 POWER_HILOGW(COMP_SVC, "Register hdi failed"); in RegisterHdiStatusListener() 75 POWER_HILOGD(COMP_SVC, "register power hdi callback"); in RegisterPowerHdiCallback() 82 POWER_HILOGD(COMP_SVC, "register power hdi callback end"); in RegisterPowerHdiCallback() 87 POWER_HILOGD(COMP_SVC, "unregister power hdi callback"); in UnRegisterPowerHdiCallback() 94 POWER_HILOGD(COMP_SVC, "unregister power hdi callback end"); in UnRegisterPowerHdiCallback() 102 POWER_HILOGE(COMP_SVC, "The hdf interface is null"); in Suspend() [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
D | thermal_common_event_receiver.cpp | 39 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()
|
D | thermal_observer.cpp | 41 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 51 THERMAL_HILOGD(COMP_SVC, "Exit"); in Init() 57 THERMAL_HILOGD(COMP_SVC, "Enter"); in InitSensorTypeMap() 63 THERMAL_HILOGD(COMP_SVC, "sensorType size = %{public}zu", typeList.size()); in InitSensorTypeMap() 72 THERMAL_HILOGI(COMP_SVC, "sensorType = %{public}s", typeList[i].c_str()); in InitSensorTypeMap() 86 THERMAL_HILOGD(COMP_SVC, "Exit"); in InitSensorTypeMap() 97 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalTempCallback() 107 THERMAL_HILOGI(COMP_SVC, "listeners.size=%{public}d, insertOk=%{public}d", in SubscribeThermalTempCallback() 113 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalTempCallback() 126 THERMAL_HILOGI(COMP_SVC, "listeners.size=%{public}d, eraseNum=%{public}zu", in UnSubscribeThermalTempCallback() [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/action/ |
D | action_application_process.cpp | 50 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 73 THERMAL_HILOGD(COMP_SVC, "value=%{public}s", value.c_str()); in AddActionValue() 80 THERMAL_HILOGD(COMP_SVC, "Enter"); in Execute() 92 THERMAL_HILOGD(COMP_SVC, "value is not change"); in Execute() 129 THERMAL_HILOGE(COMP_SVC, "kill application:%{public}s successfully.", bundleName.c_str()); in KillApplicationAction() 131 THERMAL_HILOGE(COMP_SVC, "failed to kill application:%{public}s.", bundleName.c_str()); in KillApplicationAction() 138 THERMAL_HILOGD(COMP_SVC, "Enter"); in GetRunningProcessInfo() 142 THERMAL_HILOGI(COMP_SVC, "get running process info successfully."); in GetRunningProcessInfo() 144 THERMAL_HILOGE(COMP_SVC, "failed to get running process info."); in GetRunningProcessInfo() 151 THERMAL_HILOGD(COMP_SVC, "Enter"); in KillProcess() [all …]
|
D | action_thermal_level.cpp | 65 THERMAL_HILOGD(COMP_SVC, "value=%{public}s", value.c_str()); in AddActionValue() 69 THERMAL_HILOGD(COMP_SVC, "thermallevel=%{public}d", iter); in AddActionValue() 75 THERMAL_HILOGD(COMP_SVC, "valueList_.size=%{public}zu", valueList_.size()); in Execute() 113 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 118 THERMAL_HILOGD(COMP_SVC, "Exit"); in Init() 129 THERMAL_HILOGD(COMP_SVC, "level = %{public}d", level); in LevelRequest() 131 THERMAL_HILOGI(COMP_SVC, "level changed, notify"); in LevelRequest() 144 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalLevelCallback() 156 THERMAL_HILOGI(COMP_SVC, "listeners.size=%{public}d, insertOk=%{public}d", in SubscribeThermalLevelCallback() 162 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalLevelCallback() [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/state_machine/ |
D | screen_state_collection.cpp | 44 THERMAL_HILOGD(COMP_SVC, "Enter"); in InitParam() 51 THERMAL_HILOGD(COMP_SVC, "screen state = %{public}s", mockState_.c_str()); in GetState() 61 THERMAL_HILOGD(COMP_SVC, "Enter"); in RegisterEvent() 65 THERMAL_HILOGI(COMP_SVC, "register screen on event"); in RegisterEvent() 69 THERMAL_HILOGE(COMP_SVC, "fail to COMMON_EVENT_SCREEN_ON"); in RegisterEvent() 72 THERMAL_HILOGI(COMP_SVC, "register screen off event"); in RegisterEvent() 76 THERMAL_HILOGE(COMP_SVC, "fail to COMMON_EVENT_SCREEN_OFF"); in RegisterEvent() 84 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleScreenOnCompleted() 90 THERMAL_HILOGD(COMP_SVC, "Enter"); in HandleScreenOffCompleted()
|
/base/powermgr/battery_statistics/services/native/src/ |
D | battery_stats_parser.cpp | 34 STATS_HILOGE(COMP_SVC, "Failed to load vendor average power file"); in Init() 36 STATS_HILOGE(COMP_SVC, "Failed to load system average power file"); in Init() 47 … STATS_HILOGD(COMP_SVC, "Get speed num: %{public}d, for cluster: %{public}d", speedNum_[i], in GetSpeedNum() 52 STATS_HILOGW(COMP_SVC, "No related speed number, return 0"); in GetSpeedNum() 63 STATS_HILOGE(COMP_SVC, "Json file doesn't exist"); in LoadAveragePowerFromFile() 67 STATS_HILOGE(COMP_SVC, "Failed to parse the JSON file"); in LoadAveragePowerFromFile() 80 STATS_HILOGD(COMP_SVC, "Read cluster num: %{public}d", clusterNum_); in LoadAveragePowerFromFile() 84 … STATS_HILOGD(COMP_SVC, "Read speed num: %{public}d", static_cast<int32_t>(value.size())); in LoadAveragePowerFromFile() 92 … STATS_HILOGD(COMP_SVC, "Read list value: %{public}lf of %{public}s", value[i].asDouble(), in LoadAveragePowerFromFile() 99 STATS_HILOGD(COMP_SVC, "Read single value: %{public}lf of %{public}s", singleValue, in LoadAveragePowerFromFile() [all …]
|
/base/powermgr/thermal_manager/services/native/src/thermal_action/ |
D | thermal_action_manager.cpp | 31 THERMAL_HILOGD(COMP_SVC, "Enter"); in Init() 34 THERMAL_HILOGI(COMP_SVC, "ThermalActionManager name = %{public}s", item->name.c_str()); in Init() 39 THERMAL_HILOGW(COMP_SVC, "protocolList is empty"); in Init() 56 THERMAL_HILOGE(COMP_SVC, "failed to create level action"); in Init() 68 THERMAL_HILOGE(COMP_SVC, "failed to create action"); in InsertActionMap() 79 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalLevelCallback() 87 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalLevelCallback() 95 THERMAL_HILOGD(COMP_SVC, "Enter"); in GetThermalLevel() 101 THERMAL_HILOGD(COMP_SVC, "Enter"); in CreateActionMockFile() 111 THERMAL_HILOGD(COMP_SVC, "start create file"); in CreateActionMockFile() [all …]
|
/base/powermgr/thermal_manager/services/zidl/src/ |
D | thermal_srv_stub.cpp | 35 THERMAL_HILOGD(COMP_SVC, in OnRemoteRequest() 41 … THERMAL_HILOGE(COMP_SVC, "ThermalSrvStub::OnRemoteRequest failed, descriptor is not matched!"); in OnRemoteRequest() 97 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalTempCallbackStub() 104 THERMAL_HILOGI(COMP_SVC, "failed to read type list"); in SubscribeThermalTempCallbackStub() 113 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalTempCallbackStub() 124 THERMAL_HILOGD(COMP_SVC, "SubscribeThermalLevelCallbackStub Enter"); in SubscribeThermalLevelCallbackStub() 135 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalLevelCallbackStub() 146 THERMAL_HILOGD(COMP_SVC, "Enter"); in SubscribeThermalActionCallbackStub() 154 THERMAL_HILOGI(COMP_SVC, "failed to read action list"); in SubscribeThermalActionCallbackStub() 167 THERMAL_HILOGD(COMP_SVC, "Enter"); in UnSubscribeThermalActionCallbackStub() [all …]
|
/base/powermgr/battery_statistics/utils/native/include/ |
D | stats_helper.h | 35 STATS_HILOGD(COMP_SVC, "Active timer was already started"); in StartRunning() 40 STATS_HILOGD(COMP_SVC, "Active timer is started"); in StartRunning() 47 STATS_HILOGD(COMP_SVC, "No related active timer is running"); in StopRunning() 53 STATS_HILOGD(COMP_SVC, "Active timer is stopped"); in StopRunning() 71 STATS_HILOGD(COMP_SVC, "Add on active Time: %{public}" PRId64 "", avtiveTime); in AddRunningTimeMs() 73 STATS_HILOGW(COMP_SVC, "Invalid active time, ignore"); in AddRunningTimeMs() 99 …STATS_HILOGD(COMP_SVC, "Add data bytes: %{public}" PRId64 ", total data bytes is: %{public}" PRId6… in AddCount() 102 STATS_HILOGW(COMP_SVC, "Invalid data counts"); in AddCount()
|
/base/powermgr/thermal_manager/utils/native/src/ |
D | file_operation.cpp | 33 THERMAL_HILOGD(COMP_SVC, "Enter"); in CreateNodeDir() 37 THERMAL_HILOGI(COMP_SVC, "Create directory successfully."); in CreateNodeDir() 39 THERMAL_HILOGE(COMP_SVC, "Fail to create directory, flag: %{public}d", flag); in CreateNodeDir() 43 THERMAL_HILOGE(COMP_SVC, "This directory already exists."); in CreateNodeDir() 53 THERMAL_HILOGE(COMP_SVC, "open failed to file."); in CreateNodeFile() 58 THERMAL_HILOGI(COMP_SVC, "the file already exists."); in CreateNodeFile() 71 THERMAL_HILOGE(COMP_SVC, "ret=%{public}zu", ret); in WriteFile() 92 THERMAL_HILOGE(COMP_SVC, "open failed to file."); in ReadFile() 98 THERMAL_HILOGE(COMP_SVC, "failed to read file."); in ReadFile()
|
/base/powermgr/power_manager/services/native/src/ |
D | power_mgr_monitor.cpp | 54 POWER_HILOGI(COMP_SVC, "Add event: %{public}s", eh.first.c_str()); in InitEventHandles() 81 POWER_HILOGE(COMP_SVC, "Sleep for a while and retry to register subscriber"); in RegisterSubscriber() 85 POWER_HILOGE(COMP_SVC, "Failed to register subscriber"); in RegisterSubscriber() 89 POWER_HILOGI(COMP_SVC, "Succeed to register subscriber"); in RegisterSubscriber() 96 POWER_HILOGD(COMP_SVC, "Screen is %{public}s", isScreenOn ? "on" : "off"); in HandleScreenStateChanged() 102 POWER_HILOGD(COMP_SVC, "Start up completed"); in HandleStartUpCompleted() 110 POWER_HILOGI(COMP_SVC, "Ignore event: %{public}s", action.c_str()); in HandleEvent() 113 POWER_HILOGI(COMP_SVC, "Handle event: %{public}s", action.c_str()); in HandleEvent()
|