/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 | 67 final long TIMEOUT = 500; in testBasicWorkingGetNeighborsQuery() local 68 assertEquals(req.length, NetlinkSocket.sendMessage(fd, req, 0, req.length, TIMEOUT)); in testBasicWorkingGetNeighborsQuery() 74 ByteBuffer response = NetlinkSocket.recvMessage(fd, DEFAULT_RECV_BUFSIZE, TIMEOUT); in testBasicWorkingGetNeighborsQuery()
|
/frameworks/support/lifecycle/integration-tests/testapp/src/main/java/androidx/lifecycle/testapp/ |
D | NonSupportActivity.java | 35 private static final int TIMEOUT = 1; //secs field in NonSupportActivity 77 if (!mIsResumedCondition.await(TIMEOUT, TimeUnit.SECONDS)) { in awaitResumedState()
|
/frameworks/support/webkit/src/androidTest/java/androidx/webkit/ |
D | PostMessageTest.java | 42 public static final long TIMEOUT = 6000L; field in PostMessageTest 93 new PollingCheck(TIMEOUT) { in waitForTitle() argument 179 boolean ignore = latch.await(TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS); in testMessageChannel()
|
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/ |
D | ViewModelTest.java | 51 private static final int TIMEOUT = 2; // secs field in ViewModelTest 189 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true)); in testActivityOnCleared() 222 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true)); in testFragmentOnClearedWhenFinished() 255 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true)); in testFragmentOnCleared()
|
/frameworks/support/lifecycle/service/src/androidTest/java/androidx/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()
|
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/ |
D | SelfDestructiveThreadTest.java | 207 private static final int TIMEOUT = 3; field in SelfDestructiveThreadTest.WaitableReplyCallback 215 if (mState != TIMEOUT) { in onReply() 243 mState = TIMEOUT; in waitUntil()
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/app/ |
D | GuidedStepSupportFragmentTestBase.java | 37 private static final long TIMEOUT = 5000; field in GuidedStepSupportFragmentTestBase 77 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); in waitOnDestroy()
|
D | GuidedStepFragmentTestBase.java | 40 private static final long TIMEOUT = 5000; field in GuidedStepFragmentTestBase 80 verify(provider, timeout((int)TIMEOUT).times(times)).onDestroy(); in waitOnDestroy()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrorDialog.java | 52 static final int TIMEOUT = 6; field in AppErrorDialog 101 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog() 175 mHandler.removeMessages(TIMEOUT); in setResult()
|
D | AppErrors.java | 463 if (res == AppErrorDialog.TIMEOUT || res == AppErrorDialog.CANCEL) { in crashApplicationInner()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/ |
D | ForcedResizableInfoActivityController.java | 47 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController 157 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/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/ |
D | FragmentLifecycleInActivityTest.java | 53 private static final long TIMEOUT = 2; //sec field in FragmentLifecycleInActivityTest 150 assertThat(activity.awaitForDestruction(TIMEOUT, TimeUnit.SECONDS), is(true)); in finishActivity()
|
D | ViewModelTest.java | 50 private static final int TIMEOUT = 2; // secs field in ViewModelTest 143 assertThat(latch.await(TIMEOUT, TimeUnit.SECONDS), is(true)); in testOnClear()
|
/frameworks/support/swiperefreshlayout/src/androidTest/java/androidx/swiperefreshlayout/widget/ |
D | SwipeRefreshLayoutTest.java | 60 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 | 61 private static final int TIMEOUT = 10000; field in VirtualDisplayTest 304 mImageListener.waitForColor(color, TIMEOUT)); in assertDisplayCanShowPresentation() 330 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 | 223 if (result == Result::TIMEOUT) cause = TunerError::SCAN_TIMEOUT; in tuneComplete_1_1()
|
D | convert.cpp | 201 case Result::TIMEOUT: in __ThrowIfFailed()
|
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/ |
D | Convert.java | 72 case Result.TIMEOUT: in throwOnError()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsProtoDumpUtil.java | 991 GlobalSettingsProto.PackageVerifier.TIMEOUT); in dumpProtoGlobalSettingsLocked()
|