Home
last modified time | relevance | path

Searched refs:RuntimePermission (Results 1 – 25 of 29) sorted by relevance

12

/libcore/ojluni/src/main/java/sun/security/util/
DSecurityConstants.java180 public static final RuntimePermission CREATE_CLASSLOADER_PERMISSION =
181 new RuntimePermission("createClassLoader");
184 public static final RuntimePermission CHECK_MEMBER_ACCESS_PERMISSION =
185 new RuntimePermission("accessDeclaredMembers");
188 public static final RuntimePermission MODIFY_THREAD_PERMISSION =
189 new RuntimePermission("modifyThread");
192 public static final RuntimePermission MODIFY_THREADGROUP_PERMISSION =
193 new RuntimePermission("modifyThreadGroup");
196 public static final RuntimePermission GET_PD_PERMISSION =
197 new RuntimePermission("getProtectionDomain");
[all …]
/libcore/ojluni/src/main/java/java/lang/
DRuntimePermission.java34 public final class RuntimePermission extends BasicPermission { class
38 public RuntimePermission(String name) in RuntimePermission() method in RuntimePermission
43 public RuntimePermission(String name, String actions) in RuntimePermission() method in RuntimePermission
DThread.java1593 private static final RuntimePermission SUBCLASS_IMPLEMENTATION_PERMISSION =
1594 new RuntimePermission("enableContextClassLoaderOverride");
DProcessBuilder.java342 security.checkPermission(new RuntimePermission("getenv.*")); in environment()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java374 new RuntimePermission("getClassLoader"), in testPrivilegedThreadFactory()
375 new RuntimePermission("setContextClassLoader"), in testPrivilegedThreadFactory()
376 new RuntimePermission("modifyThread")); in testPrivilegedThreadFactory()
383 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in haveCCLPermissions()
384 sm.checkPermission(new RuntimePermission("getClassLoader")); in haveCCLPermissions()
395 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkCCL()
396 sm.checkPermission(new RuntimePermission("getClassLoader")); in checkCCL()
438 new RuntimePermission("getClassLoader"), in testPrivilegedCallableUsingCCLWithPrivs()
439 new RuntimePermission("setContextClassLoader")); in testPrivilegedCallableUsingCCLWithPrivs()
524 new RuntimePermission("getClassLoader"), in testPrivilegedCallableWithPrivs()
[all …]
DAbstractExecutorServiceTest.java127 new RuntimePermission("getClassLoader"), in testSubmitPrivilegedAction()
128 new RuntimePermission("setContextClassLoader"), in testSubmitPrivilegedAction()
129 new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction()
DJSR166TestCase.java1180 (new RuntimePermission("modifyThread"),
1181 new RuntimePermission("getClassLoader"),
1182 new RuntimePermission("setContextClassLoader"),
1186 new RuntimePermission("setSecurityManager"),
1188 new RuntimePermission("accessDeclaredMembers"),
DForkJoinPoolTest.java496 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedAction()
515 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitPrivilegedExceptionAction()
539 runWithPermissions(r, new RuntimePermission("modifyThread")); in testSubmitFailedPrivilegedExceptionAction()
/libcore/ojluni/src/main/java/java/nio/charset/spi/
DCharsetProvider.java84 sm.checkPermission(new RuntimePermission("charsetProvider")); in CharsetProvider()
/libcore/ojluni/src/main/java/java/nio/file/spi/
DFileTypeDetector.java55 sm.checkPermission(new RuntimePermission("fileTypeDetector")); in checkPermission()
DFileSystemProvider.java90 sm.checkPermission(new RuntimePermission("fileSystemProvider")); in checkPermission()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java40 import java.lang.RuntimePermission;
392 private static Permission prefsPerm = new RuntimePermission("preferences");
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClientProvider.java60 sm.checkPermission(new RuntimePermission("ftpClientProvider")); in FtpClientProvider()
/libcore/luni/src/test/java/libcore/java/security/
DAccessControllerTest.java37 final Permission permission = new RuntimePermission("do stuff"); in testDoPrivilegedWithCombiner()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractUserDefinedFileAttributeView.java53 sm.checkPermission(new RuntimePermission("accessUserDefinedAttributes")); in checkAccess()
DUnixFileAttributeViews.java148 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkReadExtended()
156 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkWriteExtended()
DUnixUserPrincipals.java142 sm.checkPermission(new RuntimePermission("lookupUserInformation")); in lookupName()
DUnixSecureDirectoryStream.java453 sm.checkPermission(new RuntimePermission("accessUserInformation")); in checkWriteAndUserAccess()
470 sm.checkPermission(new RuntimePermission("accessUserInformation")); in readAttributes()
DUnixFileSystem.java252 sm.checkPermission(new RuntimePermission("getFileStoreAttributes"));
/libcore/ojluni/src/main/java/java/nio/channels/spi/
DAsynchronousChannelProvider.java57 sm.checkPermission(new RuntimePermission("asynchronousChannelProvider")); in checkPermission()
DSelectorProvider.java84 sm.checkPermission(new RuntimePermission("selectorProvider")); in SelectorProvider()
/libcore/ojluni/src/main/java/java/io/
DFile.java1767 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getTotalSpace()
1805 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getFreeSpace()
1851 sm.checkPermission(new RuntimePermission("getFileSystemAttributes")); in getUsableSpace()
/libcore/ojluni/src/main/java/java/util/concurrent/
DThreadPoolExecutor.java588 private static final RuntimePermission shutdownPerm =
589 new RuntimePermission("modifyThread");
DForkJoinPool.java1377 static final RuntimePermission modifyThreadPermission;
3496 modifyThreadPermission = new RuntimePermission("modifyThread");
3560 innocuousPerms.add(new RuntimePermission( in innocuousPerms.add()
3562 innocuousPerms.add(new RuntimePermission( in innocuousPerms.add()
/libcore/ojluni/src/main/java/java/util/logging/
DLogManager.java263 sm.checkPermission(new RuntimePermission("shutdownHooks")); in checkSubclassPermissions()
264 sm.checkPermission(new RuntimePermission("setContextClassLoader")); in checkSubclassPermissions()

12