Home
last modified time | relevance | path

Searched refs:open (Results 151 - 175 of 597) sorted by relevance

12345678910>>...24

/foundation/multimodalinput/input/tools/event_inject/src/
H A Dmanage_inject_device.cpp86 int32_t fd = open(realPath, O_RDWR); in SendEventToDeviceNode()
/foundation/multimedia/player_framework/test/fuzztest/avmetadata_fuzztest/avmetadatasetsource_fuzzer/
H A Davmetadatasetsource_fuzzer.cpp49 int32_t setsourcefd = open(path.c_str(), O_RDONLY); in FuzzAVMetadataSetSource()
/foundation/multimedia/player_framework/test/fuzztest/recorder_fuzztest/recordersetaudioencoder_fuzzer/
H A Drecordersetaudioencoder_fuzzer.cpp50 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 Drecordersetaudiochannelsnum_fuzzer.cpp50 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 Drecordersetfilesplitduration_fuzzer.cpp53 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 Drecordersetdatasource_fuzzer.cpp56 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 Drecordersetvideosource_fuzzer.cpp56 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 Dscreencapturevideobitratefile_fuzzer.cpp106 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 Dscreencapturevideoframeratefile_fuzzer.cpp106 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 Drecordersetaudiochannels_fuzzer.cpp50 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 Dsoundpoolsetrate_fuzzer.cpp58 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 Dsoundpoolsetvolume_fuzzer.cpp58 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 Dsoundpoolsetpriority_fuzzer.cpp58 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 Dut_flo.cpp71 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 Dqos_common.cpp34 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 Dres_common_util.h55 int fd = open(path.c_str(), O_WRONLY); in WriteFileReclaim()
/foundation/resourceschedule/ffrt/src/eu/
H A Drtg_perf_ctrl.cpp39 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 Dpreferences_file_operation.h103 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 Daccount_status_listener.cpp32 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 Dassistant.h49 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 Dmock_system_func.h33 MOCK_METHOD2(open, int(const char *__file, int __oflag));
/foundation/communication/dhcp/test/unittest/services/dhcp_server/unittest/
H A Dsystem_func_mock.h32 MOCK_METHOD2(open, int(const char *__file, int __oflag));
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/image_source_test/
H A Dimage_packer_test.cpp179 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 Dexif_getfilterarea_test.cpp119 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 Dmedia_file_utils.cpp340 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...]

Completed in 13 milliseconds

12345678910>>...24