Searched refs:oldPath (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 233 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() argument 235 BlockGuard.getVmPolicy().onPathAccess(oldPath); in link() 237 super.link(oldPath, newPath); in link() 371 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 373 BlockGuard.getVmPolicy().onPathAccess(oldPath); in rename() 375 super.rename(oldPath, newPath); in rename() 432 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 434 BlockGuard.getVmPolicy().onPathAccess(oldPath); 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 …public void rename(@Nullable String oldPath, @Nullable String newPath) throws ErrnoException { os.… 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 | 104 String oldPath = "BlockGuardOsTest/missing/old/path"; in test_blockguardOsIsNotifiedByDefault_rename() local 109 Os.getDefault().rename(oldPath, newPath); in test_blockguardOsIsNotifiedByDefault_rename() 113 verify(mockVmPolicy).onPathAccess(oldPath); in test_blockguardOsIsNotifiedByDefault_rename()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 424 …public static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(ol… in link() argument 634 …public static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.renam… in rename() argument 924 …public static void symlink(String oldPath, String newPath) throws ErrnoException { Libcore.os.syml… in symlink() argument
|
/libcore/luni/src/main/native/ |
D | libcore_io_Linux.cpp | 1846 ScopedUtfChars oldPath(env, javaOldPath); in Linux_link() local 1847 if (oldPath.c_str() == NULL) { in Linux_link() 1854 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2273 ScopedUtfChars oldPath(env, javaOldPath); in Linux_rename() local 2274 if (oldPath.c_str() == NULL) { in Linux_rename() 2281 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2677 ScopedUtfChars oldPath(env, javaOldPath); in Linux_symlink() local 2678 if (oldPath.c_str() == NULL) { in Linux_symlink() 2685 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|