Home
last modified time | relevance | path

Searched refs:O_RDWR (Results 1 - 25 of 235) sorted by relevance

12345678910

/foundation/multimedia/media_foundation/test/scenetest/
H A Dtest_single_audio_recorder_fast_prepare.h73 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(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_start_pause.h66 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(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_audio_function.h105 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(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_stop_reset.h113 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(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast.h96 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()
152 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()
213 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
230 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
248 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
267 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
287 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
306 fd = open(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
H A Dtest_single_audio_recorder_fast_codec_aac.h112 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
143 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()
205 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
236 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
267 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
298 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
329 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
360 fd = open(filePath.c_str(), O_RDWR | O_CREAT | O_BINARY, 0644); // 0644, permission in FIXTURE()
391 fd = open(filePath.c_str(), O_RDWR | O_CREA in FIXTURE()
[all...]
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_json/
H A Db_json_cached_entity_test.cpp54 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()
154 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 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(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
307 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
335 BJsonCachedEntity<BJsonEntityCaps> jce(UniqueFd(open(filePath.data(), O_RDWR | O_CREAT, 0600))); in HWTEST_F()
/foundation/multimedia/player_framework/frameworks/native/recorder/test/unittest/src/
H A Drecorder_unit_test.cpp128 "recorder_GetCurrentCapturerChangeInfo_001.mp4").c_str(), O_RDWR); 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()
207 "recorder_video_SetFileSplitDuration_001.mp4").c_str(), O_RDWR); in HWTEST_F()
236 "recorder_video_SetAudioEncoder_Error_001.mp4").c_str(), O_RDWR); in HWTEST_F()
254 g_videoRecorderConfig.outputFd = open((RECORDER_ROOT + "recorder_video_GetSurface_Error_001.mp4").c_str(), O_RDWR); in HWTEST_F()
272 "recorder_video_SetVideoSourceRepeat_001.mp4").c_str(), O_RDWR); in HWTEST_F()
293 "recorder_video_SetAudioSourceRepeat_001.mp4").c_str(), O_RDWR); 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_ROOT + "recorder_video_SetVideoSourceRGBA_001.mp4").c_str(), O_RDWR); in HWTEST_F()
[all...]
/foundation/multimedia/player_framework/frameworks/native/transcoder/test/unittest/src/
H A Dtranscoder_unit_test.cpp64 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_DST + "01_dst.mp3").c_str(), O_RDWR); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/test/unittest/avmuxer_test/
H A Davmuxer_unit_test.cpp165 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in HWTEST_F()
233 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR); in HWTEST_F()
274 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
316 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
359 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
406 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
449 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
472 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
500 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in HWTEST_F()
555 fd_ = open(outputFile.c_str(), O_CREAT | O_RDWR | O_TRUN in HWTEST_F()
[all...]
/foundation/communication/ipc/ipc/native/c/adapter/access_token/src/
H A Daccess_token_adapter.c50 int fd = open(TOKENID_DEVNODE, O_RDWR); in RpcGetSelfTokenID()
67 int fd = open(TOKENID_DEVNODE, O_RDWR); in RpcGetFirstCallerTokenID()
/foundation/filemanagement/app_file_service/tests/mock/backup_kit_inner/
H A Db_session_restore_async_mock.cpp74 UniqueFd fd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles()
79 UniqueFd fdManage(open(fileManagePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles()
111 UniqueFd fd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles()
116 UniqueFd fdManage(open(fileManagePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in AppendBundles()
H A Db_session_restore_mock.cpp62 UniqueFd fd(open(filePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in Start()
67 UniqueFd fdManage(open(fileManagePath.data(), O_RDWR | O_CREAT, S_IRWXU)); in Start()
/foundation/filemanagement/app_file_service/tests/unittests/backup_utils/b_filesystem/
H A Db_file_test.cpp70 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()
183 BFile::Write(UniqueFd(open(filePath.data(), O_RDWR)), fileInPath); in HWTEST_F()
/foundation/filemanagement/file_api/interfaces/kits/cj/src/
H A Dutils.cpp55 mode += (((flags & O_RDWR) == O_RDWR) ? writeMode : ""); in GetModeFromFlags()
/foundation/filemanagement/file_api/interfaces/test/unittest/class_file/
H A Drust_test.cpp170 int fd = open(fileStr, O_RDWR); in HWTEST_F()
193 int fd = open(fileStr, O_RDWR); in HWTEST_F()
219 int fd = open(fileStr, O_RDWR); in HWTEST_F()
242 int fd = open(fileStr, O_RDWR); in HWTEST_F()
265 int fd = open(fileStr, O_RDWR); in HWTEST_F()
291 int fd = open(fileStr, O_RDWR); in HWTEST_F()
503 int fd = open(fileStr, O_RDWR); in HWTEST_F()
565 int fd = open(fileStr, O_RDWR); in HWTEST_F()
/foundation/multimedia/av_codec/test/moduletest/muxer/Common/src/
H A DAVMuxerDemo.cpp43 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByMode()
75 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in GetFdByName()
92 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByMode()
109 int32_t fd = open(filename.c_str(), O_CREAT | O_RDWR | O_TRUNC, S_IRUSR | S_IWUSR); in InnerGetFdByName()
/foundation/multimedia/av_codec/services/media_engine/modules/muxer/
H A Ddata_sink_fd.cpp37 isCanRead_ = (fdPermission & O_RDWR) == O_RDWR; in DataSinkFd()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/app_network_speed_limit/
H A Dspeed_limit_configs_writer.cpp35 int fd = open(AWARE_CTRL_FILENAME, O_RDWR); in SetBgLimitMode()
104 int fd = open(filePath, O_RDWR); in SetUidPids()
/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp98 int fd = open(filename.c_str(), O_RDWR); in HWTEST_F()
154 fd = open(filename.c_str(), O_RDWR); in HWTEST_F()
209 fd = open(filename.c_str(), O_RDWR); in HWTEST_F()
/foundation/filemanagement/app_file_service/test/unittest/file_share_native/
H A Dfile_share_test.cpp67 int32_t fd = open(fileStr.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
107 int32_t fd = open(fileStr.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
138 int32_t fd = open(fileStr.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
167 int32_t fd = open(fileStr.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
198 int32_t fd = open(fileStr.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
274 int32_t fd = open(file.c_str(), O_RDWR | O_CREAT); in HWTEST_F()
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/benchmarks/
H A Dfile_utils.cpp72 int fd = open(filePath.c_str(), O_RDWR | O_CREAT, static_cast<mode_t>(0600)); in WriteToFile()
111 int fd = open(filePath.c_str(), O_RDWR | O_CREAT, static_cast<mode_t>(0600)); in WriteStringToFile()
/foundation/filemanagement/dfs_service/test/unittests/cloud_daemon/
H A Dcloud_daemon_service_proxy_test.cpp155 int32_t devFd = open("/dev/fuse", O_RDWR); in HWTEST_F()
178 int32_t devFd = open("/dev/fuse", O_RDWR); in HWTEST_F()
/foundation/filemanagement/file_api/interfaces/test/unittest/remote_uri/
H A Dremote_uri_test.cpp75 int fd = open(fileStr.c_str(), O_RDWR); in HWTEST_F()
172 (void)RemoteUri::IsRemoteUri(remoteUri, fd, O_RDWR); in HWTEST_F()
/foundation/resourceschedule/qos_manager/services/src/
H A Dqos_interface.cpp31 int fd = open(fileName, O_RDWR); in TrivalOpenRtgNode()
42 int fd = open(fileName, O_RDWR); in TrivalOpenAuthCtrlNode()
53 int fd = open(fileName, O_RDWR); in TrivalOpenQosCtrlNode()

Completed in 14 milliseconds

12345678910