Home
last modified time | relevance | path

Searched refs:checkRead (Results 1 – 18 of 18) sorted by relevance

/libcore/luni/src/test/java/libcore/java/lang/
DSecurityManagerTest.java207 sm.checkRead((FileDescriptor) null); in testCheckRead()
208 sm.checkRead(FileDescriptor.in); in testCheckRead()
209 sm.checkRead(FileDescriptor.out); in testCheckRead()
210 sm.checkRead(FileDescriptor.err); in testCheckRead()
215 sm.checkRead((String) null); in testCheckReadPath()
216 sm.checkRead("/"); in testCheckReadPath()
217 sm.checkRead("/invalid_path"); in testCheckReadPath()
222 sm.checkRead("/", this); in testCheckReadWithObject()
223 sm.checkRead("/invalid_path", this); in testCheckReadWithObject()
/libcore/ojluni/src/main/java/sun/nio/fs/
DAbstractUserDefinedFileAttributeView.java43 boolean checkRead, in checkAccess() argument
46 assert checkRead || checkWrite; in checkAccess()
49 if (checkRead) in checkAccess()
50 sm.checkRead(file); in checkAccess()
DUnixFileSystemProvider.java296 file.checkRead(); in checkAccess()
330 file1.checkRead(); in isSameFile()
331 file2.checkRead(); in isSameFile()
353 file.checkRead(); in isHidden()
414 dir.checkRead(); in newDirectoryStream()
524 file.checkRead(); in isDirectory()
532 file.checkRead(); in isRegularFile()
540 file.checkRead(); in exists()
DUnixSecureDirectoryStream.java115 child.checkRead(); in newDirectoryStream()
378 ds.directory().checkRead(); in readAttributes()
380 ds.directory().resolve(file).checkRead(); in readAttributes()
472 ds.directory().checkRead(); in readAttributes()
474 ds.directory().resolve(file).checkRead(); in readAttributes()
DUnixFileSystem.java160 sm.checkRead(rootDirectory.toString()); in getRootDirectories()
207 sm.checkRead(Util.toString(entry.dir()));
DUnixPath.java792 void checkRead() { in checkRead() method in UnixPath
795 sm.checkRead(getPathForPermissionCheck()); in checkRead()
827 checkRead(); in toRealPath()
896 checkRead(); in register()
DUnixFileAttributeViews.java49 file.checkRead(); in readAttributes()
147 file.checkRead(); in checkReadExtended()
DLinuxDosFileAttributeView.java118 file.checkRead(); in readAttributes()
DUnixChannelFactory.java248 sm.checkRead(pathForPermissionCheck); in open()
DUnixCopyFile.java512 source.checkRead(); in copy()
/libcore/ojluni/src/main/java/java/lang/
DSecurityManager.java147 public void checkRead(FileDescriptor fd) { } in checkRead() method in SecurityManager
149 public void checkRead(String file) { } in checkRead() method in SecurityManager
151 public void checkRead(String file, Object context) { } in checkRead() method in SecurityManager
DProcessBuilder.java1040 security.checkRead(prog);
/libcore/ojluni/src/main/java/java/io/
DFile.java773 security.checkRead(path); in canRead()
822 security.checkRead(path); in exists()
854 security.checkRead(path); in isDirectory()
887 security.checkRead(path); in isFile()
916 security.checkRead(path); in isHidden()
948 security.checkRead(path); in lastModified()
979 security.checkRead(path); in length()
1140 security.checkRead(path); in list()
1784 sm.checkRead(path); in getTotalSpace()
1822 sm.checkRead(path); in getFreeSpace()
[all …]
DFileInputStream.java168 security.checkRead(name); in FileInputStream()
DUnixFileSystem.java453 security.checkRead("/"); in listRoots()
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/
DJarFileFactory.java137 sm.checkRead(perm.getName()); in getCachedJarFile()
/libcore/ojluni/src/main/java/sun/misc/
DURLClassPath.java667 security.checkRead(perm.getName());
/libcore/api/
Dcurrent.txt3904 method public void checkRead(java.io.FileDescriptor);
3905 method public void checkRead(String);
3906 method public void checkRead(String, Object);