HomeSort by relevance Sort by last modified time
    Searched refs:Hooks (Results 1 - 7 of 7) 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 return create(c, hooks, null);
53 public static TestSSLEnginePair create(TestSSLContext c, Hooks hooks, boolean[] finished)
55 SSLEngine[] engines = connect(c, hooks, finished);
59 public static SSLEngine[] connect(TestSSLContext c, Hooks hooks) throws IOException
    [all...]
  /external/conscrypt/src/test/java/org/conscrypt/
NativeCryptoTest.java 641 public static class Hooks {
708 private final Hooks hooks; field in class:NativeCryptoTest.TestSSLHandshakeCallbacks
712 Hooks hooks) {
715 this.hooks = hooks;
755 if (hooks != null ) {
756 hooks.clientCertificateRequested(sslNativePointer);
834 public static class ClientHooks extends Hooks {
    [all...]
  /libcore/luni/src/test/java/libcore/javax/net/ssl/
SSLEngineTest.java 107 final TestSSLEnginePair engines = TestSSLEnginePair.create(null /* hooks */);
206 TestSSLEnginePair pair = TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() {
239 cWithWrongPrivateKeys, new TestSSLEnginePair.Hooks() {
526 return TestSSLEnginePair.create(c, new TestSSLEnginePair.Hooks() {
562 new TestSSLEnginePair.Hooks() {
586 new TestSSLEnginePair.Hooks() {
609 new TestSSLEnginePair.Hooks() {
631 TestSSLEnginePair p = TestSSLEnginePair.create(new TestSSLEnginePair.Hooks() {
647 TestSSLEnginePair.create(new TestSSLEnginePair.Hooks() {
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/
ihooks.py 15 1) A "file system hooks" class provides an interface to a filesystem.
17 One hooks class is defined (Hooks), which uses the interface provided
19 class for other hooks classes.
30 uses a file system hooks class to interact with the file system. Both
61 __all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
150 class Hooks(_Verbose):
152 """Hooks into the filesystem and interpreter.
208 """Default module loader; uses file system hooks.
210 By defining suitable hooks, you might be able to load modules fro
    [all...]
rexec.py 67 class RHooks(ihooks.Hooks):
83 ihooks.Hooks.__init__(self, verbose)
158 def __init__(self, hooks = None, verbose = 0):
161 The hooks parameter is an instance of the RHooks class or a subclass
191 self.hooks = hooks or RHooks(verbose)
192 self.hooks.set_rexec(self)
206 self.loader = RModuleLoader(self.hooks, verbose)
301 self.modules[mname] = m = self.hooks.new_module(mname)
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/
ihooks.py 15 1) A "file system hooks" class provides an interface to a filesystem.
17 One hooks class is defined (Hooks), which uses the interface provided
19 class for other hooks classes.
30 uses a file system hooks class to interact with the file system. Both
61 __all__ = ["BasicModuleLoader","Hooks","ModuleLoader","FancyModuleLoader",
150 class Hooks(_Verbose):
152 """Hooks into the filesystem and interpreter.
208 """Default module loader; uses file system hooks.
210 By defining suitable hooks, you might be able to load modules fro
    [all...]
rexec.py 67 class RHooks(ihooks.Hooks):
83 ihooks.Hooks.__init__(self, verbose)
158 def __init__(self, hooks = None, verbose = 0):
161 The hooks parameter is an instance of the RHooks class or a subclass
191 self.hooks = hooks or RHooks(verbose)
192 self.hooks.set_rexec(self)
206 self.loader = RModuleLoader(self.hooks, verbose)
301 self.modules[mname] = m = self.hooks.new_module(mname)

Completed in 157 milliseconds