/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 20 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/ |
D | DoPrivilegedBenchmark.java | 19 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/ |
D | GetSystemPropertyBenchmark.java | 19 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/ |
D | PrivilegedActionTest.java | 5 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/ |
D | AsynchronousChannelGroupImpl.java | 38 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>() {
|
D | ThreadPool.java | 29 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/ |
D | Tripwire.java | 29 import java.security.AccessController; 52 static final boolean ENABLED = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Tripwire.java | 27 import java.security.AccessController; 52 static final boolean ENABLED = AccessController.doPrivileged(
|
/libcore/ojluni/src/main/java/java/net/ |
D | URLClassLoader.java | 34 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 …]
|
D | DefaultDatagramSocketImplFactory.java | 27 import java.security.AccessController; 43 prefix = AccessController.doPrivileged(
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ProviderTrust.java | 20 import java.security.AccessController; 53 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
|
D | Support_TestProvider.java | 20 import java.security.AccessController; 52 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 32 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/ |
D | NetworkClient.java | 34 import java.security.AccessController; 71 AccessController.doPrivileged( in AccessController.doPrivileged() 156 s = AccessController.doPrivileged( in doConnect() 203 return AccessController.doPrivileged( in getLocalAddress()
|
D | NetProperties.java | 28 import java.security.AccessController; 44 AccessController.doPrivileged( in AccessController.doPrivileged()
|
/libcore/ojluni/src/main/java/sun/nio/fs/ |
D | DefaultFileSystemProvider.java | 29 import java.security.AccessController; 58 String osname = AccessController in create()
|
/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()
|
D | AbstractAlgorithmConstraints.java | 28 import java.security.AccessController; 48 String property = AccessController.doPrivileged( in getAlgorithms()
|
D | AnchorCertificates.java | 30 import java.security.AccessController; 50 AccessController.doPrivileged(new PrivilegedAction<Void>() { in AccessController.doPrivileged()
|
/libcore/ojluni/src/main/java/java/security/ |
D | AccessController.java | 35 public final class AccessController { class 37 private AccessController() { } in AccessController() method in AccessController
|
/libcore/ojluni/src/main/java/java/util/concurrent/ |
D | Executors.java | 41 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/ |
D | FtpClientProvider.java | 27 import java.security.AccessController; 141 return (FtpClientProvider) AccessController.doPrivileged( in provider()
|
/libcore/ojluni/src/main/java/java/util/prefs/ |
D | FileSystemPreferences.java | 30 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/ |
D | LoggingSupport.java | 30 import java.security.AccessController; 49 AccessController.doPrivileged(new PrivilegedAction<LoggingProxy>() { 160 AccessController.doPrivileged( in getSimpleFormat()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Cleaner.java | 29 import java.security.AccessController; 145 AccessController.doPrivileged(new PrivilegedAction<Void>() { in clean()
|