Searched refs:timeout (Results 1 - 25 of 40) sorted by relevance

12

/system/core/include/cutils/
H A Dabort_socket.h69 /* Blocking socket I/O with timeout.
72 * timeout is in ms, use -1 to indicate no timeout. On timeout -1 is returned
78 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/
H A Dabort_socket.c60 socklen_t addrlen, int timeout) {
81 ret = poll(pfd, 2, timeout);
87 /* timeout */
120 socklen_t *addrlen, int timeout) {
133 ret = poll(pfd, 2, timeout);
139 /* timeout */
166 int asocket_read(struct asocket *s, void *buf, size_t count, int timeout) { argument
178 ret = poll(pfd, 2, timeout);
184 /* timeout */
212 int timeout) {
59 asocket_connect(struct asocket *s, const struct sockaddr *addr, socklen_t addrlen, int timeout) argument
119 asocket_accept(struct asocket *s, struct sockaddr *addr, socklen_t *addrlen, int timeout) argument
211 asocket_write(struct asocket *s, const void *buf, size_t count, int timeout) argument
[all...]
/system/core/toolbox/
H A Dreadtty.c65 int timeout = 0; local
81 timeout = atoi(optarg);
112 ttyarg.c_cc[VMIN] = (timeout > 0 || nonblock) ? 0 : 1; /* minimum of 0 chars */
113 ttyarg.c_cc[VTIME] = timeout; /* wait max 15/10 sec */
H A Dalarm.c22 // struct timeval timeout = { 0, 0 };
50 //timeout.tv_sec = strtol(optarg, NULL, 0);
172 res = select(fd + 1, &rfds, NULL, NULL, &timeout);
183 fprintf(stderr, "timeout waiting for alarm\n");
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Auth/
H A DauthSm.h81 UINT32 timeout; member in struct:__anon634
H A DauthSm.c204 * I - authTimeout - Association SM timeout \n
234 pHandle->timeout = pAuthInitParams->authResponseTimeout;
425 pParam->content.authResponseTimeout = pHandle->timeout;
499 pHandle->timeout = pParam->content.authResponseTimeout;
/system/wlan/ti/wilink_6_1/stad/src/Sta_Management/
H A DauthSm.h80 TI_UINT32 timeout; member in struct:__anon1778
H A DAssocSM.h96 TI_UINT32 timeout; member in struct:__anon1759
H A DtrafficAdmControl.h97 TI_UINT32 timeout; member in struct:__anon1831
H A DauthSm.c211 pHandle->timeout = pAuthInitParams->authResponseTimeout;
414 pParam->content.authResponseTimeout = pHandle->timeout;
488 pHandle->timeout = pParam->content.authResponseTimeout;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/MacServices/src/ScanServer/
H A DScanSrv.c569 UINT32 i, dtimPeriod, beaconInterval,timeout = 0; local
573 timeout calculation is performed according to scan type:
610 /* the timeout is the scan duration on all channels */
613 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
615 timeout = (timeout / 1000) + dtimPeriod + SCAN_SRV_FW_GUARD_TIME_MS;
620 /* the timeout is the scan duration on all channels, plus the maximum time that can pass
624 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
626 timeout = (timeout / 100
[all...]
/system/wlan/ti/wilink_6_1/TWD/MacServices/
H A DScanSrv.c592 TI_UINT32 i, uDtimPeriodMs, uBeaconIntervalMs, timeout = 0; local
596 timeout calculation is performed according to scan type:
631 /* the timeout is the scan duration on all channels */
634 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
636 timeout = (timeout / 1000) + uDtimPeriodMs + SCAN_SRV_FW_GUARD_TIME_MS;
641 /* the timeout is the scan duration on all channels, plus the maximum time that can pass
645 timeout += scanParams->channelEntry[ i ].normalChannelEntry.maxChannelDwellTime;
647 timeout = (timeout / 100
[all...]
/system/core/init/
H A Dbootchart.c303 int timeout = 0, count = 0; local
308 timeout = atoi(buff);
311 /* when running with emulator, androidboot.bootchart=<timeout>
313 * timeout. this is useful when using -wipe-data since the /data
323 timeout = atoi(s);
326 if (timeout == 0)
329 if (timeout > BOOTCHART_MAX_TIME_SEC)
330 timeout = BOOTCHART_MAX_TIME_SEC;
332 count = (timeout*1000 + BOOTCHART_POLLING_MS-1)/BOOTCHART_POLLING_MS;
H A Dinit.c1000 int nr, i, timeout = -1; local
1009 timeout = (process_needs_restart - gettime()) * 1000;
1010 if (timeout < 0)
1011 timeout = 0;
1016 if (timeout < 0 || timeout > BOOTCHART_POLLING_MS)
1017 timeout = BOOTCHART_POLLING_MS;
1024 nr = poll(ufds, fd_count, timeout);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/inc/
H A Dconn.h79 UINT32 timeout; member in struct:__anon609
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/mlme/Assoc/
H A DAssocSM.h97 UINT32 timeout; member in struct:__anon632
/system/wlan/ti/wilink_6_1/stad/src/Connection_Managment/
H A Dconn.h78 TI_UINT32 timeout; member in struct:__anon1661
H A Dconn.c186 pConn->timeout = pConnInitParams->connSelfTimeout;
285 pConn->timeout = pParam->content.connSelfTimeout;
323 pParam->content.connSelfTimeout = pConn->timeout;
572 This function calls the self connection SM with timeout event
/system/core/libnetutils/
H A Ddhcpclient.c419 unsigned int timeout; local
433 timeout = TIMEOUT_INITIAL;
442 r = poll(&pfd, 1, timeout);
448 if (timeout >= TIMEOUT_MAX) {
458 timeout = timeout * 2;
524 timeout = TIMEOUT_INITIAL;
/system/wlan/ti/sta_dk_4_0_4_32/common/src/Management/QOS/Inc/
H A DtrafficAdmControl.h96 UINT32 timeout; member in struct:__anon438
/system/core/fastboot/
H A Dusb_linux.c278 bulk.timeout = 0;
296 bulk.timeout = 0;
330 bulk.timeout = 0;
/system/core/debuggerd/
H A Dgetevent.c191 int get_event(struct input_event* event, int timeout) argument
198 pollres = poll(ufds, nfds, timeout);
/system/wlan/ti/sta_dk_4_0_4_32/common/src/TNETW_Driver/TNETWIF/BusTxn/
H A Dwspi.c394 UINT32 i, timeout; local
407 timeout = WSPI_SYNC_OVER_ASYNC_TIMEOUT * length;
408 for (i = 0; i < timeout; i++)
415 if (i == timeout)
417 /* Reached the timeout criteria without ending the asynchronous read */
636 int i, timeout; local
649 timeout = WSPI_SYNC_OVER_ASYNC_TIMEOUT * length;
650 for (i = 0; i < timeout; i++)
657 if (i == timeout)
659 /* Reached the timeout criteri
[all...]
/system/wlan/ti/sta_dk_4_0_4_32/common/src/core/sme/conn/
H A Dconn.c206 pConn->timeout = pConnInitParams->connSelfTimeout;
317 pConn->timeout = pParam->content.connSelfTimeout;
355 pParam->content.connSelfTimeout = pConn->timeout;
595 This function calls the self connection SM with timeout event
/system/bluetooth/tools/
H A Dpipetest.c55 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
59 ret = poll(ufds, nfds, timeout);

Completed in 1509 milliseconds

12