Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/libwifi_hal/
Dwifi_hal_common.cpp109 if (access(WIFI_DRIVER_STATE_CTRL_PARAM, W_OK) == 0) in wifi_change_driver_state()
/frameworks/base/core/tests/coretests/src/android/os/
DFileUtilsTest.java42 import static android.system.OsConstants.W_OK;
743 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
744 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK)); in testTranslateMode_Access()
745 assertEquals(O_RDWR, translateModeAccessToPosix(R_OK | W_OK | X_OK)); in testTranslateMode_Access()
/frameworks/base/core/java/android/os/
DFileUtils.java42 import static android.system.OsConstants.W_OK;
1651 } else if ((mode & (R_OK | W_OK)) == (R_OK | W_OK)) { in translateModeAccessToPosix()
1655 } else if ((mode & W_OK) == W_OK) { in translateModeAccessToPosix()
/frameworks/rs/cpu_ref/
DrsCpuExecutable.cpp30 if (access(path, R_OK | W_OK | X_OK) == 0) { in ensureCacheDirExists()
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/
DOsConstants.java840 public static final int W_OK = placeholder(); field in OsConstants
/frameworks/libs/binary_translation/tests/ndk_program_tests/
Dfile_test.cc53 ASSERT_EQ(access(temp, R_OK | W_OK), 0); in TEST()
/frameworks/native/cmds/atrace/
Datrace.cpp359 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable()
/frameworks/base/ravenwood/runtime-jni/
Dravenwood_os_constants.cpp657 initConstant(env, c, "W_OK", W_OK); in OsConstants_initConstants()
/frameworks/av/media/mtp/
DMtpServer.cpp125 bool ffs_ok = access(FFS_MTP_EP0, W_OK) == 0; in MtpServer()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt28022 field public static final int W_OK;