/hardware/interfaces/rebootescrow/aidl/default/ |
D | RebootEscrow.cpp | 32 int rawFd = TEMP_FAILURE_RETRY(::open(devicePath_.c_str(), O_WRONLY | O_NOFOLLOW | O_CLOEXEC)); in storeKey() 50 int rawFd = TEMP_FAILURE_RETRY(::open(devicePath_.c_str(), O_RDONLY | O_NOFOLLOW | O_CLOEXEC)); in retrieveKey()
|
/hardware/interfaces/tv/hdmi/cec/aidl/default/ |
D | HdmiCecMock.cpp | 96 mInputFile = open(CEC_MSG_IN_FIFO, O_RDWR | O_CLOEXEC); in setCallback() 97 mOutputFile = open(CEC_MSG_OUT_FIFO, O_RDWR | O_CLOEXEC); in setCallback() 169 mOutputFile = open(CEC_MSG_OUT_FIFO, O_WRONLY | O_CLOEXEC); in sendMessageToFifo() 227 mInputFile = open(CEC_MSG_IN_FIFO, O_RDONLY | O_CLOEXEC); in threadLoop()
|
/hardware/google/gfxstream/guest/mesa/src/util/ |
D | anon_file.c | 80 fd = mkostemp(tmpname, O_CLOEXEC); in create_tmpfile_cloexec() 129 fd = shm_open(SHM_ANON, O_CREAT | O_RDWR | O_CLOEXEC, 0600); in os_create_anonymous_file()
|
D | disk_cache_os.c | 593 int fd = open(filename, O_RDONLY | O_CLOEXEC); in disk_cache_load_item() 745 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk() 754 fd = open(filename_tmp, O_WRONLY | O_CLOEXEC | O_CREAT, 0644); in disk_cache_write_item_to_disk() 784 fd_final = open(filename, O_RDONLY | O_CLOEXEC); in disk_cache_write_item_to_disk() 1017 fd = open(path, O_RDWR | O_CREAT | O_CLOEXEC, 0644); in disk_cache_mmap_cache_index()
|
D | u_cpu_detect.c | 177 int fd = open("/proc/self/auxv", O_RDONLY | O_CLOEXEC); in check_os_altivec_support() 426 fd = open("/proc/self/auxv", O_RDONLY | O_CLOEXEC); in check_os_arm_support() 457 fd = open("/proc/self/auxv", O_RDONLY | O_CLOEXEC); in check_os_mips64_support()
|
D | mesa_cache_db.c | 370 close(open(path, O_CREAT | O_CLOEXEC, 0644)); in touch_file()
|
/hardware/interfaces/tv/hdmi/connection/aidl/default/ |
D | HdmiConnectionMock.cpp | 68 mInputFile = open(HDMI_MSG_IN_FIFO, O_RDWR | O_CLOEXEC); in setCallback() 161 mInputFile = open(HDMI_MSG_IN_FIFO, O_RDONLY | O_CLOEXEC); in threadLoop()
|
/hardware/google/aemu/base/testing/ |
D | file_io.cpp | 82 int res = WIDEN_CALL_1(open, path, flags | O_CLOEXEC); in android_open_without_mode() 88 int res = WIDEN_CALL_1(open, path, flags | O_CLOEXEC, mode); in android_open_with_mode()
|
/hardware/google/gfxstream/host/magma/ |
D | DrmDevice.cpp | 39 int fd = open(path.c_str(), O_RDWR | O_CLOEXEC); in openFirstRenderNode()
|
/hardware/google/aemu/base/include/aemu/base/ |
D | msvc.h | 23 O_CLOEXEC = 0 enumerator
|
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/ |
D | device_select_wayland.c | 43 int fd = open(device, O_RDWR | O_CLOEXEC); in device_select_drm_handle_device()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | FileNode.cc | 63 int flags = O_WRONLY | O_CLOEXEC; in Update()
|
/hardware/interfaces/automotive/can/aidl/default/ |
D | CanBusSlcan.cpp | 86 mFd = unique_fd(open(mTtyPath.c_str(), O_RDWR | O_NONBLOCK | O_NOCTTY | O_CLOEXEC)); in preUp()
|
/hardware/google/pixel/power-libperfmgr/aidl/ |
D | GpuCapacityNode.cpp | 58 static constexpr auto fd_flags_common = O_CLOEXEC | O_NONBLOCK; in init_gpu_capacity_node()
|
/hardware/google/pixel/power-libperfmgr/aidl/tests/ |
D | GpuCapacityNodeTest.cpp | 80 EXPECT_CALL(*mock_fd_interface, open(StrEq(headroom_path), O_RDWR | O_CLOEXEC | O_NONBLOCK)) in TEST_F() 83 EXPECT_CALL(*mock_fd_interface, open(StrEq(freq_path), O_RDONLY | O_CLOEXEC | O_NONBLOCK)) in TEST_F()
|
/hardware/google/pixel/pwrstats_util/ |
D | pwrstats_util.cpp | 142 int devnull = open("/dev/null", O_RDWR | O_CLOEXEC); in daemon()
|
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/ |
D | drm.h | 840 #define DRM_CLOEXEC O_CLOEXEC
|
/hardware/libhardware/modules/input/evdev/ |
D | InputHub.cpp | 143 auto fd = TEMP_FAILURE_RETRY(::open(path.c_str(), O_RDONLY | O_NONBLOCK | O_CLOEXEC)); in openDeviceNode()
|
/hardware/qcom/sm7250/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 4481 drv_ctx.gbm_device_fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC); in allocate_output_buffer()
|
/hardware/qcom/sm8150/media/mm-video-v4l2/vidc/vdec/src/ |
D | omx_vdec_v4l2.cpp | 6879 drv_ctx.gbm_device_fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC); in allocate_output_buffer()
|