/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("watchdogd 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() 63 timeout, interval, margin); in watchdogd_main() 69 sleep(interval); in watchdogd_main()
|
/system/core/healthd/ |
D | healthd.cpp | 152 static void wakealarm_set_interval(int interval) { in wakealarm_set_interval() argument 158 wakealarm_wake_interval = interval; in wakealarm_set_interval() 160 if (interval == -1) in wakealarm_set_interval() 161 interval = 0; in wakealarm_set_interval() 163 itval.it_interval.tv_sec = interval; in wakealarm_set_interval() 165 itval.it_value.tv_sec = interval; in wakealarm_set_interval()
|
/system/bt/stack/btm/ |
D | btm_pm.c | 219 …mode->mode & BTM_PM_MD_FORCE) && (p_mode->max >= p_cb->interval) && (p_mode->min <= p_cb->interval… in BTM_SetPowerMode() 220 ((p_mode->mode & BTM_PM_MD_FORCE)==0 && (p_mode->max >= p_cb->interval)) ) in BTM_SetPowerMode() 222 …etPowerMode: mode:0x%x interval %d max:%d, min:%d", p_mode->mode, p_cb->interval, p_mode->max, p_m… in BTM_SetPowerMode() 596 ((md_res.max >= p_cb->interval) && (md_res.min <= p_cb->interval)) ) in btm_pm_snd_md_req() 785 void btm_pm_proc_mode_change (UINT8 hci_status, UINT16 hci_handle, UINT8 mode, UINT16 interval) in btm_pm_proc_mode_change() argument 803 p_cb->interval = interval; in btm_pm_proc_mode_change() 855 (*btm_cb.pm_reg_db[yy].cback)( p->remote_addr, mode, interval, hci_status); in btm_pm_proc_mode_change() 896 if(p_cb->interval == max_rx_lat) in btm_pm_proc_ssr_evt()
|
D | btm_inq.c | 156 tBTM_STATUS BTM_SetDiscoverability (UINT16 inq_mode, UINT16 window, UINT16 interval) in BTM_SetDiscoverability() argument 193 if (!interval) in BTM_SetDiscoverability() 194 interval = BTM_DEFAULT_DISC_INTERVAL; in BTM_SetDiscoverability() 197 inq_mode, window, interval); in BTM_SetDiscoverability() 206 interval < HCI_MIN_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability() 207 interval > HCI_MAX_INQUIRYSCAN_INTERVAL || in BTM_SetDiscoverability() 208 window > interval) in BTM_SetDiscoverability() 237 (interval != btm_cb.btm_inq_vars.inq_scan_period)) in BTM_SetDiscoverability() 239 if (btsnd_hcic_write_inqscan_cfg (interval, window)) in BTM_SetDiscoverability() 242 btm_cb.btm_inq_vars.inq_scan_period = interval; in BTM_SetDiscoverability() [all …]
|
D | btm_int.h | 668 UINT16 interval; member 687 UINT16 interval; /* the interval from last mode change event. */ member 980 UINT16 interval);
|
/system/core/fastboot/ |
D | usb_osx.c | 187 UInt8 interval; in try_interfaces() local 193 &number, &transferType, &maxPacketSize, &interval); in try_interfaces()
|
/system/core/adb/ |
D | usb_osx.cpp | 346 UInt8 interval; in CheckInterface() local 351 &number, &transferType, &maxPacketSize, &interval); in CheckInterface()
|
/system/bt/stack/btu/ |
D | btu_hcif.c | 1274 UINT16 interval; in btu_hcif_mode_change_evt() local 1280 STREAM_TO_UINT16 (interval, p); in btu_hcif_mode_change_evt() 1284 btm_pm_proc_mode_change (status, handle, current_mode, interval); in btu_hcif_mode_change_evt() 1287 hidd_pm_proc_mode_change( status, current_mode, interval ) ; in btu_hcif_mode_change_evt()
|
/system/core/include/system/ |
D | window.h | 432 int interval);
|
/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);
|
D | btm_api.h | 2181 UINT16 interval); 2326 UINT16 interval);
|
/system/bt/stack/hcic/ |
D | hcicmds.c | 1104 BOOLEAN btsnd_hcic_write_pagescan_cfg(UINT16 interval, UINT16 window) in btsnd_hcic_write_pagescan_cfg() argument 1120 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_pagescan_cfg() 1127 BOOLEAN btsnd_hcic_write_inqscan_cfg(UINT16 interval, UINT16 window) in btsnd_hcic_write_inqscan_cfg() argument 1143 UINT16_TO_STREAM (pp, interval); in btsnd_hcic_write_inqscan_cfg()
|
/system/bt/stack/gatt/ |
D | gatt_utils.c | 2765 UINT16 connectability, window, interval; in gatt_update_listen_mode() local 2784 connectability = BTM_ReadConnectability (&window, &interval); in gatt_update_listen_mode()
|
/system/bt/bta/dm/ |
D | bta_dm_act.c | 541 UINT16 window, interval; in bta_dm_set_visibility() local 543 UINT16 disc_mode = BTM_ReadDiscoverability(&window, &interval); in bta_dm_set_visibility() 545 UINT16 conn_mode = BTM_ReadConnectability(&window, &interval); in bta_dm_set_visibility()
|