Home
last modified time | relevance | path

Searched refs:InputFileByPathAndContent (Results 1 – 16 of 16) sorted by relevance

/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/common/account_file_operator_test/
H A Daccount_file_operator_test.cpp111 …EXPECT_EQ(osAccountFileOperator_.InputFileByPathAndContent(TEST_DIR_1 + "/" + TEST_FILE_1, "file")…
127 …EXPECT_EQ(osAccountFileOperator_.InputFileByPathAndContent(TEST_DIR_2 + "/" + TEST_FILE_1, "file")…
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
H A Dretention_file_manager.cpp70 if (fileOperator_->InputFileByPathAndContent(DLP_RETENTION_JSON_PATH, "") != DLP_OK) { in Init()
89 if (fileOperator_->InputFileByPathAndContent(DLP_RETENTION_JSON_PATH, jsonStr) != DLP_OK) { in UpdateFile()
H A Dfile_operator.h29 int32_t InputFileByPathAndContent(const std::string& path, const std::string& content);
H A Dvisit_record_file_manager.cpp79 if (fileOperator_->InputFileByPathAndContent(DLP_VISIT_RECORD_JSON_PATH, jsonStr) != DLP_OK) { in UpdateFile()
H A Dfile_operator.cpp41 int32_t FileOperator::InputFileByPathAndContent(const std::string& path, const std::string& content) in InputFileByPathAndContent() function in OHOS::Security::DlpPermission::FileOperator
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp139 ErrCode result = accountFileOperator_->InputFileByPathAndContent(fileName, recoverDataStr); in RecoverAccountData()
380 …result = accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INDEX_JSON_PATH, accou… in BuildAndSaveOsAccountIndexJsonFile()
397 …accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INFO_DIGEST_FILE_PATH, digestJs… in RecoverAccountInfoDigestJsonFile()
906 …result = accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INDEX_JSON_PATH, lastA… in UpdateAccountIndex()
950 …result = accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INDEX_JSON_PATH, lastA… in RemoveAccountIndex()
987 ErrCode result = accountFileOperator_->InputFileByPathAndContent(path, accountInfoStr); in InsertOsAccount()
1047 ErrCode result = accountFileOperator_->InputFileByPathAndContent(path, accountInfoStr); in UpdateOsAccount()
1442 ErrCode result = accountFileOperator_->InputFileByPathAndContent( in SaveBaseOAConstraintsToFile()
1456 ErrCode result = accountFileOperator_->InputFileByPathAndContent( in SaveGlobalOAConstraintsToFile()
1470 ErrCode result = accountFileOperator_->InputFileByPathAndContent( in SaveSpecificOAConstraintsToFile()
[all …]
/ohos5.0/base/account/os_account/frameworks/common/test/unittest/common_account_test/
H A Daccount_file_operator_test.cpp69 EXPECT_NE(accountFileOperator_->InputFileByPathAndContent("/test1", "test"), ERR_OK);
/ohos5.0/base/account/os_account/frameworks/common/file_operator/include/
H A Daccount_file_operator.h38 ErrCode InputFileByPathAndContent(const std::string &path, const std::string &content);
/ohos5.0/base/account/os_account/services/accountmgr/src/
H A Dohos_account_data_deal.cpp207 …ErrCode ret = accountFileOperator_->InputFileByPathAndContent(avatarFile, accountInfo.ohosAccountI… in SaveAccountInfo()
216 ret = accountFileOperator_->InputFileByPathAndContent(configFile, accountInfoValue); in SaveAccountInfo()
H A Daccount_file_watcher_manager.cpp421 …return accountFileOperator_->InputFileByPathAndContent(Constants::ACCOUNT_INFO_DIGEST_FILE_PATH, d… in AddAccountInfoDigest()
445 ErrCode result = accountFileOperator_->InputFileByPathAndContent( in DeleteAccountInfoDigest()
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp269 …g_accountFileOperator->InputFileByPathAndContent(Constants::ACCOUNT_LIST_FILE_JSON_PATH, fileConte…
2349 osAccountFileOperator.InputFileByPathAndContent(CONFIG_PATH, CONFIG_JSON_NORMAL);
2396 osAccountFileOperator.InputFileByPathAndContent(CONFIG_PATH, CONFIG_JSON_LAGER_LOGGED_IN_NUM);
2418 osAccountFileOperator.InputFileByPathAndContent(CONFIG_PATH, CONFIG_JSON_INVALID_FORMAT);
2442 osAccountFileOperator.InputFileByPathAndContent(CONFIG_PATH, CONFIG_JSON_INVALID_KEY_OR_VALUE);
2483 osAccountFileOperator.InputFileByPathAndContent(CONFIG_PATH, CONFIG_JSON_NORMAL);
/ohos5.0/base/account/os_account/frameworks/common/file_operator/src/
H A Daccount_file_operator.cpp210 ErrCode AccountFileOperator::InputFileByPathAndContent(const std::string &path, const std::string &… in InputFileByPathAndContent() function in OHOS::AccountSA::AccountFileOperator
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp730 EXPECT_EQ(ERR_OK, accountFileOperator->InputFileByPathAndContent(path, accountInfoStr));
/ohos5.0/base/account/os_account/services/accountmgr/src/account_iam/
H A Dinner_account_iam_manager.cpp102 ErrCode code = accountFileOperator->InputFileByPathAndContent(path, ""); in AddCredential()
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/
H A Ddlp_permission_service_test.cpp370 int32_t res = fileOperator_->InputFileByPathAndContent(TEST_URI, content);
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp551 …g_accountFileOperator->InputFileByPathAndContent(Constants::ACCOUNT_LIST_FILE_JSON_PATH, fileConte…