Home
last modified time | relevance | path

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

123

/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DFocusHandlingTest.java70 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 …]
DKeyboardVisibilityControlTest.java59 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 …]
DInputMethodServiceTest.java81 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 …]
DSearchViewTest.java51 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()
DInputMethodManagerTest.java63 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/
DInputMethodServiceDeviceTest.java65 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(7); 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 …]
DInputMethodManagerDeviceTest.java46 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
/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
DGLPrimitiveBenchmark.java31 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/
DConnectReqTestCase.java96 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 …]
DServReqRemoveRequestTestCase.java56 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()
DServReqClearRequestTestCase.java56 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()
DGoTestCase.java53 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()
DServReqMultiClientTestCase03.java47 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()
DGoWithConfigTestCase.java79 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()
DServRespTestCase.java55 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()
DServReqMultiClientTestCase02.java52 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()
DServReqMultiClientTestCase01.java52 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()
DP2pClientPinTestCase.java59 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()
DP2pClientPbcTestCase.java62 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()
DServReqTestCase.java69 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/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
DCallbackUtils.java52 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/
DMessageQueueTest.java43 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/provider/src/android/provider/cts/
DSettingsPanelTest.java53 private static final int TIMEOUT = 8000; field in SettingsPanelTest
90 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in cleanUp()
201 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in internetPanel_seeMoreButton_launchesIntoSettings()
285 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchPanel()
293 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in launchPanel()
299 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in pressDone()
307 mDevice.wait(Until.hasObject(By.pkg(mSettingsPackage).depth(0)), TIMEOUT); in pressSeeMore()
/cts/tests/tests/location/src/android/location/cts/
DScanningSettingsTest.java49 private static final int TIMEOUT = 8_000; // 8 seconds field in ScanningSettingsTest
105 mDevice.wait(Until.hasObject(By.pkg(mLauncherPackage).depth(0)), TIMEOUT); in launchScanningSettings()
113 mDevice.wait(Until.hasObject(By.pkg(SETTINGS_PACKAGE).depth(0)), TIMEOUT); in launchScanningSettings()
132 latch.await(TIMEOUT, TimeUnit.MILLISECONDS); in clickAndWaitForSettingChange()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
DDataPathOutOfBandTestCase.java123 case CallbackUtils.AttachCb.TIMEOUT: in executeTest()
202 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestResponder()
224 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestResponder()
253 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestResponder()
326 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestInitiator()
349 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestInitiator()
364 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestInitiator()
386 case CallbackUtils.DiscoveryCb.TIMEOUT: in executeTestInitiator()

123