Home
last modified time | relevance | path

Searched refs:getContext (Results 1 – 21 of 21) sorted by relevance

/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/
DHttpsURLConnectionTest.java130 SSLContext ctx = getContext(); in testHttpsConnection()
162 SSLContext ctx = getContext(); in testHttpsConnection_Not_Found_Response()
200 SSLContext ctx = getContext(); in testSetDefaultSSLSocketFactory()
247 SSLContext ctx = getContext(); in testSetSSLSocketFactory()
324 SSLContext ctx = getContext(); in testSetHostnameVerifier()
336 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testSetHostnameVerifier()
360 SSLContext ctx = getContext(); in test_doOutput()
372 connection.setSSLSocketFactory(getContext().getSocketFactory()); in test_doOutput()
391 SSLContext ctx = getContext(); in testProxyConnection()
412 connection.setSSLSocketFactory(getContext().getSocketFactory()); in testProxyConnection()
[all …]
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java102 assertEquals(null, AccessController.getContext().getDomainCombiner()); in assertActionRun()
103 AccessController.getContext().checkPermission(permission); in assertActionRun()
108 assertEquals(null, AccessController.getContext().getDomainCombiner()); in assertActionRun()
109 AccessController.getContext().checkPermission(permission); in assertActionRun()
/libcore/luni/src/test/java/libcore/java/security/spec/
DEdDSAParameterSpecTest.java40 assertEquals(Optional.empty(), spec.getContext()); in testIsPrehash()
48 assertArrayEquals(context, spec.getContext().get()); in testGetContext()
/libcore/ojluni/annotations/flagged_api/java/security/spec/
DEdDSAParameterSpec.annotated.java39 public java.util.Optional<byte[]> getContext() { throw new RuntimeException("Stub!"); } in getContext() method in EdDSAParameterSpec
/libcore/ojluni/src/main/java/java/security/spec/
DEdDSAParameterSpec.java103 public Optional<byte[]> getContext() { in getContext() method in EdDSAParameterSpec
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java106 this.acc = AccessController.getContext(); in URLClassLoader()
150 this.acc = AccessController.getContext(); in URLClassLoader()
194 acc = AccessController.getContext(); in URLClassLoader()
737 final AccessControlContext acc = AccessController.getContext(); in newInstance()
762 final AccessControlContext acc = AccessController.getContext(); in newInstance()
/libcore/ojluni/src/main/java/java/security/
DAccessControlContext.java90 ProtectionDomain[] getContext() { in getContext() method in AccessControlContext
DAccessController.java144 public static AccessControlContext getContext() { in getContext() method in AccessController
DKeyStore.java2010 AccessController.getContext()); in newInstance()
2211 final AccessControlContext context = AccessController.getContext(); in newInstance()
/libcore/metrictests/memory/apps/src/libcore/heapdumper/
DPssInstrumentation.java41 ActivityManager activityManager = getContext().getSystemService(ActivityManager.class); in takeMeasurement()
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java506 this.acc = AccessController.getContext();
556 this.acc = AccessController.getContext();
645 this.acc = AccessController.getContext();
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/
DSubjectTest.java155 AccessControlContext acc = AccessController.getContext(); in test_doAsPrivileged_01()
185 AccessControlContext acc = AccessController.getContext(); in test_doAsPrivileged_02()
/libcore/ojluni/src/main/java/sun/nio/ch/
DUnixAsynchronousSocketChannelImpl.java254 if (task.getContext() == OpType.CONNECT) in onCancel()
256 if (task.getContext() == OpType.READ) in onCancel()
258 if (task.getContext() == OpType.WRITE) in onCancel()
DPendingFuture.java103 Object getContext() { in getContext() method in PendingFuture
DAsynchronousChannelGroupImpl.java321 final AccessControlContext acc = AccessController.getContext();
DUnixAsynchronousServerSocketChannelImpl.java320 null : AccessController.getContext(); in implAccept()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java356 final AccessControlContext currentAcc = AccessController.getContext();
418 final AccessControlContext currentAcc = AccessController.getContext();
/libcore/ojluni/src/test/java/util/concurrent/tck/
DExecutorsTest.java370 final AccessControlContext thisacc = AccessController.getContext(); in testPrivilegedThreadFactory()
/libcore/ojluni/src/main/java/java/lang/
DThread.java723 this.inheritedAccessControlContext = AccessController.getContext(); in init2()
/libcore/ojluni/src/main/java/java/io/
DObjectInputStream.java2582 AccessControlContext acc = AccessController.getContext(); in register()
/libcore/api/
Dcurrent.txt7843 method public static java.security.AccessControlContext getContext();
9441 method public java.util.Optional<byte[]> getContext();