Home
last modified time | relevance | path

Searched refs:ownerOnly (Results 1 – 2 of 2) sorted by relevance

/libcore/luni/src/main/native/
Djava_io_File.cpp182 jboolean set, jboolean ownerOnly) { in File_setExecutableImpl() argument
183 return doChmod(env, javaPath, ownerOnly ? S_IXUSR : (S_IXUSR | S_IXGRP | S_IXOTH), set); in File_setExecutableImpl()
187 jboolean set, jboolean ownerOnly) { in File_setReadableImpl() argument
188 return doChmod(env, javaPath, ownerOnly ? S_IRUSR : (S_IRUSR | S_IRGRP | S_IROTH), set); in File_setReadableImpl()
192 jboolean set, jboolean ownerOnly) { in File_setWritableImpl() argument
193 return doChmod(env, javaPath, ownerOnly ? S_IWUSR : (S_IWUSR | S_IWGRP | S_IWOTH), set); in File_setWritableImpl()
/libcore/luni/src/main/java/java/io/
DFile.java892 public boolean setExecutable(boolean executable, boolean ownerOnly) { in setExecutable() argument
900 return setExecutableImpl(absolutePath, executable, ownerOnly); in setExecutable()
912 …rivate static native boolean setExecutableImpl(String path, boolean executable, boolean ownerOnly); in setExecutableImpl() argument
936 public boolean setReadable(boolean readable, boolean ownerOnly) { in setReadable() argument
944 return setReadableImpl(absolutePath, readable, ownerOnly); in setReadable()
956 private static native boolean setReadableImpl(String path, boolean readable, boolean ownerOnly); in setReadableImpl() argument
978 public boolean setWritable(boolean writable, boolean ownerOnly) { in setWritable() argument
986 return setWritableImpl(absolutePath, writable, ownerOnly); in setWritable()
998 private static native boolean setWritableImpl(String path, boolean writable, boolean ownerOnly); in setWritableImpl() argument