Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/storage/
DAppCollectorTest.java60 private static final long TIMEOUT = TimeUnit.MINUTES.toMillis(1); field in AppCollectorTest
97 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); in testNoApps()
107 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); in testAppOnExternalVolume()
120 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats); in testOneValidApp()
141 assertThat(collector.getPackageStats(TIMEOUT)).containsExactly(stats, otherStats); in testMultipleUsersOneApp()
159 assertThat(collector.getPackageStats(TIMEOUT)).isEmpty(); in testAppNotFoundDoesntCauseCrash()
/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.java119 private static final int TIMEOUT = (int) (5 * DateUtils.SECOND_IN_MILLIS); field in BugreportReceiverTest
175 mUiBot = new UiBot(instrumentation, TIMEOUT); in setUp()
/frameworks/base/tests/net/java/android/net/netlink/
DNetlinkSocketTest.java53 final long TIMEOUT = 500; in testBasicWorkingGetNeighborsQuery() local
54 assertTrue(s.sendMessage(request, 0, request.length, TIMEOUT)); in testBasicWorkingGetNeighborsQuery()
61 response = s.recvMessage(TIMEOUT); in testBasicWorkingGetNeighborsQuery()
/frameworks/base/services/core/java/com/android/server/am/
DAppErrorDialog.java54 static final int TIMEOUT = 6; field in AppErrorDialog
100 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog()
171 mHandler.removeMessages(TIMEOUT); in setResult()
DAppErrors.java408 if (res == AppErrorDialog.TIMEOUT || res == AppErrorDialog.CANCEL) { in crashApplicationInner()
/frameworks/support/compat/tests/java/android/support/v4/provider/
DSelfDestructiveThreadTest.java206 private static final int TIMEOUT = 3; field in SelfDestructiveThreadTest.WaitableReplyCallback
214 if (mState != TIMEOUT) { in onReply()
242 mState = TIMEOUT; in waitUntil()
/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/android/arch/lifecycle/testapp/
DCollectingActivity.java28 long TIMEOUT = 5; field
DFullLifecycleTestActivity.java85 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
DSupportLifecycleRegistryActivity.java92 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
DFrameworkLifecycleRegistryActivity.java94 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/
DGuidedStepFragmentTestBase.java39 private static final long TIMEOUT = 5000; field in GuidedStepFragmentTestBase
79 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); in waitOnDestroy()
DGuidedStepSupportFragmentTestBase.java42 private static final long TIMEOUT = 5000; field in GuidedStepSupportFragmentTestBase
82 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); in waitOnDestroy()
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
DServiceLifecycleTest.java59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(1); field in ServiceLifecycleTest
218 boolean awaited = latch.await(TIMEOUT, TimeUnit.MILLISECONDS); in bindToService()
228 mLoggerEvents.wait(TIMEOUT); in awaitAndAssertEvents()
DFragmentLifecycleInActivityTest.java52 private static final long TIMEOUT = 2; //sec field in FragmentLifecycleInActivityTest
149 assertThat(activity.awaitForDestruction(TIMEOUT, TimeUnit.SECONDS), is(true)); in finishActivity()
DViewModelTest.java48 private static final int TIMEOUT = 2; // secs field in ViewModelTest
141 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true)); in testOnClear()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java46 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController
156 mHandler.postDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
/frameworks/rs/
Dupdate-prebuilts.py124 TIMEOUT = '60' # In seconds.
129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
/frameworks/support/core-ui/tests/java/android/support/v4/widget/
DSwipeRefreshLayoutTest.java55 private static final long TIMEOUT = 1000; field in SwipeRefreshLayoutTest
91 PollingCheck.waitFor(TIMEOUT, new PollingCheck.PollingCheckCondition() { in testStartAndStopRefreshing()
/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.cpp757 const auto TIMEOUT = ms2ns(250); in TEST_F() local
758 mProducer->setDequeueTimeout(TIMEOUT); in TEST_F()
780 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
786 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
/frameworks/rs/tests/lldb/
DREADME.txt54 [--timeout TIMEOUT]
107 --timeout TIMEOUT Timeout period for a single command, expressed in
/frameworks/base/services/core/jni/BroadcastRadio/
DTunerCallback.cpp220 if (result == Result::TIMEOUT) cause = TunerError::SCAN_TIMEOUT; in tuneComplete_1_1()
Dconvert.cpp176 case Result::TIMEOUT: in __ThrowIfFailed()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt55139 field public static final java.lang.String TIMEOUT = "http.conn-manager.timeout";