HomeSort by relevance Sort by last modified time
    Searched defs:TIMEOUT (Results 126 - 150 of 316) sorted by null

1 2 3 4 56 7 8 91011>>

  /frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
ServiceLifecycleTest.java 59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(1);
218 boolean awaited = latch.await(TIMEOUT, TimeUnit.MILLISECONDS);
228 mLoggerEvents.wait(TIMEOUT);
ViewModelTest.java 48 private static final int TIMEOUT = 2; // secs
141 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true));
176 throw new RuntimeException("Timeout. Failed to recreate an activity");
  /frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
GuidedStepFragmentTestBase.java 19 import static org.mockito.Mockito.timeout;
39 private static final long TIMEOUT = 5000;
79 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy();
GuidedStepSupportFragmentTestBase.java 22 import static org.mockito.Mockito.timeout;
42 private static final long TIMEOUT = 5000;
82 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy();
  /packages/apps/DocumentsUI/tests/common/com/android/documentsui/bots/
Bots.java 36 private static final int TIMEOUT = 5000;
49 public Bots(UiDevice device, UiAutomation automation, Context context, int timeout) {
50 main = new UiBot(device, context, TIMEOUT);
51 breadcrumb = new BreadBot(device, context, TIMEOUT, main);
52 roots = new SidebarBot(device, context, TIMEOUT);
53 directory = new DirectoryListBot(device, automation, context, TIMEOUT);
54 sortHeader = new SortHeaderBot(device, context, TIMEOUT);
55 keyboard = new KeyboardBot(device, context, TIMEOUT);
56 search = new SearchBot(device, context, TIMEOUT);
57 gesture = new GestureBot(device, automation, context, TIMEOUT);
    [all...]
  /packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/e2eui/
ManagedProfileTest.java 44 private static final long TIMEOUT = 120L;
96 if (mResultListener.await(TIMEOUT)) {
99 fail("timeout: " + TIMEOUT + " seconds");
  /packages/apps/Settings/tests/app/src/com/android/settings/password/
ChooseLockGenericTest.java 64 private static final long TIMEOUT = 5 * DateUtils.SECOND_IN_MILLIS;
159 if (view.waitForExists(TIMEOUT)) {
167 assertTrue("password_entry", view.waitForExists(TIMEOUT));
192 if (!view.waitForExists(TIMEOUT)) {
197 assertTrue("password_entry", view.waitForExists(TIMEOUT));
  /platform_testing/libraries/system-helpers/activity-helper/src/android/system/helpers/
ActivityHelper.java 45 public static final int TIMEOUT = 1000;
96 Thread.sleep(TIMEOUT);
109 TIMEOUT * 5) && --retry > 0) {
111 Thread.sleep(TIMEOUT);
114 if (mDevice.wait(Until.hasObject(By.text("No recent items")), TIMEOUT * 5)) {
118 By.res(SYSTEMUI_PACKAGE, "recents_view")), TIMEOUT * 5));
122 By.res(SYSTEMUI_PACKAGE, "task_view_thumbnail")), TIMEOUT * 5).size();
126 Thread.sleep(TIMEOUT);
128 Thread.sleep(TIMEOUT);
140 TIMEOUT * 5) && --retry > 0)
    [all...]
  /platform_testing/libraries/system-helpers/connectivity-helper/src/android/system/helpers/
ConnectivityHelper.java 44 public static final int TIMEOUT = 1000;
89 long TIMEOUT_MS = TIMEOUT;
96 conn.setConnectTimeout(TIMEOUT * 60); // 1 minute
97 conn.setReadTimeout(TIMEOUT * 60); // 1 minute
141 Thread.sleep(TIMEOUT * 5);
199 Thread.sleep(TIMEOUT * 2);
  /platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/
SettingsJankTests.java 42 private static final int TIMEOUT = 5000;
73 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT);
84 UiObject2 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT);
87 mDevice.wait(Until.findObject(By.text("SEE ALL")), TIMEOUT).click();
88 list = mDevice.wait(Until.findObject(SETTINGS_DASHBOARD), TIMEOUT);
  /platform_testing/tests/jank/uibench/src/com/android/uibench/janktests/
