/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/common/account_file_operator_test/ |
H A D | account_file_operator_test.cpp | 111 …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 D | retention_file_manager.cpp | 70 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 D | file_operator.h | 29 int32_t InputFileByPathAndContent(const std::string& path, const std::string& content);
|
H A D | visit_record_file_manager.cpp | 79 if (fileOperator_->InputFileByPathAndContent(DLP_VISIT_RECORD_JSON_PATH, jsonStr) != DLP_OK) { in UpdateFile()
|
H A D | file_operator.cpp | 41 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 D | os_account_control_file_manager.cpp | 139 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 D | account_file_operator_test.cpp | 69 EXPECT_NE(accountFileOperator_->InputFileByPathAndContent("/test1", "test"), ERR_OK);
|
/ohos5.0/base/account/os_account/frameworks/common/file_operator/include/ |
H A D | account_file_operator.h | 38 ErrCode InputFileByPathAndContent(const std::string &path, const std::string &content);
|
/ohos5.0/base/account/os_account/services/accountmgr/src/ |
H A D | ohos_account_data_deal.cpp | 207 …ErrCode ret = accountFileOperator_->InputFileByPathAndContent(avatarFile, accountInfo.ohosAccountI… in SaveAccountInfo() 216 ret = accountFileOperator_->InputFileByPathAndContent(configFile, accountInfoValue); in SaveAccountInfo()
|
H A D | account_file_watcher_manager.cpp | 421 …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 D | os_account_manager_service_module_test.cpp | 269 …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 D | account_file_operator.cpp | 210 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 D | os_account_control_file_manager_test.cpp | 730 EXPECT_EQ(ERR_OK, accountFileOperator->InputFileByPathAndContent(path, accountInfoStr));
|
/ohos5.0/base/account/os_account/services/accountmgr/src/account_iam/ |
H A D | inner_account_iam_manager.cpp | 102 ErrCode code = accountFileOperator->InputFileByPathAndContent(path, ""); in AddCredential()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
H A D | dlp_permission_service_test.cpp | 370 int32_t res = fileOperator_->InputFileByPathAndContent(TEST_URI, content);
|
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
H A D | os_account_manager_module_test.cpp | 551 …g_accountFileOperator->InputFileByPathAndContent(Constants::ACCOUNT_LIST_FILE_JSON_PATH, fileConte…
|