/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_listen.py | 17 print(" %s -i <interface_name> [-t <timeout>] \ " \ 22 print(" -t = timeout = 0s (infinite)") 41 global timeout 50 def __init__(self,interface_name,wpas_dbus_interface,timeout): 52 self.timeout = int(timeout) 104 self.p2p_interface.Listen(int(self.timeout)) 107 # Required for timeout implementation 115 timeout = 0 variable 138 # Timeout [all...] |
p2p_stop_find.py | 42 global timeout 51 def __init__(self,interface_name,wpas_dbus_interface,timeout): 55 self.timeout = timeout 109 # Required for timeout implementation 118 timeout = 5 variable 157 wpas_dbus_interface,timeout) 168 time.sleep(int(p2p_stop_find_test.timeout))
|
/external/okhttp/okio/okio/src/main/java/okio/ |
Okio.java | 62 return sink(out, new Timeout()); 65 private static Sink sink(final OutputStream out, final Timeout timeout) { 67 if (timeout == null) throw new IllegalArgumentException("timeout == null"); 73 timeout.throwIfReached(); 97 @Override public Timeout timeout() { method in class:Okio 98 return timeout; 114 AsyncTimeout timeout = timeout(socket) [all...] |
/cts/common/device-side/util/src/com/android/compatibility/common/util/ |
RetryRule.java | 73 final Timeout timeout = e.getTimeout(); local 74 if (timeout != null) { 75 long before = timeout.ms(); 76 timeout.increase(); 77 Log.d(TAG, "Increased " + timeout.getName() + " from " + before + "ms" 78 + " to " + timeout.ms() + "ms");
|
/cts/common/device-side/util/tests/src/com/android/compatibility/common/util/ |
TimeoutTest.java | 27 import com.android.compatibility.common.util.Timeout.Sleeper; 50 assertThrows(IllegalArgumentException.class, ()-> new Timeout(null, 1, 2, 2)); 51 assertThrows(IllegalArgumentException.class, ()-> new Timeout("", 1, 2, 2)); 53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2)); 54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2)); 56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2)); 57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2)); 58 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2)); 60 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1)); 61 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0)) 68 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 77 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 92 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 105 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local 114 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local 123 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local [all...] |
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/ |
RetryRule.java | 73 final Timeout timeout = e.getTimeout(); local 74 if (timeout != null) { 75 long before = timeout.ms(); 76 timeout.increase(); 77 Log.d(TAG, "Increased " + timeout.getName() + " from " + before + "ms" 78 + " to " + timeout.ms() + "ms");
|
/cts/common/device-side/util-axt/tests/src/com/android/compatibility/common/util/ |
TimeoutTest.java | 27 import com.android.compatibility.common.util.Timeout.Sleeper; 50 assertThrows(IllegalArgumentException.class, ()-> new Timeout(null, 1, 2, 2)); 51 assertThrows(IllegalArgumentException.class, ()-> new Timeout("", 1, 2, 2)); 53 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, -1, 2, 2)); 54 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 0, 2, 2)); 56 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, -1, 2)); 57 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 0, 2)); 58 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 1, 2)); 60 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, -1)); 61 assertThrows(IllegalArgumentException.class, ()-> new Timeout(NAME, 1, 2, 0)) 68 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 77 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 92 final Timeout timeout = new Timeout(NAME, 1, 2, 5); local 105 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local 114 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local 123 final Timeout timeout = new Timeout(mSleeper, NAME, 100, 2, 500); local [all...] |
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/ |
Okio.java | 64 return sink(out, new Timeout()); 67 private static Sink sink(final OutputStream out, final Timeout timeout) { 69 if (timeout == null) throw new IllegalArgumentException("timeout == null"); 75 timeout.throwIfReached(); 99 @Override public Timeout timeout() { method in class:Okio 100 return timeout; 116 AsyncTimeout timeout = timeout(socket) [all...] |
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_CT.h | 44 char timeout[32]; member in struct:xt_ct_target_info_v1
|
/bionic/libc/kernel/uapi/linux/ |
pg.h | 27 int timeout; member in struct:pg_write_hdr
|
/device/google/contexthub/util/stm32_flash/ |
spi.c | 97 uint16_t timeout = 65535; local 114 timeout --; 115 } while (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout > 0); 117 if (buffer[0] != CMD_ACK && buffer[0] != CMD_NACK && timeout == 0)
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServerSocket.java | 34 private int timeout = 8000; field in class:Support_HttpServerSocket 48 instance.setSoTimeout(timeout); 55 * timeout for the server. 57 public void setTimeout(int timeout) { 58 this.timeout = timeout;
|
/external/autotest/client/site_tests/camera_HAL3Perf/ |
camera_HAL3Perf.py | 29 timeout = 60 variable in class:camera_HAL3Perf 101 cmd, timeout=self.timeout, ignore_status=True)
|
/external/autotest/client/site_tests/cellular_GobiSwitchCarrier/ |
cellular_GobiSwitchCarrier.py | 50 def timeout(self): member in class:cellular_GobiSwitchCarrier 51 self.fail('Timeout') 85 gobject.timeout_add(timeout_secs * 1000, self.timeout)
|
/external/curl/docs/examples/ |
multi-double.c | 67 struct timeval timeout; local 82 /* set a suitable timeout to play around with */ 83 timeout.tv_sec = 1; 84 timeout.tv_usec = 0; 88 timeout.tv_sec = curl_timeo / 1000; 89 if(timeout.tv_sec > 1) 90 timeout.tv_sec = 1; 92 timeout.tv_usec = (curl_timeo % 1000) * 1000; 120 /* Note that on some platforms 'timeout' may be modified by select(). 122 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
multi-formadd.c | 87 struct timeval timeout; local 102 /* set a suitable timeout to play around with */ 103 timeout.tv_sec = 1; 104 timeout.tv_usec = 0; 108 timeout.tv_sec = curl_timeo / 1000; 109 if(timeout.tv_sec > 1) 110 timeout.tv_sec = 1; 112 timeout.tv_usec = (curl_timeo % 1000) * 1000; 140 /* Note that on some platforms 'timeout' may be modified by select(). 142 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
multi-post.c | 83 struct timeval timeout; local 98 /* set a suitable timeout to play around with */ 99 timeout.tv_sec = 1; 100 timeout.tv_usec = 0; 104 timeout.tv_sec = curl_timeo / 1000; 105 if(timeout.tv_sec > 1) 106 timeout.tv_sec = 1; 108 timeout.tv_usec = (curl_timeo % 1000) * 1000; 136 /* Note that on some platforms 'timeout' may be modified by select(). 138 rc = select(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); [all...] |
/external/curl/tests/libtest/ |
lib1501.c | 61 struct timeval timeout; local 70 timeout.tv_sec = 0; 71 timeout.tv_usec = 100000L; /* 100 ms */ 81 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib1502.c | 96 struct timeval timeout; local 105 timeout.tv_sec = 1; 106 timeout.tv_usec = 0; 112 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib1905.c | 61 struct timeval timeout; local 72 timeout.tv_sec = max_tout / 1000; 73 timeout.tv_usec = (max_tout % 1000) * 1000; 76 timeout.tv_sec = 0; 77 timeout.tv_usec = 1000; 80 select(MAX + 1, &R, &W, &E, &timeout);
|
lib502.c | 54 struct timeval timeout; local 58 timeout.tv_sec = 0; 59 timeout.tv_usec = 100000L; /* 100 ms */ 76 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib507.c | 57 struct timeval timeout; local 66 timeout.tv_sec = 1; 67 timeout.tv_usec = 0; 73 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib555.c | 122 struct timeval timeout; local 126 timeout.tv_sec = 0; 127 timeout.tv_usec = 100000L; /* 100 ms */ 148 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|
lib560.c | 74 struct timeval timeout; local 85 /* set a suitable timeout to play around with */ 86 timeout.tv_sec = 1; 87 timeout.tv_usec = 0; 94 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout); 98 /* timeout or readable/writable sockets */
|
lib573.c | 69 struct timeval timeout; local 73 timeout.tv_sec = 0; 74 timeout.tv_usec = 100000L; /* 100 ms */ 91 select_test(maxfd + 1, &fdread, &fdwrite, &fdexcep, &timeout);
|