Home
last modified time | relevance | path

Searched defs:context (Results 1 – 25 of 25) sorted by relevance

/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/net/ssl/
DSSLSessionContextTest.java23 SSLContext context = SSLContext.getInstance("TLS"); in test_sessionCacheSize() local
47 SSLContext context = SSLContext.getInstance("TLS"); in test_sessionTimeout() local
70 SSLContext context = SSLContext.getInstance("TLS"); in test_getSession() local
88 SSLContext context = SSLContext.getInstance("TLS"); in test_getIds() local
DSSLEngineTest.java1016 SSLContext context = SSLContext.getInstance("TLS"); in getEngine() local
1022 SSLContext context = SSLContext.getInstance("TLS"); in getEngine() local
1046 HandshakeHandler(SSLContext context, boolean clientMode, SourceChannel in, SinkChannel out) in HandshakeHandler()
1174 TestSSLContext context = TestSSLContext.create(); in prepareEngines() local
DSSLServerSocketTest.java409 SSLContext context = SSLContext.getInstance("TLS"); in getSSLServerSocket() local
/libcore/luni/src/main/java/java/security/
DAccessController.java51 public static <T> T doPrivileged(PrivilegedAction<T> action, AccessControlContext context) { in doPrivileged()
71 …tatic <T> T doPrivileged(PrivilegedExceptionAction<T> action, AccessControlContext context) throws… in doPrivileged()
DAccessControlContext.java42 public AccessControlContext(ProtectionDomain[] context) { } in AccessControlContext()
/libcore/benchmarks/src/benchmarks/regression/
DSSLLoopbackBenchmark.java39 TestSSLContext context = TestSSLContext.create( in time() local
/libcore/luni/src/test/java/libcore/xml/
DJaxenXPathTestSuite.java120 Context context = new Context(inputSource, url, select); in contextToTestSuite() local
151 final XPath xpath, final Context context, final Element element) { in createFromTest()
/libcore/json/src/main/java/org/json/
DJSONStringer.java189 Scope context = peek(); in close() local
384 Scope context = peek(); in beforeKey() local
404 Scope context = peek(); in beforeValue() local
/libcore/luni/src/main/java/javax/security/auth/
DSubject.java166 AccessControlContext context) { in doAsPrivileged()
177 final AccessControlContext context) { in doAs_PrivilegedAction()
238 PrivilegedExceptionAction<T> action, AccessControlContext context) in doAsPrivileged()
250 PrivilegedExceptionAction<T> action, final AccessControlContext context) in doAs_PrivilegedExceptionAction()
472 public static Subject getSubject(final AccessControlContext context) { in getSubject()
/libcore/luni/src/main/java/javax/net/ssl/
DSSLServerSocketFactory.java70 SSLContext context; in getDefault() local
DSSLSocketFactory.java81 SSLContext context; in getDefault() local
/libcore/dom/src/test/java/org/w3c/domts/
DDOMTestCase.java346 String context, in assertEqualsAutoCase()
398 String context, in assertEqualAutoCase()
429 String context, in assertEqualsAutoCase()
576 String context, in assertNotEqualsAutoCase()
830 public boolean equalsAutoCase(String context, String expected, String actual) { in equalsAutoCase()
851 public boolean equalsAutoCase(String context, Collection expected, in equalsAutoCase()
873 public boolean equalsAutoCase(String context, List expected, List actual) { in equalsAutoCase()
/libcore/luni/src/main/java/java/lang/
DSecurityManager.java48 public void checkConnect(String host, int port, Object context) { } in checkConnect()
83 public void checkRead(String file, Object context) { } in checkRead()
151 public void checkPermission(Permission permission, Object context) { } in checkPermission()
/libcore/luni/src/main/java/libcore/reflect/
DAnnotationAccess.java579 private static Class<? extends Annotation> getAnnotationClass(Class<?> context, Dex dex, in getAnnotationClass()
594 private static AccessibleObject indexToMethod(Class<?> context, Dex dex, int methodIndex) { in indexToMethod()
613 private static List<Annotation> annotationSetToAnnotations(Class<?> context, int offset) { in annotationSetToAnnotations()
639 private static <A extends Annotation> A toAnnotationInstance(Class<?> context, in toAnnotationInstance()
645 private static <A extends Annotation> A toAnnotationInstance(Class<?> context, Dex dex, in toAnnotationInstance()
669 private static Object decodeValue(Class<?> context, Class<?> type, in decodeValue()
/libcore/support/src/test/java/libcore/javax/net/ssl/
DTestSSLSocketPair.java71 public static SSLSocket[] connect (final TestSSLContext context, in connect()
DTestSSLContext.java213 SSLContext context = SSLContext.getInstance(protocol); in createSSLContext() local
/libcore/dex/src/main/java/com/android/dex/util/
DExceptionWithContext.java27 private StringBuffer context; field in ExceptionWithContext
/libcore/luni/src/main/native/
Dorg_apache_harmony_xml_ExpatParser.cpp576 char* context = NULL; in init() local
851 ScopedUtfChars context(env, javaContext); in ExpatParser_createEntityParser() local
869 static int handleExternalEntity(XML_Parser parser, const char* context, in handleExternalEntity()
966 std::unique_ptr<ParsingContext> context(new ParsingContext(object)); in ExpatParser_initialize() local
1021 ParsingContext* context = toParsingContext(parser); in append() local
1078 ParsingContext* context = toParsingContext(parser); in ExpatParser_release() local
1102 ParsingContext* context = toParsingContext(toXMLParser(address)); in ExpatAttributes_getURI() local
1115 ParsingContext* context = toParsingContext(toXMLParser(address)); in ExpatAttributes_getLocalName() local
1128 ParsingContext* context = toParsingContext(toXMLParser(address)); in ExpatAttributes_getQName() local
Dlibcore_icu_NativeConverter.cpp373 …const EncoderCallbackContext* context = reinterpret_cast<const EncoderCallbackContext*>(rawContext… in encoderReplaceCallback() local
433 …const DecoderCallbackContext* context = reinterpret_cast<const DecoderCallbackContext*>(rawContext… in decoderReplaceCallback() local
/libcore/luni/src/main/java/java/net/
DURL.java136 public URL(URL context, String spec) throws MalformedURLException { in URL() method in URL
150 public URL(URL context, String spec, URLStreamHandler handler) throws MalformedURLException { in URL() method in URL
/libcore/luni/src/test/java/libcore/javax/net/ssl/
DSSLSocketTest.java1731 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_getPortWithSNI() local
1752 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_sendsTlsFallbackScsv_Fallback_Success() local
1791 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_sendsNoTlsFallbackScsv_Fallback_Success() local
1831 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_sendsTlsFallbackScsv_InappropriateFallback_Failure() local
1886 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_ClientGetsAlertDuringHandshake_HasGoodExceptionMessage() local
1939 TestSSLContext context = TestSSLContext.create(); in test_SSLSocket_ServerGetsAlertDuringHandshake_HasGoodExceptionMessage() local
DSSLContextTest.java158 SSLContext context = SSLContext.getInstance(tlsVersion); in test_SSLContext_init_correctProtocolVersionsEnabled() local
/libcore/support/src/test/java/libcore/java/security/
DTestKeyStore.java925 public void dump(String context) throws KeyStoreException, NoSuchAlgorithmException { in dump()
932 public static void dump(String context, KeyStore keyStore, char[] keyPassword) in dump()
/libcore/luni/src/main/java/org/apache/harmony/xml/
DExpatParser.java247 /*package*/ void handleExternalEntity(String context, String publicId, in handleExternalEntity()
395 private static native long createEntityParser(long parentPointer, String context); in createEntityParser()
/libcore/luni/src/main/java/java/awt/font/
DNumericShaper.java665 public void shape(char[] text, int start, int count, int context) { in shape()