/foundation/multimodalinput/input/tools/event_inject/src/ |
H A D | manage_inject_device.cpp | 86 int32_t fd = open(realPath, O_RDWR); in SendEventToDeviceNode()
|
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatasetsource_fuzzer/ |
H A D | avmetadatasetsource_fuzzer.cpp | 49 int32_t setsourcefd = open(path.c_str(), O_RDONLY); in FuzzAVMetadataSetSource()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudioencoder_fuzzer/ |
H A D | recordersetaudioencoder_fuzzer.cpp | 50 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetAudioEncoder.mp4", O_RDWR); in FuzzRecorderSetAudioEncoder()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudiochannelsnum_fuzzer/ |
H A D | recordersetaudiochannelsnum_fuzzer.cpp | 50 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetAudioChannelsNum.mp4", O_RDWR); in FuzzRecorderSetAudioChannelsNum()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetfilesplitduration_fuzzer/ |
H A D | recordersetfilesplitduration_fuzzer.cpp | 53 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetFileSplitDuration.mp4", O_RDWR); in FuzzRecorderSetFileSplitDuration()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetdatasource_fuzzer/ |
H A D | recordersetdatasource_fuzzer.cpp | 56 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetDataSource.mp4", O_RDWR); in FuzzRecorderSetDataSource()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetvideosource_fuzzer/ |
H A D | recordersetvideosource_fuzzer.cpp | 56 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetVideoSource.mp4", O_RDWR); in FuzzRecorderSetVideoSource()
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideobitratefile_fuzzer/ |
H A D | screencapturevideobitratefile_fuzzer.cpp | 106 int32_t outputFd = open((screenCaptureRoot + "screen_capture_fuzz_videobitrate_file_01.mp4").c_str(), in FuzzScreenCaptureVideoBitRateFile()
|
/foundation/multimedia/player_framework/test/fuzztest/screen_capture_fuzztest/screencapturevideoframeratefile_fuzzer/ |
H A D | screencapturevideoframeratefile_fuzzer.cpp | 106 int32_t outputFd = open((screenCaptureRoot + "screen_capture_fuzz_videoframerate_file_01.mp4").c_str(), in FuzzScreenCaptureVideoFrameRateFile()
|
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudiochannels_fuzzer/ |
H A D | recordersetaudiochannels_fuzzer.cpp | 50 g_videoRecorderConfig.outputFd = open("/data/test/media/recorder_SetAudioChannels.mp4", O_RDWR); in FuzzRecorderSetAudioChannels()
|
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolsetrate_fuzzer/ |
H A D | soundpoolsetrate_fuzzer.cpp | 58 fd = open(path.c_str(), O_RDWR);
in FuzzSoundPoolSetRate() 63 cout << fd << " open failed, fileName " << path.c_str() << endl;
in FuzzSoundPoolSetRate()
|
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolsetvolume_fuzzer/ |
H A D | soundpoolsetvolume_fuzzer.cpp | 58 fd = open(path.c_str(), O_RDWR);
in FuzzSoundPoolSetVolume() 63 cout << fd << " open failed, fileName " << path.c_str() << endl;
in FuzzSoundPoolSetVolume()
|
/foundation/multimedia/player_framework/test/fuzztest/soundpool_fuzztest/soundpoolsetpriority_fuzzer/ |
H A D | soundpoolsetpriority_fuzzer.cpp | 58 fd = open(path.c_str(), O_RDWR);
in FuzzSoundPoolSetPriority() 63 cout << fd << " open failed, fileName " << path.c_str() << endl;
in FuzzSoundPoolSetPriority()
|
/foundation/resourceschedule/ffrt/test/ut/testcase/ |
H A D | ut_flo.cpp | 71 fd = open("/dev/hisi_perf_ctrl", O_RDWR); in InitCfg() 73 printf("open /dev/hisi_perf_ctrl failed.\n"); in InitCfg()
|
/foundation/resourceschedule/frame_aware_sched/qos_manager/src/ |
H A D | qos_common.cpp | 34 int fd = open(fileName, O_RDWR); in TrivalOpenAuthCtrlNode() 46 RME_LOGE("thread %{public}d belong to user %{public}d open auth node failed\n", gettid(), getuid()); in AuthEnable() 72 RME_LOGE("thread %{public}d belong to user %{public}d open auth node failed\n", gettid(), getuid()); in AuthPause() 98 RME_LOGE("thread %{public}d belong to user %{public}d open auth node failed\n", gettid(), getuid()); in AuthDelete()
|
/foundation/resourceschedule/resource_schedule_service/ressched/common/include/ |
H A D | res_common_util.h | 55 int fd = open(path.c_str(), O_WRONLY);
in WriteFileReclaim()
|
/foundation/resourceschedule/ffrt/src/eu/ |
H A D | rtg_perf_ctrl.cpp | 39 fd = open("/dev/hisi_perf_ctrl", O_RDWR); in OpenPerfCtrl() 41 FFRT_LOGW("open perf_ctrl failed"); in OpenPerfCtrl()
|
/foundation/distributeddatamgr/preferences/frameworks/native/platform/include/ |
H A D | preferences_file_operation.h | 103 int fd = open(filePath.c_str(), O_RDWR, S_IRUSR | S_IWUSR); in Fsync()
|
/foundation/filemanagement/dfs_service/services/cloudfiledaemon/src/cloud_disk/ |
H A D | account_status_listener.cpp | 32 auto fd = open("/proc/self/reclaim", O_WRONLY); in SwapMemory() 34 LOGE("Failed to open reclaim, errno:%{public}d", errno); in SwapMemory()
|
/foundation/filemanagement/dfs_service/test/unittests/cloud_disk/mock/ |
H A D | assistant.h | 49 static int open(const char *file, int oflag) in open() function in OHOS::FileManagement::CloudDisk::Assistant
|
/foundation/communication/dhcp/test/unittest/services/dhcp_client/ |
H A D | mock_system_func.h | 33 MOCK_METHOD2(open, int(const char *__file, int __oflag));
|
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/ |
H A D | system_func_mock.h | 32 MOCK_METHOD2(open, int(const char *__file, int __oflag));
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/ |
H A D | image_packer_test.cpp | 179 const int fd2 = open("/data/local/tmp/image/test.jpg", O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F() 487 const int fd = open(IMAGE_JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR);
in HWTEST_F() 502 const int fdDest = open(IMAGE_JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR);
in HWTEST_F() 639 const int fd = open(IMAGE_PNG2JPG_DEST.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F() 650 const int fdDest = open(IMAGE_PNG2JPG_DEST.c_str(), O_RDWR, S_IRUSR | S_IWUSR);
in HWTEST_F() 684 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F() 721 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F() 758 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F() 795 const int fd = open(outJpeg.c_str(), O_RDWR | O_CREAT, S_IRUSR | S_IWUSR);
in HWTEST_F()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/exif_metadata_accessor_test/ |
H A D | exif_getfilterarea_test.cpp | 119 fs->open(IMAGE_GET_FILTER_AREA_HEIF_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F() 165 fs->open(IMAGE_GET_FILTER_AREA_PNG_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F() 211 fs->open(IMAGE_GET_FILTER_AREA_JPEG_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F() 257 fs->open(IMAGE_GET_FILTER_AREA_WEBP_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F() 407 fs->open(IMAGE_GET_FILTER_AREA_DNG_PATH, std::fstream::binary | std::fstream::in); in HWTEST_F() 408 fsOut->open(IMAGE_GET_FILTER_AREA_DNG_FILTERED_PATH, in HWTEST_F()
|
/foundation/multimedia/media_library/frameworks/innerkitsimpl/media_library_helper/src/ |
H A D | media_file_utils.cpp | 340 MEDIA_ERR_LOG("Failed to open dir:%{private}s, errno: %{public}d. Just return dir NOT empty.", in IsDirEmpty() 480 MEDIA_ERR_LOG("open srcDir:%{private}s failed,errno:%{public}d", srcPath.c_str(), errno); in CopyDirAndDelSrc() 588 int32_t source = open(absFilePath.c_str(), O_RDONLY); in CopyFileUtil() 594 int32_t dest = open(newPath.c_str(), O_WRONLY | O_CREAT, CHOWN_RO_USR_GRP); in CopyFileUtil() 650 fd = open(path.c_str(), O_RDONLY); in MediaFileDeletionRecord() 652 MEDIA_ERR_LOG("Failed to open the Dir, errno is %{public}d, %{public}s", errno, dir.c_str()); in MediaFileDeletionRecord() 669 bucketFd = open(fileName.c_str(), O_RDONLY); in MediaFileDeletionRecord() 671 MEDIA_ERR_LOG("Failed to open the bucketFd Dir error: %{public}d", errno); in MediaFileDeletionRecord() 699 MEDIA_ERR_LOG("Can not open FilePath %{private}s", filePath.c_str()); in WriteStrToFile() 725 MEDIA_ERR_LOG("Failed to open in ReadStrFromFile() [all...] |