Searched refs:chmod (Results 1 - 14 of 14) sorted by relevance

/libcore/ojluni/src/main/native/
H A DFileSystemPreferences.c48 result = chmod(fname, permission);
151 NATIVE_METHOD(FileSystemPreferences, chmod, "(Ljava/lang/String;I)I"),
H A DUnixFileSystem_md.c207 if (chmod(path, mode) >= 0) {
436 if (chmod(path, mode & ~(S_IWUSR | S_IWGRP | S_IWOTH)) >= 0) {
H A DUnixNativeDispatcher.c543 RESTARTABLE(chmod(path, (mode_t)mode), err);
/libcore/ojluni/src/main/java/java/util/prefs/
H A DFileSystemPreferences.java106 chmod(userRootDir.getCanonicalPath(), USER_RWX);
127 int result = chmod(userRootModFile.getCanonicalPath(),
177 chmod(systemRootDir.getCanonicalPath(),
196 int result = chmod(systemRootModFile.getCanonicalPath(),
953 private static native int chmod(String fileName, int permission); method in class:FileSystemPreferences
/libcore/ojluni/src/main/java/sun/nio/fs/
H A DUnixCopyFile.java167 chmod(target, attrs.mode());
347 chmod(target, attrs.mode());
H A DUnixFileAttributeViews.java223 // chmod
228 chmod(file, mode);
H A DUnixNativeDispatcher.java363 * chmod(const char* path, mode_t mode)
365 static void chmod(UnixPath path, int mode) throws UnixException { method in class:UnixNativeDispatcher
/libcore/luni/src/main/java/libcore/io/
H A DBlockGuardOs.java71 @Override public void chmod(String path, int mode) throws ErrnoException { method in class:BlockGuardOs
73 os.chmod(path, mode);
H A DOs.java55 public void chmod(String path, int mode) throws ErrnoException; method in interface:Os
H A DForwardingOs.java70 public void chmod(String path, int mode) throws ErrnoException { os.chmod(path, mode); } method in class:ForwardingOs
H A DLinux.java61 public native void chmod(String path, int mode) throws ErrnoException; method in class:Linux
/libcore/luni/src/main/java/android/system/
H A DOs.java83 * See <a href="http://man7.org/linux/man-pages/man2/chmod.2.html">chmod(2)</a>.
85 public static void chmod(String path, int mode) throws ErrnoException { Libcore.os.chmod(path, mode); } method in class:Os
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/
H A DFileTest.java1950 Libcore.os.chmod(f1.getAbsolutePath(), 666);
1979 Libcore.os.chmod(f2.getAbsolutePath(), 666);
/libcore/luni/src/main/native/
H A Dlibcore_io_Linux.cpp1075 throwIfMinusOne(env, "chmod", TEMP_FAILURE_RETRY(chmod(path.c_str(), mode)));
2477 NATIVE_METHOD(Linux, chmod, "(Ljava/lang/String;I)V"),

Completed in 7543 milliseconds