Home
last modified time | relevance | path

Searched refs:O_WRONLY (Results 1 – 25 of 41) sorted by relevance

12

/device/linaro/dragonboard/qcom/rmtfs/
Drproc.c66 state_fd = openat(rproc_fd, "state", O_WRONLY); in rproc_init_by_modalias()
132 state_fd = openat(rproc_fd, "state", O_WRONLY); in rproc_init_by_mss_driver()
/device/google/cuttlefish/host/commands/assemble_cvd/
Dvendor_dlkm_utils.cc51 open(path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0640)); in WriteLinesToFile()
75 open(output_path, O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, 0644)); in WriteFsConfig()
208 O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC, in GenerateFileContexts()
/device/google/contexthub/util/stm32_flash/
Dflash.c164 gpio = open(gpio_dev, O_WRONLY); in main()
328 gpio = open(gpio_dev, O_WRONLY); in main()
/device/google/cuttlefish/host/commands/console_forwarder/
Dmain.cpp238 SharedFD::Open(console_log.c_str(), O_CREAT | O_APPEND | O_WRONLY, 0666); in ConsoleForwarderMain()
240 O_APPEND | O_WRONLY, 0666); in ConsoleForwarderMain()
/device/google/gs101/interfaces/boot/1.2/
DBootControl.cpp167 android::base::unique_fd fd(open(DEVINFO_PATH, O_WRONLY | O_DSYNC)); in DevInfoSync()
180 android::base::unique_fd fd(open(BLOW_AR_PATH, O_WRONLY | O_DSYNC)); in blowAR()
/device/linaro/hikey/power/
Dpower_hikey.c110 int fd = open(path, O_WRONLY); in sysfs_write()
194 hikey->boostpulse_fd = open(INTERACTIVE_BOOSTPULSE_PATH, O_WRONLY); in interactive_boostpulse()
/device/generic/car/emulator/usbpt/usbip-service/
DUsbIpService.cpp38 openat(AT_FDCWD, "/sys/devices/platform/vhci_hcd.0/attach", O_WRONLY); in main()
/device/google/cuttlefish/host/commands/logcat_receiver/
Dmain.cpp64 cuttlefish::SharedFD::Open(path.c_str(), O_CREAT | O_APPEND | O_WRONLY, 0666); in main()
/device/google/contexthub/util/common/
Dfile.cpp51 modeval = O_WRONLY | O_CREAT | O_TRUNC; in setTo()
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/X11/
DXw32defs.h56 # define O_WRONLY _O_WRONLY macro
/device/google/felix/vibrator/cs40l26/
DVibMgrHwApi.h71 int fd = open(gpio_dev.c_str(), O_CREAT | O_WRONLY, 0777); in initGPIO()
/device/google/cuttlefish/guest/commands/vsoc_input_service/
Dvirtual_device_base.cpp59 fd_ = open("/dev/uinput", O_WRONLY | O_NONBLOCK); in SetUp()
/device/google/bramble/dumpstate/
DDumpstateDevice.cpp80 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile()
156 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile()
/device/google/barbet/dumpstate/
DDumpstateDevice.cpp82 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile()
158 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile()
/device/google/coral/dumpstate/
DDumpstateDevice.cpp83 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile()
159 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile()
/device/generic/vulkan-cereal/gl-host-common/opengl/
DEmuglBackendScanner_unittest.cpp51 int fd = ::open(path.c_str(), O_WRONLY|O_CREAT, 0755); in make_subfile()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp81 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile()
157 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile()
/device/google/redfin/dumpstate/
DDumpstateDevice.cpp80 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile()
156 int fdTar = open(tarFile.c_str(), O_WRONLY | O_CREAT, 0666); in createTarFile()
/device/generic/goldfish-opengl/android-emu/android/utils/
Ddebug.c146 null_fd = open("/dev/null", O_WRONLY); in stdio_disable()
/device/google/coral/json-c/
Djson_util.c112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
/device/google/sunfish/json-c/
Djson_util.c112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
/device/google/redbull/json-c/
Djson_util.c112 if((fd = open(filename, O_WRONLY | O_TRUNC | O_CREAT, 0644)) < 0) { in json_object_to_file_ext()
/device/amlogic/yukawa/hal/lights/
Dlights.cpp129 int fd = open(path, O_WRONLY); in writeLed()
/device/generic/vulkan-cereal/fake-android-guest/log/
Dlog_read.h238 #define ANDROID_LOG_WRONLY O_WRONLY
/device/google/tangorpro/lights/
DLights.cpp125 int fd = open(path, O_WRONLY); in writeLed()

12