Home
last modified time | relevance | path

Searched refs:POWER_HILOGE (Results 1 – 25 of 62) sorted by relevance

123

/base/powermgr/power_manager/test/unittest/src/servicetest/
Dpowermgr_service_test_proxy.cpp47 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in CreateRunningLock()
58 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in CreateRunningLock()
75 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in ReleaseRunningLock()
85 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in ReleaseRunningLock()
101 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in IsRunningLockTypeSupported()
111 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in IsRunningLockTypeSupported()
116 POWER_HILOGE(FEATURE_RUNNING_LOCK, "ReadBool fail"); in IsRunningLockTypeSupported()
131 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in Lock()
142 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in Lock()
157 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in UnLock()
[all …]
/base/powermgr/power_manager/services/zidl/src/
Dpower_mgr_proxy.cpp39 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in CreateRunningLock()
50 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in CreateRunningLock()
68 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in ReleaseRunningLock()
78 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in ReleaseRunningLock()
95 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in IsRunningLockTypeSupported()
104 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in IsRunningLockTypeSupported()
109 POWER_HILOGE(FEATURE_RUNNING_LOCK, "ReadBool fail"); in IsRunningLockTypeSupported()
125 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in Lock()
136 POWER_HILOGE(FEATURE_RUNNING_LOCK, "SendRequest is failed, ret: %{public}d", ret); in Lock()
152 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Write descriptor failed"); in UnLock()
[all …]
Dpower_state_callback_proxy.cpp37 POWER_HILOGE(FEATURE_POWER_STATE, "Write descriptor failed"); in OnPowerStateChanged()
47 POWER_HILOGE(FEATURE_POWER_STATE, "SendRequest is failed, ret: %{public}d", ret); in OnPowerStateChanged()
Dpower_mode_callback_proxy.cpp37 POWER_HILOGE(FEATURE_POWER_MODE, "Write descriptor failed"); in OnPowerModeChanged()
47 POWER_HILOGE(FEATURE_POWER_MODE, "SendRequest is failed, ret: %{public}d", ret); in OnPowerModeChanged()
/base/powermgr/power_manager/services/zidl/src/shutdown/
Dshutdown_proxy_delegator.cpp32 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in RegisterShutdownCallback()
43 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in RegisterShutdownCallback()
55 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in UnRegisterShutdownCallback()
65 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in UnRegisterShutdownCallback()
78 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in RegisterShutdownCallback()
89 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in RegisterShutdownCallback()
101 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in UnRegisterShutdownCallback()
111 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in UnRegisterShutdownCallback()
124 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in RegisterShutdownCallback()
135 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in RegisterShutdownCallback()
[all …]
Dasync_shutdown_callback_proxy.cpp36 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in OnAsyncShutdown()
44 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in OnAsyncShutdown()
Dsync_shutdown_callback_proxy.cpp36 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in OnSyncShutdown()
44 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in OnSyncShutdown()
Dtakeover_shutdown_callback_proxy.cpp36 POWER_HILOGE(FEATURE_SHUTDOWN, "Write descriptor failed"); in OnTakeOverShutdown()
46 POWER_HILOGE(FEATURE_SHUTDOWN, "SendRequest is failed, ret=%{public}d", ret); in OnTakeOverShutdown()
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h32 POWER_HILOGE(COMP_FWK, #loginfo); \
40 POWER_HILOGE(COMP_FWK, "read "#out" failed"); \
48 POWER_HILOGE(COMP_FWK, "write "#data" failed"); \
56 POWER_HILOGE(COMP_FWK, "read "#out" failed"); \
64 POWER_HILOGE(COMP_FWK, "write data failed"); \
Dpower_log.h33 #ifdef POWER_HILOGE
34 #undef POWER_HILOGE
118 #define POWER_HILOGE(domain, ...) (void)OHOS::HiviewDFX::HiLog::Error(POWER_LABEL[domain], FORMATED… macro
129 #define POWER_HILOGE(...) macro
/base/powermgr/powermgr_lite/frameworks/src/
Drunning_lock.c43 POWER_HILOGE("Failed to add lock to vector"); in AddRunningLock()
57 POWER_HILOGE("Non-existent running lock"); in RemoveRunningLock()
70 POWER_HILOGE("Invalid running lock"); in IsRunningLockExisted()
83 POWER_HILOGE("Failed allocate running lock entry"); in CreateRunningLockEntry()
108 POWER_HILOGE("Invalid running lock name"); in CreateRunningLock()
114 POWER_HILOGE("Failed create running lock entry"); in CreateRunningLock()
125 POWER_HILOGE("Non-existent running lock"); in AcquireRunningLock()
140 POWER_HILOGE("Non-existent running lock"); in ReleaseRunningLock()
155 POWER_HILOGE("Invalid running lock"); in DestroyRunningLock()
167 POWER_HILOGE("Non-existent running lock"); in IsRunningLockHolding()
/base/powermgr/powermgr_lite/utils/src/
Dpower_mgr_timer_util.c56 POWER_HILOGE("Failed to start timer"); in StartTimer()
66 POWER_HILOGE("Invalid timer info"); in TimerHandle()
78 POWER_HILOGE("Failed allocate timer info"); in PowerMgrCreateTimer()
94 POWER_HILOGE("Failed to create timer"); in PowerMgrCreateTimer()
106 POWER_HILOGE("Invalid timer"); in PowerMgrResetTimer()
119 POWER_HILOGE("Invalid timer"); in PowerMgrStartTimer()
132 POWER_HILOGE("Invalid timer"); in PowerMgrRestartTimer()
142 POWER_HILOGE("Invalid timer"); in PowerMgrStopTimer()
154 POWER_HILOGE("Invalid timer"); in PowerMgrDestroyTimer()
/base/powermgr/power_manager/frameworks/native/
Drunning_lock.cpp51 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to create the RunningLockTokenStub"); in Init()
63 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in Lock()
76 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in UnLock()
88 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in CheckUsedNoLock()
106 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in Create()
117 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in Release()
Dclient_lifecycle.cpp36 POWER_HILOGE(COMP_FWK, "Failed to connect PowerMgrService"); in GetProxy()
50 POWER_HILOGE(COMP_FWK, "Failed to obtain SystemAbilityMgr"); in Connect()
55 POWER_HILOGE(COMP_FWK, "Check SystemAbility failed"); in Connect()
61 POWER_HILOGE(COMP_FWK, "Failed to create LifeCycleRecipient"); in Connect()
65 POWER_HILOGE(COMP_FWK, "Add death recipient to PowerMgr service failed"); in Connect()
/base/powermgr/powermgr_lite/services/src/
Dscreen_saver_feature.c38 POWER_HILOGE("Invalid feature"); in OnScreenSaverFeatureInitialize()
75 POWER_HILOGE("Failed to get samgr"); in Init()
81 POWER_HILOGE("Failed to get screen saver feature"); in Init()
86 POWER_HILOGE("Failed to register screen saver feature"); in Init()
91 POWER_HILOGE("Failed to register screen saver feature api"); in Init()
Dpower_manage_feature.c36 POWER_HILOGE("Invalid feature"); in OnPowerManageFeatureInitialize()
104 POWER_HILOGE("Failed to get samgr"); in Init()
110 POWER_HILOGE("Failed to get power manage feature"); in Init()
115 POWER_HILOGE("Failed to register power manage feature"); in Init()
120 POWER_HILOGE("Failed to register power manage feature api"); in Init()
Drunning_lock_mgr.c39 POWER_HILOGE("Failed allocate running lock entry"); in DupRunningLockEntry()
43 POWER_HILOGE("Failed copy running lock entry"); in DupRunningLockEntry()
59 POWER_HILOGE("Failed duplicate running lock entry"); in AddRunningLockEntryLocked()
64 POWER_HILOGE("Failed to add entry to vector"); in AddRunningLockEntryLocked()
79 POWER_HILOGE("Non-existent running lock"); in RemoveRunningLockEntryLocked()
112 POWER_HILOGE("Invalid running lock entry"); in RunningLockMgrAcquireEntry()
126 POWER_HILOGE("Invalid running lock entry"); in RunningLockMgrReleaseEntry()
/base/powermgr/battery_lite/frameworks/native/include/
Dhilog_wrapper.h42 #ifdef POWER_HILOGE
43 #undef POWER_HILOGE
54 #define POWER_HILOGE(...) HILOG_ERROR(HILOG_MODULE_POWERMGR, __VA_ARGS__) macro
60 #define POWER_HILOGE(...) HILOG_ERROR(LOG_CORE, __FORMATED__(__VA_ARGS__))
/base/powermgr/powermgr_lite/frameworks/include/
Dhilog_wrapper.h46 #ifdef POWER_HILOGE
47 #undef POWER_HILOGE
58 #define POWER_HILOGE(...) HILOG_ERROR(HILOG_MODULE_POWERMGR, __VA_ARGS__) macro
64 #define POWER_HILOGE(...) HILOG_ERROR(LOG_CORE, __FORMATED__(__VA_ARGS__))
/base/powermgr/powermgr_lite/services/src/power/
Drunning_lock_hub.c25 POWER_HILOGE("Invalid running lock or suspend ops"); in RunningLockHubLock()
39 POWER_HILOGE("Invalid running lock or suspend ops"); in RunningLockHubUnlock()
50 POWER_HILOGE("Failed to init runninglock ops"); in RunningLockHubInit()
/base/powermgr/powermgr_lite/services/src/screensaver/small/
Dscreen_saver_handler.cpp46 POWER_HILOGE("Failed to get ams iUnknown"); in GetAmsInterface()
52 POWER_HILOGE("Failed to query ams interface"); in GetAmsInterface()
63 POWER_HILOGE("Failed to get ams interface"); in StartScreenSaverLocked()
93 POWER_HILOGE("Invalid timer data"); in PowerTimerCallback()
130 POWER_HILOGE("Failed to start timer"); in SetEnableLocked()
135 POWER_HILOGE("Failed to register input event listener"); in SetEnableLocked()
161 POWER_HILOGE("Failed to set state: %d", static_cast<int32_t>(enable)); in SetState()
Dscreen_saver_feature_impl.c44 POWER_HILOGE("Invalid parameter"); in SetStateInvoke()
57 POWER_HILOGE("Invalid parameter"); in FeatureInvoke()
67 POWER_HILOGE("Invalid function id: %d", funcId); in FeatureInvoke()
/base/powermgr/powermgr_lite/services/src/power/small/
Drunning_lock_handler.c34 POWER_HILOGE("Failed to open %{public}s, err: %{public}s", path, strerror(errno)); in OpenLockFile()
42 POWER_HILOGE("Invalid parameter"); in WriteLock()
48 POWER_HILOGE("Failed to write lock: %{public}s, error: %{public}s", name, strerror(errno)); in WriteLock()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp52 POWER_HILOGE(FEATURE_RUNNING_LOCK, "asyncInfo is nullptr"); in CreateRunningLock()
99 POWER_HILOGE(FEATURE_RUNNING_LOCK, "asyncInfo is nullptr"); in IsRunningLockTypeSupported()
144 POWER_HILOGE(FEATURE_RUNNING_LOCK, "napi_get_value_uint32 failed"); in Lock()
150 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Cannot unwrap for pointer"); in Lock()
154 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Entity runningLock is nullptr"); in Lock()
174 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Cannot unwrap for pointer"); in IsUsed()
178 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Entity runningLock is nullptr"); in IsUsed()
197 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Cannot unwrap for pointer"); in Unlock()
201 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Entity runningLock is nullptr"); in Unlock()
216 POWER_HILOGE(FEATURE_RUNNING_LOCK, "RunningLock is nullptr"); in CreateInstanceForRunningLock()
[all …]
/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Drunning_lock_hub.cpp31 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to write the lock state"); in Acquire()
45 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to write the unlock state"); in Release()
70 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Running lock fd initialization failed"); in InitFd()

123