Home
last modified time | relevance | path

Searched refs:isClosed (Results 1 – 25 of 180) sorted by relevance

12345678

/external/guava/guava-tests/test/com/google/common/io/
DCloserTest.java72 assertFalse(c1.isClosed()); in testNoExceptionsThrown()
73 assertFalse(c2.isClosed()); in testNoExceptionsThrown()
74 assertFalse(c3.isClosed()); in testNoExceptionsThrown()
78 assertTrue(c1.isClosed()); in testNoExceptionsThrown()
79 assertTrue(c2.isClosed()); in testNoExceptionsThrown()
80 assertTrue(c3.isClosed()); in testNoExceptionsThrown()
105 assertTrue(c1.isClosed()); in testExceptionThrown_fromTryBlock()
106 assertTrue(c2.isClosed()); in testExceptionThrown_fromTryBlock()
131 assertTrue(c1.isClosed()); in testExceptionThrown_whenCreatingCloseables()
132 assertTrue(c2.isClosed()); in testExceptionThrown_whenCreatingCloseables()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
DConnectionPoolTest.java56 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
61 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
66 assertFalse(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
71 assertTrue(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
76 assertTrue(c1.socket.isClosed()); in connectionsEvictedWhenIdleLongEnough()
90 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
95 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
100 assertFalse(c1.socket.isClosed()); in inUseConnectionsNotEvicted()
121 assertFalse(c1.socket.isClosed()); in cleanupPrioritizesEarliestEviction()
122 assertTrue(c2.socket.isClosed()); in cleanupPrioritizesEarliestEviction()
[all …]
/external/desugar/test/java/com/google/devtools/build/android/desugar/runtime/
DThrowableExtensionTest.java64 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
66 assertThat(r.isClosed()).isTrue(); in testCloseResourceViaReflection()
70 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
75 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
77 assertThat(r.isClosed()).isTrue(); in testCloseResourceViaReflection()
81 assertThat(r.isClosed()).isFalse(); in testCloseResourceViaReflection()
125 assertThat(r.isClosed()).isFalse(); in testCloseResource()
127 assertThat(r.isClosed()).isTrue(); in testCloseResource()
131 assertThat(r.isClosed()).isFalse(); in testCloseResource()
134 assertThat(r.isClosed()).isTrue(); in testCloseResource()
[all …]
/external/nist-sip/java/gov/nist/javax/sip/parser/
DPipeline.java48 private boolean isClosed; field in Pipeline
132 if (this.isClosed) in write()
143 if (this.isClosed) in write()
153 this.isClosed = true; in close()
173 if (this.isClosed && this.buffList.isEmpty()) in read()
179 if (this.isClosed) in read()
/external/sl4a/Utils/src/com/trilead/ssh2/
DStreamGobbler.java107 private boolean isClosed = false; field in StreamGobbler
145 if (isClosed) { in read()
173 if (isClosed) { in available()
189 if (isClosed) { in close()
192 isClosed = true; in close()
214 if (isClosed) { in read()
/external/caliper/caliper/src/test/java/com/google/caliper/runner/
DInMemoryResultsUploader.java40 private boolean isClosed; field in InMemoryResultsUploader
47 checkState(!isClosed); in close()
48 isClosed = true; in close()
52 checkState(!isClosed); in processTrial()
/external/jacoco/org.jacoco.agent.rt/src/org/jacoco/agent/rt/internal/output/
DTcpConnection.java64 if (!socket.isClosed()) { in run()
81 if (initialized && !socket.isClosed()) { in writeExecutionData()
92 if (!socket.isClosed()) { in close()
DTcpServerOutput.java56 while (!serverSocket.isClosed()) { in startup()
67 if (!serverSocket.isClosed()) { in startup()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowMergeCursorTest.java257 assertThat(cursor.isClosed()).isFalse(); in testCloseCursors()
258 assertThat(dbCursor1.isClosed()).isFalse(); in testCloseCursors()
259 assertThat(dbCursor2.isClosed()).isFalse(); in testCloseCursors()
263 assertThat(cursor.isClosed()).isTrue(); in testCloseCursors()
264 assertThat(dbCursor1.isClosed()).isTrue(); in testCloseCursors()
265 assertThat(dbCursor2.isClosed()).isTrue(); in testCloseCursors()
/external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
DDatabaseContentProvider.java214 if (isClosed(db)) { in delete()
262 if (isClosed(db)) { in insert()
326 if (isClosed(db)) { in query()
345 if (isClosed(db)) { in update()
383 if (isClosed(db)) { in bulkInsert()
426 private boolean isClosed(SQLiteDatabase db) { in isClosed() method in DatabaseContentProvider
/external/conscrypt/common/src/main/java/org/conscrypt/
DConscryptSocketBase.java169 if (autoClose && !socket.isClosed()) { in close()
173 if (!super.isClosed()) { in close()
469 public boolean isClosed() { in isClosed() method in ConscryptSocketBase
471 return socket.isClosed(); in isClosed()
473 return super.isClosed(); in isClosed()
576 if (isClosed()) { in checkOpen()
DNativeSsl.java372 if (isClosed() || fd == null || !fd.valid()) { in doHandshake()
395 if (isClosed() || fd == null || !fd.valid()) { in read()
410 if (isClosed() || fd == null || !fd.valid()) { in write()
549 if (!isClosed()) { in close()
559 boolean isClosed() { in isClosed() method in NativeSsl
/external/conscrypt/common/src/jni/unbundled/include/
DNetFd.h30 bool isClosed() { in isClosed() function
65 if (fd.isClosed() || errno != EINTR) { \
/external/skia/src/pathops/
DSkPathOpsSimplify.cpp49 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !simple->isClosed()) { in bridgeWinding()
119 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
120 if (!simple->isClosed()) { in bridgeXor()
DSkPathOpsOp.cpp124 && !simple->isClosed()) { in bridgeOp()
128 if (!simple->isClosed()) { in bridgeOp()
145 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeOp()
146 if (current->activeWinding(start, end) && !simple->isClosed()) { in bridgeOp()
/external/jmdns/src/javax/jmdns/impl/
DDNSStatefulObject.java363 public boolean isClosed() { in isClosed() method in DNSStatefulObject.DefaultImplementation
364 return this._state.isClosed(); in isClosed()
372 return this._state.isClosed() || this._state.isClosing(); in willClose()
539 public boolean isClosed(); in isClosed() method
DSocketListener.java42 …g() || this._jmDNSImpl.isCanceled() || this._jmDNSImpl.isClosing() || this._jmDNSImpl.isClosed()) { in run()
67 … && !this._jmDNSImpl.isCanceled() && !this._jmDNSImpl.isClosing() && !this._jmDNSImpl.isClosed()) { in run()
/external/skqp/src/pathops/
DSkPathOpsSimplify.cpp49 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeWinding()
50 if (current->activeWinding(start, end) && !simple->isClosed()) { in bridgeWinding()
119 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeXor()
120 if (!simple->isClosed()) { in bridgeXor()
DSkPathOpsOp.cpp124 && !simple->isClosed()) { in bridgeOp()
128 if (!simple->isClosed()) { in bridgeOp()
145 } while (!simple->isClosed() && (!unsortable || !start->starter(end)->done())); in bridgeOp()
146 if (current->activeWinding(start, end) && !simple->isClosed()) { in bridgeOp()
/external/skia/src/gpu/
DGrTextureContext.cpp38 if (fOpList && !fOpList->isClosed()) { in validate()
64 if (!fOpList || fOpList->isClosed()) { in getOpList()
/external/skqp/src/gpu/
DGrTextureContext.cpp38 if (fOpList && !fOpList->isClosed()) { in validate()
64 if (!fOpList || fOpList->isClosed()) { in getOpList()
/external/jacoco/org.jacoco.agent.rt.test/src/org/jacoco/agent/rt/internal/output/
DMockSocketConnection.java131 if (isClosed()) { in getOutputStream()
139 if (isClosed()) { in getInputStream()
157 public boolean isClosed() { in isClosed() method in MockSocketConnection.MockSocket
DMockServerSocketTest.java77 assertFalse(serverSocket.isClosed()); in testClose()
79 assertTrue(serverSocket.isClosed()); in testClose()
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/
DInterfacesTest.java103 public boolean isClosed() { in isClosed() method in InterfacesTest.MockFactoryImpl
258 assertFalse(impl.isClosed()); in testInterfaceClosing()
263 assertTrue(impl.isClosed()); in testInterfaceClosing()
/external/webrtc/webrtc/examples/androidtests/src/org/appspot/apprtc/test/
DPeerConnectionClientTest.java62 private boolean isClosed; field in PeerConnectionClientTest
167 isClosed = true; in onPeerConnectionClosed()
219 if (!isClosed) { in waitForPeerConnectionClosed()
222 return isClosed; in waitForPeerConnectionClosed()

12345678