/base/powermgr/power_manager/test/unittest/src/ |
D | running_lock_mock_test.cpp | 83 int32_t timeoutMs = 100; variable 91 EXPECT_EQ(param.timeoutMs, RUNNINGLOCKPARAM_TIMEOUTMS_DEF); in __anon5abd24c10302() 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 __anon5abd24c10502() 159 g_powerService->Lock(runninglockToken, timeoutMs); 180 int32_t timeoutMs = 100; variable 195 EXPECT_EQ(param.timeoutMs, timeoutMs); in __anon5abd24c10802() 212 g_powerService->Lock(phoneToken, timeoutMs); [all …]
|
D | running_lock_test.cpp | 224 int32_t timeoutMs = 50; variable 226 runningLock->Lock(timeoutMs); 232 usleep(timeoutMs * US_PER_MS); 236 usleep(timeoutMs / 2 * US_PER_MS); 238 usleep(timeoutMs * US_PER_MS);
|
/base/powermgr/power_manager/services/native/include/ |
D | running_lock_inner.h | 58 void SetTimeOutMs(int32_t timeoutMs) in SetTimeOutMs() argument 60 runningLockParam_.timeoutMs = timeoutMs; in SetTimeOutMs() 64 return runningLockParam_.timeoutMs; in GetTimeOutMs()
|
/base/powermgr/power_manager/utils/ffrt/src/ |
D | ffrt_utils.cpp | 49 bool FFRTUtils::SubmitTimeoutTask(const FFRTTask& task, uint32_t timeoutMs) in SubmitTimeoutTask() argument 52 auto status = future.wait_for(std::chrono::milliseconds(timeoutMs)); in SubmitTimeoutTask()
|
/base/powermgr/powermgr_lite/frameworks/include/ |
D | running_lock_framework.h | 28 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs);
|
D | power_manage_intf_define.h | 31 …AcquireRunningLockEntryFunc)(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs); \
|
/base/powermgr/powermgr_lite/services/src/power/small/ |
D | power_manage_feature_impl.c | 71 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/powermgr/power_manager/services/native/include/actions/ |
D | running_lock_action_info.h | 51 int32_t timeoutMs = -1; member
|
/base/powermgr/powermgr_lite/services/src/ |
D | power_manage_feature.c | 62 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs) in OnAcquireRunningLockEntry() argument 65 return RunningLockMgrAcquireEntry(entry, timeoutMs); in OnAcquireRunningLockEntry()
|
D | running_lock_mgr.c | 109 int32_t RunningLockMgrAcquireEntry(RunningLockEntry *entry, int32_t timeoutMs) in RunningLockMgrAcquireEntry() argument
|
/base/powermgr/powermgr_lite/services/include/ |
D | running_lock_mgr.h | 26 int32_t RunningLockMgrAcquireEntry(RunningLockEntry *entry, int32_t timeoutMs);
|
D | power_manage_feature.h | 34 int32_t OnAcquireRunningLockEntry(IUnknown *iUnknown, RunningLockEntry *entry, int32_t timeoutMs);
|
/base/powermgr/powermgr_lite/frameworks/src/small/ |
D | power_manage.c | 40 …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/powermgr_lite/frameworks/src/mini/ |
D | power_manage.c | 66 BOOL AcquireRunningLockEntry(RunningLockEntry *entry, int32_t timeoutMs) in AcquireRunningLockEntry() argument 71 ret = intf->AcquireRunningLockEntryFunc((IUnknown *)intf, entry, timeoutMs); in AcquireRunningLockEntry()
|
/base/powermgr/power_manager/utils/ffrt/include/ |
D | ffrt_utils.h | 85 static bool SubmitTimeoutTask(const FFRTTask& task, uint32_t timeoutMs);
|
/base/powermgr/power_manager/power_dialog/entry/src/main/ets/pages/ |
D | powerDialog.ets | 104 timeoutMs: number = 20; 123 this.timeoutId = setTimeout(this.onCancel, this.timeoutMs); 132 this.timeoutId = setTimeout(this.onCancel, this.timeoutMs);
|
/base/powermgr/display_manager/interfaces/inner_api/native/include/ |
D | idisplay_power_mgr.h | 47 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) = 0;
|
D | display_power_mgr_client.h | 53 bool BoostBrightness(int32_t timeoutMs, uint32_t displayId = 0);
|
/base/powermgr/power_manager/services/native/src/actions/default/ |
D | system_suspend_controller.cpp | 128 filledInfo.timeoutMs = param.timeoutMs; in FillRunningLockInfo()
|
/base/powermgr/display_manager/service/native/src/ |
D | screen_controller.cpp | 222 bool ScreenController::BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration) in BoostBrightness() argument 239 g_cancelBoostTaskHandle = FFRTUtils::SubmitDelayTask(task, timeoutMs, g_queue); in BoostBrightness() 240 …LOGD(FEAT_BRIGHTNESS, "BoostBrightness update timeout=%{public}u, ret=%{public}d", timeoutMs, ret); in BoostBrightness()
|
D | display_power_mgr_service.cpp | 435 bool DisplayPowerMgrService::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() argument 440 …LOGD(FEAT_BRIGHTNESS, "Timing boost brightness: %{public}d, id: %{public}d", timeoutMs, displayId); in BoostBrightness() 441 RETURN_IF_WITH_RET(timeoutMs <= 0, false); in BoostBrightness() 444 return iter->second->BoostBrightness(timeoutMs); in BoostBrightness()
|
/base/powermgr/display_manager/frameworks/native/ |
D | display_power_mgr_client.cpp | 215 bool DisplayPowerMgrClient::BoostBrightness(int32_t timeoutMs, uint32_t displayId) in BoostBrightness() argument 219 return proxy->BoostBrightness(timeoutMs, displayId); in BoostBrightness()
|
/base/powermgr/display_manager/service/zidl/include/ |
D | display_power_mgr_proxy.h | 56 virtual bool BoostBrightness(int32_t timeoutMs, uint32_t displayId) override;
|
/base/powermgr/display_manager/service/native/include/ |
D | screen_controller.h | 67 bool BoostBrightness(uint32_t timeoutMs, uint32_t gradualDuration = 0);
|
/base/powermgr/display_manager/service/zidl/src/ |
D | display_power_mgr_stub.cpp | 354 int32_t timeoutMs = -1; in BoostBrightnessStub() local 356 READ_PARCEL_WITH_RET(data, Int32, timeoutMs, E_READ_PARCEL_ERROR); in BoostBrightnessStub() 359 bool isScuu = BoostBrightness(timeoutMs, id); in BoostBrightnessStub()
|