/base/update/packaging_tools/test/ |
D | test_update_package.py | 56 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:
|
D | test_utils.py | 63 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:
|
D | create_package_data.py | 201 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:
|
D | test_image_class.py | 43 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/ |
D | token_setproc.c | 54 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/ |
D | hap_verify_test.cpp | 88 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);
|
D | hap_crl_manager_test.cpp | 44 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/ |
D | download_iana.py | 29 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/ |
D | sepolicy.default.3516.conf | 122 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/ |
D | glb_perm_def.spt | 33 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/ |
D | running_lock_hub.cpp | 70 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/ |
D | file_deal.cpp | 60 in.open(SourceFile, std::ios::binary); in CopyFile() 67 out.open(NewFile, std::ios::binary); in CopyFile()
|
/base/update/updater/services/applypatch/ |
D | partition_record.cpp | 37 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()
|
D | store.cpp | 93 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/ |
D | fuzz_utils.cpp | 22 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in CloseStdout()
|
/base/miscservices/request/ |
D | README.md | 33 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/ |
D | README.md | 33 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/ |
D | applypatch_unittest.cpp | 90 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/ |
D | main.cpp | 95 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/ |
D | hiview_util.c | 133 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/ |
D | log.cpp | 35 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/ |
D | README.md | 21 * 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/ |
D | file_operation.cpp | 55 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/ |
D | param_impl_posix.c | 89 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/ |
D | init_service_file.c | 47 int fd = open(path, file->flags | O_CREAT, file->perm); in CreateFile() 53 file->fd = open(path, file->flags); in CreateFile()
|