Home
last modified time | relevance | path

Searched refs:R_OK (Results 1 – 25 of 26) sorted by relevance

12

/hardware/libhardware/
Dhardware.c190 if (access(path, R_OK) == 0) in hw_module_exists()
199 if (path_in_path(path, HAL_LIBRARY_PATH3) && access(path, R_OK) == 0) in hw_module_exists()
204 if (path_in_path(path, HAL_LIBRARY_PATH2) && access(path, R_OK) == 0) in hw_module_exists()
210 if (path_in_path(path, HAL_LIBRARY_PATH1) && access(path, R_OK) == 0) in hw_module_exists()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/scripts/
Dmakemanaliases.py49 if not os.access(src, os.R_OK):
55 if os.access(alias, os.R_OK):
Dextensionmetadocgenerator.py386 if os.path.exists(path) and os.access(path, os.R_OK):
/hardware/interfaces/audio/aidl/default/
DEffectMain.cpp40 if (access(candidatePath.c_str(), R_OK) == 0) { in config_file_path()
DEffectConfig.cpp103 if (access(candidatePath.c_str(), R_OK) == 0) { in resolveLibrary()
115 if (access(candidatePath.c_str(), R_OK) == 0) { in resolveLibrary()
/hardware/google/aemu/base/include/aemu/base/
Dmsvc.h69 #define R_OK 4 /* Check for read permission */ macro
/hardware/google/gfxstream/host/apigen-codec-common/X11/
DXw32defs.h77 # define R_OK 4 macro
/hardware/interfaces/usb/gadget/1.2/default/lib/
DMonitorFfs.cpp103 if (access(monitorFfs->mEndpointList.at(i).c_str(), R_OK)) { in startMonitorFd()
145 if (access(monitorFfs->mEndpointList.at(j).c_str(), R_OK)) { in startMonitorFd()
/hardware/interfaces/usb/gadget/1.1/default/lib/
DMonitorFfs.cpp103 if (access(monitorFfs->mEndpointList.at(i).c_str(), R_OK)) { in startMonitorFd()
145 if (access(monitorFfs->mEndpointList.at(j).c_str(), R_OK)) { in startMonitorFd()
/hardware/google/pixel/usb/
DMonitorFfs.cpp139 if (access(monitorFfs->mEndpointList.at(i).c_str(), R_OK)) { in startMonitorFd()
183 if (access(monitorFfs->mEndpointList.at(j).c_str(), R_OK)) { in startMonitorFd()
/hardware/google/aemu/base/
DPathUtils.cpp390 #define R_OK 0x04 /* test for read permission */ macro
396 if ((mode & R_OK) || (mode & X_OK)) { in GetWin32Mode()
/hardware/qcom/audio/hal/audio_extn/
Dsndmonitor.c224 if (access(path, R_OK) < 0) { in enum_sndcards()
256 if (access(SPLI_STATE_PATH, R_OK) < 0) { in enum_sndcards()
Dmaxxaudio.c569 if (access(mps_path, R_OK) < 0) { in audio_extn_ma_init()
582 if (access(cnf_path, R_OK) < 0) { in audio_extn_ma_init()
Dcirrus_playback.c423 if (access(filename, R_OK) == 0) { in audio_extn_cirrus_load_usecase_configs()
437 if (access(filename, R_OK) == 0) { in audio_extn_cirrus_load_usecase_configs()
/hardware/interfaces/usb/gadget/1.1/default/
DUsbGadget.cpp37 if (access(OS_DESC_PATH, R_OK) != 0) { in UsbGadget()
/hardware/qcom/audio/voice_processing/
Dvoice_processing.c433 int result = access(path, R_OK); in init()
437 result = access(path, R_OK); in init()
/hardware/interfaces/usb/gadget/1.2/default/
DUsbGadget.cpp37 if (access(OS_DESC_PATH, R_OK) != 0) { in UsbGadget()
/hardware/qcom/sm7250/display/hdmi_cec/
Dqhdmi_cec.cpp74 err = access(path, R_OK); in read_node()
/hardware/qcom/display/msm8998/hdmi_cec/
Dqhdmi_cec.cpp78 err = access(path, R_OK); in read_node()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp74 err = access(path, R_OK); in read_node()
/hardware/qcom/sm8150/display/hdmi_cec/
Dqhdmi_cec.cpp74 err = access(path, R_OK); in read_node()
/hardware/qcom/audio/post_proc/
Dvolume_listener.c629 if (resolve_audio_hal_path(primary_hal_path, R_OK)) { in init_once()
/hardware/qcom/display/msm8909w_3100/hdmi_cec/
Dqhdmi_cec.cpp89 err = access(path, R_OK); in read_node()
/hardware/qcom/display/msm8909/hdmi_cec/
Dqhdmi_cec.cpp89 err = access(path, R_OK); in read_node()
/hardware/knowles/athletico/sound_trigger_hal/
Dsound_trigger_hw_iaxxx.c3302 if (access(ADNC_STRM_LIBRARY_PATH, R_OK) == 0) { in open_streaming_lib()
3458 if (access(audio_hal_lib, R_OK)) { in load_audio_hal()

12