Home
last modified time | relevance | path

Searched refs:InterruptedException (Results 1 – 25 of 284) sorted by relevance

12345678910>>...12

/libcore/ojluni/src/main/java/java/util/concurrent/
DBlockingDeque.java280 void putFirst(E e) throws InterruptedException; in putFirst()
294 void putLast(E e) throws InterruptedException; in putLast()
316 throws InterruptedException; in offerFirst()
338 throws InterruptedException; in offerLast()
347 E takeFirst() throws InterruptedException; in takeFirst()
356 E takeLast() throws InterruptedException; in takeLast()
372 throws InterruptedException; in pollFirst()
388 throws InterruptedException; in pollLast()
484 void put(E e) throws InterruptedException; in put()
505 throws InterruptedException; in offer()
[all …]
DExecutorService.java212 throws InterruptedException; in awaitTermination()
289 throws InterruptedException; in invokeAll()
321 throws InterruptedException; in invokeAll()
343 throws InterruptedException, ExecutionException; in invokeAny()
370 throws InterruptedException, ExecutionException, TimeoutException; in invokeAny()
408 } catch (InterruptedException e) { in close()
DFuture.java146 V get() throws InterruptedException, ExecutionException; in get()
163 throws InterruptedException, ExecutionException, TimeoutException; in get()
196 } catch (InterruptedException e) { in resultNow()
236 } catch (InterruptedException e) { in exceptionNow()
293 } catch (InterruptedException e) { in state()
DBlockingQueue.java231 void put(E e) throws InterruptedException; in put()
252 throws InterruptedException; in offer()
261 E take() throws InterruptedException; in take()
276 throws InterruptedException; in poll()
/libcore/luni/src/test/java/libcore/java/lang/
DOldThreadTest.java37 } catch (InterruptedException e) { in run()
58 } catch (InterruptedException e) { in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_StringL$L()
104 public void test_joinWithSpuriousInterruption() throws InterruptedException { in test_joinWithSpuriousInterruption()
121 } catch (InterruptedException expected) { in test_joinWithSpuriousInterruption()
162 } catch (InterruptedException e) { in launchFiveSecondFakeThread()
184 } catch (InterruptedException e) { in test_sleepJ()
198 } catch(InterruptedException ie) { in test_sleepJ()
208 } catch(InterruptedException e) { in test_sleepJ()
216 } catch(InterruptedException e) { in test_sleepJ()
231 } catch (InterruptedException e) { in test_sleepJI()
[all …]
DOldAndroidMonitorTest.java41 } catch (InterruptedException ex) { in testWaitArgumentsTest()
56 } catch (InterruptedException ex) { in testWaitArgumentsTest()
74 } catch (InterruptedException ex) { in testWaitArgumentsTest()
93 } catch (InterruptedException ex) { in testWaitArgumentsTest()
129 } catch (InterruptedException ex) { in run()
152 } catch (InterruptedException ie) { in testInterrupt()
165 } catch (InterruptedException ie) { in testInterrupt()
DOldObjectTest.java115 } catch(InterruptedException ex) { in test_wait()
128 } catch(InterruptedException e) { in test_wait()
161 } catch (InterruptedException ex) { in run()
181 } catch(InterruptedException ex) { in test_waitJI()
194 } catch(InterruptedException e) { in test_waitJI()
237 } catch(InterruptedException ex) { in test_waitJ()
250 } catch(InterruptedException e) { in test_waitJ()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java34 } catch (InterruptedException e) { in run()
77 } catch (InterruptedException e) { in run()
83 } catch (InterruptedException x) { in run()
90 } catch (InterruptedException x) { in run()
167 } catch (InterruptedException e) { in test_ConstructorLjava_lang_ThreadGroupLjava_lang_Runnable()
187 } catch (InterruptedException e) { in test_ConstructorLjava_lang_ThreadGroupLjava_lang_RunnableLjava_lang_String()
234 } catch (InterruptedException e) { in test_activeCount()
254 } catch (InterruptedException e) { in test_checkAccess()
322 } catch (InterruptedException e) { in test_enumerate$Ljava_lang_Thread()
332 } catch (InterruptedException e) { in test_enumerate$Ljava_lang_Thread()
[all …]
DProcessManagerTest.java49 public void testCat() throws IOException, InterruptedException { in testCat()
69 } catch(InterruptedException ie) { in testSleep()
85 } catch(InterruptedException ie) { in testSleep()
95 } catch(InterruptedException ie) { in testSleep()
106 } catch (InterruptedException e) { in testSleep()
111 } catch(InterruptedException ie) { in testSleep()
118 } catch(InterruptedException ie) { in testSleep()
128 public void testPwd() throws IOException, InterruptedException { in testPwd()
136 public void testEnvironment() throws IOException, InterruptedException { in testEnvironment()
194 throws IOException, InterruptedException { in testCloseNonStandardFds()
[all …]
DInterruptedExceptionTest.java28 InterruptedException e = new InterruptedException(); in test_Constructor()
38 InterruptedException e = new InterruptedException("fixture"); in test_ConstructorLjava_lang_String()
/libcore/jsr166-tests/src/test/java/jsr166/
DLinkedBlockingDequeTest.java562 public void testPut() throws InterruptedException { in testPut()
575 public void testBlockingPut() throws InterruptedException { in testBlockingPut()
579 public void realRun() throws InterruptedException { in testBlockingPut()
589 } catch (InterruptedException success) {} in testBlockingPut()
596 } catch (InterruptedException success) {} in testBlockingPut()
611 public void testPutWithTake() throws InterruptedException { in testPutWithTake()
617 public void realRun() throws InterruptedException { in testPutWithTake()
627 } catch (InterruptedException success) {} in testPutWithTake()
645 public void testTimedOffer() throws InterruptedException { in testTimedOffer()
649 public void realRun() throws InterruptedException { in testTimedOffer()
[all …]
DLinkedTransferQueueTest.java207 public void testTake() throws InterruptedException { in testTake()
217 public void testBlockingTake() throws InterruptedException { in testBlockingTake()
221 public void realRun() throws InterruptedException { in testBlockingTake()
230 } catch (InterruptedException success) {} in testBlockingTake()
237 } catch (InterruptedException success) {} in testBlockingTake()
250 public void testPoll() throws InterruptedException { in testPoll()
262 public void testTimedPoll0() throws InterruptedException { in testTimedPoll0()
274 public void testTimedPoll() throws InterruptedException { in testTimedPoll()
291 public void testInterruptedTimedPoll() throws InterruptedException { in testInterruptedTimedPoll()
295 public void realRun() throws InterruptedException { in testInterruptedTimedPoll()
[all …]
DCountDownLatchTest.java69 public void realRun() throws InterruptedException { in testAwait()
94 public void realRun() throws InterruptedException { in testTimedAwait()
118 public void realRun() throws InterruptedException { in testAwait_Interruptible()
123 } catch (InterruptedException success) {} in testAwait_Interruptible()
130 } catch (InterruptedException success) {} in testAwait_Interruptible()
149 public void realRun() throws InterruptedException { in testTimedAwait_Interruptible()
154 } catch (InterruptedException success) {} in testTimedAwait_Interruptible()
161 } catch (InterruptedException success) {} in testTimedAwait_Interruptible()
176 public void testAwaitTimeout() throws InterruptedException { in testAwaitTimeout()
179 public void realRun() throws InterruptedException { in testAwaitTimeout()
DSynchronousQueueTest.java131 public void realRun() throws InterruptedException { in testBlockingPut()
136 } catch (InterruptedException success) {} in testBlockingPut()
143 } catch (InterruptedException success) {} in testBlockingPut()
164 public void realRun() throws InterruptedException { in testPutWithTake()
172 } catch (InterruptedException success) {} in testPutWithTake()
179 catch (InterruptedException e) { threadUnexpectedException(e); } in testPutWithTake()
197 public void realRun() throws InterruptedException { in testTimedOffer()
205 } catch (InterruptedException success) {} in testTimedOffer()
232 catch (InterruptedException e) { threadUnexpectedException(e); } in testTimedPoll0()
244 catch (InterruptedException e) { threadUnexpectedException(e); } in testTimedPoll()
[all …]
DLinkedBlockingQueueTest.java254 public void testPut() throws InterruptedException { in testPut()
267 public void testBlockingPut() throws InterruptedException { in testBlockingPut()
271 public void realRun() throws InterruptedException { in testBlockingPut()
281 } catch (InterruptedException success) {} in testBlockingPut()
288 } catch (InterruptedException success) {} in testBlockingPut()
303 public void testPutWithTake() throws InterruptedException { in testPutWithTake()
309 public void realRun() throws InterruptedException { in testPutWithTake()
319 } catch (InterruptedException success) {} in testPutWithTake()
341 public void realRun() throws InterruptedException { in testTimedOffer()
351 } catch (InterruptedException success) {} in testTimedOffer()
[all …]
DBlockingQueueTest.java91 public void testTimedOfferNull() throws InterruptedException { in testTimedOfferNull()
104 public void testPutNull() throws InterruptedException {
115 public void testAddAllNull() throws InterruptedException {
215 public void testTimedPollWithOffer() throws InterruptedException { in testTimedPollWithOffer()
220 public void realRun() throws InterruptedException { in testTimedPollWithOffer()
233 } catch (InterruptedException success) {} in testTimedPollWithOffer()
240 } catch (InterruptedException success) {} in testTimedPollWithOffer()
269 } catch (InterruptedException success) {}
291 } catch (InterruptedException success) {}
310 } catch (InterruptedException success) {}
[all …]
/libcore/ojluni/src/test/java/util/concurrent/tck/
DLinkedBlockingDequeTest.java654 public void testPut() throws InterruptedException { in testPut()
668 public void testBlockingPut() throws InterruptedException { in testBlockingPut()
672 public void realRun() throws InterruptedException { in testBlockingPut()
682 } catch (InterruptedException success) {} in testBlockingPut()
689 } catch (InterruptedException success) {} in testBlockingPut()
705 public void testPutWithTake() throws InterruptedException { in testPutWithTake()
711 public void realRun() throws InterruptedException { in testPutWithTake()
721 } catch (InterruptedException success) {} in testPutWithTake()
740 public void testTimedOffer() throws InterruptedException { in testTimedOffer()
744 public void realRun() throws InterruptedException { in testTimedOffer()
[all …]
DLinkedTransferQueueTest.java252 public void testTake() throws InterruptedException { in testTake()
263 public void testBlockingTake() throws InterruptedException { in testBlockingTake()
267 public void realRun() throws InterruptedException { in testBlockingTake()
276 } catch (InterruptedException success) {} in testBlockingTake()
283 } catch (InterruptedException success) {} in testBlockingTake()
297 public void testPoll() throws InterruptedException { in testPoll()
310 public void testTimedPoll0() throws InterruptedException { in testTimedPoll0()
323 public void testTimedPoll() throws InterruptedException { in testTimedPoll()
341 public void testInterruptedTimedPoll() throws InterruptedException { in testInterruptedTimedPoll()
345 public void realRun() throws InterruptedException { in testInterruptedTimedPoll()
[all …]
DCountDownLatchTest.java109 public void realRun() throws InterruptedException { in testAwait()
135 public void realRun() throws InterruptedException { in testTimedAwait()
160 public void realRun() throws InterruptedException { in testAwait_Interruptible()
165 } catch (InterruptedException success) {} in testAwait_Interruptible()
172 } catch (InterruptedException success) {} in testAwait_Interruptible()
192 public void realRun() throws InterruptedException { in testTimedAwait_Interruptible()
197 } catch (InterruptedException success) {} in testTimedAwait_Interruptible()
204 } catch (InterruptedException success) {} in testTimedAwait_Interruptible()
220 public void testAwaitTimeout() throws InterruptedException { in testAwaitTimeout()
223 public void realRun() throws InterruptedException { in testAwaitTimeout()
DSynchronousQueueTest.java183 public void realRun() throws InterruptedException { in testBlockingPut()
188 } catch (InterruptedException success) {} in testBlockingPut()
195 } catch (InterruptedException success) {} in testBlockingPut()
218 public void realRun() throws InterruptedException { in testPutWithTake()
226 } catch (InterruptedException success) {} in testPutWithTake()
233 catch (InterruptedException e) { threadUnexpectedException(e); } in testPutWithTake()
253 public void realRun() throws InterruptedException { in testTimedOffer()
261 } catch (InterruptedException success) {} in testTimedOffer()
292 catch (InterruptedException e) { threadUnexpectedException(e); } in testTimedPoll0()
306 catch (InterruptedException e) { threadUnexpectedException(e); } in testTimedPoll()
[all …]
DLinkedBlockingQueueTest.java318 public void testPut() throws InterruptedException { in testPut()
332 public void testBlockingPut() throws InterruptedException { in testBlockingPut()
336 public void realRun() throws InterruptedException { in testBlockingPut()
346 } catch (InterruptedException success) {} in testBlockingPut()
353 } catch (InterruptedException success) {} in testBlockingPut()
369 public void testPutWithTake() throws InterruptedException { in testPutWithTake()
375 public void realRun() throws InterruptedException { in testPutWithTake()
385 } catch (InterruptedException success) {} in testPutWithTake()
408 public void realRun() throws InterruptedException { in testTimedOffer()
418 } catch (InterruptedException success) {} in testTimedOffer()
[all …]
/libcore/ojluni/src/main/java/java/util/concurrent/locks/
DCondition.java232 void await() throws InterruptedException; in await()
361 long awaitNanos(long nanosTimeout) throws InterruptedException; in awaitNanos()
376 boolean await(long time, TimeUnit unit) throws InterruptedException; in await()
453 boolean awaitUntil(Date deadline) throws InterruptedException; in awaitUntil()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/
DTimerTaskTest.java50 } catch (InterruptedException e) { in run()
100 } catch (InterruptedException e) { in test_cancel()
129 } catch (InterruptedException e) { in test_cancel()
158 } catch (InterruptedException e) { in test_cancel()
187 } catch (InterruptedException e) { in test_scheduledExecutionTime()
209 } catch (InterruptedException e) { in test_scheduledExecutionTime()
232 } catch (InterruptedException e) { in test_run()
244 } catch (InterruptedException e) { in test_run()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/ref/
DReferenceQueueTest.java132 } catch(InterruptedException ie) { in test_remove()
144 } catch(InterruptedException ie) { in test_remove()
150 } catch(InterruptedException ie) { in test_remove()
169 } catch (InterruptedException e) { in test_removeJ()
196 } catch (InterruptedException e1) { in test_removeJ()
210 } catch(InterruptedException ie) { in test_removeJ()
222 } catch(InterruptedException ie) { in test_removeJ()
228 } catch(InterruptedException ie) { in test_removeJ()
239 } catch (InterruptedException e) { in test_removeJ()
252 } catch (InterruptedException e) { in test_Constructor()
/libcore/ojluni/annotations/hiddenapi/java/util/concurrent/
DLinkedBlockingDeque.java92 public void putFirst(E e) throws java.lang.InterruptedException { in putFirst()
96 public void putLast(E e) throws java.lang.InterruptedException { in putLast()
101 throws java.lang.InterruptedException { in offerFirst()
106 throws java.lang.InterruptedException { in offerLast()
126 public E takeFirst() throws java.lang.InterruptedException { in takeFirst()
130 public E takeLast() throws java.lang.InterruptedException { in takeLast()
135 throws java.lang.InterruptedException { in pollFirst()
140 throws java.lang.InterruptedException { in pollLast()
176 public void put(E e) throws java.lang.InterruptedException { in put()
181 throws java.lang.InterruptedException { in offer()
[all …]

12345678910>>...12