Home
last modified time | relevance | path

Searched refs:TIMEOUT (Results 1 – 25 of 34) 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.java129 private static final int TIMEOUT = (int) (5 * DateUtils.SECOND_IN_MILLIS); field in BugreportReceiverTest
175 mUiBot = new UiBot(instrumentation, TIMEOUT); in setUp()
610 verify(mMockIDumpstate, timeout(TIMEOUT)).startBugreport(anyInt(), any(), any(), any(), in sendBugreportStarted()
/frameworks/base/services/core/java/com/android/server/am/
DBroadcastConstants.java57 public long TIMEOUT = DEFAULT_TIMEOUT; field in BroadcastConstants
118 TIMEOUT = mParser.getLong(KEY_TIMEOUT, TIMEOUT); in updateConstants()
142 TimeUtils.formatDuration(TIMEOUT, pw); in dump()
DAppErrorDialog.java52 static final int TIMEOUT = 6; field in AppErrorDialog
102 mHandler.obtainMessage(TIMEOUT), in AppErrorDialog()
165 mHandler.removeMessages(TIMEOUT); in setResult()
/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/services/tests/mockingservicestests/src/com/android/server/usage/
DUsageStatsServiceTest.java53 private static final long TIMEOUT = 5000; field in UsageStatsServiceTest
102 listener.mCountDownLatch.await(TIMEOUT, TimeUnit.MILLISECONDS); in testUsageEventListener()
108 Thread.sleep(TIMEOUT); in testUsageEventListener()
/frameworks/base/startop/scripts/lib/
Dcmd_utils.py26 TIMEOUT = 50 variable
34 my_kwargs = {"timeout": TIMEOUT, "shell": False, "simulate": False}
80 TIMEOUT,
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java39 private static final int TIMEOUT = 500; field in ScreenInternalAudioRecorder
212 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in encode()
234 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in endStream()
243 int bufferIndex = mCodec.dequeueOutputBuffer(bufferInfo, TIMEOUT); in writeOutput()
/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DLocalOverlayManager.java34 private static final long TIMEOUT = 30; field in LocalOverlayManager
65 task.get(TIMEOUT, SECONDS); in toggleOverlaysAndWait()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/legacysplitscreen/
DForcedResizableInfoActivityController.java41 private static final int TIMEOUT = 1000; field in ForcedResizableInfoActivityController
133 mMainExecutor.executeDelayed(mTimeoutRunnable, TIMEOUT); in postTimeout()
/frameworks/rs/
Dupdate-prebuilts.py124 TIMEOUT = '60' # In seconds.
129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
/frameworks/base/startop/scripts/app_startup/lib/
Dcommon143 …verbose_print "DID TIMEOUT BEFORE SEEING ANYTHING (timeout=$timeout seconds) " '<<' "$pattern" '>>…
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsProvider.java59 TIMEOUT enumConstant
DScreenshotSmartActions.java144 ? ScreenshotNotificationSmartActionsProvider.ScreenshotOpStatus.TIMEOUT in getSmartActions()
/frameworks/base/core/tests/coretests/src/android/hardware/display/
DVirtualDisplayTest.java60 private static final int TIMEOUT = 10000; field in VirtualDisplayTest
322 mImageListener.waitForColor(color, TIMEOUT)); in assertDisplayCanShowPresentation()
348 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/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DAidlConversionUtils.java39 } else if (aidlError == Error.TIMEOUT) { in toFrameworkError()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java149 private static final long TIMEOUT = 2000; field in ImePerfTest.ImeSession
160 + getCurrentInputMethodId(), TIMEOUT, in ImeSession()
167 PollingCheck.check("Make sure that Baseline IME becomes unavailable", TIMEOUT, () -> in close()
/frameworks/base/core/tests/bugreports/src/com/android/os/bugreports/tests/
DBugreportManagerTest.java507 TIMEOUT enumConstant
526 if (consentReply.equals(ConsentReply.TIMEOUT)) { in shareConsentDialog()
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/face/aidl/
DAidlConversionUtils.java56 case Error.TIMEOUT: in toFrameworkError()
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DIorapForwardingService.java74 private static final Duration TIMEOUT = Duration.ofSeconds(600L); field in IorapForwardingService
625 retryWithTimeout(TIMEOUT, () -> {
/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.cpp766 const auto TIMEOUT = ms2ns(250); in TEST_F() local
767 mProducer->setDequeueTimeout(TIMEOUT); in TEST_F()
789 ASSERT_GE(systemTime() - startTime, TIMEOUT); in TEST_F()
795 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()

12