/libcore/ojluni/src/main/java/java/security/ |
D | AccessController.java | 45 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/ |
D | DoPrivilegedBenchmark.java | 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/ojluni/src/main/java/sun/security/action/ |
D | GetPropertyAction.java | 108 return AccessController.doPrivileged( in privilegedGetProperty() 132 return AccessController.doPrivileged( in privilegedGetProperty() 153 return AccessController.doPrivileged( in privilegedGetProperties()
|
D | GetIntegerAction.java | 133 return AccessController.doPrivileged( in privilegedGetProperty() 158 value = AccessController.doPrivileged( in privilegedGetProperty()
|
D | GetBooleanAction.java | 92 return AccessController.doPrivileged( in privilegedGetProperty()
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 60 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/ |
D | GetSystemPropertyBenchmark.java | 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/ |
D | PrivilegedActionTest.java | 35 String result = AccessController.doPrivileged(action); in testRun() 43 result = AccessController.doPrivileged(action2); in testRun()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ResourcesMgr.java | 43 bundle = java.security.AccessController.doPrivileged( in getString() 60 altBundle = java.security.AccessController.doPrivileged( in getString()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 296 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/ |
D | InnocuousThread.java | 65 return AccessController.doPrivileged( in newThread() 89 return AccessController.doPrivileged( 170 INNOCUOUSTHREADGROUP = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousChannelGroupImpl.java | 51 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>() {
|
D | ThreadPool.java | 157 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolInitialSize() 171 String propValue = AccessController.doPrivileged(new in getDefaultThreadPoolThreadFactory()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | UNIXProcess.java | 43 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/ |
D | NetworkClient.java | 71 AccessController.doPrivileged( in AccessController.doPrivileged() 156 s = AccessController.doPrivileged( in doConnect() 203 return AccessController.doPrivileged( in getLocalAddress()
|
D | ResourceManager.java | 56 String prop = java.security.AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | FileSystemPreferences.java | 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/security/jca/ |
D | ProviderConfig.java | 102 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/ |
D | URLClassLoader.java | 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() 739 URLClassLoader ucl = AccessController.doPrivileged( in newInstance() 764 URLClassLoader ucl = AccessController.doPrivileged( in newInstance()
|
D | DefaultDatagramSocketImplFactory.java | 43 prefix = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/java/util/ |
D | Tripwire.java | 53 static final boolean ENABLED = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Tripwire.java | 53 static final boolean ENABLED = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | LoggingSupport.java | 49 AccessController.doPrivileged(new PrivilegedAction<LoggingProxy>() { 160 AccessController.doPrivileged( in getSimpleFormat()
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ProviderTrust.java | 53 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
|
/libcore/ojluni/src/main/java/javax/net/ssl/ |
D | SSLSocketFactory.java | 63 String s = java.security.AccessController.doPrivileged( 163 return AccessController.doPrivileged(new PrivilegedAction<String>() { in getSecurityProperty()
|