Home
last modified time | relevance | path

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

123

/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/
DLowLightTransitionCoordinatorTest.kt73 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
85 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = false) in <lambda>()
98 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
111 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
131 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
135 advanceTimeBy(delayTimeMillis = TIMEOUT.inWholeMilliseconds + 1) in <lambda>()
146 coordinator.waitForLowLightTransitionAnimation(timeout = TIMEOUT, entering = true) in <lambda>()
162 private val TIMEOUT = 1.toDuration(DurationUnit.SECONDS) constant
/frameworks/base/tests/InputMethodStressTest/src/com/android/inputmethod/stresstest/
DNotificationTest.java61 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(10); field in NotificationTest
116 mUiDevice.wait(Until.findObject(By.text(actionLabelPattern)), TIMEOUT).click(); in testDirectReply()
118 assertThat(mUiDevice.wait(Until.findObject(By.pkg(getImePackage(mContext))), TIMEOUT)) in testDirectReply()
125 Until.findObject(REPLY_SEND_BUTTON_SELECTOR), TIMEOUT); in testDirectReply()
130 sendButton = mUiDevice.wait(Until.findObject(REPLY_SEND_BUTTON_SELECTOR), TIMEOUT); in testDirectReply()
134 assertThat(mUiDevice.wait(Until.gone(By.pkg(getImePackage(mContext))), TIMEOUT)).isTrue(); in testDirectReply()
DImeStressTestUtil.java59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(3); field in ImeStressTestUtil
166 eventually(() -> assertWithMessage(message).that(callOnMainSync(pred)).isTrue(), TIMEOUT); in waitOnMainUntil() local
176 TIMEOUT); in waitOnMainUntilImeIsShown() local
186 TIMEOUT); in waitOnMainUntilImeIsHidden() local
197 TIMEOUT); in waitOnMainUntilWindowGainsFocus() local
207 TIMEOUT); in waitOnMainUntilViewGainsFocus() local
217 TIMEOUT); in verifyImeIsAlwaysHidden() local
228 TIMEOUT); in verifyWindowNeverGainsFocus() local
238 TIMEOUT); in verifyViewNeverGainsFocus() local
DDefaultImeVisibilityTest.java70 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(3); field in DefaultImeVisibilityTest
103 TIMEOUT); in showHideDefaultIme()
/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()
/frameworks/base/services/backup/java/com/android/server/backup/
DOperationStorage.java48 OpState.TIMEOUT
56 int TIMEOUT = -1; field
/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/packages/SystemUI/src/com/android/systemui/media/muteawait/
DMediaMuteAwaitConnectionCli.kt61 intArrayOf(USAGE_MEDIA), device, TIMEOUT, TIMEOUT_UNITS in execute()
86 private const val TIMEOUT = 5L constant
/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/services/core/java/com/android/server/am/
DBroadcastConstants.java108 public long TIMEOUT = DEFAULT_TIMEOUT; field in BroadcastConstants
346 TIMEOUT = mParser.getLong(KEY_TIMEOUT, TIMEOUT); in updateSettingsConstants()
455 pw.print(KEY_TIMEOUT, TimeUtils.formatDuration(TIMEOUT)).println(); 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/packages/SystemUI/src/com/android/systemui/screenrecord/
DScreenInternalAudioRecorder.java40 private static final int TIMEOUT = 500; field in ScreenInternalAudioRecorder
238 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in encode()
260 int bufferIndex = mCodec.dequeueInputBuffer(TIMEOUT); in endStream()
269 int bufferIndex = mCodec.dequeueOutputBuffer(bufferInfo, TIMEOUT); in writeOutput()
/frameworks/base/core/tests/coretests/src/android/view/
DViewInputConnectionTest.java73 private static final long TIMEOUT = 5000; field in ViewInputConnectionTest
331 assertThat(editor.mOnCreateInputConnectionCalled.await(TIMEOUT, TimeUnit.MILLISECONDS)) in testInputConnectionCallbacks_nonUiThread()
342 assertThat(editor.mInputConnectionClosedCalled.await(TIMEOUT, TimeUnit.MILLISECONDS)) in testInputConnectionCallbacks_nonUiThread()
356 assertThat(editor.mOnInputConnectionClosedCalled.await(TIMEOUT, TimeUnit.MILLISECONDS)) in testInputConnectionCallbacks_nonUiThread()
411 if (mInputConnectionClosedBlocker.await(TIMEOUT, TimeUnit.MILLISECONDS)) { in onCreateInputConnection()
592 join(TIMEOUT);
/frameworks/native/libs/input/tests/
DInputPublisherAndConsumerNoResampling_test.cpp38 static auto constexpr TIMEOUT = 5s; variable
219 Result<InputPublisher::ConsumerResponse> result = receiveConsumerResponse(publisher, TIMEOUT); in verifyFinishedSignal()
469 std::optional<std::unique_ptr<KeyEvent>> optKeyEvent = mKeyEvents.popWithTimeout(TIMEOUT); in publishAndConsumeKeyEvent()
474 std::optional<bool> probablyHasInput = mProbablyHasInputResponses.popWithTimeout(TIMEOUT); in publishAndConsumeKeyEvent()
564 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeBatchedMotionMove()
579 std::optional<std::unique_ptr<MotionEvent>> optMotion = mMotionEvents.popWithTimeout(TIMEOUT); in publishAndConsumeMotionEvent()
599 std::optional<std::unique_ptr<FocusEvent>> optFocusEvent = mFocusEvents.popWithTimeout(TIMEOUT); in publishAndConsumeFocusEvent()
619 std::optional<std::unique_ptr<CaptureEvent>> optEvent = mCaptureEvents.popWithTimeout(TIMEOUT); in publishAndConsumeCaptureEvent()
643 std::optional<std::unique_ptr<DragEvent>> optEvent = mDragEvents.popWithTimeout(TIMEOUT); in publishAndConsumeDragEvent()
668 mTouchModeEvents.popWithTimeout(TIMEOUT); in publishAndConsumeTouchModeEvent()
[all …]
/frameworks/rs/
Dupdate-prebuilts.py124 TIMEOUT = '60' # In seconds.
129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DLifecycleOperationStorage.java274 if (op.state == OpState.TIMEOUT) { in onOperationComplete()
326 int state = (op != null) ? op.state : OpState.TIMEOUT; in cancelOperation()
340 op.state = OpState.TIMEOUT; in cancelOperation()
/frameworks/av/media/utils/include/mediautils/
DTimerThread.h73 TIMEOUT = 1, enumerator
90 enum_as_value(HANDLE_TYPE::TIMEOUT); in isTimeoutHandle()
358 HANDLE_TYPES, enum_as_value(HANDLE_TYPE::TIMEOUT)>( in getUniqueHandle_l()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/hal2/
DConvertResultTest.java54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters()
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/
DConversionUtilsResultTest.java54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters()
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/
DAdbDebuggingManagerTest.java82 private static final long TIMEOUT = 5000; field in AdbDebuggingManagerTest
995 if (!mAdbActionLatch.await(TIMEOUT, TIMEOUT_TIME_UNIT)) { in testBroadcastReceiverWithPermissions()
1021 if (mAdbActionLatch.await(TIMEOUT, TIMEOUT_TIME_UNIT)) { in testBroadcastReceiverWithoutPermissions()
1055 TestResult activityResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
1065 TestResult threadResult = mBlockingQueue.poll(TIMEOUT, TIMEOUT_TIME_UNIT); in runAdbTest()
1126 if (!latch.await(TIMEOUT, TIMEOUT_TIME_UNIT)) { in flushHandlerQueue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotNotificationSmartActionsProvider.java59 TIMEOUT enumConstant
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/
DAidlConversionUtils.java39 } else if (aidlError == Error.TIMEOUT) { in toFrameworkError()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLetterboxConfigurationPersisterTest.java56 private static final long TIMEOUT = 2000L; // 2 secs field in LetterboxConfigurationPersisterTest
227 final long endTime = System.currentTimeMillis() + TIMEOUT; in waitForCompletion()
/frameworks/base/apct-tests/perftests/inputmethod/src/android/inputmethod/
DImePerfTest.java150 private static final long TIMEOUT = 2000; field in ImePerfTest.ImeSession
161 + getCurrentInputMethodId(), TIMEOUT, in ImeSession()
168 PollingCheck.check("Make sure that Baseline IME becomes unavailable", TIMEOUT, () -> in close()

123