Home
last modified time | relevance | path

Searched refs:singleUse (Results 1 – 10 of 10) sorted by relevance

/external/conscrypt/repackaged/openjdk/src/test/java/com/android/org/conscrypt/
DMockSessionBuilder.java32 private boolean singleUse = false; field in MockSessionBuilder
68 MockSessionBuilder singleUse(boolean singleUse) { in singleUse() argument
69 this.singleUse = singleUse; in singleUse()
78 when(session.isSingleUse()).thenReturn(singleUse); in build()
DClientSessionContextTest.java64 NativeSslSession a = new MockSessionBuilder().host("a").singleUse(false).build(); in testNoMixingOfSingleAndMultiUseSessions()
66 .id(new byte[] {1}).host("b").singleUse(true).build(); in testNoMixingOfSingleAndMultiUseSessions()
68 .id(new byte[] {2}).host("b").singleUse(true).build(); in testNoMixingOfSingleAndMultiUseSessions()
70 .id(new byte[] {3}).host("b").singleUse(false).build(); in testNoMixingOfSingleAndMultiUseSessions()
103 .id(new byte[] {1}).host("host").singleUse(true).build(); in testCanRetrieveMultipleSingleUseSessions()
105 .id(new byte[] {2}).host("host").singleUse(true).build(); in testCanRetrieveMultipleSingleUseSessions()
DAbstractSessionContextTest.java105 NativeSslSession multi = new MockSessionBuilder().host("multi").singleUse(false).build(); in testRemoveIfSingleUse()
106 NativeSslSession single = new MockSessionBuilder().host("single").singleUse(true).build(); in testRemoveIfSingleUse()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DMockSessionBuilder.java31 private boolean singleUse = false; field in MockSessionBuilder
67 MockSessionBuilder singleUse(boolean singleUse) { in singleUse() argument
68 this.singleUse = singleUse; in singleUse()
77 when(session.isSingleUse()).thenReturn(singleUse); in build()
DClientSessionContextTest.java60 NativeSslSession a = new MockSessionBuilder().host("a").singleUse(false).build(); in testNoMixingOfSingleAndMultiUseSessions()
62 .id(new byte[] {1}).host("b").singleUse(true).build(); in testNoMixingOfSingleAndMultiUseSessions()
64 .id(new byte[] {2}).host("b").singleUse(true).build(); in testNoMixingOfSingleAndMultiUseSessions()
66 .id(new byte[] {3}).host("b").singleUse(false).build(); in testNoMixingOfSingleAndMultiUseSessions()
99 .id(new byte[] {1}).host("host").singleUse(true).build(); in testCanRetrieveMultipleSingleUseSessions()
101 .id(new byte[] {2}).host("host").singleUse(true).build(); in testCanRetrieveMultipleSingleUseSessions()
DAbstractSessionContextTest.java101 NativeSslSession multi = new MockSessionBuilder().host("multi").singleUse(false).build(); in testRemoveIfSingleUse()
102 NativeSslSession single = new MockSessionBuilder().host("single").singleUse(true).build(); in testRemoveIfSingleUse()
/external/syzkaller/vendor/golang.org/x/net/http2/
Dclient_conn_pool.go58 const singleUse = true
59 cc, err := p.t.dialClientConn(addr, singleUse)
107 const singleUse = false // shared conn
108 c.res, c.err = c.p.t.dialClientConn(addr, singleUse)
Dtransport.go149 singleUse bool // whether being used for a single http.Request member
459 func (t *Transport) dialClientConn(addr string, singleUse bool) (*ClientConn, error) {
468 return t.newClientConn(tconn, singleUse)
532 func (t *Transport) newClientConn(c net.Conn, singleUse bool) (*ClientConn, error) {
543 singleUse: singleUse,
634 if cc.singleUse && cc.nextStreamID > 1 {
663 …http2: Transport closing idle conn %p (forSingleUse=%v, maxStream=%v)", cc, cc.singleUse, nextID-2)
1480 rl.closeWhenIdle = cc.t.disableKeepAlives() || cc.singleUse
/external/clang/test/SemaObjC/
Darc-repeated-weak.mm31 void singleUse(Test *a) { function
/external/kotlinc/lib/
Dkotlin-compiler.jarMETA-INF/MANIFEST.MF org/jetbrains/kotlin/utils/JavaSdkUtil.class JavaSdkUtil ...