Home
last modified time | relevance | path

Searched refs:getSecurityManager (Results 1 – 7 of 7) sorted by relevance

/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java295 SecurityManager s = System.getSecurityManager(); in testDefaultThreadFactory()
338 SecurityManager s = System.getSecurityManager(); in testPrivilegedThreadFactory()
363 SecurityManager sm = System.getSecurityManager(); in haveCCLPermissions()
376 SecurityManager sm = System.getSecurityManager(); in checkCCL()
397 if (System.getSecurityManager() == null) in testCreatePrivilegedCallableUsingCCLWithNoPrivs()
434 if (System.getSecurityManager() == null) in testPrivilegedCallableWithNoPrivs()
/libcore/benchmarks/src/benchmarks/regression/
DDoPrivilegedBenchmark.java35 if (System.getSecurityManager() == null) { in timeFastAndSlow()
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/
DSystemTest.java242 .getSecurityManager()); in test_getSecurityManager()
/libcore/luni/src/main/java/java/util/concurrent/
DExecutors.java516 SecurityManager s = System.getSecurityManager();
DThreadPoolExecutor.java703 SecurityManager security = System.getSecurityManager(); in checkShutdownAccess()
DForkJoinPool.java509 SecurityManager security = System.getSecurityManager(); in checkPermission()
/libcore/luni/src/main/java/java/lang/
DSystem.java949 public static SecurityManager getSecurityManager() { in getSecurityManager() method in System