/system/core/init/ |
D | watchdogd.cpp | 35 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()
|
D | perfboot.py | 91 def __init__(self, interval, device): argument 92 self._interval = interval 451 interval_adjuster = IntervalAdjuster(args.interval, device)
|
/system/connectivity/shill/net/ |
D | event_history.cc | 63 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/ |
D | wake_on_wifi_unittest.cc | 1228 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 …]
|
D | wake_on_wifi.cc | 729 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/ |
D | healthd.cpp | 168 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/ |
D | chromeos_policy.cc | 622 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 …]
|
D | chromeos_policy.h | 151 static base::TimeDelta FuzzedInterval(PRNG* prng, int interval, int fuzz);
|
/system/bt/stack/btm/ |
D | btm_pm.c | 218 …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()
|
D | btm_inq.c | 162 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 …]
|
D | btm_int.h | 671 UINT16 interval; member 690 UINT16 interval; /* the interval from last mode change event. */ member 993 UINT16 interval);
|
/system/core/metricsd/ |
D | metrics_collector.cc | 562 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()
|
D | metrics_collector.h | 159 const unique_ptr<PersistentInteger>& interval); 188 void ScheduleMemuseCallback(double interval);
|
/system/bt/btif/include/ |
D | btif_debug_l2c.h | 50 uint16_t interval, uint16_t slave_latency_param,
|
/system/bt/btif/src/ |
D | btif_debug_l2c.c | 126 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/ |
D | btu_hcif.c | 1223 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/ |
D | neighbour_test.py | 161 def MonitorSleepMs(self, interval, addr): argument 163 while slept < interval: 164 sleep_ms = min(100, interval - slept)
|
/system/bt/bta/sys/ |
D | bta_sys_main.c | 591 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()
|
D | bta_sys.h | 231 extern void bta_sys_start_timer(alarm_t *alarm, period_ms_t interval,
|
/system/core/fastboot/ |
D | usb_osx.cpp | 204 UInt8 interval; in try_interfaces() local 210 &number, &transferType, &maxPacketSize, &interval); in try_interfaces()
|
/system/core/adb/ |
D | usb_osx.cpp | 362 UInt8 interval; in CheckInterface() local 367 &number, &transferType, &maxPacketSize, &interval); in CheckInterface()
|
/system/bt/stack/include/ |
D | hcimsgs.h | 527 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/ |
D | window.h | 447 int interval);
|
/system/bt/stack/hcic/ |
D | hcicmds.c | 886 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/ |
D | profile-api.txt | 169 The interval in seconds between attempts to
|