/base/hiviewdfx/hiview/plugins/eventlogger/config/ |
D | event_logger_config | 2 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 …]
|
D | event_logger_config.cpp | 121 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/ |
D | init_watchdog.c | 59 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/ |
D | event_logger_config | 2 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/ |
D | watchdog.cpp | 31 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()
|
D | watchdog_inner.h | 63 …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);
|
D | watchdog_task.h | 38 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/ |
D | utils_timer.c | 21 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()
|
D | utils_timer.cpp | 55 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/ |
D | timer_info.h | 30 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/ |
D | update_service_cache.cpp | 83 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/ |
D | thermal_protector_timer.cpp | 59 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()
|
D | thermal_sensor_provider.cpp | 154 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/ |
D | watchdog.h | 43 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/ |
D | utils_timer.h | 29 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/ |
D | timer.h | 48 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/ |
D | thermal_timer.cpp | 58 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/ |
D | itimer_info.h | 32 uint64_t interval; variable 78 virtual void SetInterval(const uint64_t &interval) = 0;
|
/base/inputmethod/imf/common/src/ |
D | global.cpp | 34 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/ |
D | time_sysevent.cpp | 33 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/ |
D | time_proxy_test.cpp | 80 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/ |
D | update_service_cache.h | 32 static void SetCheckInterval(BusinessSubType businessSubType, uint64_t interval); 34 static void SetDownloadInterval(BusinessSubType businessSubType, uint64_t interval);
|
/base/hiviewdfx/hiview/plugins/performance/timer/ |
D | SceneTimerOhImpl.cpp | 44 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/ |
D | watchdog_inner_test.cpp | 126 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/ |
D | timer_info_test.h | 44 virtual void SetInterval(const uint64_t &interval) override; 86 interval = _interval; in SetInterval()
|