Searched refs:newPath (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 216 BlockGuard.getVmPolicy().onPathAccess(newPath); in link() 217 super.link(oldPath, newPath); in link() 346 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 349 BlockGuard.getVmPolicy().onPathAccess(newPath); in rename() 350 super.rename(oldPath, newPath); in rename() 402 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 405 BlockGuard.getVmPolicy().onPathAccess(newPath); 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 | 97 String newPath = "BlockGuardOsTest/missing/new/path"; in test_blockguardOsIsNotifiedByDefault_rename() local 101 Os.getDefault().rename(oldPath, newPath); in test_blockguardOsIsNotifiedByDefault_rename() 106 verify(mockVmPolicy).onPathAccess(newPath); in test_blockguardOsIsNotifiedByDefault_rename()
|
/libcore/luni/src/main/java/android/system/ |
D | Os.java | 342 …lic static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(oldPa… in link() argument 513 … static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.rename(oldP… in rename() argument 678 …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 | 1799 ScopedUtfChars newPath(env, javaNewPath); in Linux_link() local 1800 if (newPath.c_str() == NULL) { in Linux_link() 1803 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2170 ScopedUtfChars newPath(env, javaNewPath); in Linux_rename() local 2171 if (newPath.c_str() == NULL) { in Linux_rename() 2174 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2500 ScopedUtfChars newPath(env, javaNewPath); in Linux_symlink() local 2501 if (newPath.c_str() == NULL) { in Linux_symlink() 2504 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|