Home
last modified time | relevance | path

Searched refs:timeoutMs (Results 1 – 25 of 38) sorted by relevance

12

/base/powermgr/power_manager/test/unittest/src/
Drunning_lock_mock_test.cpp83 int32_t timeoutMs = 100; variable
91 EXPECT_EQ(param.timeoutMs, RUNNINGLOCKPARAM_TIMEOUTMS_DEF); in __anon6c20f3e30302()
107 g_powerService->Lock(runninglockToken, timeoutMs);
109 g_powerService->Lock(runninglockToken2, timeoutMs);
137 int32_t timeoutMs = 100; variable
145 EXPECT_EQ(param.timeoutMs, RUNNINGLOCKPARAM_TIMEOUTMS_DEF); in __anon6c20f3e30502()
159 g_powerService->Lock(runninglockToken, timeoutMs);
180 int32_t timeoutMs = 100; variable
195 EXPECT_EQ(param.timeoutMs, timeoutMs); in __anon6c20f3e30802()
212 g_powerService->Lock(phoneToken, timeoutMs);
[all …]
Drunning_lock_test.cpp223 int32_t timeoutMs = 50; variable
225 runningLock->Lock(timeoutMs);
231 usleep(timeoutMs * US_PER_MS);
235 usleep(timeoutMs / 2 * US_PER_MS);
237 usleep(timeoutMs * 2 * US_PER_MS);
Dpower_coordination_lock_test.cpp161 int32_t timeoutMs = 50; variable
162 runninglock->Lock(timeoutMs);
163 usleep(timeoutMs * US_PER_MS);
227 int32_t timeoutMs = 50; variable
228 runninglock->Lock(timeoutMs);
235 usleep(timeoutMs * US_PER_MS);
/base/powermgr/power_manager/services/native/include/
Drunning_lock_inner.h64 void SetTimeOutMs(int32_t timeoutMs) in SetTimeOutMs() argument
66 runningLockParam_.timeoutMs = timeoutMs; in SetTimeOutMs()
70 return runningLockParam_.timeoutMs; in GetTimeOutMs()
/base/powermgr/powermgr_lite/services/src/power/small/
Dpower_manage_feature_impl.c71 int32_t timeoutMs = 0; in AcquireInvoke() local
72 ReadInt32(req, &timeoutMs); in AcquireInvoke()
73 … int32_t ret = OnAcquireRunningLockEntry((IUnknown *)iProxy, (RunningLockEntry *)data, timeoutMs); in AcquireInvoke()
/base/telephony/core_service/utils/common/src/
Dtel_event_handler.cpp46 void TelFFRTUtils::SleepFor(uint32_t timeoutMs) in SleepFor() argument
48 ffrt::this_task::sleep_for(std::chrono::milliseconds(timeoutMs)); in SleepFor()
/base/powermgr/powermgr_lite/services/src/
Dpower_manage_feature.c62 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs) in OnAcquireRunningLockEntry() argument
65 return RunningLockMgrAcquireEntry(entry, timeoutMs); in OnAcquireRunningLockEntry()
/base/powermgr/powermgr_lite/frameworks/include/
Drunning_lock_framework.h28 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs);
Dpower_manage_intf_define.h31 …AcquireRunningLockEntryFunc)(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs); \
/base/powermgr/powermgr_lite/frameworks/src/small/
Dpower_manage.c40 …t32_t AcquireRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs);
123 …nt32_t AcquireRunningLockEntryProxy(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntryProxy() argument
138 WriteInt32(&request, timeoutMs); in AcquireRunningLockEntryProxy()
210 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() argument
215 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
/base/powermgr/display_manager/brightness_manager/src/
Dbrightness_manager.cpp95 bool BrightnessManager::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() argument
97 return BrightnessService::Get().BoostBrightness(timeoutMs, gradualDuration); in BoostBrightness()
/base/powermgr/power_manager/utils/ffrt/src/
Dffrt_utils.cpp57 bool FFRTUtils::SubmitTimeoutTask(const FFRTTask& task, uint32_t timeoutMs) in SubmitTimeoutTask() argument
60 auto status = future.wait_for(std::chrono::milliseconds(timeoutMs)); in SubmitTimeoutTask()
/base/powermgr/powermgr_lite/frameworks/src/mini/
Dpower_manage.c66 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() argument
71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
/base/powermgr/power_manager/services/native/include/actions/
Drunning_lock_action_info.h52 int32_t timeoutMs = -1; member
/base/powermgr/powermgr_lite/services/include/
Drunning_lock_mgr.h26 int32_t RunningLockMgrAcquireEntry(RunningLockEntry *entry, int32_t timeoutMs);
Dpower_manage_feature.h34 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs);
/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/
DpowerDialog.ets105 timeoutMs: number = 20;
126 this.timeoutId = setTimeout(this.onCancel, this.timeoutMs);
135 this.timeoutId = setTimeout(this.onCancel, this.timeoutMs);
/base/powermgr/power_manager/utils/ffrt/include/
Dffrt_utils.h98 static bool SubmitTimeoutTask(const FFRTTask& task, uint32_t timeoutMs);
/base/powermgr/display_manager/brightness_manager/include/
Dbrightness_manager.h44 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
/base/powermgr/power_manager/services/native/src/actions/default/
Dsystem_suspend_controller.cpp126 filledInfo.timeoutMs = param.timeoutMs; in FillRunningLockInfo()
/base/powermgr/display_manager/state_manager/service/native/src/
Dscreen_controller.cpp217 bool ScreenController::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() argument
234 g_cancelBoostTaskHandle = FFRTUtils::SubmitDelayTask(task, timeoutMs, g_queue); in BoostBrightness()
235 …LOGD(FEAT_BRIGHTNESS, "BoostBrightness update timeout=%{public}u, ret=%{public}d", timeoutMs, ret); in BoostBrightness()
/base/powermgr/display_manager/state_manager/interfaces/inner_api/native/include/
Didisplay_power_mgr.h47 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) = 0;
Ddisplay_power_mgr_client.h53 bool BoostBrightness(int32_t timeoutMs, uint32_t displayId = 0);
/base/powermgr/display_manager/state_manager/frameworks/native/
Ddisplay_power_mgr_client.cpp215 bool DisplayPowerMgrClient::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() argument
219 return proxy->BoostBrightness(timeoutMs, displayId); in BoostBrightness()
/base/powermgr/display_manager/state_manager/service/zidl/include/
Ddisplay_power_mgr_proxy.h56 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;

12