Home
last modified time | relevance | path

Searched refs:POWER_HILOGI (Results 1 – 25 of 47) sorted by relevance

12

/base/powermgr/power_manager/services/native/src/suspend/
Dsuspend_controller.cpp62 POWER_HILOGI(FEATURE_SUSPEND, "OnPowerStateChanged: No controller"); in OnPowerStateChanged()
66 POWER_HILOGI(FEATURE_SUSPEND, "Turn awake, stop sleep timer"); in OnPowerStateChanged()
85POWER_HILOGI(FEATURE_SUSPEND, "registered type=%{public}u action=%{public}u delayMs=%{public}u", in Init()
89 POWER_HILOGI(FEATURE_SUSPEND, "register type=%{public}u", (*source).GetReason()); in Init()
112 POWER_HILOGI(COMP_SVC, "get monitor fail"); in ExecSuspendMonitorByReason()
128 POWER_HILOGI(COMP_SVC, "start setting string update"); in RegisterSettingsObserver()
136 POWER_HILOGI(COMP_SVC, "start updateListener"); in RegisterSettingsObserver()
150 POWER_HILOGI(FEATURE_POWER_STATE, "register setting observer fin"); in RegisterSettingsObserver()
205POWER_HILOGI(FEATURE_SUSPEND, "Suspend record key down action isScreenOn=%{public}d", isScreenOn); in RecordPowerKeyDown()
235 POWER_HILOGI(FEATURE_SUSPEND, in ControlListener()
[all …]
Dsuspend_source_parser.cpp41 POWER_HILOGI(FEATURE_SUSPEND, "ParseSources setting=%{public}d", isSettingUpdated); in ParseSources()
51 POWER_HILOGI(FEATURE_SUSPEND, "use targetPath=%{public}s", targetPath.c_str()); in ParseSources()
70 POWER_HILOGI(FEATURE_SUSPEND, "use policy path=%{public}s", path); in GetTargetPath()
104 POWER_HILOGI(FEATURE_SUSPEND, "key=%{public}s", key.c_str()); in ParseSources()
107 POWER_HILOGI(FEATURE_SUSPEND, "lost map config key"); in ParseSources()
118 POWER_HILOGI(FEATURE_SUSPEND, "key map type=%{public}u", suspendDeviceType); in ParseSourcesProc()
130 POWER_HILOGI(FEATURE_SUSPEND, "action=%{public}u", action); in ParseSourcesProc()
132 POWER_HILOGI(FEATURE_SUSPEND, "delayMs=%{public}u", delayMs); in ParseSourcesProc()
/base/powermgr/power_manager/test/unittest/src/
Dpower_mgr_client_native_test.cpp40 POWER_HILOGI(LABEL_TEST, "PowerStateTestCallback::OnPowerStateChanged state = %u.", in OnPowerStateChanged()
53 POWER_HILOGI(LABEL_TEST, "PowerMgrClient001::fun is start!");
73 POWER_HILOGI(LABEL_TEST, "PowerMgrClient001::fun is end!");
84 POWER_HILOGI(LABEL_TEST, "RunningLockNative002::fun is start!");
90 POWER_HILOGI(LABEL_TEST, "RunningLockNative002::fun is end!");
Dnative_power_state_machine_test.cpp31POWER_HILOGI(LABEL_TEST, "PowerStateTest1Callback::OnPowerStateChanged state = %u.", static_cast<u… in OnPowerStateChanged()
36POWER_HILOGI(LABEL_TEST, "PowerStateTest1Callback::OnPowerStateChanged state = %u.", static_cast<u… in OnPowerStateChanged()
52 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine001::fun is start!");
79 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine001::fun is end!");
90 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine002::fun is start!");
109 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine002::fun is end!");
120 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine003::fun is start!");
153 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine003::fun is end!");
164 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine005::fun is start!");
207 POWER_HILOGI(LABEL_TEST, "NativePowerStateMachine005::fun is end!");
[all …]
Drunning_lock_native_test.cpp83 POWER_HILOGI(LABEL_TEST, "RunningLockNative001 end");
133 POWER_HILOGI(LABEL_TEST, "RunningLockNative002 end");
166 POWER_HILOGI(LABEL_TEST, "RunningLockNative003 end");
206 POWER_HILOGI(LABEL_TEST, "RunningLockNative004 end");
240 POWER_HILOGI(LABEL_TEST, "RunningLockNative005 end");
286 POWER_HILOGI(LABEL_TEST, "RunningLockNative006 end");
303 POWER_HILOGI(LABEL_TEST, "RunningLockNative007 end");
347 POWER_HILOGI(LABEL_TEST, "RunningLockNative008 end");
364 POWER_HILOGI(LABEL_TEST, "RunningLockNative009 end");
382 POWER_HILOGI(LABEL_TEST, "RunningLockNative010 end");
[all …]
Dpower_mode_module_native_test.cpp41 POWER_HILOGI(LABEL_TEST, "PowerModeTestCallback::OnPowerModeChanged."); in OnPowerModeChanged()
86 POWER_HILOGI(LABEL_TEST, "PowerModeModuleNativeTest001 end.");
108 POWER_HILOGI(LABEL_TEST, "PowerModePolicyNativeTest003 end.");
Dpower_state_machine_test.cpp64 POWER_HILOGI(LABEL_TEST, "PowerStateMachine003::fun is start!");
81 POWER_HILOGI(LABEL_TEST, "PowerStateMachine003::fun is end!");
92 POWER_HILOGI(LABEL_TEST, "PowerStateMachine004::fun is start!");
109 POWER_HILOGI(LABEL_TEST, "PowerStateMachine004::fun is end!");
Dpower_mgr_service_native_test.cpp74POWER_HILOGI(LABEL_TEST, "PowerStateTestCallback::OnPowerStateChanged state = %u.", static_cast<ui… in OnPowerStateChanged()
101 POWER_HILOGI(LABEL_TEST, "PowerMgrServiceNative001 end.");
127 POWER_HILOGI(LABEL_TEST, "PowerMgrServiceNative002 end.");
/base/powermgr/powermgr_lite/frameworks/include/
Dhilog_wrapper.h38 #ifdef POWER_HILOGI
39 #undef POWER_HILOGI
56 #define POWER_HILOGI(...) HILOG_INFO(HILOG_MODULE_POWERMGR, __VA_ARGS__) macro
62 #define POWER_HILOGI(...) HILOG_INFO(LOG_CORE, __FORMATED__(__VA_ARGS__))
/base/powermgr/battery_lite/frameworks/native/include/
Dhilog_wrapper.h34 #ifdef POWER_HILOGI
35 #undef POWER_HILOGI
52 #define POWER_HILOGI(...) HILOG_INFO(HILOG_MODULE_POWERMGR, __VA_ARGS__) macro
58 #define POWER_HILOGI(...) HILOG_INFO(LOG_CORE, __FORMATED__(__VA_ARGS__))
/base/powermgr/power_manager/services/native/src/
Dpower_mgr_service.cpp85 POWER_HILOGI(COMP_SVC, "Add system ability success"); in OnStart()
90 POWER_HILOGI(COMP_SVC, "Init start"); in Init()
106 POWER_HILOGI(COMP_SVC, "Init success"); in Init()
113 POWER_HILOGI(COMP_SVC, "BootCompletedCallback triggered"); in RegisterBootCompletedCallback()
116 POWER_HILOGI(COMP_SVC, "get PowerMgrService fail"); in RegisterBootCompletedCallback()
155 POWER_HILOGI(FEATURE_INPUT, "Unsubscribe key information"); in KeyMonitorCancel()
158 POWER_HILOGI(FEATURE_INPUT, "InputManager is null"); in KeyMonitorCancel()
229 POWER_HILOGI(FEATURE_SUSPEND, "Lid close event received, begin to suspend"); in HallSensorCallback()
233 POWER_HILOGI(FEATURE_WAKEUP, "Lid open event received, begin to wakeup"); in HallSensorCallback()
265 POWER_HILOGI(FEATURE_WAKEUP, "switch event received"); in SwitchSubscriberInit()
[all …]
Dpower_mgr_notify.cpp54 POWER_HILOGI(FEATURE_SUSPEND, "Start to publish event %{public}s at %{public}lld", in PublishScreenOffEvents()
57POWER_HILOGI(FEATURE_SUSPEND, "Publish event %{public}s done", screenOffWant_->GetAction().c_str()… in PublishScreenOffEvents()
62 POWER_HILOGI(FEATURE_WAKEUP, "Start to publish event %{public}s at %{public}lld", in PublishScreenOnEvents()
65POWER_HILOGI(FEATURE_WAKEUP, "Publish event %{public}s done", screenOnWant_->GetAction().c_str()); in PublishScreenOnEvents()
Dpower_state_machine.cpp99 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_AWAKE lambda start"); in EmplaceAwake()
116 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_FREEZE lambda start"); in EmplaceFreeze()
126 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_INACTIVE lambda start"); in EmplaceInactive()
130 POWER_HILOGI(FEATURE_POWER_STATE, "Display suspend enabled"); in EmplaceInactive()
147 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_STAND_BY lambda start"); in EmplaceStandBy()
158 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_DOZE lambda start"); in EmplaceDoze()
169 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_SLEEP lambda start"); in EmplaceSleep()
178 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_HIBERNATE lambda start"); in EmplaceHibernate()
188 POWER_HILOGI(FEATURE_POWER_STATE, "StateController_SHUTDOWN lambda start"); in EmplaceShutdown()
208 POWER_HILOGI(FEATURE_SUSPEND, "System is suspending"); in onSuspend()
[all …]
Drunning_lock_proxy.cpp48 POWER_HILOGI(FEATURE_RUNNING_LOCK, in RemoveRunningLock()
94 POWER_HILOGI(FEATURE_RUNNING_LOCK, "IncreaseProxyCnt proxykey=%{public}s proxycnt=%{public}d", in IncreaseProxyCnt()
111 POWER_HILOGI(FEATURE_RUNNING_LOCK, "DecreaseProxyCnt proxykey=%{public}s proxycnt=%{public}d", in DecreaseProxyCnt()
139 POWER_HILOGI(FEATURE_RUNNING_LOCK, "reset proxycnt"); in ResetRunningLocks()
/base/powermgr/power_manager/services/native/src/shutdown/
Dshutdown_controller.cpp77 POWER_HILOGI(FEATURE_SHUTDOWN, "pluggedType : %{public}u", pluggedType); in IsNeedWritePoweroffChargeFlag()
97 POWER_HILOGI(FEATURE_SHUTDOWN, "write oem flag:0x55AA, result:%{public}d", ret); in WritePoweroffChargeFlag()
113 POWER_HILOGI(FEATURE_SHUTDOWN, "Start to detach shutdown thread"); in RebootOrShutdown()
144 POWER_HILOGI(FEATURE_SHUTDOWN, "Waiting for the callback execution complete..."); in Prepare()
149 POWER_HILOGI(FEATURE_SHUTDOWN, "The callback execution is complete"); in Prepare()
177 POWER_HILOGI(FEATURE_SHUTDOWN, in AddCallback()
186 POWER_HILOGI(FEATURE_SHUTDOWN, in AddCallback()
195 POWER_HILOGI(FEATURE_SHUTDOWN, in AddCallback()
204POWER_HILOGI(FEATURE_SHUTDOWN, "takeover shutdown callback removed, pid=%{public}d, uid=%{public}d… in RemoveCallback()
212POWER_HILOGI(FEATURE_SHUTDOWN, "async shutdown callback removed, pid=%{public}d, uid=%{public}d", in RemoveCallback()
[all …]
Dshutdown_dialog.cpp68 POWER_HILOGI(FEATURE_SHUTDOWN, "Receive long press powerkey"); in KeyMonitorInit()
73POWER_HILOGI(FEATURE_SHUTDOWN, "SubscribeKey long press failed errcode = %{public}d, Try again in … in KeyMonitorInit()
83 POWER_HILOGI(FEATURE_SHUTDOWN, "SubscribeKey long press success"); in KeyMonitorInit()
120 POWER_HILOGI(FEATURE_SHUTDOWN, "ConnectAbility systemui dialog success."); in ConnectSystemUi()
167 POWER_HILOGI(FEATURE_SHUTDOWN, "show power dialog is success"); in OnAbilityConnectDone()
/base/powermgr/power_manager/services/native/src/wakeup/
Dwakeup_source_parser.cpp41 POWER_HILOGI(FEATURE_WAKEUP, "ParseSources setting=%{public}d", isSettingUpdated); in ParseSources()
52 POWER_HILOGI(FEATURE_WAKEUP, "use targetPath=%{public}s", targetPath.c_str()); in ParseSources()
70 POWER_HILOGI(FEATURE_WAKEUP, "use policy path=%{public}s", path); in GetTargetPath()
106 POWER_HILOGI(FEATURE_WAKEUP, "key=%{public}s", key.c_str()); in ParseSources()
110 POWER_HILOGI(FEATURE_WAKEUP, "lost map config key"); in ParseSources()
128 POWER_HILOGI(FEATURE_WAKEUP, "clickValue=%{public}u", clickValue.asUInt()); in ParseSourcesProc()
139 POWER_HILOGI(FEATURE_WAKEUP, "key map type=%{public}u", wakeupDeviceType); in ParseSourcesProc()
Dwakeup_controller.cpp84 POWER_HILOGI(FEATURE_WAKEUP, "registered type=%{public}u", (*source).GetReason()); in Init()
87 POWER_HILOGI(FEATURE_WAKEUP, "register type=%{public}u", (*source).GetReason()); in Init()
95 POWER_HILOGI(COMP_SVC, "NotifyDisplayActionDone: %{public}d", event); in Init()
101 POWER_HILOGI(COMP_SVC, "NotifyDisplayActionDone callback registered"); in Init()
121 POWER_HILOGI(COMP_SVC, "start setting string update"); in RegisterSettingsObserver()
129 POWER_HILOGI(COMP_SVC, "start updateListener"); in RegisterSettingsObserver()
140 POWER_HILOGI(FEATURE_POWER_STATE, "register setting observer fin"); in RegisterSettingsObserver()
184 POWER_HILOGI(FEATURE_WAKEUP, "Try to wakeup device, pid=%{public}d, uid=%{public}d", pid, uid); in ControlListener()
190 POWER_HILOGI(FEATURE_WAKEUP, "wakeup Request: %{public}d", reason); in ControlListener()
194 POWER_HILOGI(FEATURE_WAKEUP, "setstate wakeup error"); in ControlListener()
[all …]
/base/powermgr/powermgr_lite/services/src/
Dpower_manage_feature.c42 POWER_HILOGI("Init power manage feature done"); in OnPowerManageFeatureInitialize()
86POWER_HILOGI("Suspending device, reason: %{public}d, suspendImmed: %{public}d", reason, suspendImm… in OnSuspendDevice()
96 POWER_HILOGI("Waking up device, reason: %{public}d", reason); in OnWakeupDevice()
125 POWER_HILOGI("Succeed to register power manage feature"); in Init()
Dscreen_saver_feature.c45 POWER_HILOGI("Init screen saver feature done"); in OnScreenSaverFeatureInitialize()
94 POWER_HILOGI("Succeed to register screen saver feature"); in Init()
/base/powermgr/powermgr_lite/services/src/screensaver/small/
Dscreen_saver_handler.cpp55 POWER_HILOGI("Succeed to get ams interface"); in GetAmsInterface()
81 POWER_HILOGI("Time to start screen saver"); in StartScreenSaver()
87 POWER_HILOGI("Start screen saver: %d", static_cast<int32_t>(screenSaverStarted_)); in StartScreenSaver()
138 POWER_HILOGI("Succeed to enable screen saver"); in SetEnableLocked()
146 POWER_HILOGI("Succeed to disable screen saver"); in SetDisableLocked()
/base/powermgr/power_manager/utils/native/include/
Dpower_log.h41 #ifdef POWER_HILOGI
42 #undef POWER_HILOGI
120 #define POWER_HILOGI(domain, ...) (void)OHOS::HiviewDFX::HiLog::Info(POWER_LABEL[domain], FORMATED(… macro
131 #define POWER_HILOGI(...) macro
/base/powermgr/power_manager/services/native/src/actions/default/
Ddevice_power_action.cpp34 POWER_HILOGI(FEATURE_SHUTDOWN, "Reboot executing"); in Reboot()
40 POWER_HILOGI(FEATURE_SHUTDOWN, "Shutdown executing"); in Shutdown()
/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Drunning_lock_hub.cpp36 POWER_HILOGI(FEATURE_RUNNING_LOCK, "Acquire runningLock, name: %{public}s", name.c_str()); in Acquire()
57 POWER_HILOGI(FEATURE_RUNNING_LOCK, "Release runningLock, name: %{public}s", name.c_str()); in Release()
/base/powermgr/powermgr_lite/services/src/power/mini/
Dauto_suspend_loop.c25 POWER_HILOGI("Lock count: %{public}u", wakeCount); in AutoSuspendLoopFunc()

12