/base/account/os_account/services/accountmgr/include/osaccount/ |
D | os_account_interface.h | 27 static ErrCode SendToAMSAccountStart(OsAccountInfo &osAccountInfo); 28 static ErrCode SendToAMSAccountStop(OsAccountInfo &osAccountInfo); 29 static ErrCode SendToBMSAccountCreate(OsAccountInfo &osAccountInfo); 30 static ErrCode SendToBMSAccountDelete(OsAccountInfo &osAccountInfo); 32 static ErrCode SendToIDMAccountDelete(OsAccountInfo &osAccountInfo); 34 static void SendToCESAccountCreate(OsAccountInfo &osAccountInfo); 35 static void SendToCESAccountDelete(OsAccountInfo &osAccountInfo); 36 static void SendToCESAccountSwitched(OsAccountInfo &osAccountInfo); 37 static ErrCode SendToStorageAccountCreate(OsAccountInfo &osAccountInfo); 38 static ErrCode SendToStorageAccountRemove(OsAccountInfo &osAccountInfo); [all …]
|
D | iinner_os_account_manager.h | 35 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override; 47 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override; 48 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override; 75 OsAccountInfo &osAccountInfo) override; 77 std::vector<OsAccountInfo> &osAccountList) override; 92 ErrCode SendMsgForAccountCreate(OsAccountInfo &osAccountInfo); 93 ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo); 106 const int id, OsAccountInfo &osAccountInfo, const DomainAccountInfo &domainAccountInfo); 109 const DomainAccountInfo &domainAccount, OsAccountInfo &osAccountInfo); 110 ErrCode SendMsgForAccountActivate(OsAccountInfo &osAccountInfo); [all …]
|
D | os_account_database_operator.h | 32 void UpdateOsAccountInDatabase(const OsAccountInfo &osAccountInfo); 33 void InsertOsAccountIntoDataBase(const OsAccountInfo &osAccountInfo); 39 …ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &osAccoun… 40 …ErrCode GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAcc…
|
D | ios_account_control.h | 24 virtual ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) = 0; 25 virtual ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) = 0; 27 virtual ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) = 0; 29 virtual ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) = 0; 47 const int id, OsAccountInfo &osAccountInfo) = 0; 49 std::vector<OsAccountInfo> &osAccountList) = 0;
|
D | os_account_manager_service.h | 33 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override; 55 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override; 57 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) override; 58 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override; 98 const int id, OsAccountInfo &osAccountInfo) override; 100 std::vector<OsAccountInfo> &osAccountList) override; 115 const std::vector<OsAccountInfo> &osAccountInfos, std::vector<std::string> &state);
|
D | iinner_os_account.h | 32 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0; 44 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0; 45 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0; 72 OsAccountInfo &osAccountInfo) = 0; 74 std::vector<OsAccountInfo> &osAccountList) = 0;
|
/base/account/os_account/services/accountmgr/test/mock/os_account/ |
D | os_account_interface.h | 24 static ErrCode SendToAMSAccountStart(OsAccountInfo &osAccountInfo); 25 static ErrCode SendToAMSAccountStop(OsAccountInfo &osAccountInfo); 26 static ErrCode SendToBMSAccountCreate(OsAccountInfo &osAccountInfo); 27 static ErrCode SendToBMSAccountDelete(OsAccountInfo &osAccountInfo); 29 static ErrCode SendToIDMAccountDelete(OsAccountInfo &osAccountInfo); 31 static void SendToCESAccountCreate(OsAccountInfo &osAccountInfo); 32 static void SendToCESAccountDelete(OsAccountInfo &osAccountInfo); 33 static void SendToCESAccountSwitched(OsAccountInfo &osAccountInfo); 34 static ErrCode SendToStorageAccountCreate(OsAccountInfo &osAccountInfo); 35 static ErrCode SendToStorageAccountRemove(OsAccountInfo &osAccountInfo); [all …]
|
D | os_account_interface.cpp | 20 ErrCode OsAccountInterface::SendToAMSAccountStart(OsAccountInfo &osAccountInfo) in SendToAMSAccountStart() 26 ErrCode OsAccountInterface::SendToAMSAccountStop(OsAccountInfo &osAccountInfo) in SendToAMSAccountStop() 32 ErrCode OsAccountInterface::SendToBMSAccountCreate(OsAccountInfo &osAccountInfo) in SendToBMSAccountCreate() 38 ErrCode OsAccountInterface::SendToBMSAccountDelete(OsAccountInfo &osAccountInfo) in SendToBMSAccountDelete() 45 ErrCode OsAccountInterface::SendToIDMAccountDelete(OsAccountInfo &osAccountInfo) in SendToIDMAccountDelete() 52 void OsAccountInterface::SendToCESAccountCreate(OsAccountInfo &osAccountInfo) in SendToCESAccountCreate() 57 void OsAccountInterface::SendToCESAccountDelete(OsAccountInfo &osAccountInfo) in SendToCESAccountDelete() 62 void OsAccountInterface::SendToCESAccountSwitched(OsAccountInfo &osAccountInfo) in SendToCESAccountSwitched() 67 ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountInfo) in SendToStorageAccountCreate() 73 ErrCode OsAccountInterface::SendToStorageAccountRemove(OsAccountInfo &osAccountInfo) in SendToStorageAccountRemove() [all …]
|
/base/account/os_account/frameworks/osaccount/native/src/ |
D | os_account_info.cpp | 44 OsAccountInfo::OsAccountInfo() in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo 62 OsAccountInfo::OsAccountInfo(int localId, const std::string localName, OsAccountType type, int64_t … in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo 77 int OsAccountInfo::GetLocalId() const in GetLocalId() 82 void OsAccountInfo::SetLocalId(int localId) in SetLocalId() 87 std::string OsAccountInfo::GetLocalName() const in GetLocalName() 92 void OsAccountInfo::SetLocalName(const std::string localName) in SetLocalName() 97 OsAccountType OsAccountInfo::GetType() const in GetType() 102 void OsAccountInfo::SetType(OsAccountType type) in SetType() 107 std::vector<std::string> OsAccountInfo::GetConstraints() const in GetConstraints() 112 void OsAccountInfo::SetConstraints(const std::vector<std::string> constraints) in SetConstraints() [all …]
|
/base/account/os_account/frameworks/osaccount/native/test/unittest/ |
D | os_account_info_test.cpp | 97 OsAccountInfo *osAccountInfo = new (std::nothrow) OsAccountInfo(); 110 OsAccountInfo *osAccountInfo = 111 new (std::nothrow) OsAccountInfo(INT_ID, STRING_NAME, INT_TYPE, STRING_SERIAL_NUMBER); 125 OsAccountInfo osAccountInfo; 138 OsAccountInfo osAccountInfo; 152 OsAccountInfo osAccountInfo; 165 OsAccountInfo osAccountInfo; 179 OsAccountInfo osAccountInfo; 192 OsAccountInfo osAccountInfo; 206 OsAccountInfo osAccountInfo; [all …]
|
/base/account/os_account/frameworks/osaccount/native/ |
D | libos_account_innerkits.map | 17 "VTT for OHOS::AccountSA::OsAccountInfo"; 19 "vtable for OHOS::AccountSA::OsAccountInfo"; 23 …:allocator<char>> const&, OHOS::AccountSA::OsAccountType const&, OHOS::AccountSA::OsAccountInfo&)"; 36 …sAccounts(std::__h::vector<OHOS::AccountSA::OsAccountInfo, std::__h::allocator<OHOS::AccountSA::Os… 37 "OHOS::AccountSA::OsAccount::QueryCurrentOsAccount(OHOS::AccountSA::OsAccountInfo&)"; 38 "OHOS::AccountSA::OsAccount::QueryOsAccountById(int, OHOS::AccountSA::OsAccountInfo&)"; 64 …:__h::char_traits<char>, std::__h::allocator<char>> const&, int, OHOS::AccountSA::OsAccountInfo&)"; 65 …> const&, std::__h::vector<OHOS::AccountSA::OsAccountInfo, std::__h::allocator<OHOS::AccountSA::Os… 77 …:allocator<char>> const&, OHOS::AccountSA::OsAccountType const&, OHOS::AccountSA::OsAccountInfo&)"; 78 …OsAccountType const&, OHOS::AccountSA::DomainAccountInfo const&, OHOS::AccountSA::OsAccountInfo&)"; [all …]
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
D | inner_os_account_manager_test.cpp | 59 OsAccountInfo osAccountInfo; 72 OsAccountInfo osAccountInfo; 85 OsAccountInfo osAccountInfo; 101 OsAccountInfo osAccountInfo;
|
D | os_account_manager_service_module_test.cpp | 210 OsAccountInfo osAccountInfoOne; 213 OsAccountInfo osAccountInfoTwo; 229 OsAccountInfo osAccountInfoOne; 243 OsAccountInfo osAccountInfoOne; 269 OsAccountInfo osAccountInfoOne; 288 OsAccountInfo osAccountInfoOne; 308 OsAccountInfo osAccountInfoOne; 332 OsAccountInfo osAccountInfoOne; 410 OsAccountInfo osAccountInfoOne; 432 OsAccountInfo osAccountInfoOne; [all …]
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | inner_os_account_manager.cpp | 70 OsAccountInfo osAccountInfo( in CreateBaseAdminAccount() 90 OsAccountInfo osAccountInfo( in CreateBaseStandardAccount() 112 OsAccountInfo osAccountInfo; in StartAccount() 145 std::vector<OsAccountInfo> osAccountInfos; in RestartActiveAccount() 150 OsAccountInfo osAccountInfo = osAccountInfos[i]; in RestartActiveAccount() 164 std::vector<OsAccountInfo> osAccountInfos; in ResetAccountStatus() 178 const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) in PrepareOsAccountInfo() 199 osAccountInfo = OsAccountInfo(id, name, type, serialNumber); in PrepareOsAccountInfo() 222 ErrCode IInnerOsAccountManager::SendMsgForAccountCreate(OsAccountInfo &osAccountInfo) in SendMsgForAccountCreate() 253 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) in CreateOsAccount() [all …]
|
D | os_account_interface.cpp | 56 ErrCode OsAccountInterface::SendToAMSAccountStart(OsAccountInfo &osAccountInfo) in SendToAMSAccountStart() 73 ErrCode OsAccountInterface::SendToAMSAccountStop(OsAccountInfo &osAccountInfo) in SendToAMSAccountStop() 114 ErrCode OsAccountInterface::SendToBMSAccountCreate(OsAccountInfo &osAccountInfo) in SendToBMSAccountCreate() 119 ErrCode OsAccountInterface::SendToBMSAccountDelete(OsAccountInfo &osAccountInfo) in SendToBMSAccountDelete() 125 ErrCode OsAccountInterface::SendToIDMAccountDelete(OsAccountInfo &osAccountInfo) in SendToIDMAccountDelete() 168 void OsAccountInterface::SendToCESAccountCreate(OsAccountInfo &osAccountInfo) in SendToCESAccountCreate() 190 void OsAccountInterface::SendToCESAccountDelete(OsAccountInfo &osAccountInfo) in SendToCESAccountDelete() 213 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation) in PublishCommonEvent() 235 void OsAccountInterface::SendToCESAccountSwitched(OsAccountInfo &osAccountInfo) in SendToCESAccountSwitched() 257 ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountInfo) in SendToStorageAccountCreate() [all …]
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 297 OsAccountInfo osAccountInfoOne; 299 OsAccountInfo osAccountInfoTwo; 314 OsAccountInfo osAccountInfoOne; 327 OsAccountInfo osAccountInfoOne; 339 OsAccountInfo osAccountInfoOne; 341 OsAccountInfo osAccountInfoTwo; 356 OsAccountInfo osAccountInfoOne; 358 OsAccountInfo osAccountInfoTwo; 381 OsAccountInfo osAccountInfoOne; 405 OsAccountInfo osAccountInfoOne; [all …]
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
D | os_account_manager.h | 58 …e CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo… 193 static ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos); 201 static ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo); 210 static ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo); 414 …static ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &o… 422 … GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountLis…
|
D | os_account_info.h | 43 class OsAccountInfo : public IAccountInfo, public Parcelable { 45 OsAccountInfo(); 47 … OsAccountInfo(int localId, const std::string localName, OsAccountType type, int64_t serialNumber); 93 static OsAccountInfo *Unmarshalling(Parcel &parcel);
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/ |
D | mock_os_account_control_file_manager.h | 33 MOCK_METHOD1(GetOsAccountList, ErrCode(std::vector<OsAccountInfo> &osAccountList)); 35 MOCK_METHOD2(GetOsAccountInfoById, ErrCode(const int id, OsAccountInfo &osAccountInfo)); 38 MOCK_METHOD1(InsertOsAccount, ErrCode(OsAccountInfo &osAccountInfo)); 41 MOCK_METHOD1(UpdateOsAccount, ErrCode(OsAccountInfo &osAccountInfo));
|
/base/account/os_account/frameworks/domain_account/test/moduletest/include/ |
D | mock_domain_auth_callback.h | 35 void SetOsAccountInfo(const OsAccountInfo &info); 39 OsAccountInfo accountInfo_;
|
D | mock_domain_auth_callback_for_listener.h | 37 void SetOsAccountInfo(const OsAccountInfo &info); 44 OsAccountInfo accountInfo_;
|
/base/account/os_account/frameworks/osaccount/core/include/ |
D | os_account.h | 29 …ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccou… 44 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos); 45 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo); 46 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo); 73 OsAccountInfo &osAccountInfo); 75 std::vector<OsAccountInfo> &osAccountList);
|
D | ios_account.h | 36 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0; 53 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0; 54 virtual ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) = 0; 55 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0; 84 OsAccountInfo &osAccountInfo) = 0; 86 std::vector<OsAccountInfo> &osAccountList) = 0;
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
D | os_account_control_file_manager_test.cpp | 119 std::vector<OsAccountInfo> osAccountInfos; 133 OsAccountInfo osAccountInfo; 146 OsAccountInfo osAccountInfo; 258 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 274 OsAccountInfo osAccountInfo( 288 OsAccountInfo osAccountInfo( 304 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 306 OsAccountInfo osAccountInfoTwo; 346 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 350 OsAccountInfo osAccountInfoTwo; [all …]
|
/base/account/os_account/frameworks/osaccount/core/ |
D | libos_account_core.map | 17 "OHOS::AccountSA::OsAccountInfo::OsAccountInfo()"; 18 …:allocator<char>> const&, OHOS::AccountSA::OsAccountType const&, OHOS::AccountSA::OsAccountInfo&)"; 25 "VTT for OHOS::AccountSA::OsAccountInfo";
|