/libcore/benchmarks/src/benchmarks/regression/ |
D | DoPrivilegedBenchmark.java | 20 import java.security.PrivilegedAction; 35 lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeFastAndSlow() 46 String lineSeparator = AccessController.doPrivileged(new PrivilegedAction<String>() { in timeNewAction() 55 final PrivilegedAction<String> action = new ReusableAction("line.separator"); in timeReusedAction() 61 private static final class ReusableAction implements PrivilegedAction<String> {
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
D | PrivilegedActionTest.java | 6 import java.security.PrivilegedAction; 14 private class MyPrivilegedAction implements PrivilegedAction<String> { 23 private class MyPrivilegedAction2 implements PrivilegedAction<String> {
|
/libcore/ojluni/src/main/java/java/security/ |
D | AccessController.java | 42 public static <T> T doPrivileged(PrivilegedAction<T> action) { in doPrivileged() 49 public static <T> T doPrivilegedWithCombiner(PrivilegedAction<T> action) { in doPrivilegedWithCombiner() 57 public static <T> T doPrivileged(PrivilegedAction<T> action, in doPrivileged()
|
D | PrivilegedAction.java | 35 public interface PrivilegedAction<T> { interface
|
/libcore/luni/src/test/java/libcore/java/security/ |
D | AccessControllerTest.java | 24 import java.security.PrivilegedAction; 51 AccessController.doPrivileged(new PrivilegedAction<Void>() { in testDoPrivilegedWithCombiner() 58 AccessController.doPrivileged(new PrivilegedAction<Void>() { in testDoPrivilegedWithCombiner()
|
/libcore/ojluni/src/main/java/java/util/ |
D | Tripwire.java | 30 import java.security.PrivilegedAction; 53 (PrivilegedAction<Boolean>) () -> Boolean.getBoolean(TRIPWIRE_PROPERTY));
|
/libcore/ojluni/src/main/java/java/util/stream/ |
D | Tripwire.java | 28 import java.security.PrivilegedAction; 53 (PrivilegedAction<Boolean>) () -> Boolean.getBoolean(TRIPWIRE_PROPERTY));
|
/libcore/support/src/test/java/tests/support/ |
D | Support_ProviderTrust.java | 21 import java.security.PrivilegedAction; 53 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
|
D | Support_TestProvider.java | 21 import java.security.PrivilegedAction; 52 AccessController.doPrivileged(new PrivilegedAction<Void>() { in registerServices()
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/javax/security/auth/ |
D | SubjectTest.java | 27 import java.security.PrivilegedAction; 85 PrivilegedAction<Object> pa = new myPrivilegedAction(); in test_doAs_01() 86 PrivilegedAction<Object> paNull = null; in test_doAs_01() 153 PrivilegedAction<Object> pa = new myPrivilegedAction(); in test_doAsPrivileged_01() 154 PrivilegedAction<Object> paNull = null; in test_doAsPrivileged_01() 304 class myPrivilegedAction implements PrivilegedAction <Object> {
|
/libcore/ojluni/src/main/java/sun/net/ |
D | NetworkClient.java | 35 import java.security.PrivilegedAction; 72 new PrivilegedAction<Void>() { in AccessController.doPrivileged() 157 new PrivilegedAction<Socket>() { in doConnect() 204 new PrivilegedAction<InetAddress>() { in getLocalAddress()
|
D | NetProperties.java | 29 import java.security.PrivilegedAction; 45 new PrivilegedAction<Void>() { in AccessController.doPrivileged()
|
/libcore/ojluni/src/main/java/sun/security/util/ |
D | ResourcesMgr.java | 44 new java.security.PrivilegedAction<java.util.ResourceBundle>() { in getString() 61 new java.security.PrivilegedAction<java.util.ResourceBundle>() { in getString()
|
D | AbstractAlgorithmConstraints.java | 30 import java.security.PrivilegedAction; 49 new PrivilegedAction<String>() { in getAlgorithms()
|
D | AnchorCertificates.java | 32 import java.security.PrivilegedAction; 50 AccessController.doPrivileged(new PrivilegedAction<Void>() { in AccessController.doPrivileged()
|
/libcore/ojluni/src/main/java/sun/net/ftp/ |
D | FtpClientProvider.java | 28 import java.security.PrivilegedAction; 142 new PrivilegedAction<Object>() { in provider()
|
/libcore/ojluni/src/main/java/sun/nio/ch/ |
D | AsynchronousChannelGroupImpl.java | 37 import java.security.PrivilegedAction; 118 AccessController.doPrivileged(new PrivilegedAction<Void>() { 249 AccessController.doPrivileged(new PrivilegedAction<Void>() { 326 AccessController.doPrivileged(new PrivilegedAction<Void>() {
|
/libcore/ojluni/src/main/java/sun/util/logging/ |
D | LoggingSupport.java | 31 import java.security.PrivilegedAction; 49 AccessController.doPrivileged(new PrivilegedAction<LoggingProxy>() { 161 new PrivilegedAction<String>() { in getSimpleFormat()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | Cleaner.java | 30 import java.security.PrivilegedAction; 145 AccessController.doPrivileged(new PrivilegedAction<Void>() { in clean()
|
/libcore/ojluni/src/main/java/javax/security/auth/ |
D | Subject.java | 38 import java.security.PrivilegedAction; 297 (new java.security.PrivilegedAction<Subject>() { in getSubject() 344 final java.security.PrivilegedAction<T> action) { 462 final java.security.PrivilegedAction<T> action, 558 (new java.security.PrivilegedAction<AccessControlContext>() { 1149 (new java.security.PrivilegedAction<E>() { 1190 (new java.security.PrivilegedAction<E>() { 1218 (new java.security.PrivilegedAction<E>() { 1256 (new java.security.PrivilegedAction<E>() { 1294 (new java.security.PrivilegedAction<E>() { [all …]
|
/libcore/ojluni/src/main/java/sun/security/jca/ |
D | ProviderConfig.java | 103 new PrivilegedAction<Boolean>() { in checkSunPKCS11Solaris() 206 return AccessController.doPrivileged(new PrivilegedAction<Provider>() { in doLoadProvider() 285 return AccessController.doPrivileged(new PrivilegedAction<String>() {
|
/libcore/ojluni/src/main/java/java/nio/channels/spi/ |
D | SelectorProvider.java | 32 import java.security.PrivilegedAction; 169 new PrivilegedAction<SelectorProvider>() { in provider()
|
D | AsynchronousChannelProvider.java | 35 import java.security.PrivilegedAction; 79 .doPrivileged(new PrivilegedAction<AsynchronousChannelProvider>() { in load()
|
/libcore/ojluni/src/main/java/java/security/cert/ |
D | CertPathValidator.java | 32 import java.security.PrivilegedAction; 325 AccessController.doPrivileged(new PrivilegedAction<String>() { in getDefaultType()
|
D | CertPathBuilder.java | 32 import java.security.PrivilegedAction; 315 AccessController.doPrivileged(new PrivilegedAction<String>() { in getDefaultType()
|