Searched refs:W_OK (Results 1 – 11 of 11) sorted by relevance
/frameworks/opt/net/wifi/libwifi_hal/ |
D | wifi_hal_common.cpp | 109 if (access(WIFI_DRIVER_STATE_CTRL_PARAM, W_OK) == 0) in wifi_change_driver_state()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 42 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/ |
D | FileUtils.java | 42 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/ |
D | rsCpuExecutable.cpp | 30 if (access(path, R_OK | W_OK | X_OK) == 0) { in ensureCacheDirExists()
|
/frameworks/base/ravenwood/runtime-helper-src/libcore-fake/android/system/ |
D | OsConstants.java | 840 public static final int W_OK = placeholder(); field in OsConstants
|
/frameworks/libs/binary_translation/tests/ndk_program_tests/ |
D | file_test.cc | 53 ASSERT_EQ(access(temp, R_OK | W_OK), 0); in TEST()
|
/frameworks/native/cmds/atrace/ |
D | atrace.cpp | 359 return access((g_traceFolder + filename).c_str(), W_OK) != -1; in fileIsWritable()
|
/frameworks/base/ravenwood/runtime-jni/ |
D | ravenwood_os_constants.cpp | 657 initConstant(env, c, "W_OK", W_OK); in OsConstants_initConstants()
|
/frameworks/av/media/mtp/ |
D | MtpServer.cpp | 125 bool ffs_ok = access(FFS_MTP_EP0, W_OK) == 0; in MtpServer()
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 28022 field public static final int W_OK;
|