Home
last modified time | relevance | path

Searched refs:AccessController (Results 1 – 25 of 136) sorted by relevance

123456

/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java20 import java.security.AccessController;
51 AccessController.doPrivileged(new PrivilegedAction<Void>() { in testDoPrivilegedWithCombiner()
54 assertEquals(null, AccessController.getContext().getDomainCombiner()); in testDoPrivilegedWithCombiner()
55 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
58 AccessController.doPrivileged(new PrivilegedAction<Void>() { in testDoPrivilegedWithCombiner()
62 assertEquals(null, AccessController.getContext().getDomainCombiner()); in testDoPrivilegedWithCombiner()
63 AccessController.getContext().checkPermission(permission); in testDoPrivilegedWithCombiner()
/libcore/benchmarks/src/benchmarks/regression/
DDoPrivilegedBenchmark.java19 import java.security.AccessController;
35 lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeFastAndSlow()
46 String lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeNewAction()
57 String lineSeparator = AccessController.doPrivileged(action); in timeReusedAction()
/libcore/benchmarks/src/benchmarks/
DGetSystemPropertyBenchmark.java19 import java.security.AccessController;
48 AccessController.doPrivileged( in timeAccessController_getPropertyAction()
55 AccessController.doPrivileged( in timeAccessController_getPropertyAction_default()
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/
DPrivilegedActionTest.java5 import java.security.AccessController;
35 String result = AccessController.doPrivileged(action); in testRun()
43 result = AccessController.doPrivileged(action2); in testRun()
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java38 import java.security.AccessController;
51 private static final int internalThreadCount = AccessController.doPrivileged(
118 AccessController.doPrivileged(new PrivilegedAction<Void>() {
249 AccessController.doPrivileged(new PrivilegedAction<Void>() {
321 final AccessControlContext acc = AccessController.getContext();
326 AccessController.doPrivileged(new PrivilegedAction<Void>() {
DThreadPool.java29 import java.security.AccessController;
157 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolInitialSize()
171 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolThreadFactory()
/libcore/ojluni/src/main/java/java/util/
DTripwire.java29 import java.security.AccessController;
52 static final boolean ENABLED = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/java/util/stream/
DTripwire.java27 import java.security.AccessController;
52 static final boolean ENABLED = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java34 import java.security.AccessController;
106 this.acc = AccessController.getContext(); in URLClassLoader()
150 this.acc = AccessController.getContext(); in URLClassLoader()
194 acc = AccessController.getContext(); in URLClassLoader()
361 result = AccessController.doPrivileged( in findClass()
568 URL url = AccessController.doPrivileged( in findResource()
600 URL u = AccessController.doPrivileged( in findResources()
709 AccessController.doPrivileged(new PrivilegedAction<Void>() { in getPermissions()
737 final AccessControlContext acc = AccessController.getContext(); in newInstance()
739 URLClassLoader ucl = AccessController.doPrivileged( in newInstance()
[all …]
DDefaultDatagramSocketImplFactory.java27 import java.security.AccessController;
43 prefix = AccessController.doPrivileged(
/libcore/support/src/test/java/tests/support/
DSupport_ProviderTrust.java20 import java.security.AccessController;
53 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
DSupport_TestProvider.java20 import java.security.AccessController;
52 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java32 import java.security.AccessController;
296 return AccessController.doPrivileged in getSubject()
356 final AccessControlContext currentAcc = AccessController.getContext();
359 return java.security.AccessController.doPrivileged
418 final AccessControlContext currentAcc = AccessController.getContext();
421 return java.security.AccessController.doPrivileged
482 return java.security.AccessController.doPrivileged
548 return java.security.AccessController.doPrivileged
557 return java.security.AccessController.doPrivileged
1148 next = java.security.AccessController.doPrivileged
[all …]
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java34 import java.security.AccessController;
71 AccessController.doPrivileged( in AccessController.doPrivileged()
156 s = AccessController.doPrivileged( in doConnect()
203 return AccessController.doPrivileged( in getLocalAddress()
DNetProperties.java28 import java.security.AccessController;
44 AccessController.doPrivileged( in AccessController.doPrivileged()
/libcore/ojluni/src/main/java/sun/nio/fs/
DDefaultFileSystemProvider.java29 import java.security.AccessController;
58 String osname = AccessController in create()
/libcore/ojluni/src/main/java/sun/security/util/
DResourcesMgr.java43 bundle = java.security.AccessController.doPrivileged( in getString()
60 altBundle = java.security.AccessController.doPrivileged( in getString()
DAbstractAlgorithmConstraints.java28 import java.security.AccessController;
48 String property = AccessController.doPrivileged( in getAlgorithms()
DAnchorCertificates.java30 import java.security.AccessController;
50 AccessController.doPrivileged(new PrivilegedAction<Void>() { in AccessController.doPrivileged()
/libcore/ojluni/src/main/java/java/security/
DAccessController.java35 public final class AccessController { class
37 private AccessController() { } in AccessController() method in AccessController
/libcore/ojluni/src/main/java/java/util/concurrent/
DExecutors.java41 import java.security.AccessController;
476 this.acc = AccessController.getContext();
481 return AccessController.doPrivileged(
519 this.acc = AccessController.getContext();
525 return AccessController.doPrivileged(
600 this.acc = AccessController.getContext();
607 AccessController.doPrivileged(new PrivilegedAction<Void>() {
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClientProvider.java27 import java.security.AccessController;
141 return (FtpClientProvider) AccessController.doPrivileged( in provider()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java30 import java.security.AccessController;
97 AccessController.doPrivileged(new PrivilegedAction<Void>() { in setupUserRoot()
158 AccessController.doPrivileged(new PrivilegedAction<Void>() { in setupSystemRoot()
507 AccessController.doPrivileged(new PrivilegedAction<Void>() { in FileSystemPreferences()
613 AccessController.doPrivileged( in writeBackCache()
645 return AccessController.doPrivileged( in childrenNamesSpi()
684 AccessController.doPrivileged(
731 AccessController.doPrivileged(
747 AccessController.doPrivileged(new PrivilegedAction<Void>() {
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java30 import java.security.AccessController;
49 AccessController.doPrivileged(new PrivilegedAction<LoggingProxy>() {
160 AccessController.doPrivileged( in getSimpleFormat()
/libcore/ojluni/src/main/java/sun/misc/
DCleaner.java29 import java.security.AccessController;
145 AccessController.doPrivileged(new PrivilegedAction<Void>() { in clean()

123456