/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 | 34 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override; 36 …const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) over… 46 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override; 47 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override; 73 OsAccountInfo &osAccountInfo) override; 75 std::vector<OsAccountInfo> &osAccountList) override; 93 void StartBaseStandardAccount(OsAccountInfo &osAccountInfo); 99 const DomainAccountInfo &domainAccount, OsAccountInfo &osAccountInfo); 100 ErrCode SendMsgForAccountCreate(OsAccountInfo &osAccountInfo); 101 ErrCode SendMsgForAccountActivate(OsAccountInfo &osAccountInfo); [all …]
|
D | os_account_database_operator.h | 33 void UpdateOsAccountInDatabase(const OsAccountInfo &osAccountInfo); 34 void InsertOsAccountIntoDataBase(const OsAccountInfo &osAccountInfo); 40 …ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &osAccoun… 41 …ErrCode GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAcc…
|
D | os_account_manager_service.h | 32 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override; 34 …const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) over… 54 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override; 56 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) override; 57 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override; 97 const int id, OsAccountInfo &osAccountInfo) override; 99 std::vector<OsAccountInfo> &osAccountList) override; 111 const std::vector<OsAccountInfo> &osAccountInfos, std::vector<std::string> &state);
|
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 | iinner_os_account.h | 31 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0; 33 … const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) = 0; 43 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0; 44 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0; 70 OsAccountInfo &osAccountInfo) = 0; 72 std::vector<OsAccountInfo> &osAccountList) = 0;
|
D | os_account_control_file_manager.h | 35 ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) override; 36 ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) override; 38 ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) override; 40 ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) override; 58 const int id, OsAccountInfo& osAccountInfo) override; 60 std::vector<OsAccountInfo>& osAccountList) override;
|
/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 | 39 OsAccountInfo::OsAccountInfo() in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo 56 OsAccountInfo::OsAccountInfo(int localId, const std::string localName, OsAccountType type, int64_t … in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo 70 OsAccountInfo::OsAccountInfo(int localId, std::string localName, OsAccountType type, in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo 89 int OsAccountInfo::GetLocalId() const in GetLocalId() 94 void OsAccountInfo::SetLocalId(int localId) in SetLocalId() 99 std::string OsAccountInfo::GetLocalName() const in GetLocalName() 104 void OsAccountInfo::SetLocalName(const std::string localName) in SetLocalName() 109 OsAccountType OsAccountInfo::GetType() const in GetType() 114 void OsAccountInfo::SetType(OsAccountType type) in SetType() 119 std::vector<std::string> OsAccountInfo::GetConstraints() const in GetConstraints() [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); 124 OsAccountInfo *osAccountInfo = new (std::nothrow) OsAccountInfo(INT_ID, 147 OsAccountInfo osAccountInfo; 160 OsAccountInfo osAccountInfo; 174 OsAccountInfo osAccountInfo; 187 OsAccountInfo osAccountInfo; 201 OsAccountInfo osAccountInfo; 214 OsAccountInfo osAccountInfo; [all …]
|
/base/account/os_account/services/accountmgr/test/moduletest/os_account/ |
D | os_account_manager_service_module_test.cpp | 211 OsAccountInfo osAccountInfoOne; 214 OsAccountInfo osAccountInfoTwo; 230 OsAccountInfo osAccountInfoOne; 244 OsAccountInfo osAccountInfoOne; 270 OsAccountInfo osAccountInfoOne; 289 OsAccountInfo osAccountInfoOne; 309 OsAccountInfo osAccountInfoOne; 333 OsAccountInfo osAccountInfoOne; 411 OsAccountInfo osAccountInfoOne; 433 OsAccountInfo osAccountInfoOne; [all …]
|
/base/account/os_account/interfaces/innerkits/osaccount/native/include/ |
D | os_account_manager.h | 27 …e CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo… 29 … const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo); 45 static ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos); 46 static ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo); 47 static ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo); 74 OsAccountInfo &osAccountInfo); 76 std::vector<OsAccountInfo> &osAccountList);
|
D | os_account_info.h | 62 class OsAccountInfo : public IAccountInfo, public Parcelable { 64 OsAccountInfo(); 66 … OsAccountInfo(int localId, const std::string localName, OsAccountType type, int64_t serialNumber); 68 …OsAccountInfo(int localId, std::string localName, OsAccountType type, std::vector<std::string> con… 116 static OsAccountInfo *Unmarshalling(Parcel &parcel);
|
/base/account/os_account/frameworks/osaccount/core/include/ |
D | os_account.h | 28 …ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccou… 30 … const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo); 43 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos); 44 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo); 45 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo); 72 OsAccountInfo &osAccountInfo); 74 std::vector<OsAccountInfo> &osAccountList);
|
D | ios_account.h | 34 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0; 36 … const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) = 0; 51 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0; 52 virtual ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) = 0; 53 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0; 82 OsAccountInfo &osAccountInfo) = 0; 84 std::vector<OsAccountInfo> &osAccountList) = 0;
|
D | os_account_proxy.h | 30 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override; 32 …const OsAccountType &type, const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) over… 47 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override; 48 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) override; 49 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override; 78 OsAccountInfo &osAccountInfo) override; 80 std::vector<OsAccountInfo> &osAccountList) override;
|
/base/account/os_account/frameworks/osaccount/native/test/moduletest/ |
D | os_account_manager_module_test.cpp | 218 OsAccountInfo osAccountInfoOne; 220 OsAccountInfo osAccountInfoTwo; 235 OsAccountInfo osAccountInfoOne; 248 OsAccountInfo osAccountInfoOne; 260 OsAccountInfo osAccountInfoOne; 262 OsAccountInfo osAccountInfoTwo; 277 OsAccountInfo osAccountInfoOne; 279 OsAccountInfo osAccountInfoTwo; 302 OsAccountInfo osAccountInfoOne; 326 OsAccountInfo osAccountInfoOne; [all …]
|
/base/account/os_account/services/accountmgr/src/osaccount/ |
D | os_account_interface.cpp | 51 ErrCode OsAccountInterface::SendToAMSAccountStart(OsAccountInfo &osAccountInfo) in SendToAMSAccountStart() 68 ErrCode OsAccountInterface::SendToAMSAccountStop(OsAccountInfo &osAccountInfo) in SendToAMSAccountStop() 109 ErrCode OsAccountInterface::SendToBMSAccountCreate(OsAccountInfo &osAccountInfo) in SendToBMSAccountCreate() 114 ErrCode OsAccountInterface::SendToBMSAccountDelete(OsAccountInfo &osAccountInfo) in SendToBMSAccountDelete() 120 ErrCode OsAccountInterface::SendToIDMAccountDelete(OsAccountInfo &osAccountInfo) in SendToIDMAccountDelete() 163 void OsAccountInterface::SendToCESAccountCreate(OsAccountInfo &osAccountInfo) in SendToCESAccountCreate() 185 void OsAccountInterface::SendToCESAccountDelete(OsAccountInfo &osAccountInfo) in SendToCESAccountDelete() 208 … const OsAccountInfo &osAccountInfo, const std::string &commonEvent, const std::string &operation) in PublishCommonEvent() 230 void OsAccountInterface::SendToCESAccountSwitched(OsAccountInfo &osAccountInfo) in SendToCESAccountSwitched() 252 ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountInfo) in SendToStorageAccountCreate() [all …]
|
D | inner_os_account_manager.cpp | 60 OsAccountInfo osAccountInfo( in CreateBaseAdminAccount() 80 OsAccountInfo osAccountInfo( in CreateBaseStandardAccount() 103 OsAccountInfo osAccountInfo; in StartAccount() 126 std::vector<OsAccountInfo> osAccountInfos; in RestartActiveAccount() 143 OsAccountInfo osAccountInfo; in StartActivatedAccount() 173 OsAccountInfo osAccountInfo; in CreateBaseStandardAccountSendToOther() 217 std::vector<OsAccountInfo> osAccountInfos; in ResetAccountStatus() 230 void IInnerOsAccountManager::StartBaseStandardAccount(OsAccountInfo &osAccountInfo) in StartBaseStandardAccount() 273 const DomainAccountInfo &domainInfo, OsAccountInfo &osAccountInfo) in PrepareOsAccountInfo() 294 osAccountInfo = OsAccountInfo(id, name, type, serialNumber); in PrepareOsAccountInfo() [all …]
|
/base/account/os_account/services/accountmgr/test/unittest/os_account/ |
D | os_account_control_file_manager_test.cpp | 117 std::vector<OsAccountInfo> osAccountInfos; 131 OsAccountInfo osAccountInfo; 144 OsAccountInfo osAccountInfo; 256 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 272 OsAccountInfo osAccountInfo( 286 OsAccountInfo osAccountInfo( 302 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 304 OsAccountInfo osAccountInfoTwo; 344 …OsAccountInfo osAccountInfo(id, STRING_TEST_USER_NAME, OS_ACCOUNT_TYPE, STRING_TEST_USER_SHELLNUMB… 348 OsAccountInfo osAccountInfoTwo; [all …]
|
/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_;
|
/base/account/os_account/frameworks/osaccount/core/ |
D | libos_account_core.map | 19 …allocator<char> > const&, OHOS::AccountSA::OsAccountType const&, OHOS::AccountSA::OsAccountInfo&)"; 20 …allocator<char> > const&, OHOS::AccountSA::OsAccountType const&, OHOS::AccountSA::OsAccountInfo&)"; 23 …OsAccountType const&, OHOS::AccountSA::DomainAccountInfo const&, OHOS::AccountSA::OsAccountInfo&)"; 36 …__1::char_traits<char>, std::__1::allocator<char> > const&, int, OHOS::AccountSA::OsAccountInfo&)"; 37 …__h::char_traits<char>, std::__h::allocator<char> > const&, int, OHOS::AccountSA::OsAccountInfo&)"; 38 …> const&, std::__1::vector<OHOS::AccountSA::OsAccountInfo, std::__1::allocator<OHOS::AccountSA::Os… 39 …> const&, std::__h::vector<OHOS::AccountSA::OsAccountInfo, std::__h::allocator<OHOS::AccountSA::Os… 68 …sAccounts(std::__1::vector<OHOS::AccountSA::OsAccountInfo, std::__1::allocator<OHOS::AccountSA::Os… 69 …sAccounts(std::__h::vector<OHOS::AccountSA::OsAccountInfo, std::__h::allocator<OHOS::AccountSA::Os… 70 "OHOS::AccountSA::OsAccount::QueryCurrentOsAccount(OHOS::AccountSA::OsAccountInfo&)"; [all …]
|
/base/account/os_account/tools/test/moduletest/acm/ |
D | account_command_util.cpp | 48 std::vector<OsAccountInfo> osAccounts; in DeleteLastOsAccount() 68 std::vector<OsAccountInfo> osAccounts; in DumpLastOsAccount() 89 std::vector<OsAccountInfo> osAccounts; in SwitchToFirstOsAccount() 110 std::vector<OsAccountInfo> osAccounts; in SwitchToLastOsAccount()
|