Home
last modified time | relevance | path

Searched refs:FEATURE_RUNNING_LOCK (Results 1 – 15 of 15) sorted by relevance

/base/powermgr/power_manager/frameworks/native/
Drunning_lock.cpp51 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to create the RunningLockTokenStub"); in Init()
59 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Lock timeOutMs: %{public}u", timeOutMs); in Lock()
63 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in Lock()
66 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Service side Lock call"); in Lock()
76 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in UnLock()
79 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Service side UnLock call"); in UnLock()
88 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in CheckUsedNoLock()
93 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Is Used: %{public}d", ret); in CheckUsedNoLock()
106 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Proxy is a null pointer"); in Create()
109 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Service side CreateRunningLock call"); in Create()
[all …]
Dpower_mgr_client.cpp168 POWER_HILOGD(FEATURE_RUNNING_LOCK, "RunningLockType=%{public}u", type); in IsRunningLockTypeSupported()
203 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to create RunningLock record"); in CreateRunningLock()
208 POWER_HILOGE(FEATURE_RUNNING_LOCK, "RunningLock init failed"); in CreateRunningLock()
212 POWER_HILOGI(FEATURE_RUNNING_LOCK, "name: %{public}s, type = %{public}d", name.c_str(), type); in CreateRunningLock()
/base/powermgr/power_manager/services/native/src/
Drunning_lock_mgr.cpp46 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Init start"); in Init()
54 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Get running lock action fail"); in Init()
68 POWER_HILOGI(FEATURE_RUNNING_LOCK, "Init success"); in Init()
85 POWER_HILOGD(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_SCREEN action start"); in InitLocksTypeScreen()
95 POWER_HILOGI(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_SCREEN active"); in InitLocksTypeScreen()
104 POWER_HILOGI(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_SCREEN inactive"); in InitLocksTypeScreen()
108 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Screen unlock in state: %{public}d", in InitLocksTypeScreen()
121 POWER_HILOGD(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_BACKGROUND action start"); in InitLocksTypeBackground()
131 POWER_HILOGI(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_BACKGROUND active"); in InitLocksTypeBackground()
134 POWER_HILOGI(FEATURE_RUNNING_LOCK, "RUNNINGLOCK_BACKGROUND inactive"); in InitLocksTypeBackground()
[all …]
Drunning_lock_inner.cpp34 POWER_HILOGE(FEATURE_RUNNING_LOCK, "RunningLockInner is nullptr"); in CreateRunningLockInner()
37 …POWER_HILOGI(FEATURE_RUNNING_LOCK, "name: %{public}s, type: %{public}d", runningLockParam.name.c_s… in CreateRunningLockInner()
45 … POWER_HILOGD(FEATURE_RUNNING_LOCK, "description: %{public}s, name: %{public}s, type: %{public}d,", in DumpInfo()
Drunning_lock_proxy.cpp31 …POWER_HILOGD(FEATURE_RUNNING_LOCK, "Add runninglock proxy, proxyKey=%{public}s", proxyKey.c_str()); in AddRunningLock()
35 …POWER_HILOGD(FEATURE_RUNNING_LOCK, "Runninglock is existed, proxyKey=%{public}s", proxyKey.c_str()… in AddRunningLock()
39 … POWER_HILOGD(FEATURE_RUNNING_LOCK, "Insert runninglock, proxyKey=%{public}s", proxyKey.c_str()); in AddRunningLock()
48 POWER_HILOGI(FEATURE_RUNNING_LOCK, in RemoveRunningLock()
55 …POWER_HILOGD(FEATURE_RUNNING_LOCK, "Runninglock is not existed, proxyKey=%{public}s", proxyKey.c_s… in RemoveRunningLock()
61 …POWER_HILOGD(FEATURE_RUNNING_LOCK, "Runninglock list is empty, earse proxyKey=%{public}s", proxyKe… 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()
Dpower_mgr_service.cpp568 …POWER_HILOGW(FEATURE_RUNNING_LOCK, "Create runninglock failed, name: %{public}s, type: %{public}d", in CreateRunningLock()
573FEATURE_RUNNING_LOCK, "name: %{public}s, type: %{public}d", runningLockInfo.name.c_str(), runningL… in CreateRunningLock()
615 POWER_HILOGI(FEATURE_RUNNING_LOCK, "timeOutMS: %{public}d", timeOutMS); in Lock()
641 POWER_HILOGD(FEATURE_RUNNING_LOCK, "RunningLock is Used: %{public}d", isUsed); in IsUsed()
652 POWER_HILOGI(FEATURE_RUNNING_LOCK, "RunningLock is empty, try to suspend"); in NotifyRunningLockChanged()
Dpower_state_machine.cpp724 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Enter, state = %{public}u", state); in CheckRunningLock()
727 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Pms is nullptr"); in CheckRunningLock()
732 POWER_HILOGE(FEATURE_RUNNING_LOCK, "RunningLockMgr is nullptr"); in CheckRunningLock()
737 … POWER_HILOGI(FEATURE_RUNNING_LOCK, "No specific lock in lockMap_ for state: %{public}u", state); in CheckRunningLock()
752 POWER_HILOGI(FEATURE_RUNNING_LOCK, "No specific lock for state: %{public}u", state); in CheckRunningLock()
/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()
36 POWER_HILOGI(FEATURE_RUNNING_LOCK, "Acquire runningLock, name: %{public}s", name.c_str()); in Acquire()
45 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Failed to write the unlock state"); in Release()
57 POWER_HILOGI(FEATURE_RUNNING_LOCK, "Release runningLock, name: %{public}s", name.c_str()); in Release()
70 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Running lock fd initialization failed"); in InitFd()
/base/powermgr/power_manager/frameworks/napi/runninglock/
Drunninglock_interface.cpp52 POWER_HILOGE(FEATURE_RUNNING_LOCK, "asyncInfo is nullptr"); in CreateRunningLock()
77 POWER_HILOGD(FEATURE_RUNNING_LOCK, "callbackRef is null"); in CreateRunningLock()
80 POWER_HILOGD(FEATURE_RUNNING_LOCK, "callbackRef is not null"); in CreateRunningLock()
99 POWER_HILOGE(FEATURE_RUNNING_LOCK, "asyncInfo is nullptr"); in IsRunningLockTypeSupported()
118 POWER_HILOGD(FEATURE_RUNNING_LOCK, "callbackRef is null"); in IsRunningLockTypeSupported()
121 POWER_HILOGD(FEATURE_RUNNING_LOCK, "callbackRef is not null"); 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()
[all …]
Drunninglock_module.cpp44 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Destructor"); in RunningLockConstructor()
124 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Initialize the RunningLock module"); in RunningLockInit()
136 POWER_HILOGD(FEATURE_RUNNING_LOCK, "The initialization of the RunningLock module is complete"); in RunningLockInit()
Drunninglock_napi.cpp97 POWER_HILOGE(FEATURE_RUNNING_LOCK, "napi_get_value_uint32 failed"); in Hold()
137FEATURE_RUNNING_LOCK, "isStr: %{public}d, isNum: %{public}d, isFunc: %{public}d", isStr, isNum, is… in CreateAsyncCallback()
169 POWER_HILOGW(FEATURE_RUNNING_LOCK, "isStr: %{public}d, isNum: %{public}d", isStr, isNum); in CreatePromise()
217 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Cannot unwrap for pointer"); in UnwrapRunningLock()
221 POWER_HILOGE(FEATURE_RUNNING_LOCK, "Entity runningLock is nullptr"); in UnwrapRunningLock()
/base/powermgr/power_manager/frameworks/napi/utils/
Dasync_callback_info.cpp89 POWER_HILOGW(FEATURE_RUNNING_LOCK, "RunningLock is nullptr"); in CreateInstanceForRunningLock()
95 POWER_HILOGW(FEATURE_RUNNING_LOCK, "NAPI failed to create a reference value"); in CreateInstanceForRunningLock()
101 POWER_HILOGW(FEATURE_RUNNING_LOCK, "NAPI failed to create a reference"); in CreateInstanceForRunningLock()
108 POWER_HILOGW(FEATURE_RUNNING_LOCK, "Cannot unwrap entity from instance"); in CreateInstanceForRunningLock()
/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 …]
/base/powermgr/power_manager/utils/native/include/
Dpower_log.h67 FEATURE_RUNNING_LOCK, enumerator