Home
last modified time | relevance | path

Searched refs:getId (Results 1 – 22 of 22) sorted by relevance

/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSessionTest.java80 assertNotNull(s.invalid.getId()); in test_SSLSession_getId()
81 assertNotNull(s.server.getId()); in test_SSLSession_getId()
82 assertNotNull(s.client.getId()); in test_SSLSession_getId()
83 assertEquals(0, s.invalid.getId().length); in test_SSLSession_getId()
85 assertEquals(0, s.server.getId().length); in test_SSLSession_getId()
87 assertEquals(32, s.server.getId().length); in test_SSLSession_getId()
88 assertTrue(Arrays.equals(s.server.getId(), s.client.getId())); in test_SSLSession_getId()
90 assertEquals(32, s.client.getId().length); in test_SSLSession_getId()
DSSLSessionContextTest.java103 assertTrue(Arrays.equals(clientId, client.getSession(clientId).getId())); in test_SSLSessionContext_getSession()
109 assertTrue(Arrays.equals(serverId, server.getSession(serverId).getId())); in test_SSLSessionContext_getSession()
DSSLSocketTest.java365 assertNotNull(server.getSession().getId()); in call()
366 return server.getSession().getId(); in call()
380 assertNotNull(client1.getSession().getId()); in test_SSLSocket_confirmSessionReuse()
381 final byte[] clientSessionId1 = client1.getSession().getId(); in test_SSLSocket_confirmSessionReuse()
393 assertNotNull(client2.getSession().getId()); in test_SSLSocket_confirmSessionReuse()
394 final byte[] clientSessionId2 = client2.getSession().getId(); in test_SSLSocket_confirmSessionReuse()
499 byte[] id = session.getId(); in test_SSLSocket_HandshakeCompletedListener()
552 client.getSession().getId())); in test_SSLSocket_HandshakeCompletedListener()
/libcore/luni/src/main/java/java/util/concurrent/locks/
DReentrantReadWriteLock.java251 final long tid = Thread.currentThread().getId();
394 if (rh == null || rh.tid != current.getId()) in tryReleaseShared()
452 if (rh == null || rh.tid != current.getId()) in tryAcquireShared()
489 if (rh == null || rh.tid != current.getId()) { in fullTryAcquireShared()
510 if (rh == null || rh.tid != current.getId()) in fullTryAcquireShared()
566 if (rh == null || rh.tid != current.getId()) in tryReadLock()
617 if (rh != null && rh.tid == current.getId()) in getReadHoldCount()
/libcore/luni/src/main/java/java/security/cert/
DExtension.java44 String getId(); in getId() method
DCertificateRevokedException.java148 stream.writeObject(e.getId()); in writeObject()
/libcore/luni/src/main/java/org/apache/harmony/luni/internal/util/
DTimezoneGetter.java54 public abstract String getId(); in getId() method in TimezoneGetter
/libcore/luni/src/main/java/javax/net/ssl/
DSSLSession.java57 public byte[] getId(); in getId() method
/libcore/luni/src/test/java/tests/security/cert/
DCertificateRevocationExceptionTest.java53 public String getId() { in getReasonExtension()
77 public String getId() {
/libcore/support/src/test/java/libcore/javax/net/ssl/
DFakeSSLSession.java43 public byte[] getId() { in getId() method in FakeSSLSession
/libcore/luni/src/main/java/javax/xml/datatype/
DDatatypeConstants.java198 public int getId() { in getId() method in DatatypeConstants.Field
/libcore/luni/src/main/java/org/apache/harmony/security/x509/
DExtensions.java139 String oid = extension.getId(); in makeOidsLists()
165 localOidMap.put(extension.getId(), extension); in getExtensionByOID()
DExtension.java150 public String getId() { in getId() method in Extension
299 sb.append("OID: ").append(getId()).append(", Critical: ").append(critical).append('\n'); in dumpValue()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionBindingEventTest.java112 public byte[] getId() { in getId() method in MySSLSession
DSSLSessionTest.java125 byte[] id = clientSession.getId(); in test_getId()
/libcore/benchmarks/src/benchmarks/regression/
DHostnameVerifierBenchmark.java111 public byte[] getId() { in getId() method in HostnameVerifierBenchmark.FakeSSLSession
/libcore/support/src/test/java/org/apache/harmony/xnet/tests/support/
DmySSLSession.java69 public byte[] getId() { in getId() method in mySSLSession
/libcore/luni/src/main/java/java/util/concurrent/
DExchanger.java364 h = SPINS | (int)t.getId(); in arenaExchange()
467 h = SPINS | (int)t.getId(); in slotExchange()
DForkJoinTask.java414 this.thrower = Thread.currentThread().getId(); in ExceptionNode()
546 if (false && e.thrower != Thread.currentThread().getId()) { in getThrowableException()
/libcore/luni/src/main/java/java/util/
DTimeZone.java136 String zoneName = (tzGetter != null) ? tzGetter.getId() : null; in getDefault()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DThreadTest.java975 assertTrue("current thread's ID is not positive", Thread.currentThread().getId() > 0); in test_getId()
980 assertTrue("thread's ID is not positive: " + thread.getName(), thread.getId() > 0); in test_getId()
/libcore/libart/src/main/java/java/lang/
DThread.java558 public long getId() { in getId() method in Thread