/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | FocusHandlingTest.java | 70 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in FocusHandlingTest 110 expectBindInput(stream, Process.myPid(), TIMEOUT); in testOnStartInputCalledOnceIme() 118 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testOnStartInputCalledOnceIme() 158 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 161 TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 164 expectBindInput(stream, Process.myPid(), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 166 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT); in testSoftInputStateAlwaysVisibleWithoutFocusedEditorView() 193 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); in testEditorStartsInput() 219 expectBindInput(stream, Process.myPid(), TIMEOUT); in testSoftInputStateAlwaysVisibleFocusedEditorView() 221 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT); in testSoftInputStateAlwaysVisibleFocusedEditorView() [all …]
|
D | KeyboardVisibilityControlTest.java | 59 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in KeyboardVisibilityControlTest 146 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT); 147 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); 156 expectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); 157 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT); 163 expectEvent(stream, hideSoftInputMatcher(), TIMEOUT); 164 expectEvent(stream, onFinishInputViewMatcher(false), TIMEOUT); 185 expectEvent(stream, editorMatcher("onStartInput", focusedMarker), TIMEOUT); 191 notExpectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT); 196 notExpectEvent(stream, hideSoftInputMatcher(), TIMEOUT); [all …]
|
D | InputMethodServiceTest.java | 81 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodServiceTest 127 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT); 130 expectCommand(stream, command, TIMEOUT); 137 expectEvent(stream, backKeyDownMatcher(true), CHECK_EXIT_EVENT_ONLY, TIMEOUT); 179 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT); 182 expectEvent(stream, event -> "hideSoftInput".equals(event.getEventName()), TIMEOUT); 183 expectEvent(stream, event -> "onFinishInputView".equals(event.getEventName()), TIMEOUT); 197 stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT); 200 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT); 201 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT); [all …]
|
D | SearchViewTest.java | 51 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in SearchViewTest 95 expectBindInput(stream, Process.myPid(), TIMEOUT); in testTapThenSetQuery() 101 CHECK_EXIT_EVENT_ONLY, TIMEOUT); in testTapThenSetQuery() 106 expectEvent(stream, event -> "hideSoftInput".equals(event.getEventName()), TIMEOUT); in testTapThenSetQuery() 121 expectBindInput(stream, Process.myPid(), TIMEOUT); in testShowImeWithSearchViewFocus() 132 CHECK_EXIT_EVENT_ONLY, TIMEOUT); in testShowImeWithSearchViewFocus()
|
D | InputMethodManagerTest.java | 63 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodManagerTest 94 waitOnMainUntil(() -> mImManager.isActive(), TIMEOUT); in testIsActive() local 119 waitOnMainUntil(() -> mImManager.isActive(), TIMEOUT); in testIsAcceptingText() local 186 waitOnMainUntil(() -> !mImManager.isInputMethodPickerShown(), TIMEOUT, in testShowInputMethodPicker() local 191 waitOnMainUntil(() -> mImManager.isInputMethodPickerShown(), TIMEOUT, in testShowInputMethodPicker() local 197 waitOnMainUntil(() -> !mImManager.isInputMethodPickerShown(), TIMEOUT, in testShowInputMethodPicker() local
|
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/ |
D | InputMethodServiceDeviceTest.java | 65 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodServiceDeviceTest 79 TIMEOUT, "CtsInputMethod1.onCreate is called"); in testCreateIme1() local 83 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testCreateIme1() local 98 TIMEOUT, "CtsInputMethod1.onCreate is called"); in testSwitchIme1ToIme2() local 102 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchIme1ToIme2() local 115 TIMEOUT, "CtsInputMethod2 is current IME"); in testSwitchIme1ToIme2() local 119 TIMEOUT, "CtsInputMethod1.onDestroy is called"); in testSwitchIme1ToIme2() local 125 TIMEOUT, in testSwitchIme1ToIme2() local 143 TIMEOUT, "CtsInputMethod1.onStartInput is called"); in testSwitchInputMethod() local 154 TIMEOUT, "CtsInputMethod2 is current IME"); in testSwitchInputMethod() local [all …]
|
D | InputMethodManagerDeviceTest.java | 46 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in InputMethodManagerDeviceTest 76 TIMEOUT, "Ime1 must exist."); in testIme1InInputMethodList() 98 TIMEOUT, "Ime1 must be enabled."); in testIme1InEnabledInputMethodList() 120 TIMEOUT, "Ime1 must exist."); in testIme2InInputMethodList() 142 TIMEOUT, "Ime1 must be enabled."); in testIme2InEnabledInputMethodList() 167 TIMEOUT, "Implicitly enabled Subtype must exist for IME1."); in testIme1ImplicitlyEnabledSubtypeExists() local
|
D | ShellCommandDeviceTest.java | 36 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in ShellCommandDeviceTest 40 Context.INPUT_METHOD_SERVICE, args, TIMEOUT); in assertShellCommandThrowsException()
|
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/ |
D | GLPrimitiveBenchmark.java | 31 private static final int TIMEOUT = 1000000; field in GLPrimitiveBenchmark 43 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOffscreen() 52 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testFullPipelineOnscreen() 61 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOffscreen() 70 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testPixelOutputOnscreen() 79 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOffscreen() 88 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testShaderPerfOnscreen() 97 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOffscreen() 106 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT, in testContextSwitchOnscreen()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/ |
D | ServReqRemoveRequestTestCase.java | 56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 90 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 112 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 121 Timeout t = new Timeout(TIMEOUT); in executeTest()
|
D | ConnectReqTestCase.java | 96 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() 101 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT); in connectTest() 130 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() 148 if (mReceiverTest.waitPeerConnected(mTargetAddress, TIMEOUT) != true) { in connectTest() 157 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() 167 p2pInfo = mReceiverTest.waitDisconnectionNotice(TIMEOUT); in connectTest() 175 if (mReceiverTest.waitPeerDisconnected(mTargetAddress, TIMEOUT) != true) { in connectTest() 197 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() 206 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() 241 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in connectTest() [all …]
|
D | ServReqClearRequestTestCase.java | 56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 89 if (!actionListener.check(ActionListenerTest.FAIL_NO_SERVICE, TIMEOUT)) { in executeTest()
|
D | GoTestCase.java | 53 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 63 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 73 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 82 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 90 WifiP2pInfo info = mReceiverTest.waitConnectionNotice(TIMEOUT); in executeTest()
|
D | ServReqMultiClientTestCase03.java | 47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 109 Timeout t = new Timeout(TIMEOUT); in executeTest()
|
D | ServRespTestCase.java | 55 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 65 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 75 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 84 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest()
|
D | GoWithConfigTestCase.java | 79 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 89 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 99 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 117 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 125 WifiP2pInfo info = mReceiverTest.waitConnectionNotice(TIMEOUT); in executeTest()
|
D | ServReqMultiClientTestCase02.java | 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 102 Timeout t = new Timeout(TIMEOUT); in executeTest()
|
D | ServReqMultiClientTestCase01.java | 52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in executeTest() 102 Timeout t = new Timeout(TIMEOUT); in executeTest()
|
D | P2pClientPbcTestCase.java | 62 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkUpnpService() 87 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkUpnpService() 95 Timeout t = new Timeout(TIMEOUT); in checkUpnpService()
|
D | P2pClientPinTestCase.java | 59 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkBonjourService() 84 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in checkBonjourService() 92 Timeout t = new Timeout(TIMEOUT); in checkBonjourService()
|
D | ServReqTestCase.java | 69 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in searchTest() 85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) { in searchTest() 94 Timeout t = new Timeout(TIMEOUT); in searchTest()
|
/cts/tests/tests/provider/src/android/provider/cts/ |
D | SettingsPanelTest.java | 48 private static final int TIMEOUT = 8000; field in SettingsPanelTest 76 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in cleanUp() 162 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in internetPanel_doneClosesPanel() 178 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in volumePanel_doneClosesPanel() 194 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in nfcPanel_doneClosesPanel() 210 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in wifiPanel_doneClosesPanel() 226 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in internetPanel_seeMoreButton_launchesIntoSettings() 244 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in volumePanel_seeMoreButton_launchesIntoSettings() 262 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in nfcPanel_seeMoreButton_launchesIntoSettings() 280 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in wifiPanel_seeMoreButton_launchesIntoSettings() [all …]
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/ |
D | CallbackUtils.java | 52 public static final int TIMEOUT = -1; field in CallbackUtils.AttachCb 57 private int mCallback = TIMEOUT; 84 return new Pair<>(TIMEOUT, null); in waitForAttach() 163 public static final int TIMEOUT = -1; field in CallbackUtils.DiscoveryCb 254 return new CallbackData(TIMEOUT); in waitForCallbacks() 367 public static final int TIMEOUT = -1; field in CallbackUtils.RangingCb 372 private int mStatus = TIMEOUT; 385 return new Pair<>(TIMEOUT, null); in waitForRangingResults()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | MessageQueueTest.java | 43 private static final long TIMEOUT = 1000; field in MessageQueueTest 118 return mIdleLatch.await(TIMEOUT, TimeUnit.MILLISECONDS); in hasIdleHandlerBeenCalled() 142 latch1.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle() 161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS); in testIsIdle() 370 readerDone.await(TIMEOUT, TimeUnit.MILLISECONDS); in testFileDescriptorCallbacks() 378 writerSawError.await(TIMEOUT, TimeUnit.MILLISECONDS); in testFileDescriptorCallbacks() 433 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks1() 460 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks1() 515 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks2() 542 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS)); in testPathologicalFileDescriptorReuseCallbacks2() [all …]
|
/cts/tests/tests/app.usage/src/android/app/usage/cts/ |
D | TaskRootActivity.java | 32 private static final long TIMEOUT = 5000; field in TaskRootActivity 48 mUiDevice.wait(Until.hasObject(By.clazz(TEST_APP_PKG, TEST_APP_CLASS)), TIMEOUT); in onResume() local
|