Home
last modified time | relevance | path

Searched refs:IsExistFile (Results 1 – 19 of 19) sorted by relevance

/base/location/services/location_locator/locator/source/
Dlocation_config_manager.cpp48 if (!IsExistFile(GetLocationSwitchConfigPath())) { in Init()
54 bool LocationConfigManager::IsExistFile(const std::string& filename) in IsExistFile() function in OHOS::Location::LocationConfigManager
133 if (!IsExistFile(GetLocationSwitchConfigPath())) { in GetLocationSwitchState()
194 if (!IsExistFile(GetLocationSwitchConfigPath())) { in SetLocationSwitchState()
225 if (!IsExistFile(GetPrivacyTypeConfigPath(type))) { in GetPrivacyTypeState()
259 if (!IsExistFile(GetPrivacyTypeConfigPath(type))) { in SetPrivacyTypeState()
/base/account/os_account/frameworks/common/file_operator/src/
Daccount_file_operator.cpp60 if (IsExistFile(path)) { in DeleteDirOrFile()
120 if (!IsExistFile(path)) { in GetFileContentByPath()
136 bool AccountFileOperator::IsExistFile(const std::string &path) in IsExistFile() function in OHOS::AccountSA::AccountFileOperator
167 return IsExistFile(path) && IsJsonFormat(path); in IsJsonFileReady()
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_file_operator.cpp37 if (accountFileOperator_->IsExistFile(Constants::OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in Init()
44 if (accountFileOperator_->IsExistFile(Constants::CONSTRAINTS_LIST_JSON_PATH)) { in Init()
84 if (accountFileOperator_->IsExistFile(Constants::BASE_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetBaseOAConstraintsList()
104 if (accountFileOperator_->IsExistFile(Constants::GLOBAL_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetGlobalOAConstraintsList()
125 if (accountFileOperator_->IsExistFile(Constants::SPECIFIC_OSACCOUNT_CONSTRAINTS_JSON_PATH)) { in GetSpecificOAConstraintsList()
Dos_account_control_file_manager.cpp228 if (!accountFileOperator_->IsExistFile(path)) { in GetOsAccountInfoById()
588 if (accountFileOperator_->IsExistFile(path) && accountFileOperator_->IsJsonFormat(path)) { in InsertOsAccount()
639 if (!accountFileOperator_->IsExistFile(path)) { in UpdateOsAccount()
1067 if (!accountFileOperator_->IsExistFile(path)) { in IsOsAccountExists()
/base/location/test/location_locator/source/
Dlocation_config_manager_test.cpp79 LocationConfigManager::GetInstance().IsExistFile(GetLocationSwitchConfigPath()));
122 LocationConfigManager::GetInstance().IsExistFile("invalid_path"));
127 LocationConfigManager::GetInstance().IsExistFile("/wrongpath" + configPath));
/base/account/os_account/services/accountmgr/test/unittest/common/account_file_operator_test/
Daccount_file_operator_test.cpp78 …EXPECT_EQ(osAccountFileOperator_.IsExistFile("/system/etc/account/osaccount_constraints.json"), tr…
79 EXPECT_EQ(osAccountFileOperator_.IsExistFile("/osaccount_constraints.json"), false);
/base/time/time_service/utils/native/include/
Dtime_file_utils.h27 static bool IsExistFile(const std::string &file);
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Dfile_operator.h31 bool IsExistFile(const std::string& path);
Dfile_operator.cpp90 if (!IsExistFile(path)) { in GetFileContentByPath()
106 bool FileOperator::IsExistFile(const std::string& path) in IsExistFile() function in OHOS::Security::DlpPermission::FileOperator
Dvisit_record_file_manager.cpp52 if (fileOperator_->IsExistFile(DLP_VISIT_RECORD_JSON_PATH)) { in Init()
Dretention_file_manager.cpp62 if (fileOperator_->IsExistFile(DLP_RETENTION_JSON_PATH)) { in Init()
/base/account/os_account/frameworks/common/test/unittest/common_account_test/
Daccount_file_operator_test.cpp59 EXPECT_EQ(accountFileOperator_->IsExistFile(""), false);
/base/account/os_account/frameworks/common/file_operator/include/
Daccount_file_operator.h35 bool IsExistFile(const std::string &path);
/base/startup/init/services/modules/init_eng/
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/
Dlocationconfigmanager_fuzzer.cpp32 LocationConfigManager::GetInstance().IsExistFile(fileName); in LocationConfigManagerFuzzerTest()
/base/location/services/location_locator/locator/include/
Dlocation_config_manager.h54 bool IsExistFile(const std::string& filename);
/base/time/time_service/utils/native/src/
Dtime_file_utils.cpp34 bool TimeFileUtils::IsExistFile(const std::string &file) in IsExistFile() function in OHOS::MiscServices::TimeFileUtils
/base/time/time_service/services/time/src/
Dtime_zone_info.cpp60 if (!TimeFileUtils::IsExistFile(std::string(TIMEZONE_PATH).append(timezoneId))) { in SetTimezone()
/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
Ddlp_permission_service_test.cpp340 bool result = fileOperator_->IsExistFile("");