/platform_testing/libraries/system-helpers/sysui-helper/src/android/system/helpers/ |
HotseatHelper.java | 34 private static final int TIMEOUT = 3000; 63 UiObject2 appLoaded = mDevice.wait(Until.findObject(By.pkg(appPackage)), TIMEOUT * 2);
|
/tools/test/connectivity/acts/tests/google/bt/car_bt/ |
BtCarMapMceTest.py | 36 TIMEOUT = 2000
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
TestHelper.java | 54 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); 99 mUiDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), TIMEOUT);
|
/cts/tests/app/src/android/app/cts/ |
NotificationTest.java | 49 private static final long TIMEOUT = 4000; 97 .setTimeoutAfter(TIMEOUT) 213 .setTimeoutAfter(TIMEOUT) 224 assertEquals(TIMEOUT, mNotification.getTimeoutAfter());
|
/cts/tests/openglperf2/src/android/opengl2/cts/reference/ |
GLReferenceBenchmark.java | 32 private static final int TIMEOUT = 2000000; 45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, TIMEOUT);
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_urllib2net.py | 12 TIMEOUT = 60 # seconds
206 f = urlopen(url, req, TIMEOUT)
214 if isinstance(err[0], socket.timeout):
215 print >>sys.stderr, "<timeout: %s>" % url
224 except socket.timeout:
225 print >>sys.stderr, "<timeout: %s>" % url
244 with test_support.transient_internet(url, timeout=None):
265 u = _urlopen_with_retry(url, timeout=None)
273 u = _urlopen_with_retry(url, timeout=120)
280 with test_support.transient_internet(self.FTP_HOST, timeout=None): [all...] |
test_urllibnet.py | 30 TIMEOUT = 10.0
33 socket.setdefaulttimeout(self.TIMEOUT)
|
/external/autotest/client/cros/cellular/ |
cell_tools.py | 22 TIMEOUT = 30 30 def ConnectToCellular(flim, timeout=TIMEOUT): 35 timeout: Timeout (in seconds) before giving up on connect 44 service = flim.FindCellularService(timeout=timeout) 56 timeout=timeout, 68 assoc_timeout=timeout, [all...] |
/external/autotest/client/site_tests/network_MobileSuspendResume/ |
network_MobileSuspendResume.py | 24 TIMEOUT = 60 66 # if the timeout period has been hit, it returns false. 67 def mobile_service_available(self, timeout=60): 68 service = self.FindMobileService(timeout) 95 timeout=self.TIMEOUT) 128 def __get_mobile_device(self, timeout=TIMEOUT): 131 timeout = start_time + timeout [all...] |
/external/autotest/site_utils/suite_scheduler/ |
base_event.py | 57 @var TIMEOUT: The max lifetime of suites kicked off by this event. 69 TIMEOUT = 24 # Hours
|
timed_event.py | 134 TIMEOUT = 24 # Kicked off once a day, so they get the full day to run 187 TIMEOUT = 7 * 24 # 7 days
|
/external/deqp/scripts/log/ |
log_parser.py | 36 TIMEOUT = 'Timeout' 48 TIMEOUT 148 if statusCode == "Watchdog timeout occurred.": 149 statusCode = StatusCode.TIMEOUT
|
/external/devlib/devlib/trace/ |
ftrace.py | 44 TIMEOUT = 180 163 as_root=True, timeout=TIMEOUT) 204 timeout=TIMEOUT, as_root=True) 212 timeout=TIMEOUT, as_root=True) 218 self.target.pull(self.target_output_file, outfile, timeout=pull_timeout) 227 textfile, timeout=pull_timeout) 303 self.target.execute(command, timeout=TIMEOUT [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedreceive/ |
5-2.c | 12 * mq_timedreceive() will block until timeout expires. 35 #define TIMEOUT 3 36 #define THRESHOLD (TIMEOUT - 1) 75 ts.tv_sec = time(NULL) + TIMEOUT; 106 sleep(TIMEOUT + 3); /* Parent is probably blocking
|
8-1.c | 11 * Otherwise, the timeout is based on the system clock (time() function). 33 #define TIMEOUT 3 75 ts.tv_sec = ts.tv_sec + TIMEOUT; 77 ts.tv_sec = time(NULL) + TIMEOUT; 88 if ((newtime - oldtime) < TIMEOUT) { 115 sleep(TIMEOUT + 3); /* Parent is probably blocking
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mq_timedsend/ |
12-1.c | 15 * until it blocks for a timeout of 10 seconds. 42 #define TIMEOUT 10 /* seconds mq_timedsend will block */ 90 /* mq_timedsend will block for TIMEOUT seconds when it waits */ 91 ts.tv_sec = time(NULL) + TIMEOUT; 151 while (i < TIMEOUT*1000 && mq_timedsend_errno < 0) {
|
16-1.c | 15 * parent wait for the timeout and return pass when the next message is sent 19 * Otherwise, the timeout is based on the system clock (time() function). 42 #define TIMEOUT 7 88 /* child should block in < TIMEOUT seconds */ 92 ts.tv_sec += TIMEOUT; 94 ts.tv_sec = time(NULL) + TIMEOUT; 101 /* send will fail after timeout occurs */ 150 * Wait for timeout to complete. 152 ts.tv_sec = TIMEOUT;
|
5-3.c | 15 * parent wait for the timeout and return pass when the next message is sent 39 #define TIMEOUT 7 84 /* child should block in < TIMEOUT seconds */ 85 ts.tv_sec = time(NULL) + TIMEOUT; 91 /* send will fail after timeout occurs */ 134 * Wait for timeout to complete. 136 if (sleep(TIMEOUT) == 0) {
|
/external/nist-sip/java/javax/sip/header/ |
SubscriptionStateHeader.java | 14 String TIMEOUT = "Timeout";
|
/external/python/cpython2/Lib/test/ |
test_urllibnet.py | 37 TIMEOUT = 10.0 40 socket.setdefaulttimeout(self.TIMEOUT)
|
/external/r8/tools/ |
run-jdwp-tests.py | 39 # Timeout in ms 40 TIMEOUT=10000 48 '-Djpda.settings.timeout=%d' % TIMEOUT, 49 '-Djpda.settings.waitingTime=%d' % TIMEOUT
|
/external/v8/tools/foozzie/ |
v8_foozzie.py | 36 # Timeout in seconds for one d8 run. 37 TIMEOUT = 3 183 """Print info and return if in timeout or crash pass states.""" 186 # words timeout or crash. 239 timeout=TIMEOUT,
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
ActionSendMultipleConsumerActivity.java | 89 private static final int TIMEOUT = 10; 118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS); 123 throw new IllegalStateException("Intent not received after " + TIMEOUT + "s");
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
PreparePageFadeoutTexture.java | 11 private static final long TIMEOUT = 200; 41 } else if (mResultReady.block(TIMEOUT)) {
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/tether/ |
WifiTetherSettingsTest.java | 46 private static final long TIMEOUT = 2000L; 83 UiObject2 item = mDevice.wait(Until.findObject(By.text("Portable Wi?Fi hotspot")), TIMEOUT);
|