/test/xts/acts/kernel_lite/fs_posix/src/ |
H A D | FsFcntlTest.cpp | 47 EXPECT_NE((fd = open(FILE0, O_CREAT | O_RDWR, 0777)), -1) << "> open faild errno = " << errno;
in HWTEST_F() 52 EXPECT_NE((fd = open(FILE0, O_RDONLY, 0777)), -1) << "> open faild errno = " << errno;
in HWTEST_F() 70 EXPECT_NE((fd = open(FILE0, O_CREAT | O_RDWR, 0777)), -1) << "> open faild errno = " << errno;
in HWTEST_F() 74 EXPECT_NE((fd = open(FILE0, flagReadWrite, 0777)), -1) << "> open faild errno = " << errno;
in HWTEST_F() 91 EXPECT_NE((fd = open(FILE0, O_CREAT | O_RDWR, 0777)), -1) << "> open fail in HWTEST_F() [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/ |
H A D | b_json_cached_entity_test.cpp | 54 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 79 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 104 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL)));
in HWTEST_F() 129 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL)));
in HWTEST_F() 154 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, NULL)));
in HWTEST_F() 179 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, 0600)));
in HWTEST_F() 204 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDONLY, NULL)));
in HWTEST_F() 229 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 255 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600)));
in HWTEST_F() 281 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePat in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/fileio/unlinkat/ |
H A D | UnlinkatApiTest.cpp | 72 fileFd = open(UNLINKAT_TEST_FILE, O_RDWR | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 76 dirFd = open(UNLINKAT_TEST_DIR, O_RDONLY); in HWTEST_F() 83 fileFd = open(UNLINKAT_TEST_FILE, O_RDWR, 0644); in HWTEST_F() 147 fileFd = open(unlinkatNewFile2, O_RDWR | O_CREAT, 0777); in HWTEST_F() 152 fileFd = open(unlinkatNewFile2, O_RDWR | O_CREAT, 0777); in HWTEST_F() 179 fileFd = open(UNLINKAT_TEST_FILE, O_RDWR | O_TRUNC, 0644); in HWTEST_F() 183 dirFd = open(UNLINKAT_TEST_DIR, O_RDONLY); in HWTEST_F() 239 fileFd = open(UNLINKAT_TEST_FILE, O_RDWR | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 243 dirFd = open(UNLINKAT_TEST_DIR, O_RDONLY); in HWTEST_F()
|
/foundation/multimedia/media_foundation/test/scenetest/ |
H A D | test_single_audio_recorder_fast_prepare.h | 73 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 89 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 107 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 115 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 132 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 142 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 159 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 187 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 196 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_start_pause.h | 66 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 84 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 104 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 125 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 145 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 176 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 204 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 233 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_audio_function.h | 105 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 124 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 144 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 165 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 174 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 186 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 207 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 217 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 229 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 240 fd = open(filePat in FIXTURE() [all...] |
H A D | test_single_audio_recorder_fast_stop_reset.h | 113 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 131 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 150 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 170 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 191 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 211 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 220 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 237 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 259 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE() 289 fd = open(filePat in FIXTURE() [all...] |
/test/xts/hats/kernel/syscalls/fileio/linkat/ |
H A D | LinkatApiTest.cpp | 69 dirFd = open(TEST_DIR, O_DIRECTORY); in HWTEST_F() 71 int fd = open(OLD_FILE_NAME, O_CREAT | O_RDWR, 0644); in HWTEST_F() 93 int fd = open(OLD_FILE_NAME, O_CREAT | O_RDWR, 0644); in HWTEST_F() 117 dirFd = open(TEST_DIR, O_DIRECTORY); in HWTEST_F() 119 int fd = open(OLD_FILE_NAME, O_CREAT | O_RDWR, 0644); in HWTEST_F() 143 dirFd = open(TEST_DIR, O_DIRECTORY); in HWTEST_F() 145 int fd = open(OLD_FILE_NAME, O_CREAT | O_RDWR, 0644); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/copyfilerange/ |
H A D | CopyFileRangeApiTest.cpp | 79 int fdIn = open(TEST_SRC_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0644); in HWTEST_F() 83 int fdOut = open(TEST_DES_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0644); in HWTEST_F() 112 int fd = open(TEST_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0644); in HWTEST_F() 142 int fdIn = open(TEST_SRC_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0644); in HWTEST_F() 144 int fdOut = open(TEST_DES_FILE, O_RDWR | O_CREAT | O_TRUNC, MODE_0644); in HWTEST_F() 172 int fdIn = open(TEST_SRC_FILE, O_WRONLY | O_CREAT, MODE_0644); in HWTEST_F() 176 int fdOut = open(TEST_DES_FILE, O_RDONLY | O_CREAT, MODE_0644); in HWTEST_F() 178 int fd = open(TEST_FILE, O_RDWR | O_CREAT, MODE_0644); in HWTEST_F() 217 int fdIn = open(TEST_SRC_DIR, O_RDONLY | O_DIRECTORY); in HWTEST_F() 223 int fdOut = open(TEST_DES_DI in HWTEST_F() [all...] |
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | stdioextndk1.cpp | 39 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in FBufSize_One() 62 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in FBufSize_Two() 86 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in Flbf_One() 109 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in Flbf_Two() 132 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in Flbf_Three() 154 int fileDescribe = open(TEMP_FILE, O_CREAT | O_WRONLY);
in Fpending_One() 176 int fileDescribe = open(TEMP_FILE, O_CREAT | O_WRONLY);
in Fpending_Two() 200 int fileDescribe = open(TEMP_FILE, O_CREAT | O_WRONLY);
in Fpurge_One() 224 int fileDescribe = open(TEMP_FILE, O_CREAT, PARAM_0777);
in Freadable_One() 245 int fileDescribe = open(TEMP_FIL in Freadable_Two() [all...] |
H A D | xattrndk.cpp | 54 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in Lgetxattr() 81 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in Setxattr() 102 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in Getxattr() 129 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in Listxattr() 157 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in LListxattr() 186 int firstParam = open("/data/storage/el2/base/files/Fzl.txt", O_CREAT, PARAM_0777);
in FListXAttr() 198 int fd = open("/data/storage/el2/base/files/test.txt", O_RDWR | O_CREAT, perms);
in Lsetxattr() 216 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667);
in Removexattr() 228 int fd = open(path, O_CREAT | O_WRONLY, PARAM_0667);
in Lremovexattr() 244 int fd = open(pat in Fremovexattr() [all...] |
H A D | fcntlndk.cpp | 137 int fd = open("/data/storage/el2/base/files/fff.txt", O_CREAT | O_RDWR, PARAM_0777);
in PosixFallocate() 147 int fd = open("/data/storage/el2/base/files/fff.txt", O_CREAT | O_RDWR, PARAM_0777);
in PosixFallocate64() 163 int fd = open("/data/storage/el2/base/files/test.txt", O_CREAT, PARAM_0777);
in Open() 197 int dirFd = open("/data/storage/el2/base/files/test.txt", O_CREAT, PARAM_0777);
in Openat() 213 int dirFd = open("/data/storage/el2/base/files/test.txt", O_CREAT, PARAM_0777);
in Openat64() 229 int fileDescribe = open("/data/storage/el2/base/files/fzl.txt", O_CREAT | O_RDWR, PARAM_0777);
in PosixFadvise() 239 int fileDescribe = open("/data/storage/el2/base/files/fzl.txt", O_CREAT | O_RDWR, PARAM_0777);
in PosixFadvise64() 250 int fileDescribe = open("/data/storage/el2/base/files/test.txt", O_CREAT | O_RDWR, PARAM_0777);
in FalLocate() 262 int fileDescribe = open("/data/storage/el2/base/files/test.txt", O_CREAT | O_RDWR, PARAM_0777);
in FalLocate64() 273 int fileDescribe = open("/dat in FcnTl() [all...] |
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/ |
H A D | recorder_unit_test.cpp | 127 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 153 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_SetLocation_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 171 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_Repeat_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 206 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 235 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 254 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_GetSurface_Error_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 271 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 292 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT +
in HWTEST_F() 314 videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_DrainBufferTrue_001.mp4").c_str(), O_RDWR);
in HWTEST_F() 342 videoRecorderConfig.outputFd = open((RECORDER_ROO in HWTEST_F() [all...] |
/test/xts/acts/commonlibrary/toolchain/libc-test/ |
H A D | tar_files.py | 39 with open(source_f, "rb") as fp1: 40 with open(target_f, "wb") as fp: 45 with open(source_f, "rb") as fp1: 46 with open(target_f, "wb") as fp: 51 tar = tarfile.open(output_filename, "w")
|
/test/xts/hats/kernel/syscalls/fileio/utimensat/ |
H A D | UtimensatApiTest.cpp | 77 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY); in HWTEST_F() 84 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 125 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY); in HWTEST_F() 132 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY | O_CREAT | O_TRUNC, 0644); in HWTEST_F() 166 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY); in HWTEST_F() 200 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY); in HWTEST_F() 207 fd = open(UTIMENSAT_TEST_FILE, O_RDONLY | O_CREAT | O_TRUNC, 0644); in HWTEST_F()
|
/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/ |
H A D | transcoder_unit_test.cpp | 64 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 69 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 97 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 102 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 131 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 136 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 166 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "AVC_Baseline@L1.2_81.0Kbps_320x240.mp4").c_str(), O_RDWR);
in HWTEST_F() 171 int32_t dstFd = open((TRANSCODER_ROOT_DST + "AVC_Baseline@L1.2_81.0Kbps_320x240_dst.mp4").c_str(), O_RDWR);
in HWTEST_F() 203 int32_t srcFd = open((TRANSCODER_ROOT_SRC + "01.mp3").c_str(), O_RDWR);
in HWTEST_F() 208 int32_t dstFd = open((TRANSCODER_ROOT_DS in HWTEST_F() [all...] |
/foundation/multimedia/av_codec/test/nativedemo/audio_demo/ |
H A D | avcodec_audio_decoder_demo.cpp | 104 inputFile_.open(INPUT_AAC_FILE_PATH, std::ios::binary); in InitFile() 105 pcmOutputFile_.open(OUTPUT_AAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 107 inputFile_.open(INPUT_FLAC_FILE_PATH, std::ios::binary); in InitFile() 108 pcmOutputFile_.open(OUTPUT_FLAC_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 110 inputFile_.open(INPUT_MP3_FILE_PATH, std::ios::binary); in InitFile() 111 pcmOutputFile_.open(OUTPUT_MP3_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 113 inputFile_.open(INPUT_VORBIS_FILE_PATH, std::ios::binary); in InitFile() 114 pcmOutputFile_.open(OUTPUT_VORBIS_PCM_FILE_PATH.data(), std::ios::out | std::ios::binary); in InitFile() 116 inputFile_.open(INPUT_AMRNB_FILE_PATH, std::ios::binary); in InitFile() 117 pcmOutputFile_.open(OUTPUT_AMRNB_PCM_FILE_PAT in InitFile() [all...] |
/test/xts/hats/kernel/accesstokenid/ |
H A D | accesstokenid_test.cpp | 78 fd = open("/dev/random", O_RDONLY); in GenRand64() 92 int fd = open(dev_accesstokenid, O_RDWR); in GetTokenid() 94 printf("open %s failed\r\n", dev_accesstokenid); in GetTokenid() 111 int fd = open(dev_accesstokenid, O_RDWR); in SetTokenid() 113 printf("open %s failed\r\n", dev_accesstokenid); in SetTokenid() 130 int fd = open(dev_accesstokenid, O_RDWR); in GetfTokenid() 132 printf("open %s failed\r\n", dev_accesstokenid); in GetfTokenid() 149 int fd = open(dev_accesstokenid, O_RDWR); in SetfTokenid() 151 printf("open %s failed\r\n", dev_accesstokenid); in SetfTokenid() 372 int fd = open(dev_accesstokeni in HWTEST_F() [all...] |
/test/xts/hats/kernel/syscalls/async/inotify/ |
H A D | InotifyApiTest.cpp | 75 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 100 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 125 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 150 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 175 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 200 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 249 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F() 295 int fdTest = open(TEST_FILE, O_RDWR | O_CREAT, 0666); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/lsetxattr/ |
H A D | LsetxattrApiTest.cpp | 99 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 133 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 178 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 212 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 244 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 288 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 292 int newFd = open(OPEN_API_TEST_FILE, O_RDONLY, 0644); in HWTEST_F() 329 int fd = open(targetFilePath, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 333 int newFd = open(OPEN_API_TEST_FILE, O_RDONLY, 0644); in HWTEST_F() 375 int fd = open(targetFilePat in HWTEST_F() [all...] |
/foundation/arkui/ui_lite/test/autotest/src/ |
H A D | compare_tools.cpp | 164 uint32_t fdBase = open(fileBasePath, O_RDONLY | O_BINARY); in CompareFile() 165 uint32_t fdRun = open(fileRunPath, O_RDONLY | O_BINARY); in CompareFile() 167 uint32_t fdBase = open(fileBasePath, O_RDONLY); in CompareFile() 168 uint32_t fdRun = open(fileRunPath, O_RDONLY); in CompareFile() 209 uint32_t fd = open(filePath, O_RDONLY | O_BINARY); in CompareFile() 211 uint32_t fd = open(filePath, O_RDONLY); in CompareFile() 284 uint32_t fd = open(filePath, O_WRONLY | O_CREAT | O_BINARY, DEFAULT_FILE_PERMISSION); in SaveFile() 286 uint32_t fd = open(filePath, O_WRONLY | O_CREAT, DEFAULT_FILE_PERMISSION); in SaveFile() 301 uint32_t fd = open(filePath, O_RDONLY); in CheckFileExist() 344 uint32_t logFd = open(useLogPat in SaveLog() [all...] |
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_filesystem/ |
H A D | b_file_test.cpp | 70 unique_ptr<char[]> result = bf.ReadFile(UniqueFd(open(filePath.data(), O_RDWR)));
in HWTEST_F() 97 BFile::SendFile(UniqueFd(open(fileOutPath.data(), O_RDWR)),
in HWTEST_F() 98 UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)));
in HWTEST_F() 99 string contentTmp = BFile::ReadFile(UniqueFd(open(fileOutPath.c_str(), O_RDONLY))).get();
in HWTEST_F() 183 BFile::Write(UniqueFd(open(filePath.data(), O_RDWR)), fileInPath);
in HWTEST_F() 184 string contentTmp = BFile::ReadFile(UniqueFd(open(fileInPath.c_str(), O_RDONLY))).get();
in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/fileio/lseek/ |
H A D | LseekApiTest.cpp | 45 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in SetUp() 70 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 107 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 129 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 167 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in HWTEST_F() 190 int fd = open(TEST_FILE, O_WRONLY | O_CREAT, 0644); in HWTEST_F()
|
/test/xts/hats/kernel/syscalls/ns/setns/ |
H A D | SetnsApiTest.cpp | 72 int fd = open(path, O_RDONLY); in HWTEST_F() 83 fd = open(path, O_RDONLY); in HWTEST_F() 94 fd = open(path, O_RDONLY); in HWTEST_F() 105 fd = open(path, O_RDONLY); in HWTEST_F()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/test/unittest/animation/ |
H A D | rs_property_trace_test.cpp | 58 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 81 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 104 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 122 outFile.open("/etc/rosen/property.config"); in HWTEST_F() 140 outFile.open("/etc/rosen/property.config"); in HWTEST_F()
|