/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 233 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() argument 236 BlockGuard.getVmPolicy().onPathAccess(newPath); in link() 237 super.link(oldPath, newPath); in link() 371 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 374 BlockGuard.getVmPolicy().onPathAccess(newPath); in rename() 375 super.rename(oldPath, newPath); in rename() 432 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 435 BlockGuard.getVmPolicy().onPathAccess(newPath); in symlink() 436 super.symlink(oldPath, newPath); in symlink()
|
D | ForwardingOs.java | 454 …public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath)… in link() argument 698 …ame(@Nullable String oldPath, @Nullable String newPath) throws ErrnoException { os.rename(oldPath,… in rename() argument 868 …public void symlink(String oldPath, String newPath) throws ErrnoException { os.symlink(oldPath, ne… in symlink() argument
|
D | Os.java | 393 public void link(String oldPath, String newPath) throws ErrnoException; in link() argument 564 public void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 723 public void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() argument
|
D | Linux.java | 120 public native void link(String oldPath, String newPath) throws ErrnoException; in link() argument 217 public native void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 267 public native void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() argument
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 105 String newPath = "BlockGuardOsTest/missing/new/path"; in test_blockguardOsIsNotifiedByDefault_rename() local 109 Os.getDefault().rename(oldPath, newPath); in test_blockguardOsIsNotifiedByDefault_rename() 114 verify(mockVmPolicy).onPathAccess(newPath); in test_blockguardOsIsNotifiedByDefault_rename()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 424 …lic static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(oldPa… in link() argument 634 … static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.rename(oldP… in rename() argument 924 …tatic void symlink(String oldPath, String newPath) throws ErrnoException { Libcore.os.symlink(oldP… in symlink() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1850 ScopedUtfChars newPath(env, javaNewPath); in Linux_link() local 1851 if (newPath.c_str() == NULL) { in Linux_link() 1854 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2277 ScopedUtfChars newPath(env, javaNewPath); in Linux_rename() local 2278 if (newPath.c_str() == NULL) { in Linux_rename() 2281 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2681 ScopedUtfChars newPath(env, javaNewPath); in Linux_symlink() local 2682 if (newPath.c_str() == NULL) { in Linux_symlink() 2685 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|
/libcore/tools/openjdk-analyzer/src/libcore/tools/analyzer/openjdk/ |
D | Main.java | 122 Path newPath = AndroidHostEnvUtil.parseInputClasspath(newClasspath); in run() local 126 ZipFile newZip = new ZipFile(newPath.toFile())) { in run()
|