Home
last modified time | relevance | path

Searched refs:doPrivileged (Results 1 – 25 of 117) sorted by relevance

12345

/libcore/ojluni/src/main/java/java/security/
DAccessController.java45 public static <T> T doPrivileged(PrivilegedAction<T> action) { in doPrivileged() method in AccessController
60 public static <T> T doPrivileged(PrivilegedAction<T> action, in doPrivileged() method in AccessController
72 return doPrivileged(action); in doPrivilegedWithCombiner()
79 doPrivileged(PrivilegedExceptionAction<T> action) in doPrivileged() method in AccessController
95 return doPrivileged(action); in doPrivilegedWithCombiner()
103 doPrivileged(PrivilegedExceptionAction<T> action, in doPrivileged() method in AccessController
106 return doPrivileged(action); in doPrivileged()
114 public static <T> T doPrivileged(PrivilegedExceptionAction<T> action, in doPrivileged() method in AccessController
118 return doPrivileged(action); in doPrivileged()
131 return doPrivileged(action); in doPrivilegedWithCombiner()
[all …]
/libcore/benchmarks/src/benchmarks/regression/
DDoPrivilegedBenchmark.java35 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/ojluni/src/main/java/sun/security/action/
DGetPropertyAction.java108 return AccessController.doPrivileged( in privilegedGetProperty()
132 return AccessController.doPrivileged( in privilegedGetProperty()
153 return AccessController.doPrivileged( in privilegedGetProperties()
DGetIntegerAction.java133 return AccessController.doPrivileged( in privilegedGetProperty()
158 value = AccessController.doPrivileged( in privilegedGetProperty()
DGetBooleanAction.java92 return AccessController.doPrivileged( in privilegedGetProperty()
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java60 assertActionRun(action -> AccessController.doPrivileged( in testDoPrivilegedWithCombiner()
63 assertActionRun(action -> AccessController.doPrivileged( in testDoPrivilegedWithCombiner()
68 AccessController.doPrivileged((PrivilegedExceptionAction<Void>) action::get); in testDoPrivilegedWithCombiner()
76 AccessController.doPrivileged( in testDoPrivilegedWithCombiner()
/libcore/benchmarks/src/benchmarks/
DGetSystemPropertyBenchmark.java48 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.java35 String result = AccessController.doPrivileged(action); in testRun()
43 result = AccessController.doPrivileged(action2); in testRun()
/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()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java296 return AccessController.doPrivileged in getSubject()
359 return java.security.AccessController.doPrivileged
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
1189 next = java.security.AccessController.doPrivileged
1217 next = java.security.AccessController.doPrivileged
1255 next = java.security.AccessController.doPrivileged
[all …]
/libcore/ojluni/src/main/java/jdk/internal/misc/
DInnocuousThread.java65 return AccessController.doPrivileged( in newThread()
89 return AccessController.doPrivileged(
170 INNOCUOUSTHREADGROUP = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/sun/nio/ch/
DAsynchronousChannelGroupImpl.java51 private static final int internalThreadCount = AccessController.doPrivileged(
118 AccessController.doPrivileged(new PrivilegedAction<Void>() {
249 AccessController.doPrivileged(new PrivilegedAction<Void>() {
326 AccessController.doPrivileged(new PrivilegedAction<Void>() {
DThreadPool.java157 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolInitialSize()
171 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolThreadFactory()
/libcore/ojluni/src/main/java/java/lang/
DUNIXProcess.java43 import static java.security.AccessController.doPrivileged;
96 return doPrivileged(new PrivilegedAction<ThreadGroup> () { in getRootThreadGroup()
119 doPrivileged(new PrivilegedAction<Executor>() {
141 doPrivileged(new PrivilegedExceptionAction<Void>() {
/libcore/ojluni/src/main/java/sun/net/
DNetworkClient.java71 AccessController.doPrivileged( in AccessController.doPrivileged()
156 s = AccessController.doPrivileged( in doConnect()
203 return AccessController.doPrivileged( in getLocalAddress()
DResourceManager.java56 String prop = java.security.AccessController.doPrivileged(
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java97 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/security/jca/
DProviderConfig.java102 Boolean o = AccessController.doPrivileged( in checkSunPKCS11Solaris()
206 return AccessController.doPrivileged(new PrivilegedAction<Provider>() { in doLoadProvider()
285 return AccessController.doPrivileged(new PrivilegedAction<String>() {
/libcore/ojluni/src/main/java/java/net/
DURLClassLoader.java361 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()
739 URLClassLoader ucl = AccessController.doPrivileged( in newInstance()
764 URLClassLoader ucl = AccessController.doPrivileged( in newInstance()
DDefaultDatagramSocketImplFactory.java43 prefix = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/java/util/
DTripwire.java53 static final boolean ENABLED = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/java/util/stream/
DTripwire.java53 static final boolean ENABLED = AccessController.doPrivileged(
/libcore/ojluni/src/main/java/sun/util/logging/
DLoggingSupport.java49 AccessController.doPrivileged(new PrivilegedAction<LoggingProxy>() {
160 AccessController.doPrivileged( in getSimpleFormat()
/libcore/support/src/test/java/tests/support/
DSupport_ProviderTrust.java53 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
/libcore/ojluni/src/main/java/javax/net/ssl/
DSSLSocketFactory.java63 String s = java.security.AccessController.doPrivileged(
163 return AccessController.doPrivileged(new PrivilegedAction<String>() { in getSecurityProperty()

12345