UiBenchJankTestsHelper.java 39 public static final int TIMEOUT = 250;
100 mContents = mDevice.wait(Until.findObject(By.res("android", "content")), TIMEOUT);
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_urllib2net.py 12 TIMEOUT = 60 # seconds
218 f = urlopen(url, req, TIMEOUT)
226 if isinstance(err[0], socket.timeout):
227 print >>sys.stderr, "<timeout: %s>" % url
236 except socket.timeout:
237 print >>sys.stderr, "<timeout: %s>" % url
257 with test_support.transient_internet(url, timeout=None):
278 u = _urlopen_with_retry(url, timeout=None)
286 u = _urlopen_with_retry(url, timeout=120)
293 with test_support.transient_internet(self.FTP_HOST, timeout=None)
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_urllib2net.py 12 TIMEOUT = 60 # seconds
218 f = urlopen(url, req, TIMEOUT)
226 if isinstance(err[0], socket.timeout):
227 print >>sys.stderr, "<timeout: %s>" % url
236 except socket.timeout:
237 print >>sys.stderr, "<timeout: %s>" % url
257 with test_support.transient_internet(url, timeout=None):
278 u = _urlopen_with_retry(url, timeout=None)
286 u = _urlopen_with_retry(url, timeout=120)
293 with test_support.transient_internet(self.FTP_HOST, timeout=None)
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 12 TIMEOUT = 60 # seconds
218 f = urlopen(url, req, TIMEOUT)
226 if isinstance(err[0], socket.timeout):
227 print >>sys.stderr, "<timeout: %s>" % url
236 except socket.timeout:
237 print >>sys.stderr, "<timeout: %s>" % url
257 with test_support.transient_internet(url, timeout=None):
278 u = _urlopen_with_retry(url, timeout=None)
286 u = _urlopen_with_retry(url, timeout=120)
293 with test_support.transient_internet(self.FTP_HOST, timeout=None)
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_urllib2net.py 12 TIMEOUT = 60 # seconds
218 f = urlopen(url, req, TIMEOUT)
226 if isinstance(err[0], socket.timeout):
227 print >>sys.stderr, "<timeout: %s>" % url
236 except socket.timeout:
237 print >>sys.stderr, "<timeout: %s>" % url
257 with test_support.transient_internet(url, timeout=None):
278 u = _urlopen_with_retry(url, timeout=None)
286 u = _urlopen_with_retry(url, timeout=120)
293 with test_support.transient_internet(self.FTP_HOST, timeout=None)
    [all...]
  /art/tools/common/
common.py 50 TIMEOUT = 1
140 def RunCommandForOutput(cmd, env, stdout, stderr, timeout=60):
150 timeout: int, timeout in seconds.
159 (output, stderr_output) = proc.communicate(timeout=timeout)
167 retcode = RetCode.TIMEOUT
184 def RunCommand(cmd, out, err, timeout=5):
191 timeout: int, time out in seconds
193 RetCode, return code of running command (forced RetCode.TIMEOUT
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
TestCase.java 45 protected static final int TIMEOUT = 25000;
  /cts/hostsidetests/appsecurity/test-apps/DocumentClient/src/com/android/cts/documentclient/
DocumentsClientTestCase.java 47 protected static final long TIMEOUT = 30 * DateUtils.SECOND_IN_MILLIS;
  /cts/hostsidetests/shortcuts/hostside/src/android/content/pm/cts/shortcuthost/
ShortcutManagerBackupTest.java 138 final long TIMEOUT = System.nanoTime() +
145 while (System.nanoTime() < TIMEOUT) {
177 final long TIMEOUT = System.nanoTime() +
180 while (System.nanoTime() < TIMEOUT) {
  /cts/tests/app/src/android/app/cts/
AlertWindowsTests.java 190 final long TIMEOUT = SystemClock.uptimeMillis() + TimeUnit.SECONDS.toMillis(30);
199 } while (actual != expectedForO && (SystemClock.uptimeMillis() < TIMEOUT));
  /cts/tests/tests/security/jni/
android_security_cts_NativeCodeTest.cpp 220 #define TIMEOUT 60 /* seconds */
311 if ((ts.tv_sec - time) > TIMEOUT) {
  /cts/tests/tests/webkit/src/android/webkit/cts/
HttpAuthHandlerTest.java 30 private static final long TIMEOUT = 10000;
PostMessageTest.java 33 public static final long TIMEOUT = 20000L;
94 new PollingCheck(TIMEOUT) {
155 boolean ignore = latch.await(TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS);
  /developers/build/prebuilts/gradle/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 58 private long TIMEOUT = TimeUnit.MILLISECONDS.convert(10, TimeUnit.MINUTES);
113 * Starts a delayed Runnable that will cause the BLE Advertising to timeout and stop after a
121 Log.d(TAG, "AdvertiserService has reached timeout of "+TIMEOUT+" milliseconds, stopping advertising.");
126 mHandler.postDelayed(timeoutRunnable, TIMEOUT);
205 * and disable the built-in timeout since this code uses its own timeout runnable.
  /developers/samples/android/connectivity/bluetooth/BluetoothAdvertisements/Application/src/main/java/com/example/android/bluetoothadvertisements/
AdvertiserService.java 58 private long TIMEOUT = TimeUnit.MILLISECONDS.convert(10, TimeUnit.MINUTES);
113 * Starts a delayed Runnable that will cause the BLE Advertising to timeout and stop after a
121 Log.d(TAG, "AdvertiserService has reached timeout of "+TIMEOUT+" milliseconds, stopping advertising.");
126 mHandler.postDelayed(timeoutRunnable, TIMEOUT);
205 * and disable the built-in timeout since this code uses its own timeout runnable.

Completed in 1734 milliseconds

1 2 3 4 56 7 8 91011>>