Home
last modified time | relevance | path

Searched refs:timeOutMs (Results 1 - 21 of 21) sorted by relevance

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_running_lock_adapter_wrapper.cpp27 int32_t ArkRunningLockAdapterWrapper::Lock(uint32_t timeOutMs) in Lock() argument
29 return ctocpp_->Lock(timeOutMs); in Lock()
H A Dark_running_lock_adapter_wrapper.h31 int32_t Lock(uint32_t timeOutMs) override;
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_running_lock_adapter_impl.cpp30 int32_t ArkRunningLockAdapterImpl::Lock(uint32_t timeOutMs) in Lock() argument
32 return real_->Lock(timeOutMs); in Lock()
H A Dark_running_lock_adapter_impl.h31 int32_t Lock(uint32_t timeOutMs) override;
/base/web/webview/test/fuzztest/ohos_adapter/power_mgr_adapter/lock_fuzzer/
H A Dlock_fuzzer.cpp31 uint32_t timeOutMs = static_cast<uint32_t>(size); in LockFuzzTest() local
34 runningLockAdapter.Lock(timeOutMs); in LockFuzzTest()
/base/powermgr/power_manager/frameworks/native/
H A Drunning_lock.cpp95 ErrCode RunningLock::Lock(int32_t timeOutMs) in Lock() argument
102 POWER_HILOGD(FEATURE_RUNNING_LOCK, "Service side Lock call, timeOutMs=%{public}d", timeOutMs); in Lock()
104 timeOutMs = NOT_USE_TIMEOUT; in Lock()
107 if (timeOutMs == 0) { in Lock()
108 timeOutMs = DEFAULT_TIMEOUT; in Lock()
111 PowerErrors error = proxy->Lock(token_, timeOutMs); in Lock()
/base/web/webview/ohos_adapter/power_mgr_adapter/src/
H A Dpower_mgr_client_adapter_impl.cpp57 int32_t RunningLockAdapterImpl::Lock(uint32_t timeOutMs) in Lock() argument
60 return lock_->Lock(timeOutMs); in Lock()
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_power_mgr_client_adapter.h32 virtual int32_t Lock(uint32_t timeOutMs) = 0;
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dpower_mgr_client_adapter.h33 virtual int32_t Lock(uint32_t timeOutMs = 0) = 0;
/base/web/webview/ohos_adapter/power_mgr_adapter/include/
H A Dpower_mgr_client_adapter_impl.h29 int32_t Lock(uint32_t timeOutMs = 0) override;
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Drunning_lock.h47 * @param timeOutMs timeOutMs this runninglock will be released in timeOutMs milliseconds. If it is called without
50 ErrCode Lock(int32_t timeOutMs = -1);
H A Dipower_mgr.h47 virtual PowerErrors Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs = -1) = 0;
/base/powermgr/power_manager/test/unittest/include/servicetest/
H A Dpowermgr_service_test_proxy.h46 bool Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs = -1);
/base/powermgr/power_manager/test/unittest/src/servicetest/mock/
H A Dpowermgr_service_mock_parcel_test.cpp85 int32_t timeOutMs = 0; in HWTEST_F() local
/base/powermgr/power_manager/services/zidl/include/
H A Dpower_mgr_proxy.h53 virtual PowerErrors Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs = -1) override;
/base/powermgr/power_manager/services/zidl/src/
H A Dpower_mgr_stub.cpp272 int32_t timeOutMs = 0; in LockStub() local
273 RETURN_IF_READ_PARCEL_FAILED_WITH_RET(data, Int32, timeOutMs, E_READ_PARCEL_ERROR); in LockStub()
274 PowerErrors error = Lock(remoteObj, timeOutMs); in LockStub()
H A Dpower_mgr_proxy.cpp152 PowerErrors PowerMgrProxy::Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs) in Lock() argument
168 RETURN_IF_WRITE_PARCEL_FAILED_WITH_RET(data, Int32, timeOutMs, PowerErrors::ERR_CONNECTION_FAIL); in Lock()
/base/powermgr/power_manager/test/unittest/src/servicetest/
H A Dpowermgr_service_native_test.cpp291 int32_t timeOutMs = 0; in HWTEST_F() local
328 int32_t timeOutMs = 0; in HWTEST_F() local
362 int32_t timeOutMs = 0; in HWTEST_F() local
H A Dpowermgr_service_test_proxy.cpp124 bool PowerMgrServiceTestProxy::Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs) in Lock() argument
138 data.WriteInt32(timeOutMs); in Lock()
/base/powermgr/power_manager/services/native/src/
H A Dpower_mgr_service.cpp1140 PowerErrors PowerMgrService::Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs) in Lock() argument
1148 if (timeOutMs > 0) { in Lock()
1149 std::function<void()> task = [this, remoteObj, timeOutMs]() { in Lock()
1155 RunningLockTimerHandler::GetInstance().RegisterRunningLockTimer(remoteObj, task, timeOutMs); in Lock()
/base/powermgr/power_manager/services/native/include/
H A Dpower_mgr_service.h99 virtual PowerErrors Lock(const sptr<IRemoteObject>& remoteObj, int32_t timeOutMs = -1) override;

Completed in 16 milliseconds