| /external/webrtc/sdk/android/instrumentationtests/src/org/webrtc/ |
| D | Camera1CapturerUsingByteBufferTest.java | 68 public void testCreateAndDispose() throws InterruptedException { in testCreateAndDispose() 74 public void testCreateNonExistingCamera() throws InterruptedException { in testCreateNonExistingCamera() 83 public void testCreateCapturerAndRender() throws InterruptedException { in testCreateCapturerAndRender() 92 public void testStartFrontFacingVideoCapturer() throws InterruptedException { in testStartFrontFacingVideoCapturer() 101 public void testStartBackFacingVideoCapturer() throws InterruptedException { in testStartBackFacingVideoCapturer() 110 public void testSwitchVideoCapturer() throws InterruptedException { in testSwitchVideoCapturer() 116 public void testSwitchVideoCapturerToSpecificCameraName() throws InterruptedException { in testSwitchVideoCapturerToSpecificCameraName() 122 public void testCameraEvents() throws InterruptedException { in testCameraEvents() 129 public void testCameraCallsAfterStop() throws InterruptedException { in testCameraCallsAfterStop() 137 public void testStopRestartVideoSource() throws InterruptedException { in testStopRestartVideoSource() [all …]
|
| D | Camera1CapturerUsingTextureTest.java | 63 public void testCreateAndDispose() throws InterruptedException { in testCreateAndDispose() 69 public void testCreateNonExistingCamera() throws InterruptedException { in testCreateNonExistingCamera() 78 public void testCreateCapturerAndRender() throws InterruptedException { in testCreateCapturerAndRender() 87 public void testStartFrontFacingVideoCapturer() throws InterruptedException { in testStartFrontFacingVideoCapturer() 96 public void testStartBackFacingVideoCapturer() throws InterruptedException { in testStartBackFacingVideoCapturer() 105 public void testSwitchVideoCapturer() throws InterruptedException { in testSwitchVideoCapturer() 111 public void testSwitchVideoCapturerToSpecificCameraName() throws InterruptedException { in testSwitchVideoCapturerToSpecificCameraName() 117 public void testCameraEvents() throws InterruptedException { in testCameraEvents() 124 public void testCameraCallsAfterStop() throws InterruptedException { in testCameraCallsAfterStop() 132 public void testStopRestartVideoSource() throws InterruptedException { in testStopRestartVideoSource() [all …]
|
| D | Camera2CapturerTest.java | 189 public void testCreateAndDispose() throws InterruptedException { in testCreateAndDispose() 195 public void testCreateNonExistingCamera() throws InterruptedException { in testCreateNonExistingCamera() 204 public void testCreateCapturerAndRender() throws InterruptedException { in testCreateCapturerAndRender() 213 public void testStartFrontFacingVideoCapturer() throws InterruptedException { in testStartFrontFacingVideoCapturer() 222 public void testStartBackFacingVideoCapturer() throws InterruptedException { in testStartBackFacingVideoCapturer() 231 public void testSwitchVideoCapturer() throws InterruptedException { in testSwitchVideoCapturer() 237 public void testSwitchVideoCapturerToSpecificCameraName() throws InterruptedException { in testSwitchVideoCapturerToSpecificCameraName() 243 public void testCameraEvents() throws InterruptedException { in testCameraEvents() 250 public void testCameraCallsAfterStop() throws InterruptedException { in testCameraCallsAfterStop() 258 public void testStopRestartVideoSource() throws InterruptedException { in testStopRestartVideoSource() [all …]
|
| D | CameraVideoCapturerTestFixtures.java | 61 public int waitForNextFrameToRender() throws InterruptedException { in waitForNextFrameToRender() 86 public List<VideoFrame> waitForPendingFrames() throws InterruptedException { in waitForPendingFrames() 134 public boolean waitForCapturerToStart() throws InterruptedException { in waitForCapturerToStart() 144 public int waitForNextCapturedFrame() throws InterruptedException { in waitForNextCapturedFrame() 231 public String waitForCameraFreezed() throws InterruptedException { in waitForCameraFreezed() 241 public void waitForCameraClosed() throws InterruptedException { in waitForCameraClosed() 375 private void disposeCapturer(CapturerInstance instance) throws InterruptedException { in disposeCapturer() 421 private void waitUntilIdle(CapturerInstance capturerInstance) throws InterruptedException { in waitUntilIdle() 432 private void createCapturerAndRender(String name) throws InterruptedException { in createCapturerAndRender() 447 public void createCapturerAndDispose() throws InterruptedException { in createCapturerAndDispose() [all …]
|
| /external/apache-commons-lang/src/test/java/org/apache/commons/lang3/concurrent/ |
| D | MemoizerComputableTest.java | 42 final InterruptedException interruptedException = new InterruptedException(); in testDefaultBehaviourNotToRecalculateExecutionExceptions() local 43 expect(computable.compute(input)).andThrow(interruptedException); in testDefaultBehaviourNotToRecalculateExecutionExceptions() 54 final InterruptedException interruptedException = new InterruptedException(); in testDoesNotRecalculateWhenSetToFalse() local 55 expect(computable.compute(input)).andThrow(interruptedException); in testDoesNotRecalculateWhenSetToFalse() 67 final InterruptedException interruptedException = new InterruptedException(); in testDoesRecalculateWhenSetToTrue() local 68 expect(computable.compute(input)).andThrow(interruptedException).andReturn(answer); in testDoesRecalculateWhenSetToTrue()
|
| D | TimedSemaphoreTest.java | 99 * @throws InterruptedException so we don't have to catch it 102 public void testStartTimer() throws InterruptedException { in testStartTimer() 162 * @throws InterruptedException so we don't have to catch it 165 public void testShutdownSharedExecutorTask() throws InterruptedException { in testShutdownSharedExecutorTask() 183 * @throws InterruptedException so we don't have to catch it 186 public void testShutdownMultipleTimes() throws InterruptedException { in testShutdownMultipleTimes() 205 * @throws InterruptedException so we don't have to catch it 208 public void testAcquireLimit() throws InterruptedException { in testAcquireLimit() 241 * @throws InterruptedException so we don't have to catch it 244 public void testAcquireMultipleThreads() throws InterruptedException { in testAcquireMultipleThreads() [all …]
|
| /external/guava/guava/src/com/google/common/util/concurrent/ |
| D | ForwardingBlockingDeque.java | 66 public void putFirst(E e) throws InterruptedException { in putFirst() 71 public void putLast(E e) throws InterruptedException { in putLast() 76 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerFirst() 81 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerLast() 86 public E takeFirst() throws InterruptedException { in takeFirst() 91 public E takeLast() throws InterruptedException { in takeLast() 97 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { in pollFirst() 103 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { in pollLast() 108 public void put(E e) throws InterruptedException { in put() 113 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() [all …]
|
| D | Monitor.java | 98 * public synchronized V get() throws InterruptedException { 108 * public synchronized void set(V newValue) throws InterruptedException { 132 * public V get() throws InterruptedException { 147 * public void set(V newValue) throws InterruptedException { 177 * public V get() throws InterruptedException { 188 * public void set(V newValue) throws InterruptedException { 416 } catch (InterruptedException interrupt) { 431 * @throws InterruptedException if interrupted while waiting 433 public void enterInterruptibly() throws InterruptedException { 441 * @throws InterruptedException if interrupted while waiting [all …]
|
| D | Uninterruptibles.java | 65 } catch (InterruptedException e) { in awaitUninterruptibly() 105 } catch (InterruptedException e) { in awaitUninterruptibly() 147 } catch (InterruptedException e) { in awaitUninterruptibly() 169 } catch (InterruptedException e) { in joinUninterruptibly() 210 } catch (InterruptedException e) { in joinUninterruptibly() 230 * <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link 248 } catch (InterruptedException e) { in getUninterruptibly() 267 * <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link 295 * <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link 321 } catch (InterruptedException e) { in getUninterruptibly() [all …]
|
| /external/guava/android/guava/src/com/google/common/collect/ |
| D | ForwardingBlockingDeque.java | 68 public void putFirst(E e) throws InterruptedException { in putFirst() 73 public void putLast(E e) throws InterruptedException { in putLast() 78 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerFirst() 83 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerLast() 88 public E takeFirst() throws InterruptedException { in takeFirst() 93 public E takeLast() throws InterruptedException { in takeLast() 99 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { in pollFirst() 105 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { in pollLast() 110 public void put(E e) throws InterruptedException { in put() 115 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() [all …]
|
| /external/guava/android/guava/src/com/google/common/util/concurrent/ |
| D | ForwardingBlockingDeque.java | 66 public void putFirst(E e) throws InterruptedException { in putFirst() 71 public void putLast(E e) throws InterruptedException { in putLast() 76 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerFirst() 81 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerLast() 86 public E takeFirst() throws InterruptedException { in takeFirst() 91 public E takeLast() throws InterruptedException { in takeLast() 97 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { in pollFirst() 103 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { in pollLast() 108 public void put(E e) throws InterruptedException { in put() 113 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() [all …]
|
| D | Uninterruptibles.java | 63 } catch (InterruptedException e) { in awaitUninterruptibly() 91 } catch (InterruptedException e) { in awaitUninterruptibly() 121 } catch (InterruptedException e) { in awaitUninterruptibly() 143 } catch (InterruptedException e) { in joinUninterruptibly() 172 } catch (InterruptedException e) { in joinUninterruptibly() 192 * <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link 210 } catch (InterruptedException e) { in getUninterruptibly() 229 * <li>To treat {@link InterruptedException} uniformly with other exceptions, use {@link 255 } catch (InterruptedException e) { in getUninterruptibly() 276 } catch (InterruptedException e) { in takeUninterruptibly() [all …]
|
| /external/guava/guava/src/com/google/common/collect/ |
| D | ForwardingBlockingDeque.java | 68 public void putFirst(E e) throws InterruptedException { in putFirst() 73 public void putLast(E e) throws InterruptedException { in putLast() 78 public boolean offerFirst(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerFirst() 83 public boolean offerLast(E e, long timeout, TimeUnit unit) throws InterruptedException { in offerLast() 88 public E takeFirst() throws InterruptedException { in takeFirst() 93 public E takeLast() throws InterruptedException { in takeLast() 99 public E pollFirst(long timeout, TimeUnit unit) throws InterruptedException { in pollFirst() 105 public E pollLast(long timeout, TimeUnit unit) throws InterruptedException { in pollLast() 110 public void put(E e) throws InterruptedException { in put() 115 public boolean offer(E e, long timeout, TimeUnit unit) throws InterruptedException { in offer() [all …]
|
| /external/exoplayer/tree_8e57d3715f9092d5ec54ebe2e538f34bfcc34479/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | ConditionVariableTest.java | 36 public void blockWithTimeout_timesOut() throws InterruptedException { in blockWithTimeout_timesOut() 43 public void blockWithTimeout_blocksForAtLeastTimeout() throws InterruptedException { in blockWithTimeout_blocksForAtLeastTimeout() 52 public void blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() throws InterruptedException { in blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() 63 } catch (InterruptedException e) { in blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() 79 public void block_blocks_thenThrowsWhenInterrupted() throws InterruptedException { in block_blocks_thenThrowsWhenInterrupted() 90 } catch (InterruptedException e) { in block_blocks_thenThrowsWhenInterrupted() 106 public void block_blocks_thenReturnsWhenOpened() throws InterruptedException { in block_blocks_thenReturnsWhenOpened() 117 } catch (InterruptedException e) { in block_blocks_thenReturnsWhenOpened() 134 throws InterruptedException { in blockUnterruptible_blocksIfInterrupted_thenUnblocksWhenOpened()
|
| D | RunnableFutureTaskTest.java | 33 public void blockUntilStarted_ifNotStarted_blocks() throws InterruptedException { in blockUntilStarted_ifNotStarted_blocks() 62 public void blockUntilStarted_ifStarted_unblocks() throws InterruptedException { in blockUntilStarted_ifStarted_unblocks() 98 public void blockUntilFinished_ifNotFinished_blocks() throws InterruptedException { in blockUntilFinished_ifNotFinished_blocks() 132 public void blockUntilFinished_ifFinished_unblocks() throws InterruptedException { in blockUntilFinished_ifFinished_unblocks() 167 public void get_ifNotFinished_blocks() throws InterruptedException { in get_ifNotFinished_blocks() 187 } catch (ExecutionException | InterruptedException e) { in get_ifNotFinished_blocks() 206 public void get_returnsResult() throws ExecutionException, InterruptedException { in get_returnsResult() 225 public void get_throwsExecutionException_containsIOException() throws InterruptedException { in get_throwsExecutionException_containsIOException() 245 public void get_throwsExecutionException_containsRuntimeException() throws InterruptedException { in get_throwsExecutionException_containsRuntimeException()
|
| /external/exoplayer/tree_15dc86382f17a24a3e881e52e31a810c1ea44b49/library/common/src/test/java/com/google/android/exoplayer2/util/ |
| D | ConditionVariableTest.java | 36 public void blockWithTimeout_timesOut() throws InterruptedException { in blockWithTimeout_timesOut() 43 public void blockWithTimeout_blocksForAtLeastTimeout() throws InterruptedException { in blockWithTimeout_blocksForAtLeastTimeout() 52 public void blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() throws InterruptedException { in blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() 63 } catch (InterruptedException e) { in blockWithMaxTimeout_blocks_thenThrowsWhenInterrupted() 79 public void block_blocks_thenThrowsWhenInterrupted() throws InterruptedException { in block_blocks_thenThrowsWhenInterrupted() 90 } catch (InterruptedException e) { in block_blocks_thenThrowsWhenInterrupted() 106 public void block_blocks_thenReturnsWhenOpened() throws InterruptedException { in block_blocks_thenReturnsWhenOpened() 117 } catch (InterruptedException e) { in block_blocks_thenReturnsWhenOpened() 134 throws InterruptedException { in blockUnterruptible_blocksIfInterrupted_thenUnblocksWhenOpened()
|
| /external/sdk-platform-java/gax-java/gax-httpjson/src/test/java/com/google/api/gax/httpjson/ |
| D | HttpJsonDirectCallableTest.java | 131 public void testSuccessfulUnaryResponse() throws ExecutionException, InterruptedException { in testSuccessfulUnaryResponse() 161 * @throws InterruptedException 166 throws InterruptedException, ExecutionException { in testSuccessfulMultipleResponsesForUnaryCall() 196 * @throws InterruptedException 201 throws InterruptedException, ExecutionException { in testErrorMultipleResponsesForUnaryCall() 230 * @throws InterruptedException 233 public void testErrorUnaryResponse() throws InterruptedException { in testErrorUnaryResponse() 262 * @throws InterruptedException 265 public void testErrorNullContentSuccessfulResponse() throws InterruptedException { in testErrorNullContentSuccessfulResponse() 291 * @throws InterruptedException [all …]
|
| /external/aws-sdk-java-v2/core/sdk-core/src/main/java/software/amazon/awssdk/core/internal/http/ |
| D | InterruptMonitor.java | 32 * Check if the thread has been interrupted. If so throw an {@link InterruptedException}. 36 * @throws InterruptedException If thread has been interrupted 38 public static void checkInterrupted() throws InterruptedException { in checkInterrupted() 45 * Check if the thread has been interrupted. If so throw an {@link InterruptedException}. 51 * @throws InterruptedException If thread has been interrupted 53 public static void checkInterrupted(SdkHttpFullResponse response) throws InterruptedException { in checkInterrupted()
|
| /external/webrtc/examples/androidtests/src/org/appspot/apprtc/test/ |
| D | PeerConnectionClientTest.java | 128 public boolean waitForFramesRendered(int timeoutMs) throws InterruptedException { in waitForFramesRendered() 214 private boolean waitForLocalDescription(int timeoutMs) throws InterruptedException { in waitForLocalDescription() 228 private boolean waitForIceCandidates(int timeoutMs) throws InterruptedException { in waitForIceCandidates() 242 private boolean waitForIceConnected(int timeoutMs) throws InterruptedException { in waitForIceConnected() 257 private boolean waitForPeerConnectionClosed(int timeoutMs) throws InterruptedException { in waitForPeerConnectionClosed() 364 public void testSetLocalOfferMakesVideoFlowLocally() throws InterruptedException { in testSetLocalOfferMakesVideoFlowLocally() 387 boolean decodeToTexture) throws InterruptedException { in doLoopbackTest() 428 public void testLoopbackAudio() throws InterruptedException { in testLoopbackAudio() 434 public void testLoopbackVp8() throws InterruptedException { in testLoopbackVp8() 441 public void testLoopbackVp9() throws InterruptedException { in testLoopbackVp9() [all …]
|
| /external/guava/guava-tests/test/com/google/common/util/concurrent/ |
| D | JSR166TestCase.java | 437 static void delay(long millis) throws InterruptedException { in delay() 459 } catch (InterruptedException ie) { in joinPool() 460 fail("Unexpected InterruptedException"); in joinPool() 478 } catch (InterruptedException ie) { in assertThreadStaysAlive() 479 fail("Unexpected InterruptedException"); in assertThreadStaysAlive() 497 } catch (InterruptedException ie) { in assertThreadsStayAlive() 498 fail("Unexpected InterruptedException"); in assertThreadsStayAlive() 649 } catch (InterruptedException ie) { in sleep() 650 AssertionFailedError afe = new AssertionFailedError("Unexpected InterruptedException"); in sleep() 707 } catch (InterruptedException ie) { in awaitTermination() [all …]
|
| /external/guava/android/guava-tests/test/com/google/common/util/concurrent/ |
| D | JSR166TestCase.java | 434 static void delay(long millis) throws InterruptedException { in delay() 456 } catch (InterruptedException ie) { in joinPool() 457 fail("Unexpected InterruptedException"); in joinPool() 475 } catch (InterruptedException ie) { in assertThreadStaysAlive() 476 fail("Unexpected InterruptedException"); in assertThreadStaysAlive() 494 } catch (InterruptedException ie) { in assertThreadsStayAlive() 495 fail("Unexpected InterruptedException"); in assertThreadsStayAlive() 642 } catch (InterruptedException ie) { in sleep() 643 AssertionFailedError afe = new AssertionFailedError("Unexpected InterruptedException"); in sleep() 700 } catch (InterruptedException ie) { in awaitTermination() [all …]
|
| /external/google-cloud-java/java-notebooks/google-cloud-notebooks/src/test/java/com/google/cloud/notebooks/v1beta1/it/ |
| D | ITNotebookServiceClientTest.java | 67 public static void setUp() throws IOException, ExecutionException, InterruptedException { in setUp() 105 public static void tearDown() throws ExecutionException, InterruptedException { in tearDown() 117 private String stopInstance() throws ExecutionException, InterruptedException { in stopInstance() 123 private String startInstance() throws ExecutionException, InterruptedException { in startInstance() 178 public void testSetInstanceLabels() throws ExecutionException, InterruptedException { in testSetInstanceLabels() 186 public void testSetInstanceMachineType() throws ExecutionException, InterruptedException { in testSetInstanceMachineType() 199 public void testStartInstance() throws ExecutionException, InterruptedException { in testStartInstance() 206 public void testStopInstance() throws ExecutionException, InterruptedException { in testStopInstance() 213 public void testSetInstanceAccelarator() throws ExecutionException, InterruptedException { in testSetInstanceAccelarator() 229 public void testResetInstance() throws ExecutionException, InterruptedException { in testResetInstance()
|
| /external/sdk-platform-java/java-core/google-cloud-core/src/main/java/com/google/cloud/testing/ |
| D | BaseEmulatorHelper.java | 96 throws IOException, InterruptedException { in startProcess() 120 throws IOException, InterruptedException, TimeoutException { in waitForProcess() 134 throws InterruptedException, TimeoutException { in waitForProcess() 148 } catch (InterruptedException e) { in waitForProcess() 158 if (e.getCause() instanceof InterruptedException) { in waitForProcess() 159 throw (InterruptedException) e.getCause(); in waitForProcess() 181 public abstract void start() throws IOException, InterruptedException; in start() 185 throws IOException, InterruptedException, TimeoutException; in stop() 230 int waitFor(Duration timeout) throws InterruptedException, TimeoutException; in waitFor() 255 } catch (IOException | InterruptedException e) { in isAvailable() [all …]
|
| /external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
| D | PacketDispatcher.java | 105 * @throws InterruptedException 108 throws InterruptedException { in notifyThread() 126 * @throws InterruptedException 132 throws InterruptedException, IOException { in waitForNextEvent() 225 * @throws InterruptedException 228 InterruptedException { in notifyThread() 270 throws InterruptedException, IOException { in waitForReply() 400 throws InterruptedException, IOException { in receiveReply() 609 } catch (InterruptedException e) { in run() 634 * @throws InterruptedException [all …]
|
| /external/aws-sdk-java-v2/core/sdk-core/src/test/java/software/amazon/awssdk/core/internal/http/pipeline/stages/ |
| D | TimeoutExceptionHandlingStageTest.java | 77 verifyExceptionThrown(InterruptedException.class); in IOException_causedByApiCallTimeout_shouldThrowInterruptedException() 91 verifyExceptionThrown(InterruptedException.class); in IOException_bothTimeouts_shouldThrowInterruptedException() 117 verifyExceptionThrown(InterruptedException.class); in AbortedException_causedByCallTimeout_shouldThrowInterruptedException() 128 when(requestPipeline.execute(any(), any())).thenThrow(new InterruptedException()); in interruptedException_notCausedByTimeouts_shouldPreserveInterruptFlag() 136 when(requestPipeline.execute(any(), any())).thenThrow(new InterruptedException()); in interruptedException_causedByApiCallTimeout_shouldPropagate() 137 verifyExceptionThrown(InterruptedException.class); in interruptedException_causedByApiCallTimeout_shouldPropagate() 143 when(requestPipeline.execute(any(), any())).thenThrow(new InterruptedException()); in interruptedException_causedByAttemptTimeout_shouldThrowApiAttempt() 162 verifyExceptionThrown(InterruptedException.class); in interruptFlagWasSet_causedByApiCallTimeout_shouldThrowInterruptException() 179 verifyExceptionThrown(InterruptedException.class); in interruptedException_causedByApiCallAttemptTimeoutTask()
|