HomeSort by relevance Sort by last modified time
    Searched refs:Hooks (Results 1 - 3 of 3) sorted by null

  /libcore/support/src/test/java/libcore/javax/net/ssl/
TestSSLEnginePair.java 45 public static TestSSLEnginePair create(Hooks hooks) throws IOException {
46 return create(TestSSLContext.create(), hooks);
49 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks) throws IOException {
50 SSLEngine[] engines = connect(c, hooks);
62 Hooks hooks) throws IOException {
63 if (hooks == null) {
64 hooks = new Hooks()
    [all...]
  /libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/
NativeCryptoTest.java 615 public static class Hooks {
660 private final Hooks hooks; field in class:NativeCryptoTest.TestSSLHandshakeCallbacks
664 Hooks hooks) {
667 this.hooks = hooks;
704 if (hooks != null ) {
705 hooks.clientCertificateRequested(sslNativePointer);
723 public static class ServerHooks extends Hooks {
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLEngineTest.java 112 assertConnected(TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() {
299 return TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() {
335 new TestSSLEnginePair.Hooks() {
359 new TestSSLEnginePair.Hooks() {
382 new TestSSLEnginePair.Hooks() {
403 TestSSLEnginePair p = TestSSLEnginePair.create(new TestSSLEnginePair.Hooks() {
414 TestSSLEnginePair.create(new TestSSLEnginePair.Hooks() {

Completed in 324 milliseconds