Home
last modified time | relevance | path

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

12

/system/core/init/
Dwatchdogd.cpp35 int interval = 10; in watchdogd_main() local
36 if (argc >= 2) interval = atoi(argv[1]); in watchdogd_main()
41 NOTICE("started (interval %d, margin %d)!\n", interval, margin); in watchdogd_main()
49 int timeout = interval + margin; in watchdogd_main()
58 interval = timeout - margin; in watchdogd_main()
60 interval = 1; in watchdogd_main()
64 timeout, interval, margin); in watchdogd_main()
70 sleep(interval); in watchdogd_main()
Dperfboot.py91 def __init__(self, interval, device): argument
92 self._interval = interval
451 interval_adjuster = IntervalAdjuster(args.interval, device)
/system/connectivity/shill/net/
Devent_history.cc63 struct timeval interval = (const struct timeval){seconds_ago}; in ExpireEventsBeforeInternal() local
80 if (timercmp(&elapsed, &interval, < )) { in ExpireEventsBeforeInternal()
91 struct timeval interval = (const struct timeval){seconds_ago}; in CountEventsWithinInterval() local
109 if (timercmp(&elapsed, &interval, <= )) { in CountEventsWithinInterval()
/system/connectivity/shill/wifi/
Dwake_on_wifi_unittest.cc1228 const uint32_t interval = kNetDetectScanIntervalSeconds; in TEST_F() local
1234 WakeOnWiFiSettingsMatch(msg0, trigs, all_addresses, interval, whitelist)); in TEST_F()
1243 WakeOnWiFiSettingsMatch(msg1, trigs, all_addresses, interval, whitelist)); in TEST_F()
1245 WakeOnWiFiSettingsMatch(msg0, trigs, all_addresses, interval, whitelist)); in TEST_F()
1254 WakeOnWiFiSettingsMatch(msg2, trigs, all_addresses, interval, whitelist)); in TEST_F()
1256 WakeOnWiFiSettingsMatch(msg1, trigs, all_addresses, interval, whitelist)); in TEST_F()
1258 WakeOnWiFiSettingsMatch(msg0, trigs, all_addresses, interval, whitelist)); in TEST_F()
1267 WakeOnWiFiSettingsMatch(msg3, trigs, all_addresses, interval, whitelist)); in TEST_F()
1269 WakeOnWiFiSettingsMatch(msg2, trigs, all_addresses, interval, whitelist)); in TEST_F()
1271 WakeOnWiFiSettingsMatch(msg1, trigs, all_addresses, interval, whitelist)); in TEST_F()
[all …]
Dwake_on_wifi.cc729 uint32_t interval; in WakeOnWiFiSettingsMatch()
731 NL80211_ATTR_SCHED_SCAN_INTERVAL, &interval)) { in WakeOnWiFiSettingsMatch()
737 if (interval != net_detect_scan_period_seconds * 1000) { in WakeOnWiFiSettingsMatch()
/system/core/healthd/
Dhealthd.cpp168 static void wakealarm_set_interval(int interval) { in wakealarm_set_interval() argument
174 wakealarm_wake_interval = interval; in wakealarm_set_interval()
176 if (interval == -1) in wakealarm_set_interval()
177 interval = 0; in wakealarm_set_interval()
179 itval.it_interval.tv_sec = interval; in wakealarm_set_interval()
181 itval.it_value.tv_sec = interval; in wakealarm_set_interval()
/system/update_engine/update_manager/
Dchromeos_policy.cc622 int interval = *server_dictated_poll_interval; in NextUpdateCheckTime() local
628 if (interval == 0) { in NextUpdateCheckTime()
633 interval = kTimeoutPeriodicInterval; in NextUpdateCheckTime()
635 while (interval < kTimeoutMaxBackoffInterval && num_failures) { in NextUpdateCheckTime()
636 interval *= 2; in NextUpdateCheckTime()
642 if (interval > kTimeoutMaxBackoffInterval) in NextUpdateCheckTime()
643 interval = kTimeoutMaxBackoffInterval; in NextUpdateCheckTime()
647 if (interval <= kTimeoutPeriodicInterval) { in NextUpdateCheckTime()
648 interval = kTimeoutPeriodicInterval; in NextUpdateCheckTime()
654 fuzz = interval; in NextUpdateCheckTime()
[all …]
Dchromeos_policy.h151 static base::TimeDelta FuzzedInterval(PRNG* prng, int interval, int fuzz);
/system/bt/stack/btm/
Dbtm_pm.c218 …mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && (p_mode->min <= p_cb->interval in BTM_SetPowerMode()
219 ((p_mode->mode & BTM_PM_MD_FORCE)==0 && (p_mode->max >= p_cb->interval)) ) in BTM_SetPowerMode()
221 …etPowerMode: mode:0x%x interval %d max:%d, min:%d", p_mode->mode, p_cb->interval, p_mode->max, p_m… in BTM_SetPowerMode()
624 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval)) ) in btm_pm_snd_md_req()
813 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) in btm_pm_proc_mode_change() argument
831 p_cb->interval = interval; in btm_pm_proc_mode_change()
883 (*btm_cb.pm_reg_db[yy].cback)( p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change()
928 if(p_cb->interval == max_rx_lat) in btm_pm_proc_ssr_evt()
Dbtm_inq.c162 tBTM_STATUS BTM_SetDiscoverability (UINT16 inq_mode, UINT16 window, UINT16 interval) in BTM_SetDiscoverability() argument
199 if (!interval) in BTM_SetDiscoverability()
200 interval = BTM_DEFAULT_DISC_INTERVAL; in BTM_SetDiscoverability()
203 inq_mode, window, interval); in BTM_SetDiscoverability()
212 interval < HCI_MIN_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability()
213 interval > HCI_MAX_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability()
214 window > interval) in BTM_SetDiscoverability()
243 (interval != btm_cb.btm_inq_vars.inq_scan_period)) in BTM_SetDiscoverability()
245 if (btsnd_hcic_write_inqscan_cfg (interval, window)) in BTM_SetDiscoverability()
248 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability()
[all …]
Dbtm_int.h671 UINT16 interval; member
690 UINT16 interval; /* the interval from last mode change event. */ member
993 UINT16 interval);
/system/core/metricsd/
Dmetrics_collector.cc562 void MetricsCollector::ScheduleMemuseCallback(double interval) { in ScheduleMemuseCallback() argument
569 base::TimeDelta::FromSeconds(interval)); in ScheduleMemuseCallback()
586 double interval = kMemuseIntervals[memuse_interval_index_++]; in MemuseCallback() local
587 memuse_final_time_ = now + interval; in MemuseCallback()
588 ScheduleMemuseCallback(interval); in MemuseCallback()
689 const unique_ptr<PersistentInteger>& interval) { in SendAndResetCrashIntervalSample() argument
690 SendSample(interval->Name(), in SendAndResetCrashIntervalSample()
691 interval->GetAndClear(), in SendAndResetCrashIntervalSample()
Dmetrics_collector.h159 const unique_ptr<PersistentInteger>& interval);
188 void ScheduleMemuseCallback(double interval);
/system/bt/btif/include/
Dbtif_debug_l2c.h50 uint16_t interval, uint16_t slave_latency_param,
/system/bt/btif/src/
Dbtif_debug_l2c.c126 uint16_t interval, uint16_t slave_latency_param, in btif_debug_ble_connection_update_response() argument
131 record_connection_update(bda, status, 0, interval, slave_latency_param, in btif_debug_ble_connection_update_response()
/system/bt/stack/btu/
Dbtu_hcif.c1223 UINT16 interval; in btu_hcif_mode_change_evt() local
1229 STREAM_TO_UINT16 (interval, p); in btu_hcif_mode_change_evt()
1233 btm_pm_proc_mode_change (status, handle, current_mode, interval); in btu_hcif_mode_change_evt()
1236 hidd_pm_proc_mode_change( status, current_mode, interval ) ; in btu_hcif_mode_change_evt()
1636 UINT16 interval; in btu_ble_ll_conn_param_upd_evt() local
1642 STREAM_TO_UINT16(interval, p); in btu_ble_ll_conn_param_upd_evt()
1646 l2cble_process_conn_update_evt(handle, status, interval, latency, timeout); in btu_ble_ll_conn_param_upd_evt()
/system/extras/tests/net_test/
Dneighbour_test.py161 def MonitorSleepMs(self, interval, addr): argument
163 while slept < interval:
164 sleep_ms = min(100, interval - slept)
/system/bt/bta/sys/
Dbta_sys_main.c591 void bta_sys_start_timer(alarm_t *alarm, period_ms_t interval, uint16_t event, in bta_sys_start_timer() argument
598 alarm_set_on_queue(alarm, interval, bta_sys_sendmsg, p_buf, in bta_sys_start_timer()
Dbta_sys.h231 extern void bta_sys_start_timer(alarm_t *alarm, period_ms_t interval,
/system/core/fastboot/
Dusb_osx.cpp204 UInt8 interval; in try_interfaces() local
210 &number, &transferType, &maxPacketSize, &interval); in try_interfaces()
/system/core/adb/
Dusb_osx.cpp362 UInt8 interval; in CheckInterface() local
367 &number, &transferType, &maxPacketSize, &interval); in CheckInterface()
/system/bt/stack/include/
Dhcimsgs.h527 extern BOOLEAN btsnd_hcic_write_pagescan_cfg(UINT16 interval,
537 extern BOOLEAN btsnd_hcic_write_inqscan_cfg(UINT16 interval, UINT16 window);
/system/core/include/system/
Dwindow.h447 int interval);
/system/bt/stack/hcic/
Dhcicmds.c886 BOOLEAN btsnd_hcic_write_pagescan_cfg(UINT16 interval, UINT16 window) in btsnd_hcic_write_pagescan_cfg() argument
897 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_pagescan_cfg()
904 BOOLEAN btsnd_hcic_write_inqscan_cfg(UINT16 interval, UINT16 window) in btsnd_hcic_write_inqscan_cfg() argument
915 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_inqscan_cfg()
/system/connectivity/shill/doc/
Dprofile-api.txt169 The interval in seconds between attempts to

12