Home
last modified time | relevance | path

Searched refs:accountListJson (Results 1 – 5 of 5) sorted by relevance

/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_database_operator.cpp173 Json accountListJson; in GetCreatedOsAccountNumFromDatabase() local
174 ErrCode ret = GetAccountListFromStoreID(storeID, accountListJson); in GetCreatedOsAccountNumFromDatabase()
179 OHOS::AccountSA::GetDataByType<int>(accountListJson, accountListJson.end(), in GetCreatedOsAccountNumFromDatabase()
184 void OsAccountDatabaseOperator::UpdateOsAccountIDListInDatabase(const Json &accountListJson) in UpdateOsAccountIDListInDatabase() argument
186 if (SaveAccountListToDatabase(accountListJson) != ERR_OK) { in UpdateOsAccountIDListInDatabase()
196 Json accountListJson; in GetSerialNumberFromDatabase() local
197 ErrCode ret = GetAccountListFromStoreID(storeID, accountListJson); in GetSerialNumberFromDatabase()
203 OHOS::AccountSA::GetDataByType<int>(accountListJson, accountListJson.end(), in GetSerialNumberFromDatabase()
210 Json accountListJson; in GetMaxAllowCreateIdFromDatabase() local
211 ErrCode ret = GetAccountListFromStoreID(storeID, accountListJson); in GetMaxAllowCreateIdFromDatabase()
[all …]
Dos_account_control_file_manager.cpp198 Json accountListJson; in GetOsAccountList() local
199 ErrCode result = GetAccountListFromFile(accountListJson); in GetOsAccountList()
204 const auto &jsonObjectEnd = accountListJson.end(); in GetOsAccountList()
207accountListJson, jsonObjectEnd, Constants::ACCOUNT_LIST, idList, OHOS::AccountSA::JsonType::ARRAY); in GetOsAccountList()
551 Json accountListJson; in UpdateAccountList() local
552 ErrCode result = GetAccountListFromFile(accountListJson); in UpdateAccountList()
559 auto jsonEnd = accountListJson.end(); in UpdateAccountList()
561accountListJson, jsonEnd, Constants::ACCOUNT_LIST, accountIdList, OHOS::AccountSA::JsonType::ARRAY… in UpdateAccountList()
572 accountListJson[Constants::ACCOUNT_LIST] = accountIdList; in UpdateAccountList()
573 accountListJson[Constants::COUNT_ACCOUNT_NUM] = accountIdList.size(); in UpdateAccountList()
[all …]
/base/account/os_account/services/accountmgr/include/osaccount/
Dos_account_database_operator.h31 void UpdateOsAccountIDListInDatabase(const Json &accountListJson);
43 ErrCode GetAccountListFromStoreID(const std::string& storeID, Json &accountListJson);
44 ErrCode SaveAccountListToDatabase(const Json &accountListJson);
Dos_account_control_file_manager.h86 ErrCode GetAccountListFromFile(Json& accountListJson);
87 ErrCode SaveAccountListToFile(const Json& accountListJson);
88 ErrCode SaveAccountListToFileAndDataBase(const Json& accountListJson);
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
Ddlp_permission_serializer.cpp375 unordered_json accountListJson; in DeserializeDlpPermission() local
377 policyJson.at(ACCOUNT_INDEX).get_to(accountListJson); in DeserializeDlpPermission()
382 int32_t res = DeserializeAuthUserList(accountListJson, userList); in DeserializeDlpPermission()