Home
last modified time | relevance | path

Searched refs:interval (Results 1 – 25 of 113) sorted by relevance

12345

/base/hiviewdfx/hiview/plugins/eventlogger/config/
Devent_logger_config2 event id="" name="UI_BLOCK_6S" action="s,tr,k:SysRqFile,cmd:c,cmd:m,t" interval="10"
3 event id="" name="UI_BLOCK_3S" action="s,pb:1:r,t" interval="10"
4 event id="" name="THREAD_BLOCK_6S" action="tr,k:SysRqFile,cmd:c,cmd:m,t,cmd:dam" interval="10"
5 event id="" name="THREAD_BLOCK_3S" action="pb:1:r,t" interval="10"
6 event id="" name="LIFECYCLE_TIMEOUT" action="tr,k:SysRqFile,cmd:c,cmd:m,t,cmd:dam" interval="10"
7 event id="" name="LIFECYCLE_HALF_TIMEOUT" action="pb:1:r,t" interval="10"
8 event id="" name="APP_INPUT_BLOCK" action="tr,k:SysRqFile,cmd:c,cmd:m,t,cmd:dam" interval="10"
9 event id="" name="SCREEN_ON_TIMEOUT" action="cmd:p,cmd:d,cmd:w,T,e" interval="10"
10 event id="" name="NO_FOCUS_WINDOW" action="cmd:w,cmd:a" interval="10"
11 event id="" name="SERVICE_BLOCK" action="S,tr,pb:1:a,k:SysRqFile,cmd:c,cmd:m,cmd:dam" interval="0"
[all …]
Devent_logger_config.cpp121 tmpConfigDate.interval = 0; in ParseConfigData()
123 tmpConfigDate.interval = std::stoi(intervalString); in ParseConfigData()
147 configOut.interval = configDate.interval; in FindConfigLine()
150 configOut.id, configOut.name.c_str(), configOut.action.c_str(), configOut.interval); in FindConfigLine()
/base/startup/init/watchdog/
Dinit_watchdog.c59 int GetWatcherDogCfg(int interval, int timeoutGet, int fd) in GetWatcherDogCfg() argument
75 if (preTimeoutGet > 0 && preTimeoutGet < interval) { in GetWatcherDogCfg()
76 interval = preTimeoutGet / PRETIMEOUT_DIV; in GetWatcherDogCfg()
78 return interval; in GetWatcherDogCfg()
92 int interval = 0; in main() local
94 interval = atoi(argv[1]); in main()
95 if (interval < 0 || interval > INT16_MAX) { in main()
96 interval = DEFAULT_INTERVAL; in main()
99 interval = (interval > 0) ? interval : DEFAULT_INTERVAL; in main()
107 INIT_LOGI("Watchdog started (interval %d, margin %d), fd = %d\n", interval, gap, fd); in main()
[all …]
/base/hiviewdfx/hiview/test/resource/base/
Devent_logger_config2 event id="" name="UI_BLOCK_3S" action="s,b,pb:1" interval="20"
3 event id="" name="UI_BLOCK_6S" action="s,B,pb:0" interval="10"
4 event id="" name="FWK_BLOCK" action="b,s=1,n=2,pb:0" interval="30"
5 event id="" name="XCOLLIE" action="b,s" interval="0"
6 event id="" name="RESUME" action="s" interval="0"
7 event id="" name="RESUME01" action="b,s=123,n=cb2,pb:0" interval="40"
8 event id="" name="RESUME02 " action="b,s=1456,n=pdc,pb:0" interval="30"
9 event id="" name="RESUME03" action="b,s=332,m=sd:2.2.10;tr56,pb:0" interval="87"
10 event id="" name="RESUME04" action="b,s=42,n=a,pb:0" interval="a16"
11 event id="0x123" name="RESUME05" action="b,s=1456,n=pdc,pb:0"interval="31" qwead
/base/hiviewdfx/hicollie/frameworks/native/
Dwatchdog.cpp31 TimeOutCallback timeOutCallback, uint64_t interval) in AddThread() argument
33 return WatchdogInner::GetInstance().AddThread(name, handler, timeOutCallback, interval); in AddThread()
36 …ead(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval) in AddThread() argument
38 return WatchdogInner::GetInstance().AddThread(name, handler, nullptr, interval); in AddThread()
46 void Watchdog::RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t … in RunPeriodicalTask() argument
48 return WatchdogInner::GetInstance().RunPeriodicalTask(name, std::move(task), interval, delay); in RunPeriodicalTask()
Dwatchdog_inner.h63 …ead(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval);
65 TimeOutCallback timeOutCallback, uint64_t interval);
67 void RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t delay);
84 int32_t StartProfileMainThread(int32_t interval);
109 void StartTraceProfile(int32_t interval);
Dwatchdog_task.h38 TimeOutCallback timeOutCallback, uint64_t interval);
39 WatchdogTask(std::string name, Task&& task, uint64_t delay, uint64_t interval, bool isOneshot);
69 std::string GetBlockDescription(uint64_t interval);
/base/security/device_security_level/baselib/utils/src/
Dutils_timer.c21 TimerHandle DslmUtilsStartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *cont… in DslmUtilsStartPeriodicTimerTask() argument
24 StartTimerTask(TRUE, interval, callback, context, &handle); in DslmUtilsStartPeriodicTimerTask()
28 TimerHandle DslmUtilsStartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context) in DslmUtilsStartOnceTimerTask() argument
31 StartTimerTask(FALSE, interval, callback, context, &handle); in DslmUtilsStartOnceTimerTask()
Dutils_timer.cpp55 TimerHandle DslmUtilsStartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *cont… in DslmUtilsStartPeriodicTimerTask() argument
58 uint32_t timerId = st.Register(std::bind(&DoTimerProcess, callback, context), interval, false); in DslmUtilsStartPeriodicTimerTask()
62 TimerHandle DslmUtilsStartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context) in DslmUtilsStartOnceTimerTask() argument
65 uint32_t timerId = st.Register(std::bind(&DoTimerProcess, callback, context), interval, true); in DslmUtilsStartOnceTimerTask()
/base/time/time_service/test/fuzztest/timemanager_fuzzer/timetesttimer_fuzzer/
Dtimer_info.h30 void SetInterval(const uint64_t &interval) override;
47 void TimerInfo::SetInterval(const uint64_t &interval) in SetInterval() argument
49 this->interval = interval; in SetInterval()
/base/update/updateservice/services/engine/src/
Dupdate_service_cache.cpp83 void UpdateServiceCache::SetCheckInterval(BusinessSubType businessSubType, uint64_t interval) in SetCheckInterval() argument
90 paramCheckInterval_ = interval; in SetCheckInterval()
92 checkInterval_ = interval; in SetCheckInterval()
105 void UpdateServiceCache::SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval) in SetDownloadInterval() argument
112 paramDownloadInterval_ = interval; in SetDownloadInterval()
114 downloadInterval_ = interval; in SetDownloadInterval()
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_timer.cpp59 int interval = provision_->GetMaxCd(); in CreateProvisionFd() local
60 SetTimerInterval(interval, timerFd_); in CreateProvisionFd()
104 void ThermalProtectorTimer::SetTimerInterval(int32_t interval, int32_t timerfd) in SetTimerInterval() argument
112 timerInterval_ = interval; in SetTimerInterval()
114 if (interval < 0) { in SetTimerInterval()
115 interval = 0; in SetTimerInterval()
118 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
120 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
Dthermal_sensor_provider.cpp154 void ThermalSensorProvider::SetTimerInterval(int interval, int32_t timerfd) in SetTimerInterval() argument
162 timerInterval_ = interval; in SetTimerInterval()
163 if (interval < 0) { in SetTimerInterval()
164 interval = 0; in SetTimerInterval()
167 itval.it_interval.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
169 itval.it_value.tv_sec = interval / MS_PER_SECOND; in SetTimerInterval()
/base/hiviewdfx/hicollie/interfaces/native/innerkits/include/xcollie/
Dwatchdog.h43 TimeOutCallback timeOutCallback = nullptr, uint64_t interval = WATCHDOG_TIMEVAL);
54 …ad(const std::string &name, std::shared_ptr<AppExecFwk::EventHandler> handler, uint64_t interval);
75 …void RunPeriodicalTask(const std::string& name, Task&& task, uint64_t interval, uint64_t delay = 0…
/base/security/device_security_level/baselib/utils/include/
Dutils_timer.h29 TimerHandle DslmUtilsStartPeriodicTimerTask(uint32_t interval, TimerProc callback, const void *cont…
31 TimerHandle DslmUtilsStartOnceTimerTask(uint32_t interval, TimerProc callback, const void *context);
/base/telephony/call_manager/utils/include/
Dtimer.h48 void start(int interval, std::function<void()> taskFun) in start() argument
54 std::thread([this, interval, taskFun]() { in start()
57 std::this_thread::sleep_for(std::chrono::milliseconds(interval)); in start()
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_timer.cpp58 interval = _interval; in SetInterval()
109 void ThermalTimerUtils::Start(int interval, NotifyTask &task) in Start() argument
117 std::thread([this, interval, task]() { in Start()
120 std::this_thread::sleep_for(std::chrono::milliseconds(interval)); in Start()
/base/time/time_service/interfaces/inner_api/include/
Ditimer_info.h32 uint64_t interval; variable
78 virtual void SetInterval(const uint64_t &interval) = 0;
/base/inputmethod/imf/common/src/
Dglobal.cpp34 bool BlockRetry(uint32_t interval, uint32_t maxRetryTimes, Function func) in BlockRetry() argument
44 std::this_thread::sleep_for(std::chrono::milliseconds(interval)); in BlockRetry()
/base/time/time_service/services/dfx/src/
Dtime_sysevent.cpp33 auto interval = static_cast<uint64_t>(timer->repeatInterval.count()); in StatisticReporter() local
37 "TRIGGER_TIME", triggerTime, "INTERVAL", interval); in StatisticReporter()
/base/time/time_service/test/unittest/service_test/src/
Dtime_proxy_test.cpp80 paras.interval = 0;
123 paras.interval = 0;
161 paras.interval = 0;
204 paras.interval = 0;
247 paras.interval = 0;
289 paras.interval = 0;
358 paras.interval = 0;
465 uint32_t interval = 300; variable
466 bool ret = timerManagerHandler_->AdjustTimer(isAdjust, interval);
473 interval = 0;
[all …]
/base/update/updateservice/services/engine/include/
Dupdate_service_cache.h32 static void SetCheckInterval(BusinessSubType businessSubType, uint64_t interval);
34 static void SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval);
/base/hiviewdfx/hiview/plugins/performance/timer/
DSceneTimerOhImpl.cpp44 void SceneTimerOhImpl::Start(int user, int id, long interval) in Start() argument
48 long long expireTs = CalcExpireTimeStamp(interval); in Start()
63 milliseconds interval(checkInterval); in Loop() local
66 cv.wait_for(uniqueLock, interval); in Loop()
/base/hiviewdfx/hicollie/frameworks/native/test/unittest/common/
Dwatchdog_inner_test.cpp126 uint64_t interval = 0; variable
128 WatchdogTask task(name, taskFunc, delay, interval, isOneshot);
130 delay, interval, isOneshot));
151 uint64_t interval = 0; variable
153 WatchdogTask task(name, taskFunc, delay, interval, isOneshot);
155 delay, interval, isOneshot));
/base/time/time_service/test/unittest/service_test/include/
Dtimer_info_test.h44 virtual void SetInterval(const uint64_t &interval) override;
86 interval = _interval; in SetInterval()

12345