Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 45) sorted by relevance

12

/system/core/include/cutils/
Dabort_socket.h78 socklen_t addrlen, int timeout);
81 socklen_t *addrlen, int timeout);
83 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout);
86 int timeout);
/system/core/libcutils/
Dabort_socket.c60 socklen_t addrlen, int timeout) { in asocket_connect() argument
81 ret = poll(pfd, 2, timeout); in asocket_connect()
120 socklen_t *addrlen, int timeout) { in asocket_accept() argument
133 ret = poll(pfd, 2, timeout); in asocket_accept()
166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { in asocket_read() argument
178 ret = poll(pfd, 2, timeout); in asocket_read()
212 int timeout) { in asocket_write() argument
224 ret = poll(pfd, 2, timeout); in asocket_write()
/system/wlan/ti/wilink_6_1/TWD/MacServices/
DScanSrv.c592 TI_UINT32 i, uDtimPeriodMs, uBeaconIntervalMs, timeout = 0; in MacServices_scanSRVcalculateScanTimeout() local
634 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime; in MacServices_scanSRVcalculateScanTimeout()
636 timeout = (timeout / 1000) + uDtimPeriodMs + SCAN_SRV_FW_GUARD_TIME_MS; in MacServices_scanSRVcalculateScanTimeout()
645 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime; in MacServices_scanSRVcalculateScanTimeout()
647 timeout = (timeout / 1000) + uDtimPeriodMs + in MacServices_scanSRVcalculateScanTimeout()
653 timeout = scanParams->SPSScanDuration + SCAN_SRV_FW_GUARD_TIME_MS; in MacServices_scanSRVcalculateScanTimeout()
660 …SRV->hReport, REPORT_SEVERITY_INFORMATION, "scanSRVcalculateScanTimeout, timeout = %d\n", timeout); in MacServices_scanSRVcalculateScanTimeout()
662 return timeout; in MacServices_scanSRVcalculateScanTimeout()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/MacServices/src/ScanServer/
DScanSrv.c569 UINT32 i, dtimPeriod, beaconInterval,timeout = 0; in MacServices_scanSRVcalculateScanTimeout() local
613 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime; in MacServices_scanSRVcalculateScanTimeout()
615 timeout = (timeout / 1000) + dtimPeriod + SCAN_SRV_FW_GUARD_TIME_MS; in MacServices_scanSRVcalculateScanTimeout()
624 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime; in MacServices_scanSRVcalculateScanTimeout()
626 timeout = (timeout / 1000) + dtimPeriod + in MacServices_scanSRVcalculateScanTimeout()
632 timeout = scanParams->SPSScanDuration + SCAN_SRV_FW_GUARD_TIME_MS; in MacServices_scanSRVcalculateScanTimeout()
641 ("scanSRVcalculateScanTimeout, timeout = %d\n", timeout) ); in MacServices_scanSRVcalculateScanTimeout()
643 return timeout; in MacServices_scanSRVcalculateScanTimeout()
/system/core/init/
Dbootchart.c303 int timeout = 0, count = 0; in bootchart_init() local
308 timeout = atoi(buff); in bootchart_init()
323 timeout = atoi(s); in bootchart_init()
326 if (timeout == 0) in bootchart_init()
329 if (timeout > BOOTCHART_MAX_TIME_SEC) in bootchart_init()
330 timeout = BOOTCHART_MAX_TIME_SEC; in bootchart_init()
332 count = (timeout*1000 + BOOTCHART_POLLING_MS-1)/BOOTCHART_POLLING_MS; in bootchart_init()
Dinit.c734 int nr, i, timeout = -1; in main() local
762 timeout = (process_needs_restart - gettime()) * 1000; in main()
763 if (timeout < 0) in main()
764 timeout = 0; in main()
768 timeout = 0; in main()
772 if (timeout < 0 || timeout > BOOTCHART_POLLING_MS) in main()
773 timeout = BOOTCHART_POLLING_MS; in main()
781 nr = poll(ufds, fd_count, timeout); in main()
Dutil.h38 int wait_for_file(const char *filename, int timeout);
DREADME.BOOTCHART10 On the emulator, use the new -bootchart <timeout> option to boot with bootcharting
11 activated for <timeout> seconds.
/system/core/toolbox/
Dreadtty.c65 int timeout = 0; in readtty_main() local
81 timeout = atoi(optarg); in readtty_main()
112 ttyarg.c_cc[VMIN] = (timeout > 0 || nonblock) ? 0 : 1; /* minimum of 0 chars */ in readtty_main()
113 ttyarg.c_cc[VTIME] = timeout; /* wait max 15/10 sec */ in readtty_main()
/system/core/libnetutils/
Ddhcpclient.c419 unsigned int timeout; in dhcp_init_ifc() local
433 timeout = TIMEOUT_INITIAL; in dhcp_init_ifc()
442 r = poll(&pfd, 1, timeout); in dhcp_init_ifc()
448 if (timeout >= TIMEOUT_MAX) { in dhcp_init_ifc()
458 timeout = timeout * 2; in dhcp_init_ifc()
524 timeout = TIMEOUT_INITIAL; in dhcp_init_ifc()
/system/core/fastboot/
Dusb_linux.c140 ctrl.timeout = 50; in filter_usb_device()
279 bulk.timeout = 0; in usb_write()
297 bulk.timeout = 0; in usb_write()
331 bulk.timeout = 0; in usb_read()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/
Dwspi.c394 UINT32 i, timeout; in WSPI_ReadSync() local
407 timeout = WSPI_SYNC_OVER_ASYNC_TIMEOUT * length; in WSPI_ReadSync()
408 for (i = 0; i < timeout; i++) in WSPI_ReadSync()
415 if (i == timeout) in WSPI_ReadSync()
636 int i, timeout; in WSPI_WriteSync() local
649 timeout = WSPI_SYNC_OVER_ASYNC_TIMEOUT * length; in WSPI_WriteSync()
650 for (i = 0; i < timeout; i++) in WSPI_WriteSync()
657 if (i == timeout) in WSPI_WriteSync()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Auth/
DauthSm.c234 pHandle->timeout = pAuthInitParams->authResponseTimeout; in auth_config()
425 pParam->content.authResponseTimeout = pHandle->timeout; in auth_getParam()
499 pHandle->timeout = pParam->content.authResponseTimeout; in auth_setParam()
DauthSm.h81 UINT32 timeout; member
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
DauthSm.c211 pHandle->timeout = pAuthInitParams->authResponseTimeout; in auth_SetDefaults()
414 pParam->content.authResponseTimeout = pHandle->timeout; in auth_getParam()
488 pHandle->timeout = pParam->content.authResponseTimeout; in auth_setParam()
DauthSm.h80 TI_UINT32 timeout; member
DAssocSM.h96 TI_UINT32 timeout; member
DtrafficAdmControl.h97 TI_UINT32 timeout; member
/system/core/debuggerd/
Dgetevent.c191 int get_event(struct input_event* event, int timeout) in get_event() argument
198 pollres = poll(ufds, nfds, timeout); in get_event()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/
Dconn.h79 UINT32 timeout; member
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
Dconn.h78 TI_UINT32 timeout; member
Dconn.c186 pConn->timeout = pConnInitParams->connSelfTimeout; in conn_SetDefaults()
285 pConn->timeout = pParam->content.connSelfTimeout; in conn_setParam()
323 pParam->content.connSelfTimeout = pConn->timeout; in conn_getParam()
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Assoc/
DAssocSM.h97 UINT32 timeout; member
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/QOS/Inc/
DtrafficAdmControl.h96 UINT32 timeout; member
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/conn/
Dconn.c206 pConn->timeout = pConnInitParams->connSelfTimeout; in conn_config()
317 pConn->timeout = pParam->content.connSelfTimeout; in conn_setParam()
355 pParam->content.connSelfTimeout = pConn->timeout; in conn_getParam()

12