Home
last modified time | relevance | path

Searched refs:IsExistFile (Results 1 - 20 of 20) sorted by relevance

/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_file_operator.cpp37 if (accountFileOperator_->IsExistFile(Constants::OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in Init()
47 if (accountFileOperator_->IsExistFile(Constants::CONSTRAINTS_LIST_JSON_PATH)) { in Init()
90 if (accountFileOperator_->IsExistFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetBaseOAConstraintsList()
113 if (accountFileOperator_->IsExistFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetGlobalOAConstraintsList()
137 if (accountFileOperator_->IsExistFile(Constants::SPECIFIC_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetSpecificOAConstraintsList()
H A Dos_account_control_file_manager.cpp534 if (!accountFileOperator_->IsExistFile(path)) { in GetOsAccountInfoById()
962 if (accountFileOperator_->IsExistFile(path) && accountFileOperator_->IsJsonFormat(path)) { in InsertOsAccount()
1029 if (!accountFileOperator_->IsExistFile(path)) { in UpdateOsAccount()
1528 if (!accountFileOperator_->IsExistFile(path)) { in IsOsAccountExists()
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dfile_operator.h31 bool IsExistFile(const std::string& path);
H A Dfile_operator.cpp96 if (!IsExistFile(realPath)) { in GetFileContentByPath()
112 bool FileOperator::IsExistFile(const std::string& path) in IsExistFile() function in OHOS::Security::DlpPermission::FileOperator
H A Dvisit_record_file_manager.cpp58 if (fileOperator_->IsExistFile(DLP_VISIT_RECORD_JSON_PATH)) { in Init()
H A Dretention_file_manager.cpp64 if (fileOperator_->IsExistFile(DLP_RETENTION_JSON_PATH)) { in Init()
/base/location/test/location_locator/source/
H A Dlocation_config_manager_test.cpp79 LocationConfigManager::GetInstance()->IsExistFile(GetLocationSwitchConfigPath())); in HWTEST_F()
117 LocationConfigManager::GetInstance()->IsExistFile("invalid_path")); in HWTEST_F()
122 LocationConfigManager::GetInstance()->IsExistFile("/wrongpath" + configPath)); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/unittest/common/account_file_operator_test/
H A Daccount_file_operator_test.cpp80 * @tc.desc: Test AccountFileOperator IsExistFile
86 EXPECT_EQ(osAccountFileOperator_.IsExistFile("/system/etc/account/osaccount_constraints.json"), true); in HWTEST_F()
87 EXPECT_EQ(osAccountFileOperator_.IsExistFile("/osaccount_constraints.json"), false); in HWTEST_F()
/base/startup/init/services/modules/init_eng/
H A Dinit_eng.c66 static bool IsExistFile(const char *file) in IsExistFile() function
134 if (!IsExistFile(targetFullPath)) { in BindMountFile()
/base/location/test/fuzztest/locator/locationconfigmanager_fuzzer/
H A Dlocationconfigmanager_fuzzer.cpp32 LocationConfigManager::GetInstance()->IsExistFile(fileName); in LocationConfigManagerFuzzerTest()
/base/account/os_account/frameworks/common/test/unittest/common_account_test/
H A Daccount_file_operator_test.cpp66 EXPECT_EQ(accountFileOperator_->IsExistFile(""), false); in HWTEST_F()
/base/location/services/location_locator/locator/source/
H A Dlocation_config_manager.cpp54 if (!IsExistFile(GetLocationSwitchConfigPath())) { in Init()
60 bool LocationConfigManager::IsExistFile(const std::string& filename) in IsExistFile() function in OHOS::Location::LocationConfigManager
76 LBSLOGD(LOCATOR, "IsExistFile = %{public}d", bExist ? 1 : 0); in IsExistFile()
139 if (!IsExistFile(GetLocationSwitchConfigPath())) { in GetLocationSwitchState()
243 if (!IsExistFile(GetLocationSwitchConfigPath())) { in SetLocationSwitchState()
/base/account/os_account/frameworks/common/file_operator/src/
H A Daccount_file_operator.cpp75 if (IsExistFile(path)) { in DeleteDirOrFile()
265 if (!IsExistFile(path)) { in GetFileContentByPath()
308 bool AccountFileOperator::IsExistFile(const std::string &path) in IsExistFile() function in OHOS::AccountSA::AccountFileOperator
349 return IsExistFile(path) && IsJsonFormat(path); in IsJsonFileReady()
/base/location/services/location_locator/locator/include/
H A Dlocation_config_manager.h55 bool IsExistFile(const std::string& filename);
/base/account/os_account/frameworks/common/file_operator/include/
H A Daccount_file_operator.h40 bool IsExistFile(const std::string &path);
/base/account/os_account/tools/acm/src/
H A Daccount_command.cpp691 static bool IsExistFile(const std::string &path) in IsExistFile() function
707 if (!IsExistFile(path)) { in GetDisallowedListByPath()
/base/account/os_account/services/accountmgr/src/
H A Dohos_account_data_deal.cpp137 if (!accountFileOperator_->IsExistFile(configFile)) { in Init()
325 if (!accountFileOperator_->IsExistFile(configFile)) { in GetAccountInfo()
/base/account/os_account/services/accountmgr/src/account_iam/
H A Dinner_account_iam_manager.cpp458 bool isExistFile = accountFileOperator->IsExistFile(path); in HandleFileKeyException()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_file.cpp420 static bool IsExistFile(const std::string& path) in IsExistFile() function
436 if (!IsExistFile(path)) { in GetFileContent()
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_permission_service_test.cpp365 bool result = fileOperator_->IsExistFile(""); in HWTEST_F()

Completed in 26 milliseconds