Searched refs:TIMEOUT (Results 1 - 25 of 48) sorted by relevance

12

/cts/tests/openglperf2/src/android/opengl2/cts/primitive/
H A DGLPrimitiveBenchmark.java31 private static final int TIMEOUT = 1000000; field in class:GLPrimitiveBenchmark
43 runBenchmark(BenchmarkName.FullPipeline, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
52 runBenchmark(BenchmarkName.FullPipeline, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
61 runBenchmark(BenchmarkName.PixelOutput, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
70 runBenchmark(BenchmarkName.PixelOutput, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
79 runBenchmark(BenchmarkName.ShaderPerf, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
88 runBenchmark(BenchmarkName.ShaderPerf, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
97 runBenchmark(BenchmarkName.ContextSwitch, true, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
106 runBenchmark(BenchmarkName.ContextSwitch, false, NUM_FRAMES, NUM_ITERATIONS, TIMEOUT,
/cts/apps/CtsVerifier/src/com/android/cts/verifier/p2p/testcase/
H A DServReqClearRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
89 if (!actionListener.check(ActionListenerTest.FAIL_NO_SERVICE, TIMEOUT)) {
H A DGoTestCase.java53 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
63 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
73 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
82 if (!listener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
90 WifiP2pInfo info = mReceiverTest.waitConnectionNotice(TIMEOUT);
H A DServReqRemoveRequestTestCase.java56 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
66 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
71 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
80 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
90 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
112 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
121 Timeout t = new Timeout(TIMEOUT);
H A DServRespTestCase.java55 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
65 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
75 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
84 if (!listenerTest.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
H A DServReqMultiClientTestCase03.java47 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
57 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
67 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
100 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
109 Timeout t = new Timeout(TIMEOUT);
H A DConnectReqTestCase.java95 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
100 WifiP2pDevice dev = mReceiverTest.waitDeviceFound(mTargetAddress, TIMEOUT);
129 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
147 if (mReceiverTest.waitPeerConnected(mTargetAddress, TIMEOUT) != true) {
156 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
166 p2pInfo = mReceiverTest.waitDisconnectionNotice(TIMEOUT);
174 if (mReceiverTest.waitPeerDisconnected(mTargetAddress, TIMEOUT) != true) {
H A DP2pClientPbcTestCase.java62 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
87 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
95 Timeout t = new Timeout(TIMEOUT);
H A DP2pClientPinTestCase.java59 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
84 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
92 Timeout t = new Timeout(TIMEOUT);
H A DServReqTestCase.java69 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
85 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
94 Timeout t = new Timeout(TIMEOUT);
H A DServReqMultiClientTestCase01.java52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
102 Timeout t = new Timeout(TIMEOUT);
H A DServReqMultiClientTestCase02.java52 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
61 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
94 if (!actionListener.check(ActionListenerTest.SUCCESS, TIMEOUT)) {
102 Timeout t = new Timeout(TIMEOUT);
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
H A DFocusHandlingTest.java69 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:FocusHandlingTest
109 expectBindInput(stream, Process.myPid(), TIMEOUT);
117 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
157 notExpectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
159 notExpectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT);
162 expectBindInput(stream, Process.myPid(), TIMEOUT);
164 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT);
191 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
217 expectBindInput(stream, Process.myPid(), TIMEOUT);
219 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT);
[all...]
H A DKeyboardVisibilityControlTest.java58 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:KeyboardVisibilityControlTest
145 expectEvent(stream, editorMatcher("onStartInput", marker), TIMEOUT);
146 notExpectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
155 expectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT);
156 expectEvent(stream, editorMatcher("onStartInputView", marker), TIMEOUT);
162 expectEvent(stream, hideSoftInputMatcher(), TIMEOUT);
163 expectEvent(stream, onFinishInputViewMatcher(false), TIMEOUT);
184 expectEvent(stream, editorMatcher("onStartInput", focusedMarker), TIMEOUT);
190 notExpectEvent(stream, showSoftInputMatcher(InputMethod.SHOW_EXPLICIT), TIMEOUT);
195 notExpectEvent(stream, hideSoftInputMatcher(), TIMEOUT);
[all...]
H A DInputMethodServiceTest.java64 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:InputMethodServiceTest
110 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT);
113 expectCommand(stream, command, TIMEOUT);
120 expectEvent(stream, backKeyDownMatcher(true), CHECK_EXIT_EVENT_ONLY, TIMEOUT);
162 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT);
165 expectEvent(stream, event -> "hideSoftInput".equals(event.getEventName()), TIMEOUT);
166 expectEvent(stream, event -> "onFinishInputView".equals(event.getEventName()), TIMEOUT);
180 stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT);
183 expectEvent(stream, event -> "showSoftInput".equals(event.getEventName()), TIMEOUT);
184 expectEvent(stream, event -> "onStartInputView".equals(event.getEventName()), TIMEOUT);
[all...]
H A DSearchViewTest.java49 static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:SearchViewTest
90 expectBindInput(stream, Process.myPid(), TIMEOUT);
96 CHECK_EXIT_EVENT_ONLY, TIMEOUT);
101 expectEvent(stream, event -> "hideSoftInput".equals(event.getEventName()), TIMEOUT);
H A DInputMethodManagerTest.java60 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:InputMethodManagerTest
91 waitOnMainUntil(() -> mImManager.isActive(), TIMEOUT);
116 waitOnMainUntil(() -> mImManager.isActive(), TIMEOUT);
181 waitOnMainUntil(() -> !mImManager.isInputMethodPickerShown(), TIMEOUT,
186 waitOnMainUntil(() -> mImManager.isInputMethodPickerShown(), TIMEOUT,
192 waitOnMainUntil(() -> !mImManager.isInputMethodPickerShown(), TIMEOUT,
H A DOnScreenPositionTest.java54 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:OnScreenPositionTest
94 expectBindInput(stream, Process.myPid(), TIMEOUT);
107 }, TIMEOUT);
/cts/hostsidetests/inputmethodservice/deviceside/devicetest/src/android/inputmethodservice/cts/devicetest/
H A DInputMethodServiceDeviceTest.java66 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:InputMethodServiceDeviceTest
80 TIMEOUT, "CtsInputMethod1.onCreate is called");
84 TIMEOUT, "CtsInputMethod1.onStartInput is called");
100 TIMEOUT, "CtsInputMethod1.onCreate is called");
104 TIMEOUT, "CtsInputMethod1.onStartInput is called");
117 TIMEOUT, "CtsInputMethod2 is current IME");
121 TIMEOUT, "CtsInputMethod1.onDestroy is called");
127 TIMEOUT,
142 TIMEOUT, "CtsInputMethod1.onStartInput is called");
153 TIMEOUT, "CtsInputMethod
[all...]
H A DTestHelper.java51 private static final long TIMEOUT = TimeUnit.SECONDS.toMillis(5); field in class:TestHelper
98 mUiDevice.wait(Until.hasObject(By.pkg(packageName).depth(0)), TIMEOUT);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/
H A DCallbackUtils.java51 public static final int TIMEOUT = -1; field in class:CallbackUtils.AttachCb
56 private int mCallback = TIMEOUT;
75 * @return A pair of values: the callback constant (or TIMEOUT) and the WifiAwareSession
83 return new Pair<>(TIMEOUT, null);
158 public static final int TIMEOUT = -1; field in class:CallbackUtils.DiscoveryCb
246 // falling-through to TIMEOUT
249 return new CallbackData(TIMEOUT);
255 * triggered. The callback may be TIMEOUT.
362 public static final int TIMEOUT = -1; field in class:CallbackUtils.RangingCb
367 private int mStatus = TIMEOUT;
[all...]
/cts/tests/openglperf2/src/android/opengl2/cts/reference/
H A DGLReferenceBenchmark.java32 private static final int TIMEOUT = 2000000; field in class:GLReferenceBenchmark
45 intent.putExtra(GLActivityIntentKeys.INTENT_EXTRA_TIMEOUT, TIMEOUT);
/cts/tests/tests/os/src/android/os/cts/
H A DMessageQueueTest.java43 private static final long TIMEOUT = 1000; field in class:MessageQueueTest
118 return mIdleLatch.await(TIMEOUT, TimeUnit.MILLISECONDS);
142 latch1.await(TIMEOUT, TimeUnit.MILLISECONDS);
161 latch2.await(TIMEOUT, TimeUnit.MILLISECONDS);
370 readerDone.await(TIMEOUT, TimeUnit.MILLISECONDS);
378 writerSawError.await(TIMEOUT, TimeUnit.MILLISECONDS);
433 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS));
460 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS));
515 assertTrue("awoke", awoke.await(TIMEOUT, TimeUnit.MILLISECONDS));
542 assertTrue("awoke", awoke.await(TIMEOUT, TimeUni
[all...]
/cts/tests/tests/webkit/src/android/webkit/cts/
H A DPostMessageTest.java33 public static final long TIMEOUT = 20000L; field in class:PostMessageTest
94 new PollingCheck(TIMEOUT) {
169 boolean ignore = latch.await(TIMEOUT, java.util.concurrent.TimeUnit.MILLISECONDS);
/cts/apps/CtsVerifier/src/com/android/cts/verifier/wifiaware/testcase/
H A DDataPathOutOfBandTestCase.java120 case CallbackUtils.AttachCb.TIMEOUT:
122 Log.e(TAG, "executeTest: attach TIMEOUT");
199 case CallbackUtils.DiscoveryCb.TIMEOUT:
201 Log.e(TAG, "executeTestResponder: publish TIMEOUT");
221 case CallbackUtils.DiscoveryCb.TIMEOUT:
223 Log.e(TAG, "executeTestResponder: receive message TIMEOUT");
250 case CallbackUtils.DiscoveryCb.TIMEOUT:
252 Log.e(TAG, "executeTestResponder: send message TIMEOUT");
316 case CallbackUtils.DiscoveryCb.TIMEOUT:
318 Log.e(TAG, "executeTestInitiator: subscribe TIMEOUT");
[all...]

Completed in 7786 milliseconds

12