/base/account/os_account/frameworks/common/database/include/ |
D | iaccount_info.h | 34 enum class JsonType { enum 45 dataType &data, const JsonType jsonType) in GetDataByType() 49 case JsonType::BOOLEAN: in GetDataByType() 55 case JsonType::NUMBER: in GetDataByType() 61 case JsonType::OBJECT: in GetDataByType() 67 case JsonType::ARRAY: in GetDataByType() 73 case JsonType::STRING: in GetDataByType() 79 case JsonType::NULLABLE: in GetDataByType()
|
/base/account/os_account/frameworks/osaccount/native/src/ |
D | os_account_info.cpp | 253 jsonObject, jsonObjectEnd, LOCAL_ID, localId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson() 255 jsonObject, jsonObjectEnd, LOCAL_NAME, localName_, OHOS::AccountSA::JsonType::STRING); in FromJson() 257 jsonObject, jsonObjectEnd, TYPE, type_, OHOS::AccountSA::JsonType::NUMBER); in FromJson() 259 jsonObject, jsonObjectEnd, CONSTRAINTS, constraints_, OHOS::AccountSA::JsonType::ARRAY); in FromJson() 261 …jsonObject, jsonObjectEnd, IS_OS_ACCOUNT_VERIFIED, isVerified_, OHOS::AccountSA::JsonType::BOOLEAN… in FromJson() 263 jsonObject, jsonObjectEnd, PHOTO, photo_, OHOS::AccountSA::JsonType::STRING); in FromJson() 265 jsonObject, jsonObjectEnd, CREATE_TIME, createTime_, OHOS::AccountSA::JsonType::NUMBER); in FromJson() 267 …jsonObject, jsonObjectEnd, LAST_LOGGED_IN_TIME, lastLoginTime_, OHOS::AccountSA::JsonType::NUMBER); in FromJson() 269 jsonObject, jsonObjectEnd, SERIAL_NUMBER, serialNumber_, OHOS::AccountSA::JsonType::NUMBER); in FromJson() 271 jsonObject, jsonObjectEnd, IS_ACTIVATED, isActivated_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson() [all …]
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_file_operator.cpp | 52 OHOS::AccountSA::JsonType::ARRAY); in Init() 64 …nfig_, constraintsConfig_.end(), Constants::TYPE_LIST, typeList, OHOS::AccountSA::JsonType::ARRAY); in GetConstraintsByType() 74 OHOS::AccountSA::JsonType::OBJECT); in GetConstraintsByType() 77 … typeJson, typeJson.end(), std::to_string(type), constraints, OHOS::AccountSA::JsonType::ARRAY); in GetConstraintsByType() 98 OHOS::AccountSA::JsonType::ARRAY); in GetBaseOAConstraintsList() 119 OHOS::AccountSA::JsonType::ARRAY); in GetGlobalOAConstraintsList() 141 OHOS::AccountSA::JsonType::OBJECT); in GetSpecificOAConstraintsList() 146 OHOS::AccountSA::JsonType::ARRAY); in GetSpecificOAConstraintsList() 160 OHOS::AccountSA::JsonType::BOOLEAN); in GetIsMultiOsAccountEnable() 174 OHOS::AccountSA::JsonType::BOOLEAN); in IsAllowedCreateAdmin()
|
D | os_account_control_file_manager.cpp | 207 …accountListJson, jsonObjectEnd, Constants::ACCOUNT_LIST, idList, OHOS::AccountSA::JsonType::ARRAY); in GetOsAccountList() 268 … baseOAConstraintsJson, jsonEnd, idStr, baseOAConstraints, OHOS::AccountSA::JsonType::ARRAY); in UpdateBaseOAConstraints() 302 … Constants::ALL_GLOBAL_CONSTRAINTS, globalOAConstraintsList, OHOS::AccountSA::JsonType::ARRAY); in GlobalConstraintsDataOperate() 312 … globalOAConstraintsJson.end(), *it, constraintSourceList, OHOS::AccountSA::JsonType::ARRAY); in GlobalConstraintsDataOperate() 329 … globalOAConstraintsJson.end(), *it, constraintSourceList, OHOS::AccountSA::JsonType::ARRAY); in GlobalConstraintsDataOperate() 379 specificOAConstraintsList, OHOS::AccountSA::JsonType::ARRAY); in SpecificConstraintsDataOperate() 388 …userPrivateConstraintsDataJson.end(), *it, constraintSourceList, OHOS::AccountSA::JsonType::ARRAY); in SpecificConstraintsDataOperate() 405 …userPrivateConstraintsDataJson.end(), *it, constraintSourceList, OHOS::AccountSA::JsonType::ARRAY); in SpecificConstraintsDataOperate() 477 OHOS::AccountSA::JsonType::ARRAY); in RemoveOAGlobalConstraintsInfo() 485 OHOS::AccountSA::JsonType::ARRAY); in RemoveOAGlobalConstraintsInfo() [all …]
|
D | os_account_database_operator.cpp | 180 Constants::COUNT_ACCOUNT_NUM, createdOsAccountNum, OHOS::AccountSA::JsonType::NUMBER); in GetCreatedOsAccountNumFromDatabase() 204 Constants::SERIAL_NUMBER_NUM, serialNumber, OHOS::AccountSA::JsonType::NUMBER); in GetSerialNumberFromDatabase() 218 Constants::MAX_ALLOW_CREATE_ACCOUNT_ID, id, OHOS::AccountSA::JsonType::NUMBER); in GetMaxAllowCreateIdFromDatabase()
|
/base/account/os_account/frameworks/appaccount/native/src/ |
D | app_account_info.cpp | 537 jsonObject, jsonObjectEnd, OWNER, owner_, OHOS::AccountSA::JsonType::STRING); in FromJson() 539 jsonObject, jsonObjectEnd, NAME, name_, OHOS::AccountSA::JsonType::STRING); in FromJson() 541 jsonObject, jsonObjectEnd, EXTRA_INFO, extraInfo_, OHOS::AccountSA::JsonType::STRING); in FromJson() 543 jsonObject, jsonObjectEnd, SYNC_ENABLE, syncEnable_, OHOS::AccountSA::JsonType::BOOLEAN); in FromJson() 545 … jsonObject, jsonObjectEnd, AUTHORIZED_APPS, authorizedApps_, OHOS::AccountSA::JsonType::ARRAY); in FromJson() 547 … jsonObject, jsonObjectEnd, ASSOCIATED_DATA, associatedData_, OHOS::AccountSA::JsonType::STRING); in FromJson() 549 …nObject, jsonObjectEnd, ACCOUNT_CREDENTIAL, accountCredential_, OHOS::AccountSA::JsonType::STRING); in FromJson()
|