/base/startup/init/services/modules/trace/ |
D | init_trace.cfg | 9 "sys-files" : [ 27 "sys-files" : [ 36 "sys-files" : [ 45 "sys-files" : [ 54 "sys-files" : [ 64 "sys-files" : [ 74 "sys-files" : [ 91 "sys-files" : [ 100 "sys-files" : [ 109 "sys-files" : [ [all …]
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/cleaner/ |
D | app_event_log_cleaner.cpp | 37 std::vector<std::string> files; in ClearSpace() local 38 FileUtil::GetDirFiles(path_, files); in ClearSpace() 41 sort(files.begin(), files.end()); in ClearSpace() 44 while (!files.empty() && nowSize > maxSize) { in ClearSpace() 45 std::string delFile = files[0]; in ClearSpace() 46 files.erase(files.begin()); in ClearSpace() 64 std::vector<std::string> files; in ClearData() local 65 FileUtil::GetDirFiles(path_, files); in ClearData() 66 for (const auto& file : files) { in ClearData()
|
/base/update/updater/interfaces/kits/packages/ |
D | package.cpp | 30 std::vector<std::pair<std::string, ComponentInfo>> &files, in GetUpgradePkgInfo() argument 54 files.resize(pkgInfoExt->entryCount); in GetUpgradePkgInfo() 56 files[i].first.assign(compInfo[i].filePath); in GetUpgradePkgInfo() 57 ComponentInfo* info = &files[i].second; in GetUpgradePkgInfo() 78 std::vector<std::pair<std::string, ZipFileInfo>> &files, in GetZipPkgInfo() argument 86 files.resize(pkgInfoExt->entryCount); in GetZipPkgInfo() 88 files[i].first.assign(compInfo[i].filePath); in GetZipPkgInfo() 89 ZipFileInfo* info = &files[i].second; in GetZipPkgInfo() 98 std::vector<std::pair<std::string, Lz4FileInfo>> &files, in GetLz4PkgInfo() argument 106 files.resize(pkgInfoExt->entryCount); in GetLz4PkgInfo() [all …]
|
/base/hiviewdfx/hiview/core/param_update/src/ |
D | param_manager.cpp | 63 std::vector<std::string> files; in CopyConfigFiles() local 64 FileUtil::GetDirFiles(CFG_PATH, files, false); in CopyConfigFiles() 65 for (std::string file : files) { in CopyConfigFiles() 81 std::vector<std::string> files; in VerifyConfigFiles() local 82 FileUtil::GetDirFiles(CFG_PATH, files, false); in VerifyConfigFiles() 83 for (std::string file : files) { in VerifyConfigFiles()
|
/base/update/updater/services/applypatch/ |
D | store.cpp | 33 std::vector<std::string> files; in DoFreeSpace() local 34 if (GetFilesFromDirectory(directoryPath, files, true) <= 0) { in DoFreeSpace() 38 for (const auto &file : files) { in DoFreeSpace() 81 std::vector<std::string> files {}; in CreateNewSpace() local 82 if (GetFilesFromDirectory(dirPath, files) < 0) { in CreateNewSpace() 85 if (files.empty()) { in CreateNewSpace() 88 std::vector<std::string>::iterator iter = files.begin(); in CreateNewSpace() 89 while (iter != files.end()) { in CreateNewSpace() 95 files.clear(); in CreateNewSpace()
|
/base/print/print_fwk/test/unittest/service_test/ |
D | print_cups_client_test.cpp | 65 std::vector<uint32_t> files = {1}; variable 66 testJob.SetFdList(files); 79 std::vector<uint32_t> files = {1}; variable 80 testJob.SetFdList(files); 180 std::vector<uint32_t> files = {1}; variable 181 testJob.SetFdList(files); 199 std::vector<uint32_t> files = {1}; variable 200 testJob.SetFdList(files); 219 std::vector<uint32_t> files = {1}; variable 220 testJob.SetFdList(files); [all …]
|
/base/startup/appspawn/adapter/ |
D | appspawn_sandbox.cpp | 53 CfgFiles *files = GetCfgFiles("etc/sandbox"); in LoadAppSandboxConfig() local 54 for (int i = 0; (files != nullptr) && (i < MAX_CFG_POLICY_DIRS_CNT); ++i) { in LoadAppSandboxConfig() 55 if (files->paths[i] == nullptr) { in LoadAppSandboxConfig() 58 std::string path = files->paths[i]; in LoadAppSandboxConfig() 65 FreeCfgFiles(files); in LoadAppSandboxConfig()
|
D | appspawn_ace.cpp | 86 CfgFiles *files = GetCfgFiles("etc/appspawn"); in PreloadModule() local 87 if (files == nullptr) { in PreloadModule() 92 if (files->paths[i] == nullptr) { in PreloadModule() 95 std::string path = files->paths[i]; in PreloadModule() 100 FreeCfgFiles(files); in PreloadModule()
|
/base/startup/init/services/modules/seccomp/ |
D | seccomp_policy.c | 116 CfgFiles *files = GetCfgFiles(filterLibPath); in GetFilterFileByName() local 117 for (int i = MAX_CFG_POLICY_DIRS_CNT - 1; files && i >= 0; i--) { in GetFilterFileByName() 118 if (files->paths[i]) { in GetFilterFileByName() 124 if (seccompPathNum == 1 && files && files->paths[0]) { in GetFilterFileByName() 125 … if (memcpy_s(filterLibRealPath, pathSize, files->paths[0], strlen(files->paths[0]) + 1) == EOK) { in GetFilterFileByName() 129 FreeCfgFiles(files); in GetFilterFileByName()
|
/base/update/updater/test/unittest/package/ |
D | pkg_manager_unittest.cpp | 97 …tUpgradePkgInfo(UpgradePkgInfo &pkgInfo, std::vector<std::pair<std::string, ComponentInfo>> &files) in GetUpgradePkgInfo() argument 110 files.resize(testFileNames_.size()); in GetUpgradePkgInfo() 114 files[i].first = filePath; in GetUpgradePkgInfo() 116 ComponentInfo* info = &files[i].second; in GetUpgradePkgInfo() 136 std::vector<std::pair<std::string, ComponentInfo>> files; in TestPackagePack() local 137 GetUpgradePkgInfo(pkgInfo, files); in TestPackagePack() 140 int32_t ret = pkgManager_->CreatePackage(packagePath, "", &pkgInfo.pkgInfo, files); in TestPackagePack() 142 … ret = pkgManager_->CreatePackage(packagePath, GetTestPrivateKeyName(0), &pkgInfo.pkgInfo, files); in TestPackagePack() 151 std::vector<std::pair<std::string, ComponentInfo>> files; in TestPackagePackFileNotExist() local 152 GetUpgradePkgInfo(pkgInfo, files); in TestPackagePackFileNotExist() [all …]
|
/base/startup/init/services/init/standard/ |
D | init.c | 174 CfgFiles *files = GetCfgFiles("etc/param"); in InitLoadParamFiles() local 175 for (int i = MAX_CFG_POLICY_DIRS_CNT - 1; files && i >= 0; i--) { in InitLoadParamFiles() 176 if (files->paths[i]) { in InitLoadParamFiles() 177 LoadDefaultParams(files->paths[i], LOAD_PARAM_ONLY_ADD); in InitLoadParamFiles() 180 FreeCfgFiles(files); in InitLoadParamFiles() 262 CfgFiles *files = GetCfgFiles("etc/init"); in ParseInitCfgByPriority() local 263 for (int i = 0; files && i < MAX_CFG_POLICY_DIRS_CNT; i++) { in ParseInitCfgByPriority() 264 if (files->paths[i]) { in ParseInitCfgByPriority() 265 if (ReadFileInDir(files->paths[i], ".cfg", ParseInitCfg, NULL) < 0) { in ParseInitCfgByPriority() 270 FreeCfgFiles(files); in ParseInitCfgByPriority()
|
/base/startup/appspawn/interfaces/innerkits/src/ |
D | appspawn_mount_permission.cpp | 55 CfgFiles *files = GetCfgFiles("etc/sandbox"); in LoadPermissionNames() local 56 for (int i = 0; (files != nullptr) && (i < MAX_CFG_POLICY_DIRS_CNT); ++i) { in LoadPermissionNames() 57 if (files->paths[i] == nullptr) { in LoadPermissionNames() 60 std::string path = files->paths[i]; in LoadPermissionNames() 72 FreeCfgFiles(files); in LoadPermissionNames()
|
/base/hiviewdfx/hiview/framework/native/unified_collection/collector/utils/ |
D | trace_utils.cpp | 70 void LoadAllFiles(std::vector<std::string> &files); 74 void CleanPolicy::LoadAllFiles(std::vector<std::string> &files) in LoadAllFiles() argument 84 FileUtil::GetDirFiles(path, files); in LoadAllFiles() 90 std::vector<std::string> files; in DoClean() local 91 LoadAllFiles(files); in DoClean() 95 for (const auto &file : files) { in DoClean() 329 std::vector<std::string> files; in GetUnifiedShareFiles() local 343 files.push_back(dst); in GetUnifiedShareFiles() 350 return files; in GetUnifiedShareFiles() 372 std::vector<std::string> files; in GetUnifiedSpecialFiles() local [all …]
|
/base/security/selinux_adapter/sepolicy/base/public/ |
D | chipset_domain.te | 15 # Prohibit chipset component processes from accessing system files to achieve access isolation 20 # Prohibit chipset component processes from accessing system bin files to achieve access isolation 37 # Prohibit chipset component processes from accessing system etc files to achieve access isolation 44 # Prohibit chipset component processes from accessing system hap files to achieve access isolation 47 # Prohibit chipset component processes from accessing system fonts files to achieve access isolation 50 # Prohibit chipset component processes from accessing system profile files to achieve access isolat… 54 # Prohibit chipset component processes from accessing system usr files to achieve access isolation 57 # Prohibit chipset component processes from accessing system module_update files to achieve access …
|
D | attributes | 23 # Type of all virtual file system files. 30 # Type of all proc files. 34 # Type of all common files. 39 # Type of all rootfs files. 43 # Type of all system files. 47 # Type of all sys_prod files. 51 # Type of all vendor files. 55 # Type of all chip_prod files. 59 # Type of all chip_ckm files. 68 # Types of all files in the /data directory.
|
/base/startup/init/services/etc/appender/ |
D | file_appender.gni | 17 # Append something (files or lines) to a file and install it. 24 # files: files to be appended to the end of source file (Optional) 31 # files = [ "cust_passwd", "passwd2" ] 35 # It will append files and lines to source passwd file after deps targets 67 if (defined(invoker.files)) { 68 foreach(file, invoker.files) {
|
D | file_appender.py | 93 for append_f in options.files: 101 if options.files: 115 if options.files: 116 for append_f in options.files: 132 if options.files: 133 depfile_deps = ([options.source_file] + options.files)
|
/base/hiviewdfx/faultloggerd/common/dfxutil/ |
D | dfx_util.cpp | 115 bool ReadDirFiles(const std::string& path, std::vector<std::string>& files) in ReadDirFiles() argument 128 files.emplace_back(std::string(ent->d_name)); in ReadDirFiles() 131 return (files.size() > 0); in ReadDirFiles() 134 bool ReadDirFilesByPid(const int& pid, std::vector<std::string>& files) in ReadDirFilesByPid() argument 151 return ReadDirFiles(realPath, files); in ReadDirFilesByPid()
|
/base/security/device_security_level/ |
D | .gitignore | 10 # Compiled Object files 25 # Fortran module files
|
/base/useriam/user_auth_framework/ |
D | .gitignore | 10 # Compiled Object files 25 # Fortran module files
|
/base/security/selinux_adapter/ |
D | .gitignore | 8 # Compiled Object files 23 # Fortran module files
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/procinfo/ |
D | procinfo.cpp | 143 std::vector<std::string> files; in GetTidsByPidWithFunc() local 144 if (ReadDirFilesByPid(pid, files)) { in GetTidsByPidWithFunc() 145 for (size_t i = 0; i < files.size(); ++i) { in GetTidsByPidWithFunc() 146 pid_t tid = atoi(files[i].c_str()); in GetTidsByPidWithFunc() 242 std::vector<std::string> files; in ReadProcessWchan() local 243 flag = ReadDirFiles(taskPath, files); in ReadProcessWchan() 244 for (size_t i = 0; i < files.size(); ++i) { in ReadProcessWchan() 245 std::string tidStr = files[i]; in ReadProcessWchan()
|
/base/telephony/core_service/services/sim/src/ |
D | usim_dialling_numbers_service.cpp | 64 std::vector<std::string> &files = object->fileResults; in ProcessPbrLoadDone() local 65 GeneratePbrFile(files); in ProcessPbrLoadDone() 150 std::map<int, std::shared_ptr<TagData>> files = pbrFiles_.at(recId)->fileIds_; in LoadDiallingNumberFiles() local 151 if (files.empty() || !files.size()) { in LoadDiallingNumberFiles() 157 int extEf = files.at(TAG_SIM_USIM_EXT1) != nullptr ? files.at(TAG_SIM_USIM_EXT1)->fileId : 0; in LoadDiallingNumberFiles() 158 if (extEf >= 0 && files.at(TAG_SIM_USIM_ADN) != nullptr) { in LoadDiallingNumberFiles() 160 int efId = files.at(TAG_SIM_USIM_ADN)->fileId; in LoadDiallingNumberFiles() 169 bool fileNull = files.at(TAG_SIM_USIM_ADN) == nullptr; in LoadDiallingNumberFiles()
|
/base/update/updateservice/services/engine/etc/ |
D | updater_sa.cfg | 9 "mkdir /data/service/el1/public/update/dupdate_engine/files 0700 update update", 10 … "mkdir /data/service/el1/public/update/dupdate_engine/files/firmware 0700 update update", 11 …"mkdir /data/service/el1/public/update/dupdate_engine/files/firmware/changelogs 0700 update update…
|
/base/hiviewdfx/hiappevent/frameworks/native/libhiappevent/observer/ |
D | os_event_listener.cpp | 72 std::vector<std::string> files; in Init() local 73 FileUtil::GetDirFiles(osEventPath_, files); in Init() 74 GetEventsFromFiles(files, historyEvents_); in Init() 83 for (const auto& file : files) { in Init() 180 const std::vector<std::string>& files, std::vector<std::shared_ptr<AppEventPack>>& events) in GetEventsFromFiles() argument 182 for (const auto& filePath : files) { in GetEventsFromFiles()
|