/frameworks/base/services/tests/servicestests/src/com/android/server/storage/ |
D | AppCollectorTest.java | 60 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/ |
D | ActionSendMultipleConsumerActivity.java | 89 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()
|
D | BugreportReceiverTest.java | 119 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/ |
D | NetlinkSocketTest.java | 53 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/ |
D | AppErrorDialog.java | 54 static final int TIMEOUT = 6; field in AppErrorDialog 100 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog() 171 mHandler.removeMessages(TIMEOUT); in setResult()
|
D | AppErrors.java | 408 if (res == AppErrorDialog.TIMEOUT || res == AppErrorDialog.CANCEL) { in crashApplicationInner()
|
/frameworks/support/compat/tests/java/android/support/v4/provider/ |
D | SelfDestructiveThreadTest.java | 206 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/ |
D | CollectingActivity.java | 28 long TIMEOUT = 5; field
|
D | FullLifecycleTestActivity.java | 85 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
|
D | SupportLifecycleRegistryActivity.java | 92 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
|
D | FrameworkLifecycleRegistryActivity.java | 94 mLatch.await(TIMEOUT, TimeUnit.SECONDS); in waitForCollectedEvents()
|
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/app/ |
D | GuidedStepFragmentTestBase.java | 39 private static final long TIMEOUT = 5000; field in GuidedStepFragmentTestBase 79 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); in waitOnDestroy()
|
D | GuidedStepSupportFragmentTestBase.java | 42 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/ |
D | ServiceLifecycleTest.java | 59 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()
|
D | FragmentLifecycleInActivityTest.java | 52 private static final long TIMEOUT = 2; //sec field in FragmentLifecycleInActivityTest 149 assertThat(activity.awaitForDestruction(TIMEOUT, TimeUnit.SECONDS), is(true)); in finishActivity()
|
D | ViewModelTest.java | 48 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/ |
D | ForcedResizableInfoActivityController.java | 46 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController 156 mHandler.postDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
|
/frameworks/rs/ |
D | update-prebuilts.py | 124 TIMEOUT = '60' # In seconds. 129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
|
/frameworks/support/core-ui/tests/java/android/support/v4/widget/ |
D | SwipeRefreshLayoutTest.java | 55 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/ |
D | VirtualDisplayTest.java | 59 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/ |
D | BufferQueue_test.cpp | 757 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/ |
D | README.txt | 54 [--timeout TIMEOUT] 107 --timeout TIMEOUT Timeout period for a single command, expressed in
|
/frameworks/base/services/core/jni/BroadcastRadio/ |
D | TunerCallback.cpp | 220 if (result == Result::TIMEOUT) cause = TunerError::SCAN_TIMEOUT; in tuneComplete_1_1()
|
D | convert.cpp | 176 case Result::TIMEOUT: in __ThrowIfFailed()
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 55139 field public static final java.lang.String TIMEOUT = "http.conn-manager.timeout";
|