/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_timeout.py | 1 """Unit tests for socket timeout feature.""" 25 "timeout not disabled by default") 91 """Test case for socket.socket() timeout functions""" 111 # failures due to the connect succeeding before the timeout. 114 # the timeout occurred fast enough. 117 # Test connect() timeout 127 "timeout (%g) is more than %g seconds more than expected (%g)" 131 # Test recv() timeout 139 self.assertRaises(socket.timeout, self.sock.recv, 1024) 144 "timeout (%g) is %g seconds more than expected (%g) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_timeout.py | 1 """Unit tests for socket timeout feature.""" 25 "timeout not disabled by default") 91 """Test case for socket.socket() timeout functions""" 111 # failures due to the connect succeeding before the timeout. 114 # the timeout occurred fast enough. 117 # Test connect() timeout 127 "timeout (%g) is more than %g seconds more than expected (%g)" 131 # Test recv() timeout 139 self.assertRaises(socket.timeout, self.sock.recv, 1024) 144 "timeout (%g) is %g seconds more than expected (%g) [all...] |
/external/chromium_org/media/cast/net/pacing/ |
paced_sender_unittest.cc | 103 base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); local 104 testing_clock_.Advance(timeout); 108 timeout = base::TimeDelta::FromMilliseconds(5); 109 testing_clock_.Advance(timeout); 114 testing_clock_.Advance(timeout); 118 testing_clock_.Advance(timeout); 146 base::TimeDelta timeout = base::TimeDelta::FromMilliseconds(10); local 147 testing_clock_.Advance(timeout); 155 testing_clock_.Advance(timeout); 161 testing_clock_.Advance(timeout); [all...] |
/external/smack/src/org/jivesoftware/smackx/workgroup/packet/ |
OfferRequestProvider.java | 50 int timeout = -1;
local 69 if ("timeout".equals(elemName)) {
70 timeout = Integer.parseInt(parser.nextText());
104 new OfferRequestPacket(userJID, userID, timeout, metaData, sessionID, content);
112 private int timeout;
field in class:OfferRequestProvider.OfferRequestPacket 119 public OfferRequestPacket(String userJID, String userID, int timeout, Map<String, List<String>> metaData,
124 this.timeout = timeout;
163 * @return the offer timeout (in seconds).
166 return this.timeout;
[all...] |
/external/chromium_org/third_party/libusb/src/libusb/ |
sync.c | 80 * \param timeout timeout (in millseconds) that this function should wait 82 * timeout, use value 0. 92 unsigned char *data, uint16_t wLength, unsigned int timeout) 114 sync_transfer_cb, &completed, timeout); 160 int *transferred, unsigned int timeout, unsigned char type) 170 sync_transfer_cb, &completed, timeout); 224 * Also check <tt>transferred</tt> when dealing with a timeout error code. 226 * underlying O/S requirements, meaning that the timeout may expire after 228 * that may have been transferred; do not assume that timeout condition [all...] |
/external/libusb/libusb/ |
sync.c | 62 * \param timeout timeout (in millseconds) that this function should wait 64 * timeout, use value 0. 74 unsigned char *data, uint16_t wLength, unsigned int timeout) 96 ctrl_transfer_cb, &completed, timeout); 155 int *transferred, unsigned int timeout, unsigned char type) 165 bulk_transfer_cb, &completed, timeout); 227 * Also check <tt>transferred</tt> when dealing with a timeout error code. 229 * underlying O/S requirements, meaning that the timeout may expire after 231 * that may have been transferred; do not assume that timeout condition [all...] |
/cts/tools/cts-xml-generator/src/com/android/cts/xmlgenerator/ |
Test.java | 23 public Test(String name, int timeout) { 25 mTimeout = timeout;
|
/development/ndk/sources/android/libportable/arch-mips/ |
epoll.c | 25 int WRAP(epoll_wait)(int epfd, struct epoll_event *events, int max, int timeout) 27 return REAL(epoll_wait)(epfd, events, max, timeout);
|
/external/apache-http/src/org/apache/http/conn/ |
ClientConnectionRequest.java | 44 * the timeout expires, or the connection manager is 52 * @param timeout the timeout, 0 or negative for no timeout 53 * @param tunit the unit for the <code>timeout</code>, 54 * may be <code>null</code> only if there is no timeout 60 * in case of a timeout 64 ManagedClientConnection getConnection(long timeout, TimeUnit tunit)
|
/external/apache-http/src/org/apache/http/impl/conn/tsccm/ |
PoolEntryRequest.java | 43 * Obtains a pool entry with a connection within the given timeout. 47 * @param timeout the timeout, 0 or negative for no timeout 48 * @param tunit the unit for the <code>timeout</code>, 49 * may be <code>null</code> only if there is no timeout 54 * if the timeout expired 59 long timeout,
|
/external/chromium_org/base/test/android/javatests/src/org/chromium/base/test/util/ |
ScalableTimeout.java | 16 public static long ScaleTimeout(long timeout) { 26 return (long)(timeout * sTimeoutScale);
|
/external/chromium_org/device/bluetooth/ |
bluetooth_task_manager_win.h | 113 // with a short timeout, then issues more inquiries with greater timeout 114 // values. The discovery finishes when StopDiscovery() is called or timeout 119 // Issues a device inquiry that runs for |timeout| * 1.28 seconds. 120 // This posts itself again with |timeout| + 1 until |timeout| reaches the 122 void DiscoverDevices(int timeout); 130 void SearchDevices(int timeout,
|
/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/ |
system_info_backend.py | 16 def GetSystemInfo(self, timeout=10): 20 res = self._conn.SyncRequest(req, timeout)
|
/external/wpa_supplicant_8/wpa_supplicant/examples/p2p/ |
p2p_disconnect.py | 40 global timeout 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): 53 self.timeout = timeout 104 # Required for timeout implementation 113 timeout = 5 variable 152 wpas_dbus_interface,timeout) 163 time.sleep(int(p2p_disconnect_test.timeout))
|
p2p_flush.py | 40 global timeout 49 def __init__(self,interface_name,wpas_dbus_interface,timeout): 53 self.timeout = timeout 104 # Required for timeout implementation 113 timeout = 5 variable 151 p2p_flush_test = P2P_Flush(interface_name, wpas_dbus_interface,timeout) 162 time.sleep(int(p2p_flush_test.timeout))
|
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))
|
/frameworks/rs/ |
rsSignal.h | 36 // false for timeout 37 bool wait(uint64_t timeout = 0);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
FocusIndicator.java | 21 public void showSuccess(boolean timeout); 22 public void showFail(boolean timeout);
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
FocusIndicator.java | 21 public void showSuccess(boolean timeout); 22 public void showFail(boolean timeout);
|
/bionic/libc/bionic/ |
pselect.c | 34 const struct timespec* timeout, const sigset_t* sigmask) 43 if (timeout != NULL) { 45 tv.tv_sec = timeout->tv_sec; 46 tv.tv_usec = (timeout->tv_nsec + 999)/1000; // round up
|
/external/chromium_org/third_party/WebKit/Source/modules/geolocation/ |
PositionOptions.h | 41 int timeout() const function in class:WebCore::PositionOptions 46 void setTimeout(int timeout) 48 ASSERT(timeout >= 0); 50 m_timeout = timeout;
|
/external/chromium_org/tools/page_cycler/webpagereplay/extension/ |
content.js | 5 // Hook onload and then add a timeout to send timing information
|
/external/grub/stage2/ |
preset_menu.c | 4 "timeout 3\n"
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardSecurityCallback.java | 29 * Manually report user activity to keep the device awake. If timeout is 0, 30 * uses user-defined timeout. 31 * @param timeout 33 void userActivity(long timeout);
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
ChromeClient.java | 40 public synchronized ConsoleMessage.MessageLevel getMessageLevel(int timeout) { 41 for(; timeout > 0; timeout -= 1000) {
|