Home
last modified time | relevance | path

Searched refs:chmod (Results 1 – 14 of 14) 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.c212 if (chmod(path, mode) >= 0) { in Java_java_io_UnixFileSystem_setPermission0()
460 if (chmod(path, mode & ~(S_IWUSR | S_IWGRP | S_IWOTH)) >= 0) { in Java_java_io_UnixFileSystem_setReadOnly0()
DUnixNativeDispatcher.c561 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()
953 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.java365 static void chmod(UnixPath path, int mode) throws UnixException { in chmod() method in UnixNativeDispatcher
/libcore/luni/src/main/java/libcore/io/
DBlockGuardOs.java77 @Override public void chmod(String path, int mode) throws ErrnoException { in chmod() method in BlockGuardOs
80 super.chmod(path, mode); in chmod()
DForwardingOs.java85 public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); } in chmod() method in ForwardingOs
DOs.java58 public void chmod(String path, int mode) throws ErrnoException; in chmod() method
DLinux.java60 public native void chmod(String path, int mode) throws ErrnoException; in chmod() method in Linux
/libcore/luni/src/main/java/android/system/
DOs.java97 …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.java1950 Libcore.os.chmod(f1.getAbsolutePath(), 666); in test_setReadOnly()
1979 Libcore.os.chmod(f2.getAbsolutePath(), 666); in test_setReadOnly()
/libcore/luni/src/main/native/
Dlibcore_io_Linux.cpp1105 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode))); in Linux_chmod()
2597 NATIVE_METHOD(Linux, chmod, "(Ljava/lang/String;I)V"),