/frameworks/native/cmds/cmd/fuzzer/ |
D | cmd_fuzzer.cpp | 74 int32_t in = open("/dev/null", O_RDWR | O_CREAT); in process() 75 int32_t out = open("/dev/null", O_RDWR | O_CREAT); in process() 76 int32_t err = open("/dev/null", O_RDWR | O_CREAT); in process()
|
/frameworks/av/media/mtp/tests/MtpFuzzer/ |
D | mtp_handle_fuzzer.cpp | 77 int32_t fd = open(file, O_CREAT | O_RDWR | O_NONBLOCK); in createDeviceFile() 114 : open(kFuzzerTestFile.c_str(), O_CREAT | O_RDWR | O_NONBLOCK); in invokeWriteDescriptor() 125 int32_t controlFd = open(kFuzzerTestFile.c_str(), O_CREAT | O_RDWR | O_NONBLOCK); in invokeMtpFfsHandle() 157 mfr.fd = open(kFuzzerMtpInputFile.c_str(), O_CREAT | O_RDWR | O_NONBLOCK); in invokeMtpFfsHandle() 178 mfr.fd = open(kFuzzerMtpOutputFile.c_str(), O_CREAT | O_RDWR | O_NONBLOCK); in invokeMtpFfsHandle()
|
/frameworks/libs/binary_translation/kernel_api/riscv64/ |
D | open_emulation.cc | 56 static_assert(O_CREAT == 00000100); 75 const int kCompatibleOpenFlags = O_ACCMODE | O_CREAT | O_EXCL | O_NOCTTY | O_TRUNC | O_APPEND |
|
/frameworks/compile/libbcc/lib/ |
D | FileMutex.h | 31 : FileBase(pFileToLock + ".lock", O_RDONLY | O_CREAT, kDeleteOnClose) { } in FileMutex()
|
/frameworks/native/opengl/libs/EGL/ |
D | FileBlobCache.cpp | 134 int fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile() 145 fd = open(fname, O_CREAT | O_EXCL | O_RDWR, 0); in writeToFile()
|
/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/native/libs/binder/tests/ |
D | binderRecordReplayTest.cpp | 125 O_RDWR | O_CREAT | O_CLOEXEC | O_TRUNC, 0666)); in replayFuzzService() 178 O_RDWR | O_CREAT | O_CLOEXEC, 0666)); in recordReplay() 378 unique_fd saved(open("/data/local/tmp/test_fd", O_RDWR | O_CREAT | O_CLOEXEC, 0666)); in TEST_F() 383 unique_fd changed(open("/data/local/tmp/test_des", O_RDWR | O_CREAT | O_CLOEXEC, 0666)); in TEST_F()
|
/frameworks/native/cmds/cmd/ |
D | cmd.cpp | 86 flags = O_WRONLY|O_CREAT|O_TRUNC; in openFile() 89 flags = O_RDWR|O_CREAT|O_TRUNC; in openFile()
|
/frameworks/base/libs/androidfw/tests/ |
D | ObbFile_test.cpp | 46 int fd = ::open(mFileName.c_str(), O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetUp()
|
/frameworks/base/tools/aapt2/cmd/ |
D | ApkInfo.cpp | 81 int mode = O_WRONLY | O_CREAT | O_TRUNC | O_BINARY; in Action()
|
/frameworks/av/camera/tests/fuzzer/ |
D | camera_vendorTagDescriptor_fuzzer.cpp | 139 int32_t fd = open("/dev/null", O_CLOEXEC | O_RDWR | O_CREAT); in invokeVendorTagDescriptor() 191 int32_t fd = open("/dev/null", O_CLOEXEC | O_RDWR | O_CREAT); in invokeVendorTagDescriptorCache()
|
/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 | 35 import static android.system.OsConstants.O_CREAT; 684 assertTranslate("rw", O_RDWR | O_CREAT, in testTranslateMode() 686 assertTranslate("rwt", O_RDWR | O_CREAT | O_TRUNC, in testTranslateMode() 688 assertTranslate("rwa", O_RDWR | O_CREAT | O_APPEND, in testTranslateMode() 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()
|
/frameworks/libs/binary_translation/base/ |
D | tracing.cc | 73 int fd = open(trace_filename.c_str(), O_WRONLY | O_CREAT | O_APPEND | O_CLOEXEC, S_IWUSR); in TraceToFile()
|
/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/av/media/libstagefright/tests/writer/ |
D | WriterTest.cpp | 475 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 490 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 602 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 662 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 797 open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 853 open(OUTPUT_FILE_NAME, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P() 916 open(outputFile.c_str(), O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in TEST_P()
|
/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/native/cmds/installd/ |
D | restorable_file.cpp | 145 fd = open(tmp_file_path.c_str(), O_RDWR | O_CREAT, permissions); in CreateWritableFile()
|
/frameworks/base/native/graphics/jni/fuzz/ |
D | fuzz_imagedecoder.cpp | 38 int32_t fileDesc = open(testFd, O_RDWR | O_CREAT | O_TRUNC); in init()
|
/frameworks/base/core/java/android/os/ |
D | RevocableFileDescriptor.java | 63 OsConstants.O_CREAT | OsConstants.O_RDWR, 0700)); in RevocableFileDescriptor()
|
/frameworks/av/cmds/stagefright/ |
D | audioloop.cpp | 154 int fd = open(fileOut, O_CREAT | O_LARGEFILE | O_TRUNC | O_RDWR, S_IRUSR | S_IWUSR); in main()
|
/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()
|