/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_broadcast/ |
1-2.c | 89 #define TIMEOUT (180) 195 ts.tv_sec += TIMEOUT; 213 FAILED("Timeout occured. This means a cond signal was lost -- " 240 /* Timeout thread */ 246 unsigned int to = TIMEOUT; 512 /* create the timeout thread */ 657 /* cancel the timeout thread */ 663 UNRESOLVED(ret, "Failed to cancel the timeout handler"); 665 /* join the timeout thread */ 668 UNRESOLVED(ret, "Failed to join the timeout handler") [all...] |
/external/python/cpython2/Modules/ |
nismodule.c | 265 static struct timeval TIMEOUT = { 25, 0 }; 339 TIMEOUT) != RPC_SUCCESS)
|
/platform_testing/tests/jank/dialer/src/com/android/dialer/janktests/ |
DialerJankTests.java | 58 private static final int TIMEOUT = 5000; 100 UiObject2 contacts = mDevice.wait(Until.findObject(By.desc("Contacts")), TIMEOUT); 102 contacts.clickAndWait(Until.newWindow(), TIMEOUT); 105 By.res(RES_PACKAGE_NAME, "cliv_name_textview").text(CONTACT_NAME)), TIMEOUT); 107 contactName.clickAndWait(Until.newWindow(), TIMEOUT); 110 By.res(RES_PACKAGE_NAME2,"header").text(CONTACT_NUMBER)), TIMEOUT); 112 contactNumber.clickAndWait(Until.newWindow(), TIMEOUT); 115 "floating_end_call_action_button")), 2 * TIMEOUT); 116 endCall.clickAndWait(Until.newWindow(), TIMEOUT);; 125 By.res(RES_PACKAGE_NAME2,"header").text(CONTACT_NUMBER)), TIMEOUT); [all...] |
/test/vts/harnesses/tradefed/tests/src/com/android/tradefed/testtype/ |
VtsMultiDeviceTestResultParserTest.java | 50 static final String TIME_OUT = "TIMEOUT"; 60 NORMAL, ERROR, TIMEOUT; 68 mTestCase = TestCase.TIMEOUT; 187 case TIMEOUT:
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
UsageStatsTest.java | 62 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); 110 mUiDevice.wait(Until.hasObject(By.clazz(clazz)), TIMEOUT);
|
/cts/tests/tests/display/src/android/display/cts/ |
VirtualDisplayTest.java | 60 private static final int TIMEOUT = 40000; 249 mImageListener.waitForColor(color, TIMEOUT)); 275 waiter.wait(TIMEOUT);
|
/external/autotest/client/bin/net/ |
net_utils.py | 10 TIMEOUT = 10 # Used for socket timeout and barrier timeout 125 self._socket.settimeout(TIMEOUT) 289 self.wait_for_carrier(timeout=30) 366 def wait_for_carrier(self, timeout=60): 367 while timeout and self.get_carrier() != '1': 368 timeout -= 1 370 if timeout == 0: 385 self._socket.settimeout(TIMEOUT) [all...] |
/external/syslinux/core/lwip/src/netif/ppp/ |
ppp.h | 107 #define TIMEOUT(f, a, t) do { sys_untimeout((f), (a)); sys_timeout((t)*1000, (f), (a)); } while(0)
|
/frameworks/base/core/tests/coretests/src/android/hardware/display/ |
VirtualDisplayTest.java | 59 private static final int TIMEOUT = 10000; 302 mImageListener.waitForColor(color, TIMEOUT)); 328 waiter.wait(TIMEOUT);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
SelectorTest.java | 49 NULL, TIMEOUT, NOW 235 assert_select_OP_ACCEPT(SelectType.TIMEOUT, 0); 236 assert_select_OP_CONNECT(SelectType.TIMEOUT, 0); 237 assert_select_OP_READ(SelectType.TIMEOUT, 0); 238 assert_select_OP_WRITE(SelectType.TIMEOUT, 0); 240 assert_select_OP_ACCEPT(SelectType.TIMEOUT, WAIT_TIME); 241 assert_select_OP_CONNECT(SelectType.TIMEOUT, WAIT_TIME); 242 assert_select_OP_READ(SelectType.TIMEOUT, WAIT_TIME); 243 assert_select_OP_WRITE(SelectType.TIMEOUT, WAIT_TIME); 250 assert_select_SelectorClosed(SelectType.TIMEOUT, 0) [all...] |
/platform_testing/libraries/system-helpers/permission-helper/src/android/system/helpers/ |
PermissionHelper.java | 55 public final int TIMEOUT = 500; 228 .wait(Until.findObject(By.res("android:id/list_container")), TIMEOUT); 282 TIMEOUT)) == null)) { 284 TIMEOUT); 290 TIMEOUT) 291 .clickAndWait(Until.newWindow(), TIMEOUT); 297 TIMEOUT)) == null)) { 299 TIMEOUT); 303 app.clickAndWait(Until.newWindow(), TIMEOUT); 305 TIMEOUT).clickAndWait(Until.newWindow(), TIMEOUT) [all...] |
/platform_testing/tests/functional/downloadapp/src/com/android/functional/downloadapp/ |
DownloadAppTestHelper.java | 53 public final int TIMEOUT = 500; 101 TIMEOUT);
|
/cts/tests/tests/os/src/android/os/cts/ |
MessageQueueTest.java | 43 private static final long TIMEOUT = 1000; 118 return mIdleLatch.await(TIMEOUT, TimeUnit.MILLISECONDS); 142 latch1.await(TIMEOUT, TimeUnit.MILLISECONDS); 161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); 370 readerDone.await(TIMEOUT, TimeUnit.MILLISECONDS); 378 writerSawError.await(TIMEOUT, TimeUnit.MILLISECONDS); 433 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); 460 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); 515 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); 542 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)) [all...] |
/external/curl/tests/server/ |
tftpd.c | 150 #define TIMEOUT 5 202 static int timeout; variable 203 static int maxtimeout = 5 * TIMEOUT; 220 static int rexmtval = TIMEOUT; 326 timeout += rexmtval; 327 if(timeout >= maxtimeout) { 875 maxtimeout = 5*TIMEOUT; 1044 recvtimeout = TIMEOUT*1000; 1252 timeout = 0; [all...] |
/external/python/cpython2/Lib/test/ |
test_ftplib.py | 23 TIMEOUT = 3 103 s = socket.create_connection((ip, port), timeout=10) 122 s = socket.create_connection((ip, port), timeout=10) 239 asyncore.loop(timeout=0.1, count=1) 420 self.client = ftplib.FTP(timeout=10) 639 self.client = ftplib.FTP_TLS(timeout=10) 653 self.client = ftplib.FTP_TLS(timeout=TIMEOUT) 716 self.client = ftplib.FTP_TLS(context=ctx, timeout=TIMEOUT) [all...] |
/hardware/qcom/media/msm8974/mm-video-legacy/vidc/venc/inc/ |
video_encoder_device_copper.h | 40 #define TIMEOUT 5000
|
/libcore/luni/src/main/java/org/apache/harmony/xml/ |
ExpatParser.java | 73 /** Timeout for HTTP connections (in ms) */ 74 private static final int TIMEOUT = 20 * 1000; 749 urlConnection.setConnectTimeout(TIMEOUT); 750 urlConnection.setReadTimeout(TIMEOUT);
|
/libcore/luni/src/test/java/libcore/java/nio/channels/ |
OldSocketChannelTest.java | 53 private final static int TIMEOUT = 60000; 264 // if the channel could not finish writing in TIMEOUT ms, the 267 assertTimeout(startTime, TIMEOUT); 273 * than timeout. 275 private void assertTimeout(long startTime, long timeout) { 277 if ((currentTime - startTime) > timeout) { 278 fail("Timeout");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/ |
MceStateMachine.java | 33 * Connecting + TIMEOUT -> Disconnecting 38 * Disconnecting + TIMEOUT -> (Force) Disconnected 94 private static final int TIMEOUT = 10000; 328 sendMessageDelayed(MSG_CONNECTING_TIMEOUT, TIMEOUT); 573 sendMessageDelayed(MSG_DISCONNECTING_TIMEOUT, TIMEOUT);
|
/platform_testing/libraries/system-helpers/settings-helper/src/android/system/helpers/ |
SettingsHelper.java | 67 public static final int TIMEOUT = 2000; 138 Thread.sleep(TIMEOUT * 2); 159 TIMEOUT * 2); 163 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT * 2).click(); 165 TIMEOUT * 2); 178 while (count > 0 && mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT) == null) { 182 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); 183 Thread.sleep(TIMEOUT); 209 mDevice.wait(Until.findObject(By.text(settingName)), TIMEOUT).click(); 269 Thread.sleep(TIMEOUT); [all...] |
/test/vts/harnesses/tradefed/src/com/android/tradefed/testtype/ |
VtsMultiDeviceTestResultParser.java | 75 static final String TIMEOUT = "TIMEOUT"; 94 static final String UNKNOWN_TIMEOUT = "Unknown timeout."; 146 // current state should not be in TEST_RUN state; if it's then mark for timeout. 207 // incomplete test due to timeout. 323 } else if (test.getValue() == TIMEOUT) { 420 case TIMEOUT : 421 /* Timeout is not recognized in TF. Use FAIL instead. */ 477 mTestResultCache.put(mCurrentTestId, TIMEOUT);
|
/external/ppp/pppd/ |
pppd.h | 335 extern int maxoctets_timeout; /* Timeout for check of octets limit */ 492 void timeout __P((void (*func)(void *), void *arg, int s, int us)); 629 /* Wait for input, with timeout */ [all...] |
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
BugreportReceiverTest.java | 118 // Timeout for UI operations, in milliseconds. 119 private static final int TIMEOUT = (int) (5 * DateUtils.SECOND_IN_MILLIS); 121 // Timeout for when waiting for a screenshot to finish. 175 mUiBot = new UiBot(instrumentation, TIMEOUT); [all...] |
/hardware/qcom/media/msm8974/mm-video-v4l2/vidc/venc/inc/ |
video_encoder_device_v4l2.h | 43 #define TIMEOUT 5*60*1000
|
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 88 // read/connection timeout value 89 private static final int TIMEOUT = 5000; [all...] |