Home
last modified time | relevance | path

Searched refs:O_CLOEXEC (Results 1 – 20 of 20) sorted by relevance

/hardware/interfaces/rebootescrow/aidl/default/
DRebootEscrow.cpp32 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/
DHdmiCecMock.cpp96 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/
Danon_file.c80 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()
Ddisk_cache_os.c593 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()
Du_cpu_detect.c177 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()
Dmesa_cache_db.c370 close(open(path, O_CREAT | O_CLOEXEC, 0644)); in touch_file()
/hardware/interfaces/tv/hdmi/connection/aidl/default/
DHdmiConnectionMock.cpp68 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/
Dfile_io.cpp82 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/
DDrmDevice.cpp39 int fd = open(path.c_str(), O_RDWR | O_CLOEXEC); in openFirstRenderNode()
/hardware/google/aemu/base/include/aemu/base/
Dmsvc.h23 O_CLOEXEC = 0 enumerator
/hardware/google/gfxstream/guest/mesa/src/vulkan/device-select-layer/
Ddevice_select_wayland.c43 int fd = open(device, O_RDWR | O_CLOEXEC); in device_select_drm_handle_device()
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DFileNode.cc63 int flags = O_WRONLY | O_CLOEXEC; in Update()
/hardware/interfaces/automotive/can/aidl/default/
DCanBusSlcan.cpp86 mFd = unique_fd(open(mTtyPath.c_str(), O_RDWR | O_NONBLOCK | O_NOCTTY | O_CLOEXEC)); in preUp()
/hardware/google/pixel/power-libperfmgr/aidl/
DGpuCapacityNode.cpp58 static constexpr auto fd_flags_common = O_CLOEXEC | O_NONBLOCK; in init_gpu_capacity_node()
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DGpuCapacityNodeTest.cpp80 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/
Dpwrstats_util.cpp142 int devnull = open("/dev/null", O_RDWR | O_CLOEXEC); in daemon()
/hardware/google/gfxstream/guest/mesa/include/drm-uapi/
Ddrm.h840 #define DRM_CLOEXEC O_CLOEXEC
/hardware/libhardware/modules/input/evdev/
DInputHub.cpp143 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/
Domx_vdec_v4l2.cpp4481 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/
Domx_vdec_v4l2.cpp6879 drv_ctx.gbm_device_fd = open("/dev/dri/renderD128", O_RDWR | O_CLOEXEC); in allocate_output_buffer()