Searched refs:oldPath (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 211 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() argument 213 BlockGuard.getVmPolicy().onPathAccess(oldPath); in link() 215 super.link(oldPath, newPath); in link() 344 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 346 BlockGuard.getVmPolicy().onPathAccess(oldPath); in rename() 348 super.rename(oldPath, newPath); in rename() 400 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 402 BlockGuard.getVmPolicy().onPathAccess(oldPath); in symlink() 404 super.symlink(oldPath, newPath); in symlink()
|
D | ForwardingOs.java | 149 …public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath)… in link() argument 191 …public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newP… in rename() argument 228 …public void symlink(String oldPath, String newPath) throws ErrnoException { os.symlink(oldPath, ne… in symlink() argument
|
D | Os.java | 123 public void link(String oldPath, String newPath) throws ErrnoException; in link() argument 160 public void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 194 public void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() argument
|
D | Linux.java | 121 public native void link(String oldPath, String newPath) throws ErrnoException; in link() argument 216 public native void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 265 public native void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() argument
|
/libcore/luni/src/test/java/libcore/libcore/io/ |
D | BlockGuardOsTest.java | 96 String oldPath = "BlockGuardOsTest/missing/old/path"; in test_blockguardOsIsNotifiedByDefault_rename() local 101 Os.getDefault().rename(oldPath, newPath); in test_blockguardOsIsNotifiedByDefault_rename() 105 verify(mockVmPolicy).onPathAccess(oldPath); in test_blockguardOsIsNotifiedByDefault_rename()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 345 …public static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(ol… in link() argument 510 …public static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.renam… in rename() argument 675 …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 | 1806 ScopedUtfChars oldPath(env, javaOldPath); in Linux_link() local 1807 if (oldPath.c_str() == NULL) { in Linux_link() 1814 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2163 ScopedUtfChars oldPath(env, javaOldPath); in Linux_rename() local 2164 if (oldPath.c_str() == NULL) { in Linux_rename() 2171 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2493 ScopedUtfChars oldPath(env, javaOldPath); in Linux_symlink() local 2494 if (oldPath.c_str() == NULL) { in Linux_symlink() 2501 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|