Home
last modified time | relevance | path

Searched refs:accountInfoStr (Results 1 - 7 of 7) sorted by relevance

/base/account/os_account/services/accountmgr/src/
H A Daccount_data_storage.cpp134 std::string accountInfoStr = iAccountInfo.ToString(); in AddAccountInfo() local
135 if (accountInfoStr.empty()) { in AddAccountInfo()
139 return PutValueToKvStore(iAccountInfo.GetPrimeKey(), accountInfoStr); in AddAccountInfo()
149 std::string accountInfoStr = iAccountInfo.ToString(); in SaveAccountInfo() local
150 if (accountInfoStr.empty()) { in SaveAccountInfo()
154 return PutValueToKvStore(iAccountInfo.GetPrimeKey(), accountInfoStr); in SaveAccountInfo()
H A Daccount_file_watcher_manager.cpp377 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr) in GenerateAccountInfoDigestStr()
382 GenerateAccountInfoDigest(accountInfoStr, digestOutData, ALG_COMMON_SIZE); in GenerateAccountInfoDigestStr()
376 GenerateAccountInfoDigestStr( const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr) GenerateAccountInfoDigestStr() argument
/base/account/os_account/services/accountmgr/include/
H A Daccount_file_watcher_manager.h63 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
H A Dohos_account_data_deal.h52 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_control_file_manager.cpp542 std::string accountInfoStr; in GetOsAccountInfoById() local
543 if (accountFileOperator_->GetFileContentByPath(path, accountInfoStr) != ERR_OK) { in GetOsAccountInfoById()
547 Json osAccountInfoJson = Json::parse(accountInfoStr, nullptr, false); in GetOsAccountInfoById()
967 std::string accountInfoStr = osAccountInfo.ToString(); in InsertOsAccount() local
968 if (accountInfoStr.empty()) { in InsertOsAccount()
980 ErrCode result = accountFileOperator_->InputFileByPathAndContent(path, accountInfoStr); in InsertOsAccount()
990 accountFileWatcherMgr_.AddAccountInfoDigest(accountInfoStr, path); in InsertOsAccount()
1034 std::string accountInfoStr = osAccountInfo.ToString(); in UpdateOsAccount() local
1035 if (accountInfoStr.empty()) { in UpdateOsAccount()
1040 ErrCode result = accountFileOperator_->InputFileByPathAndContent(path, accountInfoStr); in UpdateOsAccount()
[all...]
/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp732 std::string accountInfoStr = "123"; in HWTEST_F() local
733 EXPECT_EQ(ERR_OK, accountFileOperator->InputFileByPathAndContent(path, accountInfoStr)); in HWTEST_F()
736 EXPECT_EQ(accountInfoStr, content); in HWTEST_F()
/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_control_file_manager.h91 const std::string &userInfoPath, const std::string &accountInfoStr, std::string &digestStr);

Completed in 6 milliseconds