/frameworks/base/libs/dream/lowlight/tests/src/com.android.dream.lowlight/ |
D | LowLightTransitionCoordinatorTest.kt | 73 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/ |
D | NotificationTest.java | 61 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()
|
D | ImeStressTestUtil.java | 59 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
|
D | DefaultImeVisibilityTest.java | 70 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/ |
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()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | OperationStorage.java | 48 OpState.TIMEOUT 56 int TIMEOUT = -1; field
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/usage/ |
D | UsageStatsServiceTest.java | 53 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/ |
D | MediaMuteAwaitConnectionCli.kt | 61 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/ |
D | LocalOverlayManager.java | 34 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/ |
D | BroadcastConstants.java | 108 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()
|
D | AppErrorDialog.java | 52 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/ |
D | ScreenInternalAudioRecorder.java | 40 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/ |
D | ViewInputConnectionTest.java | 73 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/ |
D | InputPublisherAndConsumerNoResampling_test.cpp | 38 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/ |
D | update-prebuilts.py | 124 TIMEOUT = '60' # In seconds. 129 ['sso_client', '--location', '--request_timeout', TIMEOUT, url],
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | LifecycleOperationStorage.java | 274 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/ |
D | TimerThread.h | 73 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/ |
D | ConvertResultTest.java | 54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters()
|
/frameworks/base/core/tests/BroadcastRadioTests/src/com/android/server/broadcastradio/aidl/ |
D | ConversionUtilsResultTest.java | 54 {Result.TIMEOUT, RadioTuner.TUNER_RESULT_TIMEOUT}, in inputParameters()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/adb/ |
D | AdbDebuggingManagerTest.java | 82 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/ |
D | ScreenshotNotificationSmartActionsProvider.java | 59 TIMEOUT enumConstant
|
/frameworks/base/services/core/java/com/android/server/biometrics/sensors/fingerprint/aidl/ |
D | AidlConversionUtils.java | 39 } else if (aidlError == Error.TIMEOUT) { in toFrameworkError()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LetterboxConfigurationPersisterTest.java | 56 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/ |
D | ImePerfTest.java | 150 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()
|