Home
last modified time | relevance | path

Searched refs:W_OK (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java39 import static android.system.OsConstants.W_OK;
560 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
561 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK)); in testTranslateMode_Access()
562 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK | X_OK)); in testTranslateMode_Access()
/frameworks/base/cmds/idmap/
Didmap.cpp111 return access(path, W_OK) == 0; in verify_directory_writable()
/frameworks/base/core/java/android/os/
DFileUtils.java38 import static android.system.OsConstants.W_OK;
1400 } else if ((mode & (R_OK | W_OK)) == (R_OK | W_OK)) { in translateModeAccessToPosix()
1404 } else if ((mode & W_OK) == W_OK) { in translateModeAccessToPosix()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp29 if (access(path, R_OK | W_OK | X_OK) == 0) { in ensureCacheDirExists()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/src/google/protobuf/compiler/
Dcommand_line_interface.cc90 #ifndef W_OK
91 #define W_OK 02 // not defined by MSVC for whatever reason macro
/frameworks/native/cmds/atrace/
Datrace.cpp337 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable()
/frameworks/av/media/mtp/
DMtpServer.cpp123 bool ffs_ok = access(FFS_MTP_EP0, W_OK) == 0; in MtpServer()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28022 field public static final int W_OK;
/frameworks/base/api/
Dcurrent.txt42802 field public static final int W_OK;