/libcore/luni/src/test/java/libcore/java/lang/ |
D | SecurityManagerTest.java | 207 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/ |
D | AbstractUserDefinedFileAttributeView.java | 43 boolean checkRead, in checkAccess() argument 46 assert checkRead || checkWrite; in checkAccess() 49 if (checkRead) in checkAccess() 50 sm.checkRead(file); in checkAccess()
|
D | UnixFileSystemProvider.java | 296 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()
|
D | UnixSecureDirectoryStream.java | 115 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()
|
D | UnixFileSystem.java | 160 sm.checkRead(rootDirectory.toString()); in getRootDirectories() 207 sm.checkRead(Util.toString(entry.dir()));
|
D | UnixPath.java | 792 void checkRead() { in checkRead() method in UnixPath 795 sm.checkRead(getPathForPermissionCheck()); in checkRead() 827 checkRead(); in toRealPath() 896 checkRead(); in register()
|
D | UnixFileAttributeViews.java | 49 file.checkRead(); in readAttributes() 147 file.checkRead(); in checkReadExtended()
|
D | LinuxDosFileAttributeView.java | 118 file.checkRead(); in readAttributes()
|
D | UnixChannelFactory.java | 248 sm.checkRead(pathForPermissionCheck); in open()
|
D | UnixCopyFile.java | 512 source.checkRead(); in copy()
|
/libcore/ojluni/src/main/java/java/lang/ |
D | SecurityManager.java | 147 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
|
D | ProcessBuilder.java | 1040 security.checkRead(prog);
|
/libcore/ojluni/src/main/java/java/io/ |
D | File.java | 773 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 …]
|
D | FileInputStream.java | 168 security.checkRead(name); in FileInputStream()
|
D | UnixFileSystem.java | 453 security.checkRead("/"); in listRoots()
|
/libcore/ojluni/src/main/java/sun/net/www/protocol/jar/ |
D | JarFileFactory.java | 137 sm.checkRead(perm.getName()); in getCachedJarFile()
|
/libcore/ojluni/src/main/java/sun/misc/ |
D | URLClassPath.java | 667 security.checkRead(perm.getName());
|
/libcore/api/ |
D | current.txt | 3904 method public void checkRead(java.io.FileDescriptor); 3905 method public void checkRead(String); 3906 method public void checkRead(String, Object);
|