Home
last modified time | relevance | path

Searched refs:TIMEOUT (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/
DActivityTest.java54 static final int TIMEOUT = 5000; field in ActivityTest
112 bots = new Bots(device, context, TIMEOUT); in setUp()
179 this.main = new UiBot(device, context, TIMEOUT); in Bots()
180 this.roots = new RootsListBot(device, context, TIMEOUT); in Bots()
181 this.directory = new DirectoryListBot(device, context, TIMEOUT); in Bots()
182 this.keyboard = new KeyboardBot(device, context, TIMEOUT); in Bots()
DRenameDocumentUiTest.java82 device.waitForIdle(TIMEOUT); in testRenameFile_OkButton()
84 device.waitForIdle(TIMEOUT); in testRenameFile_OkButton()
111 device.waitForIdle(TIMEOUT); in testRenameFile_Cancel()
113 device.waitForIdle(TIMEOUT); in testRenameFile_Cancel()
DFilesActivityUiTest.java213 doc.waitForExists(TIMEOUT); in testDownload_RetryUnsuccessful()
/frameworks/base/packages/Shell/tests/src/com/android/shell/
DActionSendMultipleConsumerActivity.java89 private static final int TIMEOUT = 10; field in ActionSendMultipleConsumerActivity.CustomActionSendMultipleListener
118 bundle = mQueue.poll(2 * TIMEOUT, TimeUnit.SECONDS); in getExtras()
123 throw new IllegalStateException("Intent not received after " + TIMEOUT + "s"); in getExtras()
DBugreportReceiverTest.java102 private static final int TIMEOUT = (int) POLLING_FREQUENCY * 4; field in BugreportReceiverTest
156 mUiBot = new UiBot(UiDevice.getInstance(instrumentation), TIMEOUT); in setUp()
/frameworks/base/services/tests/servicestests/src/android/net/netlink/
DNetlinkSocketTest.java51 final long TIMEOUT = 500; in testBasicWorkingGetNeighborsQuery() local
52 assertTrue(s.sendMessage(request, 0, request.length, TIMEOUT)); in testBasicWorkingGetNeighborsQuery()
59 response = s.recvMessage(TIMEOUT); in testBasicWorkingGetNeighborsQuery()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java41 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController
122 mHandler.postDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorDialog.java63 static final int TIMEOUT = 6; field in AppErrorDialog
109 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog()
168 removeMessages(TIMEOUT);
DAppErrors.java373 if (res == AppErrorDialog.TIMEOUT || res == AppErrorDialog.CANCEL) { in crashApplicationInner()
/frameworks/support/v17/tests/src/android/support/v17/leanback/app/
DBrowseFragmentTest.java49 static final long TIMEOUT = 10000; field in BrowseFragmentTest
127 final WaitLock waitLock = new WaitLock(TIMEOUT, "Timeout while waiting scroll to the row"); in testSelectCardOnARow()
DBrowseSupportFragmentTest.java51 static final long TIMEOUT = 10000; field in BrowseSupportFragmentTest
129 final WaitLock waitLock = new WaitLock(TIMEOUT, "Timeout while waiting scroll to the row"); in testSelectCardOnARow()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java59 private static final int TIMEOUT = 10000; field in VirtualDisplayTest
302 mImageListener.waitForColor(color, TIMEOUT)); in assertDisplayCanShowPresentation()
328 waiter.wait(TIMEOUT); in runOnUiThread()
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp745 const auto TIMEOUT = ms2ns(250); in TEST_F() local
746 mProducer->setDequeueTimeout(TIMEOUT); in TEST_F()
768 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
774 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd392 private static int TIMEOUT = 0;
401 connection.bulkTransfer(endpoint, bytes, bytes.length, TIMEOUT); //do in another thread
/frameworks/base/docs/html/training/testing/ui-testing/
Duiautomator-testing.jd422 mDevice.wait(Until.hasObject(By.pkg(CALC_PACKAGE).depth(0)), TIMEOUT);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55139 field public static final java.lang.String TIMEOUT = "http.conn-manager.timeout";