Searched refs:oldPath (Results 1 – 7 of 7) sorted by relevance
/libcore/luni/src/main/java/libcore/io/ |
D | BlockGuardOs.java | 213 @Override public void link(String oldPath, String newPath) throws ErrnoException { in link() argument 215 BlockGuard.getVmPolicy().onPathAccess(oldPath); in link() 217 super.link(oldPath, newPath); in link() 346 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 348 BlockGuard.getVmPolicy().onPathAccess(oldPath); in rename() 350 super.rename(oldPath, newPath); in rename() 402 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 404 BlockGuard.getVmPolicy().onPathAccess(oldPath); in symlink() 406 super.symlink(oldPath, newPath); in symlink()
|
D | ForwardingOs.java | 147 …public void link(String oldPath, String newPath) throws ErrnoException { os.link(oldPath, newPath)… in link() argument 190 …public void rename(String oldPath, String newPath) throws ErrnoException { os.rename(oldPath, newP… in rename() argument 227 …public void symlink(String oldPath, String newPath) throws ErrnoException { os.symlink(oldPath, ne… in symlink() argument
|
D | Os.java | 121 public void link(String oldPath, String newPath) throws ErrnoException; in link() argument 159 public void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 193 public void symlink(String oldPath, String newPath) throws ErrnoException; in symlink() argument
|
D | Linux.java | 119 public native void link(String oldPath, String newPath) throws ErrnoException; in link() argument 215 public native void rename(String oldPath, String newPath) throws ErrnoException; in rename() argument 264 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 | 342 …public static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(ol… in link() argument 513 …public static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.renam… in rename() argument 678 …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 | 1795 ScopedUtfChars oldPath(env, javaOldPath); in Linux_link() local 1796 if (oldPath.c_str() == NULL) { in Linux_link() 1803 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2166 ScopedUtfChars oldPath(env, javaOldPath); in Linux_rename() local 2167 if (oldPath.c_str() == NULL) { in Linux_rename() 2174 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2496 ScopedUtfChars oldPath(env, javaOldPath); in Linux_symlink() local 2497 if (oldPath.c_str() == NULL) { in Linux_symlink() 2504 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|