Home
last modified time | relevance | path

Searched refs:chmod (Results 1 – 15 of 15) sorted by relevance

/libcore/ojluni/src/main/native/
DFileSystemPreferences.c48 result = chmod(fname, permission); in Java_java_util_prefs_FileSystemPreferences_chmod()
156 NATIVE_METHOD(FileSystemPreferences, chmod, "(Ljava/lang/String;I)I"),
DUnixFileSystem_md.c238 if (chmod(path, mode) >= 0) { in Java_java_io_UnixFileSystem_setPermission0()
484 if (chmod(path, mode & ~(S_IWUSR | S_IWGRP | S_IWOTH)) >= 0) { in Java_java_io_UnixFileSystem_setReadOnly0()
DUnixNativeDispatcher.c575 RESTARTABLE(chmod(path, (mode_t)mode), err); in Java_sun_nio_fs_UnixNativeDispatcher_chmod0()
/libcore/ojluni/src/main/java/java/util/prefs/
DFileSystemPreferences.java106 chmod(userRootDir.getCanonicalPath(), USER_RWX); in setupUserRoot()
127 int result = chmod(userRootModFile.getCanonicalPath(), in setupUserRoot()
177 chmod(systemRootDir.getCanonicalPath(), in setupSystemRoot()
196 int result = chmod(systemRootModFile.getCanonicalPath(), in setupSystemRoot()
955 private static native int chmod(String fileName, int permission);
/libcore/ojluni/src/main/java/sun/nio/fs/
DUnixCopyFile.java167 chmod(target, attrs.mode()); in copyDirectory()
347 chmod(target, attrs.mode()); in copySpecial()
DUnixFileAttributeViews.java228 chmod(file, mode); in setMode()
DUnixNativeDispatcher.java382 static void chmod(UnixPath path, int mode) throws UnixException { in chmod() method in UnixNativeDispatcher
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java80 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod() method in BlockGuardOs
83 super.chmod(path, mode); in chmod()
DForwardingOs.java165 public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); } in chmod() method in ForwardingOs
DOs.java103 public void chmod(String path, int mode) throws ErrnoException; in chmod() method
DLinux.java61 public native void chmod(String path, int mode) throws ErrnoException; in chmod() method in Linux
/libcore/luni/src/main/java/android/system/
DOs.java119 …public static void chmod(String path, int mode) throws ErrnoException { Libcore.os.chmod(path, mod… in chmod() method in Os
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
DFileTest.java1955 Libcore.os.chmod(f1.getAbsolutePath(), 666); in test_setReadOnly()
1984 Libcore.os.chmod(f2.getAbsolutePath(), 666); in test_setReadOnly()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1161 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode))); in Linux_chmod()
2778 NATIVE_METHOD(Linux, chmod, "(Ljava/lang/String;I)V"),
/libcore/api/
Dcurrent.txt42 method public static void chmod(String, int) throws android.system.ErrnoException;