/frameworks/base/libs/androidfw/tests/ |
D | BackupData_test.cpp | 75 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 117 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 165 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 220 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 259 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 320 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F() 388 int fd = ::open(mFilename.c_str(), O_WRONLY); in TEST_F()
|
/frameworks/opt/net/wifi/libwifi_hal/ |
D | wifi_hal_common.cpp | 118 fd = TEMP_FAILURE_RETRY(open(WIFI_DRIVER_STATE_CTRL_PARAM, O_WRONLY)); in wifi_change_driver_state() 260 fd = TEMP_FAILURE_RETRY(open(WIFI_DRIVER_FW_PATH_PARAM, O_WRONLY)); in wifi_change_fw_path()
|
/frameworks/libs/binary_translation/base/ |
D | raw_syscall_tests.cc | 55 int fd_out = open("/dev/null", O_WRONLY); in TEST()
|
D | tracing.cc | 73 int fd = open(trace_filename.c_str(), O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, S_IWUSR); in TraceToFile()
|
/frameworks/libs/binary_translation/runtime_primitives/ |
D | profiler_interface.cc | 70 int fd = open(buf, O_WRONLY | O_CREAT | O_CLOEXEC, S_IWUSR); in ProfilerOpenLogFile()
|
/frameworks/base/tests/FsVerityTest/block_device_writer/ |
D | block_device_writer.cpp | 63 fd_.reset(TEMP_FAILURE_RETRY(open(file_path, O_WRONLY | O_CLOEXEC, 0))); in ScopedF2fsFilePinning() 161 android::base::unique_fd fd(open(device_path, O_WRONLY | O_DIRECT)); in write_block_to_device()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_pdb_PersistentDataBlockService.cpp | 89 int fd = open(path.c_str(), O_WRONLY); in com_android_server_pdb_PersistentDataBlockService_wipe()
|
D | com_android_server_UsbAlsaMidiDevice.cpp | 80 fd = open(path, O_WRONLY); in android_server_UsbAlsaMidiDevice_open()
|
/frameworks/base/tools/aapt2/cmd/ |
D | ApkInfo.cpp | 81 int mode = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY; in Action()
|
/frameworks/native/libs/binder/tests/parcel_fuzzer/binder2corpus/ |
D | binder2corpus.cpp | 53 constexpr int openFlags = O_WRONLY | O_CREAT | O_BINARY | O_CLOEXEC; in generateCorpus()
|
/frameworks/av/media/libaudioclient/tests/ |
D | test_create_utils.cpp | 97 outputFileFd = open(*argv, O_WRONLY | O_CREAT, mode); in main()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | FileUtilsTest.java | 39 import static android.system.OsConstants.O_WRONLY; 691 assertTranslate("w", O_WRONLY | O_CREAT, in testTranslateMode() 693 assertTranslate("wt", O_WRONLY | O_CREAT | O_TRUNC, in testTranslateMode() 695 assertTranslate("wa", O_WRONLY | O_CREAT | O_APPEND, in testTranslateMode() 705 translateModePosixToPfd(O_RDWR | O_WRONLY); in testMalformedTransate_int() 717 translateModePosixToString(O_RDWR | O_WRONLY); in testMalformedTransate_string() 743 assertEquals(O_WRONLY, translateModeAccessToPosix(W_OK)); in testTranslateMode_Access()
|
/frameworks/av/media/libstagefright/include/media/stagefright/ |
D | MediaWriter.h | 44 if ((flags & (O_RDWR | O_WRONLY)) == 0) { in isFdOpenModeValid()
|
/frameworks/base/cmds/incidentd/tests/ |
D | ProtoFileReader_test.cpp | 62 unique_fd fd(open(testFile.c_str(), O_WRONLY | O_CREAT | O_CLOEXEC, S_IRUSR | S_IWUSR)); in TEST()
|
/frameworks/base/cmds/screencap/ |
D | screencap.cpp | 134 int fd = open("/dev/null", O_WRONLY); in notifyMediaScanner() 197 fd = open(fn, O_WRONLY | O_CREAT | O_TRUNC, 0664); in saveImage()
|
/frameworks/av/media/utils/fuzzers/ |
D | ServiceUtilitiesFuzz.cpp | 44 int fd = open("/dev/null", O_WRONLY); in __anon5c3caf0d0202()
|
/frameworks/native/libs/renderengine/benchmark/ |
D | Codec.cpp | 93 base::unique_fd fd{open(path, O_WRONLY | O_CREAT, S_IWUSR)}; in encodeToJpeg()
|
/frameworks/base/cmds/gpu_counter_producer/ |
D | main.cpp | 83 int fd = open(kPidFileName, O_CREAT | O_WRONLY | O_TRUNC, in writeToPidFile()
|
/frameworks/native/cmds/installd/tests/ |
D | test_utils.h | 103 int fd = open(file.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in WriteBase64ToFile()
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/common/ |
D | FwdLockGlue.c | 88 fileDesc = open(strKeyFilename, O_CREAT | O_TRUNC | O_WRONLY, S_IRUSR); in FwdLockGlue_InitializeRoundKeys()
|
/frameworks/compile/mclinker/lib/Support/ |
D | FileHandle.cpp | 52 result |= O_WRONLY; in oflag()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/tools/ |
D | Transcode.cpp | 131 const int dstFd = open(config.dstFile.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
|
/frameworks/av/media/module/libmediatranscoding/transcoder/tests/ |
D | HdrTranscodeTests.cpp | 87 const int dstFd = open(dstPath.c_str(), O_WRONLY | O_CREAT, S_IRUSR | S_IWUSR); in transcode()
|
/frameworks/base/libs/androidfw/ |
D | FileStream.cpp | 133 int mode = O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_BINARY; in FileOutputStream()
|
/frameworks/base/core/java/android/os/ |
D | FileUtils.java | 35 import static android.system.OsConstants.O_WRONLY; 1557 res = O_WRONLY | O_CREAT; in translateModeStringToPosix() 1578 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToString() 1600 } else if ((mode & O_ACCMODE) == O_WRONLY) { in translateModePosixToPfd() 1626 res = O_WRONLY; in translateModePfdToPosix() 1656 return O_WRONLY; in translateModeAccessToPosix()
|