Searched defs:timeout (Results 1 - 15 of 15) sorted by relevance

/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 */
/system/core/debuggerd/
H A Dgetevent.c191 int get_event(struct input_event* event, int timeout) argument
198 pollres = poll(ufds, nfds, timeout);
H A Ddebuggerd.c659 extern int get_event(struct input_event* event, int timeout);
692 int timeout = abs((int)(codes[s])) * ms; local
693 int res = get_event(&e, timeout);
/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);
H A Dasocket_test.c297 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
304 ret = poll(ufds, nfds, timeout);
H A Dsocktest.c311 static int _poll(struct pollfd *ufds, nfds_t nfds, int timeout) { argument
318 ret = poll(ufds, nfds, timeout);
/system/core/init/
H A Dutil.c326 int wait_for_file(const char *filename, int timeout) argument
329 time_t timeout_time = gettime() + timeout;
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.c761 int nr, i, timeout = -1; local
789 timeout = (process_needs_restart - gettime()) * 1000;
790 if (timeout < 0)
791 timeout = 0;
795 timeout = 0;
799 if (timeout < 0 || timeout > BOOTCHART_POLLING_MS)
800 timeout = BOOTCHART_POLLING_MS;
808 nr = poll(ufds, fd_count, timeout);
/system/core/libnetutils/
H A Ddhcpclient.c396 unsigned int timeout; local
410 timeout = TIMEOUT_INITIAL;
419 r = poll(&pfd, 1, timeout);
425 if (timeout >= TIMEOUT_MAX) {
435 timeout = timeout * 2;
501 timeout = TIMEOUT_INITIAL;
/system/core/libusbhost/
H A Dusbhost.c456 unsigned int timeout)
471 ctrl.timeout = timeout;
479 unsigned int timeout)
491 ctrl.timeout = timeout;
449 usb_device_control_transfer(struct usb_device *device, int requestType, int request, int value, int index, void* buffer, int length, unsigned int timeout) argument
475 usb_device_bulk_transfer(struct usb_device *device, int endpoint, void* buffer, int length, unsigned int timeout) argument
/system/core/logcat/
H A Dlogcat.cpp269 timeval timeout = { 0, 5000 /* 5ms */ }; // If we oversleep it's ok, i.e. ignore EINTR. local
274 result = select(max + 1, &readset, NULL, NULL, sleep ? NULL : &timeout);
313 // we did our short timeout trick and there's nothing new
/system/core/charger/
H A Dcharger.c799 int64_t timeout)
801 int64_t then = key->timestamp + timeout;
819 /* if the key is pressed but timeout hasn't expired,
868 int64_t timeout; local
884 timeout = max(0, next_event - now);
886 timeout = -1;
887 LOGV("[%lld] blocking (%lld)\n", now, timeout);
888 ret = ev_wait((int)timeout);
797 set_next_key_check(struct charger *charger, struct key_state *key, int64_t timeout) argument
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h624 uint16_t timeout; member in struct:__anon41
836 uint16_t timeout; member in struct:__anon67
842 uint16_t timeout; member in struct:__anon68
850 uint16_t timeout; member in struct:__anon69
856 uint16_t timeout; member in struct:__anon70
991 uint16_t timeout; member in struct:__anon84
999 uint16_t timeout; member in struct:__anon85
1234 uint16_t timeout; member in struct:__anon119
1240 uint16_t timeout; member in struct:__anon120
1265 uint32_t timeout; member in struct:__anon122
1272 uint32_t timeout; member in struct:__anon123
2147 uint16_t timeout; member in struct:__anon223
[all...]

Completed in 1337 milliseconds