Home
last modified time | relevance | path

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

123

/libcore/ojluni/src/main/java/java/io/
DFile.java724 SecurityManager security = System.getSecurityManager(); in canRead()
749 SecurityManager security = System.getSecurityManager(); in canWrite()
772 SecurityManager security = System.getSecurityManager(); in exists()
797 SecurityManager security = System.getSecurityManager(); in isDirectory()
824 SecurityManager security = System.getSecurityManager(); in isFile()
853 SecurityManager security = System.getSecurityManager(); in isHidden()
878 SecurityManager security = System.getSecurityManager(); in lastModified()
903 SecurityManager security = System.getSecurityManager(); in length()
943 SecurityManager security = System.getSecurityManager(); in createNewFile()
965 SecurityManager security = System.getSecurityManager(); in delete()
[all …]
/libcore/ojluni/src/main/java/sun/net/
DResourceManager.java70 if (System.getSecurityManager() != null) { in beforeUdpCreate()
79 if (System.getSecurityManager() != null) { in afterUdpClose()
/libcore/ojluni/src/main/java/java/net/
DResponseCache.java84 SecurityManager sm = System.getSecurityManager(); in getDefault()
107 SecurityManager sm = System.getSecurityManager(); in setDefault()
DCookieHandler.java73 SecurityManager sm = System.getSecurityManager(); in getDefault()
93 SecurityManager sm = System.getSecurityManager(); in setDefault()
DAuthenticator.java123 SecurityManager sm = System.getSecurityManager(); in setDefault()
167 SecurityManager sm = System.getSecurityManager(); in requestPasswordAuthentication()
229 SecurityManager sm = System.getSecurityManager(); in requestPasswordAuthentication()
296 SecurityManager sm = System.getSecurityManager(); in requestPasswordAuthentication()
DProxySelector.java92 SecurityManager sm = System.getSecurityManager(); in getDefault()
115 SecurityManager sm = System.getSecurityManager(); in setDefault()
DMulticastSocket.java300 SecurityManager security = System.getSecurityManager(); in joinGroup()
345 SecurityManager security = System.getSecurityManager(); in leaveGroup()
393 SecurityManager security = System.getSecurityManager(); in joinGroup()
440 SecurityManager security = System.getSecurityManager(); in leaveGroup()
666 SecurityManager security = System.getSecurityManager(); in send()
DServerSocket.java374 SecurityManager security = System.getSecurityManager(); in bind()
405 SecurityManager sm = System.getSecurityManager(); in getInetAddress()
533 SecurityManager security = System.getSecurityManager(); in implAccept()
729 System.getSecurityManager() != null) in toString()
781 SecurityManager security = System.getSecurityManager(); in setSocketFactory()
DURLClassLoader.java99 SecurityManager security = System.getSecurityManager(); in URLClassLoader()
111 SecurityManager security = System.getSecurityManager(); in URLClassLoader()
142 SecurityManager security = System.getSecurityManager(); in URLClassLoader()
153 SecurityManager security = System.getSecurityManager(); in URLClassLoader()
185 SecurityManager security = System.getSecurityManager(); in URLClassLoader()
282 SecurityManager security = System.getSecurityManager(); in close()
683 final SecurityManager sm = System.getSecurityManager();
780 SecurityManager sm = System.getSecurityManager();
DDatagramSocket.java132 SecurityManager security = System.getSecurityManager(); in connectInternal()
385 SecurityManager sec = System.getSecurityManager(); in bind()
663 SecurityManager security = System.getSecurityManager(); in send()
742 SecurityManager security = System.getSecurityManager(); in receive()
842 SecurityManager s = System.getSecurityManager(); in getLocalAddress()
1287 SecurityManager security = System.getSecurityManager(); in setDatagramSocketImplFactory()
DNetUtil.java49 SecurityManager sm = System.getSecurityManager(); in readRevealLocalAddr()
DHttpURLConnection.java551 SecurityManager sec = System.getSecurityManager(); in setFollowRedirects()
638 SecurityManager s = System.getSecurityManager(); in setRequestMethod()
DNetworkInterface.java113 SecurityManager sec = System.getSecurityManager(); in getInetAddresses()
163 SecurityManager sec = System.getSecurityManager(); in getInterfaceAddresses()
/libcore/ojluni/src/main/java/javax/net/ssl/
DHttpsURLConnection.java236 SecurityManager sm = System.getSecurityManager(); in setDefaultHostnameVerifier()
320 SecurityManager sm = System.getSecurityManager(); in setDefaultSSLSocketFactory()
366 SecurityManager sm = System.getSecurityManager(); in setSSLSocketFactory()
/libcore/ojluni/src/main/java/sun/reflect/misc/
DReflectUtil.java81 SecurityManager s = System.getSecurityManager(); in checkPackageAccess()
147 SecurityManager s = System.getSecurityManager(); in checkProxyPackageAccess()
169 SecurityManager sm = System.getSecurityManager(); in checkProxyPackageAccess()
/libcore/ojluni/src/main/java/javax/security/auth/
DSubject.java239 java.lang.SecurityManager sm = System.getSecurityManager(); in setReadOnly()
285 java.lang.SecurityManager sm = System.getSecurityManager(); in getSubject()
343 java.lang.SecurityManager sm = System.getSecurityManager();
402 java.lang.SecurityManager sm = System.getSecurityManager();
456 java.lang.SecurityManager sm = System.getSecurityManager();
520 java.lang.SecurityManager sm = System.getSecurityManager();
1021 SecurityManager sm = System.getSecurityManager();
1042 java.lang.SecurityManager sm = System.getSecurityManager();
1068 java.lang.SecurityManager sm = System.getSecurityManager();
1145 SecurityManager sm = System.getSecurityManager();
[all …]
/libcore/ojluni/src/main/java/java/security/
DSecureClassLoader.java78 SecurityManager security = System.getSecurityManager(); in SecureClassLoader()
101 SecurityManager security = System.getSecurityManager(); in SecureClassLoader()
DSigner.java177 SecurityManager security = System.getSecurityManager(); in check()
DIdentityScope.java252 SecurityManager security = System.getSecurityManager(); in check()
/libcore/ojluni/src/main/java/java/nio/charset/spi/
DCharsetProvider.java82 SecurityManager sm = System.getSecurityManager(); in CharsetProvider()
/libcore/jsr166-tests/src/test/java/jsr166/
DExecutorsTest.java317 SecurityManager s = System.getSecurityManager(); in testDefaultThreadFactory()
355 SecurityManager s = System.getSecurityManager(); in testPrivilegedThreadFactory()
380 SecurityManager sm = System.getSecurityManager(); in haveCCLPermissions()
393 SecurityManager sm = System.getSecurityManager(); in checkCCL()
414 if (System.getSecurityManager() == null) in testCreatePrivilegedCallableUsingCCLWithNoPrivs()
451 if (System.getSecurityManager() == null) in testPrivilegedCallableWithNoPrivs()
DThreadTest.java73 assertNotNull(System.getSecurityManager()); in testGetAndSetDefaultUncaughtExceptionHandler()
/libcore/ojluni/src/main/java/java/util/prefs/
DPreferences.java408 SecurityManager security = System.getSecurityManager(); in userRoot()
429 SecurityManager security = System.getSecurityManager(); in systemRoot()
/libcore/benchmarks/src/benchmarks/regression/
DDoPrivilegedBenchmark.java32 if (System.getSecurityManager() == null) { in timeFastAndSlow()
/libcore/ojluni/src/main/java/sun/net/ftp/
DFtpClientProvider.java58 SecurityManager sm = System.getSecurityManager(); in FtpClientProvider()

123