/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
DtmfLocalTonePlayerTest.java | 35 private static final int TIMEOUT = 2000; 53 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 62 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 72 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 82 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 92 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 102 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT); 112 waitForHandlerAction(mPlayer.getHandler(), TIMEOUT);
|
/platform_testing/libraries/launcher-helper/src/android/support/test/launcherhelper/ |
AllAppsScreenHelper.java | 43 private static final int TIMEOUT = 3000; 67 mDevice.wait(Until.hasObject(By.res(getLauncherPackage(), allApps)), TIMEOUT); 74 (By.res(getLauncherPackage(), searchBox)), TIMEOUT); 79 (By.text(appName)), TIMEOUT));
|
/platform_testing/libraries/system-helpers/account-helper/src/android/system/helpers/ |
AccountHelper.java | 38 public static final int TIMEOUT = 1000; 72 TIMEOUT * 5); 101 TIMEOUT); 104 Thread.sleep(TIMEOUT); 107 TIMEOUT); 112 Thread.sleep(TIMEOUT);
|
/platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/ |
UiBenchTransitionsJankTests.java | 64 By.res(mHelper.PACKAGE_NAME, imageName)), mHelper.TIMEOUT); 66 image.clickAndWait(Until.newWindow(), mHelper.TIMEOUT);
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_urllibnet.py | 30 TIMEOUT = 10.0 33 socket.setdefaulttimeout(self.TIMEOUT)
|
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_urllibnet.py | 30 TIMEOUT = 10.0 33 socket.setdefaulttimeout(self.TIMEOUT)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 30 TIMEOUT = 10.0 33 socket.setdefaulttimeout(self.TIMEOUT)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_urllibnet.py | 30 TIMEOUT = 10.0 33 socket.setdefaulttimeout(self.TIMEOUT)
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
InputMethodServiceDeviceTest.java | 66 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); 77 TIMEOUT, "CtsInputMethod1.onCreate is called"); 86 TIMEOUT, "CtsInputMethod1.onStartInput is called"); 99 TIMEOUT, "CtsInputMethod1.onCreate is called"); 108 TIMEOUT, "CtsInputMethod1.onStartInput is called"); 121 TIMEOUT, "CtsInputMethod2 is current IME"); 126 TIMEOUT, "CtsInputMethod1.onDestroy is called"); 132 TIMEOUT, 147 TIMEOUT, 162 TIMEOUT, "CtsInputMethod1.showSoftInput is called") [all...] |
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
GLPrimitiveBenchmark.java | 31 private static final int TIMEOUT = 1000000; 43 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 52 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 61 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 70 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 79 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 88 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 97 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 106 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, 117 * @param timeout The milliseconds to wait for an iteration of the benchmark before timing out [all...] |
/development/tools/emulator/test-apps/SmokeTests/src/com/android/emulator/smoketests/gps/ |
GpsLocationTest.java | 43 private static final int TIMEOUT = 5000; 63 this.wait(TIMEOUT);
|
/external/apache-http/android/src/android/net/http/ |
IdleCache.java | 40 /* six second timeout for connections */ 41 private final static int TIMEOUT = 6 * 1000; 79 entry.mTimeout = time + TIMEOUT;
|
/external/autotest/client/site_tests/network_ProxyResolver/ |
network_ProxyResolver.py | 43 self.wfile.write("HTTP/1.1 504 Gateway Timeout\r\n" + 131 timeout=DEFAULT_TIMEOUT): 132 """Block for |timeout| seconds waiting for the signals to come in. 136 @param timeout: maximum seconds to wait for the signals. 138 @raises TimeoutError if the timeout is hit. 143 timeout=self.DEFAULT_TIMEOUT) 207 TIMEOUT = 360 269 def check_chrome(self, proxy_type, proxy_config, timeout): 275 @param timeout: time in seconds to wait for Chrome to issue a signal. 285 attempts = timeout [all...] |
/external/autotest/client/site_tests/video_WebRtcPerf/ |
video_WebRtcPerf.py | 87 TIMEOUT = 15 331 while (time.time() - start_time < TIMEOUT and
|
/external/curl/tests/ |
http_pipe.py | 48 TIMEOUT = 30 # seconds 342 return self._start_time + TIMEOUT - time.time() 346 return TIMEOUT
|
/external/libmicrohttpd/src/testspdy/ |
test_session_timeout.c | 21 * @brief tests closing sessions after set timeout. Openssl is used for 36 #define TIMEOUT 2 125 struct timeval timeout; local 146 TIMEOUT, 171 killchild("SPDY_get_timeout returned wrong timeout"); 174 if(now - beginning > TIMEOUT*1000 + SELECT_MS_TIMEOUT) 178 printf("Timeout is: %i\n",TIMEOUT); 179 printf("Select Timeout is: %ims\n",SELECT_MS_TIMEOUT); 181 killchild("Timeout passed but session was not closed") [all...] |
/external/llvm/utils/lit/lit/ |
Test.py | 36 TIMEOUT = ResultCode('TIMEOUT', True)
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
4-3.c | 52 #define TIMEOUT (1000) /* ns, timeout parameter for pthread_cond_timedwait */ 161 ts.tv_nsec += TIMEOUT;
|
/external/ltp/testcases/open_posix_testsuite/stress/threads/pthread_mutex_trylock/ |
stress.c | 23 * -> Set up a timeout. The test fails if this timeout expires. 36 * the main thread will hang here and the timeout will expire (test FAILS). 97 #define TIMEOUT (120 * SCALABILITY_FACTOR) 114 /* Timeout thread */ 117 unsigned int to = TIMEOUT; 316 /* Start the timeout thread */ 376 /* cancel the timeout thread */ 379 UNRESOLVED(ret, "Failed to cancel the timeout thread"); 382 /* join every threads (incl. the timeout) */ [all...] |
/external/python/cpython2/Lib/test/ |
test_urllib2net.py | 10 TIMEOUT = 60 # seconds 214 f = urlopen(url, req, TIMEOUT) 222 if isinstance(err[0], socket.timeout): 223 print >>sys.stderr, "<timeout: %s>" % url 232 except socket.timeout: 233 print >>sys.stderr, "<timeout: %s>" % url 253 with test_support.transient_internet(url, timeout=None): 274 u = _urlopen_with_retry(url, timeout=None) 282 u = _urlopen_with_retry(url, timeout=120) 289 with test_support.transient_internet(self.FTP_HOST, timeout=None) [all...] |
/external/v8/tools/testrunner/local/ |
statusfile.py | 39 TIMEOUT = "TIMEOUT" 52 for key in [SKIP, FAIL, PASS, OKAY, TIMEOUT, CRASH, SLOW, FAIL_OK,
|
/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
AppCollectorTest.java | 60 private static final long TIMEOUT = TimeUnit.MINUTES.toMillis(1); 97 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); 107 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); 120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats); 141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats); 159 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty();
|
/frameworks/base/tests/net/java/android/net/netlink/ |
NetlinkSocketTest.java | 53 final long TIMEOUT = 500; 54 assertTrue(s.sendMessage(request, 0, request.length, TIMEOUT)); 61 response = s.recvMessage(TIMEOUT);
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
SwipeRefreshLayoutTest.java | 55 private static final long TIMEOUT = 1000; 91 PollingCheck.waitFor(TIMEOUT, new PollingCheck.PollingCheckCondition() {
|
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/ |
FragmentLifecycleInActivityTest.java | 52 private static final long TIMEOUT = 2; //sec 149 assertThat(activity.awaitForDestruction(TIMEOUT, TimeUnit.SECONDS), is(true));
|