Home
last modified time | relevance | path

Searched refs:open (Results 1 – 25 of 174) sorted by relevance

1234567

/base/update/packaging_tools/test/
Dtest_update_package.py56 with open(VERSION_MBN_PATH, 'w') as w_f:
58 with open(BOARD_LIST_PATH, 'w') as w_f:
60 with open(VERSION_MBN_PATH) as om_first_f:
82 with open(VERSION_MBN_PATH) as om_second_f:
101 with open(VERSION_MBN_PATH) as om_third_f:
143 with open(package_path, 'wb') as w_f:
Dtest_utils.py63 with open('test.file', 'w') as w_f:
80 with open("./updater_specified_config_repeats.xml", "wb") as w_f:
102 with open('test.file', 'w') as w_f:
120 with open(VERSION_MBN_PATH, 'w') as w_f:
134 with open(VERSION_MBN_PATH, 'w') as w_f:
136 with open(BOARD_LIST_PATH, 'w') as w_f:
152 with open("./partition_file_conversion_failed.xml", "wb") as w_f:
Dcreate_package_data.py201 with open(file_path, "wb") as w_f:
226 with open(r"./source_vendor_data", "r") as r_f:
236 with open(r"./target_vendor_data", "r") as r_f:
Dtest_image_class.py43 with open('vendor.img', 'wb') as w_f:
44 with open('./test_target_package/vendor.img', "rb") as\
66 with open('./test_target_package/vendor.img', 'rb') as wo_f:
/base/security/access_token/interfaces/innerkits/token_setproc/src/
Dtoken_setproc.c54 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetSelfTokenID()
70 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetSelfTokenID()
87 int fd = open(TOKENID_DEVNODE, O_RDWR); in GetFirstCallerTokenID()
104 int fd = open(TOKENID_DEVNODE, O_RDWR); in SetFirstCallerTokenID()
/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
Dhap_verify_test.cpp88 appFile.open(errorFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
99 hapFile.open(rightFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
112 hapFile1.open(rightFile1.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
126 hapFile2.open(invalidFile.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
148 hapFile.open(filePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
176 hapFile.open(filePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
202 … errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
214 … errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
225 … errorFile.open(errorfilePath[i].c_str(), std::ios::binary | std::ios::out | std::ios::trunc);
Dhap_crl_manager_test.cpp44 source.open(sourceFilePath.c_str(), std::ios::in); in CopyFile()
48 dest.open(destFilePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in CopyFile()
62 fileStream.open(filePath.c_str(), std::ios::binary | std::ios::out | std::ios::trunc); in ClearFile()
/base/global/timezone/tool/update_tool/
Ddownload_iana.py29 with open(path, 'r') as file:
47 with open(save_path + file_name, 'wb+') as file:
79 tar = tarfile.open(save_path + file_name, "r:gz")
106 with open(os.path.join(download_path, 'version.txt'), 'w') as file:
/base/security/selinux/sepolicy/
Dsepolicy.default.3516.conf122 open
622 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
623 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
624 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
625 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
626 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
627 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
628 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
630 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
631 …abelto append map unlink link rename execute quotaon mounton audit_access open execmod watch watch…
[all …]
/base/security/selinux/sepolicy/base/public/
Dglb_perm_def.spt33 define(`read_dir_perms', `{ getattr search open read lock ioctl }')
34 define(`rw_dir_perms', `{ open read getattr lock search ioctl add_name remove_name write }')
38 define(`read_file_perms',`{ getattr open read lock ioctl map }')
39 define(`exec_file_perms',`{ getattr open map read execute execute_no_trans }')
40 define(`write_file_perms',`{ getattr open write append lock map }')
/base/powermgr/power_manager/services/native/src/actions/default/suspend/
Drunning_lock_hub.cpp70 lockFd_ = UniqueFd(TEMP_FAILURE_RETRY(open(LOCK_PATH, O_RDWR | O_CLOEXEC))); in InitFd()
71 unlockFd_ = UniqueFd(TEMP_FAILURE_RETRY(open(UNLOCK_PATH, O_RDWR | O_CLOEXEC))); in InitFd()
/base/miscservices/wallpaper/utils/src/
Dfile_deal.cpp60 in.open(SourceFile, std::ios::binary); in CopyFile()
67 out.open(NewFile, std::ios::binary); in CopyFile()
/base/update/updater/services/applypatch/
Dpartition_record.cpp37 int fd = open(realPath, O_RDONLY | O_EXCL | O_CLOEXEC | O_BINARY); in IsPartitionUpdated()
66 int fd = open(realPath, O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in RecordPartitionUpdateStatus()
108 int fd = open(miscBlockDevice.c_str(), O_RDWR | O_EXCL | O_CLOEXEC | O_BINARY); in ClearRecordPartitionOffset()
Dstore.cpp93 int fd = open(pathTmp.c_str(), O_WRONLY | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in WriteDataToStore()
106 int fdd = open(dirPath.c_str(), O_RDONLY | O_DIRECTORY); in WriteDataToStore()
124 int fd = open(path.c_str(), O_RDONLY); in LoadDataFromStore()
/base/startup/init_lite/test/fuzztest/utils/
Dfuzz_utils.cpp22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
/base/miscservices/request/
DREADME.md33 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
34 4. The most valuable open source project [GVP](https://gitee.com/gvp)
/base/user_iam/face_auth/
DREADME.md33 3. Explore open source project [https://gitee.com/explore](https://gitee.com/explore)
34 4. The most valuable open source project [GVP](https://gitee.com/gvp)
/base/update/updater/test/unittest/applypatch_test/
Dapplypatch_unittest.cpp90 close(open(devPath.c_str(), O_CREAT | O_WRONLY | O_EXCL, 0664));
94 int fd = open(devPath.c_str(), O_RDONLY);
119 int fd = open(devPath.c_str(), O_CREAT | O_WRONLY | O_EXCL, 0664);
/base/hiviewdfx/hilog/services/hilogd/
Dmain.cpp95 fd = open(path.c_str(), O_WRONLY | O_CLOEXEC); in WaitingCgroupMounted()
127 int fd = open(filePath.c_str(), O_WRONLY | O_CLOEXEC); in WriteStringToFile()
143 int fd = open(HILOG_FILE_DIR"hilogd.txt", O_WRONLY | O_APPEND); in HilogdEntry()
/base/hiviewdfx/hiview_lite/
Dhiview_util.c133 int32 handle = open(path, O_RDWR | O_CREAT, 0); in HIVIEW_FileOpen()
199 int32 fdSrc = open(src, O_RDONLY, 0); in HIVIEW_FileCopy()
204 int32 fdDest = open(dest, O_RDWR | O_CREAT | O_TRUNC, 0); in HIVIEW_FileCopy()
/base/update/updater/services/log/
Dlog.cpp35 g_updaterLog.open(logFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
36 g_updaterStage.open(stageFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
37 g_errorCode.open(errorCodeFile.c_str(), std::ios::app | std::ios::out); in InitUpdaterLogger()
/base/web/webview/
DREADME.md21 * CEF: stands for Chromium Embedded Framework. It is an open-source project based on Google Chromiu…
22 * Chromium: an open-source web browser principally developed by Google and released under the BSD l…
/base/powermgr/thermal_manager/utils/native/src/
Dfile_operation.cpp55 fd = open(filePath.c_str(), O_CREAT | O_RDWR, S_IRUSR | S_IWUSR | S_IRGRP| S_IROTH); in CreateNodeFile()
93 int32_t fd = open(path, O_RDONLY); in ReadFile()
/base/startup/syspara_lite/frameworks/parameter/src/param_impl_posix/
Dparam_impl_posix.c89 int fd = open(keyPath, O_RDONLY, S_IRUSR); in GetSysParam()
119 int fd = open(keyPath, O_RDWR | O_CREAT | O_TRUNC, S_IRUSR | S_IWUSR); in SetSysParam()
/base/startup/init_lite/services/init/
Dinit_service_file.c47 int fd = open(path, file->flags | O_CREAT, file->perm); in CreateFile()
53 file->fd = open(path, file->flags); in CreateFile()

1234567