Searched refs:newPath (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 214 BlockGuard.getVmPolicy().onPathAccess(newPath); in link() 215 super.link(oldPath, newPath); in link() 344 @Override public void rename(String oldPath, String newPath) throws ErrnoException { in rename() argument 347 BlockGuard.getVmPolicy().onPathAccess(newPath); in rename() 348 super.rename(oldPath, newPath); in rename() 400 @Override public void symlink(String oldPath, String newPath) throws ErrnoException { in symlink() argument 403 BlockGuard.getVmPolicy().onPathAccess(newPath); 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 | 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 | 345 …lic static void link(String oldPath, String newPath) throws ErrnoException { Libcore.os.link(oldPa… in link() argument 510 … static void rename(String oldPath, String newPath) throws ErrnoException { Libcore.os.rename(oldP… in rename() argument 675 …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 | 1810 ScopedUtfChars newPath(env, javaNewPath); in Linux_link() local 1811 if (newPath.c_str() == NULL) { in Linux_link() 1814 throwIfMinusOne(env, "link", TEMP_FAILURE_RETRY(link(oldPath.c_str(), newPath.c_str()))); in Linux_link() 2167 ScopedUtfChars newPath(env, javaNewPath); in Linux_rename() local 2168 if (newPath.c_str() == NULL) { in Linux_rename() 2171 throwIfMinusOne(env, "rename", TEMP_FAILURE_RETRY(rename(oldPath.c_str(), newPath.c_str()))); in Linux_rename() 2497 ScopedUtfChars newPath(env, javaNewPath); in Linux_symlink() local 2498 if (newPath.c_str() == NULL) { in Linux_symlink() 2501 throwIfMinusOne(env, "symlink", TEMP_FAILURE_RETRY(symlink(oldPath.c_str(), newPath.c_str()))); in Linux_symlink()
|