Home
last modified time | relevance | path

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

12

/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.java116 private static final int TIMEOUT = (int) (5 * DateUtils.SECOND_IN_MILLIS); field in BugreportReceiverTest
177 mUiBot = new UiBot(instrumentation, TIMEOUT); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastConstants.java55 public long TIMEOUT = DEFAULT_TIMEOUT; field in BroadcastConstants
115 TIMEOUT = mParser.getLong(KEY_TIMEOUT, TIMEOUT); in updateConstants()
139 TimeUtils.formatDuration(TIMEOUT, pw); in dump()
DAppErrorDialog.java54 static final int TIMEOUT = 6; field in AppErrorDialog
103 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog()
179 mHandler.removeMessages(TIMEOUT); in setResult()
DBroadcastQueue.java1067 (now > r.dispatchTime + (2 * mConstants.TIMEOUT * numReceivers))) { in processNextBroadcastLocked()
1268 long timeoutTime = r.receiverTime + mConstants.TIMEOUT; in processNextBroadcastLocked()
1722 long timeoutTime = r.receiverTime + mConstants.TIMEOUT; in broadcastTimeoutLocked()
DAppErrors.java505 if (res == AppErrorDialog.TIMEOUT || res == AppErrorDialog.CANCEL) { in crashApplicationInner()
/frameworks/base/startop/iorap/functional_tests/src/com/google/android/startop/iorap/
DIorapWorkFlowTest.java74 private static final Duration TIMEOUT = Duration.ofSeconds(300L); field in IorapWorkFlowTest
89 mDevice.wait(Until.hasObject(By.pkg(launcherPackage).depth(0)), TIMEOUT.getSeconds()); in setUp()
197 mDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), TIMEOUT.getSeconds()); in runAppOnce()
243 return retryWithTimeout(TIMEOUT, () -> { in waitForFileExistence()
264 return retryWithTimeout(TIMEOUT, () -> {
305 return retryWithTimeout(TIMEOUT, () -> {
/frameworks/base/startop/scripts/lib/
Dcmd_utils.py26 TIMEOUT = 50 variable
34 my_kwargs = {"timeout": TIMEOUT, "shell": False, "simulate": False}
80 TIMEOUT,
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DLocalOverlayManager.java36 private static final long TIMEOUT = 30; field in LocalOverlayManager
58 task.get(TIMEOUT, SECONDS); in setEnabledAndWait()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java39 private static final int TIMEOUT = 500; field in ScreenInternalAudioRecorder
211 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in encode()
233 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in endStream()
242 int bufferIndex = mCodec.dequeueOutputBuffer(bufferInfo, TIMEOUT); in writeOutput()
/frameworks/base/packages/SystemUI/src/com/android/systemui/stackdivider/
DForcedResizableInfoActivityController.java43 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController
153 mHandler.postDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
/frameworks/rs/
Dupdate-prebuilts.py124 TIMEOUT = '60' # In seconds.
129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsProvider.java52 TIMEOUT enumConstant
DScreenshotSmartActions.java110 ? ScreenshotNotificationSmartActionsProvider.ScreenshotOpStatus.TIMEOUT in getSmartActions()
/frameworks/base/startop/scripts/app_startup/lib/
Dcommon143 …verbose_print "DID TIMEOUT BEFORE SEEING ANYTHING (timeout=$timeout seconds) " '<<' "$pattern" '>>…
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java60 private static final int TIMEOUT = 10000; field in VirtualDisplayTest
303 mImageListener.waitForColor(color, TIMEOUT)); in assertDisplayCanShowPresentation()
329 waiter.wait(TIMEOUT); in runOnUiThread()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java72 private static final long TIMEOUT = 5000; field in AdbDebuggingManagerTest
842 TestResult activityResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
852 TestResult threadResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
913 if (!latch.await(TIMEOUT, TIMEOUT_TIME_UNIT)) { in flushHandlerQueue()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DDppManager.java145 onFailure(DppFailureCode.TIMEOUT); in timeoutDppRequest()
693 case DppFailureCode.TIMEOUT: in onFailure()
/frameworks/rs/tests/lldb/
DREADME.txt54 [--timeout TIMEOUT]
107 --timeout TIMEOUT Timeout period for a single command, expressed in
/frameworks/native/libs/gui/tests/
DBufferQueue_test.cpp769 const auto TIMEOUT = ms2ns(250); in TEST_F() local
770 mProducer->setDequeueTimeout(TIMEOUT); in TEST_F()
792 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
798 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
/frameworks/base/services/core/jni/BroadcastRadio/
DTunerCallback.cpp223 if (result == Result::TIMEOUT) cause = TunerError::SCAN_TIMEOUT; in tuneComplete_1_1()
Dconvert.cpp201 case Result::TIMEOUT: in __ThrowIfFailed()
/frameworks/base/services/core/java/com/android/server/broadcastradio/hal2/
DConvert.java71 case Result.TIMEOUT: in throwOnError()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DDppManagerTest.java30 import static android.hardware.wifi.supplicant.V1_3.DppFailureCode.TIMEOUT;
736 testOnFailureCallback(TIMEOUT, EASY_CONNECT_EVENT_FAILURE_TIMEOUT); in testOnFailureCallbackTimeout()

12