| /foundation/communication/wifi/wifi/frameworks/native/interfaces/ |
| D | wifi_scan_msg.h | 172 * The interval is set to 120 and the count is set to 4. 173 * For example, the interval is set to 120 and the count is set to 4. 176 * Exponential interval. The value of interval is the initial value. 177 * After the value is multiplied by 2, the last fixed interval is used. 180 * If the number of consecutive count times is less than interval, 181 * the subsequent interval must be greater than interval. 184 … * If the number of consecutive count times is less than the value of interval, 191 IntervalMode intervalMode; /* Interval mode, which can be interval or count. */ 192 int interval; /* Interval, in seconds. */ member 193 int count; /* Number of times allowed in the interval */ [all …]
|
| /foundation/distributeddatamgr/kv_store/frameworks/common/ |
| D | task_scheduler.h | 76 TaskId Reset(TaskId taskId, const Duration &interval) in Reset() argument 84 …auto it = tasks_.insert({ std::chrono::steady_clock::now() + interval, std::move(index->second->se… in Reset() 101 void Every(Duration interval, Task task) in Every() argument 103 std::function<void()> waitFunc = [this, interval, task]() { in Every() 105 this->Every(interval, task); in Every() 107 At(std::chrono::steady_clock::now() + interval, waitFunc); in Every() 124 void Every(Duration delay, Duration interval, Task task) in Every() argument 126 std::function<void()> waitFunc = [this, interval, task]() { in Every() 128 Every(interval, task); in Every() 134 void Every(int32_t times, Duration delay, Duration interval, Task task) in Every() argument [all …]
|
| D | block_data.h | 24 …explicit BlockData(uint32_t interval, const T &invalid = T()) : INTERVAL(interval), data_(invalid)… in INTERVAL() function 40 cv_.wait_for(lock, std::chrono::seconds(INTERVAL), [this]() { in GetValue() 58 const uint32_t INTERVAL; variable
|
| /foundation/distributeddatamgr/kv_store/test/fuzztest/taskscheduler_fuzzer/ |
| D | taskscheduler_fuzzer.cpp | 40 std::chrono::duration<int> interval(time % MAX_INTERVAL_TIME); in EveryFUZZ() local 41 taskScheduler.Every(delay, interval, []() { }); in EveryFUZZ() 43 taskScheduler.Every(0, delay, interval, []() { }); in EveryFUZZ() 44 taskScheduler.Every(1, delay, interval, []() { }); in EveryFUZZ() 46 taskScheduler.Every(interval, []() { }); in EveryFUZZ() 53 std::chrono::duration<int> interval(time % MAX_INTERVAL_TIME); in ResetFuzz() local 57 taskScheduler.Reset(schedulerTask, interval); in ResetFuzz()
|
| /foundation/graphic/ui/interfaces/kits/components/ |
| D | ui_repeat_button.h | 82 * @brief Sets the interval between two consecutive click events. 84 * @param interval Indicates the interval to set. 89 virtual void SetInterval(uint16_t interval) in SetInterval() argument 91 ticksInterval_ = interval; in SetInterval() 95 * @brief Obtains the interval between two consecutive click events. 97 * @return Returns the interval between two consecutive click events.
|
| /foundation/graphic/ui/frameworks/layout/ |
| D | flex_layout.cpp | 37 int16_t& interval, in GetStartPos() argument 46 interval = 0; in GetStartPos() 60 interval = (length - validLengths[count]) / childsNum[count]; in GetStartPos() 61 pos = interval / 2; // 2: half in GetStartPos() 63 interval = (length - validLengths[count]) / (childsNum[count] + 1); in GetStartPos() 64 pos = interval; in GetStartPos() 66 interval = (length - validLengths[count]) / (childsNum[count] - 1); in GetStartPos() 71 void FlexLayout::GetNoWrapStartPos(const int16_t& length, int16_t& majorPos, int16_t& interval) in GetNoWrapStartPos() argument 77 GetStartPos(length, majorPos, interval, 0, &totalValidLength, &childrenNum); in GetNoWrapStartPos() 81 int16_t& interval, in GetRowStartPos() argument [all …]
|
| /foundation/communication/bluetooth/interfaces/inner_api/include/ |
| D | bluetooth_opp.h | 162 * @param interval Id. 170 * @param interval File Name. 178 * @param interval File Path. 186 * @param interval Mime Type. 194 * @param interval Device Name. 202 * @param interval Device Address. 210 * @param interval Direction. 218 * @param interval Status. 226 * @param interval Failed Reason. 234 * @param interval Time Stamp. [all …]
|
| /foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/fillp/ |
| D | fillp_timer.c | 130 "total_recvd_count: %u recv rate: %u pack input interval: %lld", in FillpCalRecvRate() 203 …FILLP_LOGDBG("enable, pcb->send.flowControl.sendTime:%lld, interval:%u", pcb->send.flowControl.sen… in FillpEnableSendTimer() 204 pcb->sendTimerNode.interval); in FillpEnableSendTimer() 210 pcb->send.flowControl.sendTime + pcb->sendTimerNode.interval); in FillpEnableSendTimer() 212 pcb->send.flowControl.sendTime + pcb->sendTimerNode.interval, &pcb->sendTimerNode); in FillpEnableSendTimer() 226 pcb->packTimerNode.interval); in FillpEnablePackTimer() 228 pcb->packTimerNode.interval + pcb->pcbInst->curTime, &pcb->packTimerNode); in FillpEnablePackTimer() 243 pcb->FcTimerNode.interval + pcb->pcbInst->curTime, &pcb->FcTimerNode); in FillpEnableFcTimer() 257 pcb->keepAliveTimerNode.interval + pcb->pcbInst->curTime, &pcb->keepAliveTimerNode); in FillpEnableKeepAliveTimer() 271 FILLP_LOGDBG("Delay NACK Timer Enable: curTime:%lld, interval:%u", pcb->pcbInst->curTime, in FillpEnableDelayNackTimer() [all …]
|
| /foundation/distributeddatamgr/pasteboard/framework/framework/include/common/ |
| D | block_object.h | 23 …explicit BlockObject(uint32_t interval, const T &invalid = T()) : interval_(interval), data_(inval… in interval_() argument 46 void SetInterval(uint32_t interval) in SetInterval() argument 48 interval_ = interval; in SetInterval()
|
| /foundation/ability/form_fwk/services/include/ |
| D | form_timer_option.h | 34 virtual void SetInterval(const uint64_t &interval) override; 72 void FormTimerOption::SetInterval(const uint64_t &interval) in SetInterval() argument 74 this->interval = interval; in SetInterval()
|
| D | form_timer_mgr.h | 136 * @brief Get interval timer task. 175 * @brief Add update interval timer task. 176 * @param task Update interval timer task. 181 * @brief interval timer task timeout. 191 * @brief Set enableFlag for interval timer task. 197 * @brief Update Interval timer task value. 211 * @brief Interval timer task to update at timer task. 218 * @brief Update at timer task to interval timer task. 225 * @brief Delete interval timer task. 288 * @brief Ensure init interval timer resource. [all …]
|
| /foundation/communication/bluetooth/frameworks/js/napi/src/ |
| D | napi_bluetooth_ble.cpp | 73 napi_value interval = GetPropertyValueByNamed(env, arg, "interval", napi_number); in ParseScanParameters() local 74 if (interval) { in ParseScanParameters() 75 napi_get_value_int32(env, interval, &info.interval); in ParseScanParameters() 76 HILOGI("Scan interval is %{public}d", info.interval); in ParseScanParameters() 78 info.interval = 0; in ParseScanParameters() 116 settinngs.SetReportDelay(scanOptions.interval); in SysStartBLEScan() 307 …NAPI_BT_CALL_RETURN(NapiCheckObjectPropertiesName(env, scanArg, {"interval", "dutyMode", "matchMod… in ParseScanParameters() 310 int32_t interval = 0; in ParseScanParameters() local 311 NAPI_BT_CALL_RETURN(ParseInt32Params(env, scanArg, "interval", exist, interval)); in ParseScanParameters() 313 HILOGI("Scan interval is %{public}d", interval); in ParseScanParameters() [all …]
|
| /foundation/resourceschedule/work_scheduler/ |
| D | hisysevent.yaml | 24 INTERVAL: {type: INT32, desc: interval of work} 41 INTERVAL: {type: INT32, desc: interval of work}
|
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
| D | scan_service.cpp | 744 if (pnoScanIntervalMode.scanIntervalMode.interval > 0) { in BeginPnoScan() 745 pnoScanConfig.scanInterval = pnoScanIntervalMode.scanIntervalMode.interval; in BeginPnoScan() 978 … WIFI_LOGI("iter[%{public}d]: intervalMode:%{public}d, interval:%{public}d, count:%{public}d", in SystemScanProcess() 979 i++, iter->intervalMode, iter->interval, iter->count); in SystemScanProcess() 981 systemScanIntervalMode.scanIntervalMode.interval = iter->interval; in SystemScanProcess() 1031 * or the time since the last scan is longer than the scan interval. in StartSystemTimerScan() 1034 if (systemScanIntervalMode.scanIntervalMode.interval > 0) { in StartSystemTimerScan() 1035 scanTime = systemScanIntervalMode.scanIntervalMode.interval; in StartSystemTimerScan() 1038 (sinceLastScan >= systemScanIntervalMode.scanIntervalMode.interval)) { in StartSystemTimerScan() 1044 scanTime = systemScanIntervalMode.scanIntervalMode.interval - sinceLastScan; in StartSystemTimerScan() [all …]
|
| D | scan_service.h | 212 * interval, the user is added to the blocklist and cannot be scanned. 584 * @Description Check whether the scan mode can be used under the interval mode control. 594 …* @Description Check whether the scan mode can be used during custom scene under the interval mode… 606 * @param interval - system scan interval[in] 607 * @param count - Total number of times that the scanning interval is multiplied by 2[in] 610 bool SystemScanByInterval(int &expScanCount, int &interval, int &count); 616 * @param interval pno scan interval[in] 621 bool PnoScanByInterval(int &fixedScanCount, time_t &fixedScanTime, int interval, int count); 654 * @param interval scan interval[in] 659 …bool AllowScanByIntervalFixed(int &fixedScanCount, time_t &fixedScanTime, int &interval, int &coun… [all …]
|
| /foundation/filemanagement/dfs_service/utils/system/include/ |
| D | dfsu_thread.h | 52 bool RunLoop(std::function<bool()> task, uint64_t interval, uint32_t retryTimes = UINT32_MAX) 59 thread_ = std::make_unique<std::thread>([this, task, interval, retryTimes] { 66 …sleepCv_.wait_for(lock, std::chrono::milliseconds(interval), [this]() { return !this->running_; }); 76 …bool RunLoopFlexible(std::function<bool(uint64_t &)> task, uint64_t interval, uint32_t retryTimes … 83 thread_ = std::make_unique<std::thread>([this, task, interval, retryTimes] { 85 uint64_t duration = interval;
|
| /foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/js/ |
| D | @ohos.bundleState.d.ts | 171 … * <p>This method queries usage information at the {@link #BY_OPTIMIZED} interval by default.</p> 187 * Declares interval type. 196 …* Indicates the interval type that will determine the optimal interval based on the start and end … 201 * Indicates the daily interval. 206 * Indicates the weekly interval. 211 * Indicates the monthly interval. 216 * Indicates the annually interval. 222 … * Queries usage information about each bundle within a specified period at a specified interval. 228 * @param byInterval Indicates the interval at which the usage statistics are queried.
|
| /foundation/resourceschedule/work_scheduler/services/native/include/ |
| D | watchdog.h | 34 * @param interval The interval. 37 bool AddWatchdog(const uint32_t watchdogId, int32_t interval);
|
| /foundation/ability/ability_runtime/frameworks/simulator/ability_simulator/src/ |
| D | js_timer.cpp | 108 HILOG_ERROR("Start timeout or interval failed with engine or callback info is nullptr."); in StartTimeoutOrInterval() 128 // if setInterval is called, interval must not be zero for repeat, so set to 1ms in StartTimeoutOrInterval() 129 int64_t interval = 0; in StartTimeoutOrInterval() local 131 interval = delayTime > 0 ? delayTime : 1; in StartTimeoutOrInterval() 133 task->Start(delayTime, interval); in StartTimeoutOrInterval() 156 HILOG_ERROR("Stop timeout or interval failed with engine or callback info is nullptr."); in StopTimeoutOrInterval()
|
| /foundation/arkui/ace_engine/frameworks/core/components/declaration/piece/ |
| D | piece_declaration.h | 29 Dimension interval; // Interval between text and icon. member 91 return attribute.interval; in GetInterval() 93 void SetInterval(const Dimension& interval) in SetInterval() argument 96 attribute.interval = interval; in SetInterval()
|
| /foundation/graphic/ui/test/unittest/components/ |
| D | ui_repeat_button_unit_test.cpp | 74 const uint16_t interval = 10; variable 75 repeatBtn_->SetInterval(interval); 76 EXPECT_EQ(repeatBtn_->GetInterval(), interval);
|
| /foundation/arkui/ace_engine_lite/frameworks/examples/airquality/src/main/js/default/pages/index/ |
| D | index.js | 74 var interval = setInterval(function () { variable 76 clearInterval(interval); 95 var interval = setInterval(function () { 97 clearInterval(interval);
|
| /foundation/communication/bluetooth/services/bluetooth/stack/include/ |
| D | gap_comm.h | 64 #define GAP_SCAN_INTERVAL_RANGE_MIN 0x0012 /// Minimum Scan Interval 65 #define GAP_SCAN_INTERVAL_RANGE_MAX 0x1000 /// Maximum Scan Interval 69 #define GAP_INQUIRY_SCAN_INTERVAL_DEFAULT 0x1000 /// Controller default inquiry scan interval value 71 #define GAP_PAGE_SCAN_INTERVAL_DEFAULT 0x0800 /// Controller default page scan interval value
|
| /foundation/communication/bluetooth/services/bluetooth/service/src/common/ |
| D | power_device.cpp | 138 void PowerDevice::ModeChangeCallBack(uint8_t status, uint8_t currentMode, uint16_t interval) in ModeChangeCallBack() argument 141 …tus: %{public}d, currentMode: %{public}d, interval: %{public}d\n", __FUNCTION__, status, currentMo… in ModeChangeCallBack() 149 … if (interval <= SNIFF_LEVEL_LOW_MAX_INTERVAL && interval >= SNIFF_LEVEL_LOW_MIN_INTERVAL) { in ModeChangeCallBack() 151 … } else if (interval <= SNIFF_LEVEL_MID_MAX_INTERVAL && interval >= SNIFF_LEVEL_MID_MIN_INTERVAL) { in ModeChangeCallBack() 153 … } else if (interval <= SNIFF_LEVEL_HIG_MAX_INTERVAL && interval >= SNIFF_LEVEL_HIG_MIN_INTERVAL) { in ModeChangeCallBack()
|
| /foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_scan/ |
| D | scan_service_test.cpp | 1301 int interval = 0; in PnoScanByIntervalSuccess1() local 1303 … EXPECT_EQ(pScanService->PnoScanByInterval(fixedScanCount, fixedScanTime, interval, count), true); in PnoScanByIntervalSuccess1() 1310 int interval = 0; in PnoScanByIntervalSuccess2() local 1312 … EXPECT_EQ(pScanService->PnoScanByInterval(fixedScanCount, fixedScanTime, interval, count), true); in PnoScanByIntervalSuccess2() 1319 int interval = 1; in PnoScanByIntervalSuccess3() local 1321 … EXPECT_EQ(pScanService->PnoScanByInterval(fixedScanCount, fixedScanTime, interval, count), true); in PnoScanByIntervalSuccess3() 1328 int interval = 1; in PnoScanByIntervalFail1() local 1330 … EXPECT_EQ(pScanService->PnoScanByInterval(fixedScanCount, fixedScanTime, interval, count), false); in PnoScanByIntervalFail1() 1336 int interval = 1; in SystemScanByIntervalSuccess() local 1339 EXPECT_EQ(pScanService->SystemScanByInterval(expScanCount, interval, count), true); in SystemScanByIntervalSuccess() [all …]
|