Home
last modified time | relevance | path

Searched refs:OsAccountInfo (Results 1 – 25 of 154) sorted by relevance

1234567

/ohos5.0/base/account/os_account/frameworks/osaccount/native/src/
H A Dos_account_info.cpp51 OsAccountInfo::OsAccountInfo() in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo
54 OsAccountInfo::OsAccountInfo(int localId, const std::string localName, OsAccountType type, int64_t … in OsAccountInfo() function in OHOS::AccountSA::OsAccountInfo
63 int OsAccountInfo::GetLocalId() const in GetLocalId()
68 void OsAccountInfo::SetLocalId(int localId) in SetLocalId()
113 bool OsAccountInfo::GetIsVerified() const in GetIsVerified()
163 bool OsAccountInfo::GetIsLoggedIn() const in GetIsLoggedIn()
202 bool OsAccountInfo::GetIsActived() const in GetIsActived()
242 Json OsAccountInfo::ToJson() const in ToJson()
275 OsAccountInfo *OsAccountInfo::Unmarshalling(Parcel &parcel) in Unmarshalling()
277 OsAccountInfo *osAccountInfo = new (std::nothrow) OsAccountInfo(); in Unmarshalling()
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/include/osaccount/
H A Dos_account_interface.h33 static ErrCode SendToAMSAccountStart(OsAccountInfo &osAccountInfo,
35 static ErrCode SendToAMSAccountStop(OsAccountInfo &osAccountInfo);
36 static ErrCode SendToAMSAccountDeactivate(OsAccountInfo &osAccountInfo);
42 static ErrCode SendToBMSAccountDelete(OsAccountInfo &osAccountInfo);
44 static ErrCode SendToIDMAccountDelete(OsAccountInfo &osAccountInfo);
46 static void SendToCESAccountCreate(OsAccountInfo &osAccountInfo);
47 static void SendToCESAccountDelete(OsAccountInfo &osAccountInfo);
50 static ErrCode SendToStorageAccountCreate(OsAccountInfo &osAccountInfo);
51 static ErrCode SendToStorageAccountRemove(OsAccountInfo &osAccountInfo);
52 static ErrCode SendToStorageAccountStart(OsAccountInfo &osAccountInfo);
[all …]
H A Diinner_os_account_manager.h40 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
42 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
90 OsAccountInfo &osAccountInfo) override;
92 std::vector<OsAccountInfo> &osAccountList) override;
136 ErrCode DeactivateOsAccountByInfo(OsAccountInfo &osAccountInfo);
146 ErrCode SendToStorageAccountStart(OsAccountInfo &osAccountInfo);
149 ErrCode SendMsgForAccountStop(OsAccountInfo &osAccountInfo);
150 ErrCode SendMsgForAccountRemove(OsAccountInfo &osAccountInfo);
151 ErrCode ValidateOsAccount(const OsAccountInfo &osAccountInfo);
165 void RetryToGetAccount(OsAccountInfo &osAccountInfo);
[all …]
H A Dos_account_manager_service.h35 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override;
37 …const OsAccountType &type, OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {…
41 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
43 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
66 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override;
68 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) override;
69 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override;
110 const int id, OsAccountInfo &osAccountInfo) override;
112 std::vector<OsAccountInfo> &osAccountList) override;
136 const std::vector<OsAccountInfo> &osAccountInfos, std::vector<std::string> &state);
H A Dios_account_control.h31 virtual ErrCode GetOsAccountList(std::vector<OsAccountInfo> &osAccountList) = 0;
33 virtual ErrCode GetOsAccountInfoById(const int id, OsAccountInfo &osAccountInfo) = 0;
35 virtual ErrCode InsertOsAccount(OsAccountInfo &osAccountInfo) = 0;
37 virtual ErrCode UpdateOsAccount(OsAccountInfo &osAccountInfo) = 0;
55 const int id, OsAccountInfo &osAccountInfo) = 0;
57 std::vector<OsAccountInfo> &osAccountList) = 0;
77 virtual ErrCode UpdateAccountIndex(const OsAccountInfo &osAccountInfo, const bool isDelete) = 0;
H A Dos_account_database_operator.h32 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…
H A Diinner_os_account.h32 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0;
34 …const OsAccountType &type, OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {…
35 virtual ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
37 virtual ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
51 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0;
52 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0;
85 OsAccountInfo &osAccountInfo) = 0;
87 std::vector<OsAccountInfo> &osAccountList) = 0;
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/os_account/
H A Dos_account_interface.h25 static ErrCode SendToAMSAccountStart(OsAccountInfo &osAccountInfo,
27 static ErrCode SendToAMSAccountStop(OsAccountInfo &osAccountInfo);
28 static ErrCode SendToAMSAccountDeactivate(OsAccountInfo &osAccountInfo);
34 static ErrCode SendToBMSAccountDelete(OsAccountInfo &osAccountInfo);
36 static ErrCode SendToIDMAccountDelete(OsAccountInfo &osAccountInfo);
38 static void SendToCESAccountCreate(OsAccountInfo &osAccountInfo);
39 static void SendToCESAccountDelete(OsAccountInfo &osAccountInfo);
42 static ErrCode SendToStorageAccountCreate(OsAccountInfo &osAccountInfo);
43 static ErrCode SendToStorageAccountRemove(OsAccountInfo &osAccountInfo);
44 static ErrCode SendToStorageAccountStart(OsAccountInfo &osAccountInfo);
[all …]
H A Dos_account_interface.cpp21 ErrCode OsAccountInterface::SendToAMSAccountStart(OsAccountInfo &osAccountInfo, in SendToAMSAccountStart()
30 ErrCode OsAccountInterface::SendToAMSAccountStop(OsAccountInfo &osAccountInfo) in SendToAMSAccountStop()
45 OsAccountInfo &osAccountInfo, const std::vector<std::string> &disallowedHapList) in SendToBMSAccountCreate()
51 ErrCode OsAccountInterface::SendToAMSAccountDeactivate(OsAccountInfo &osAccountInfo) in SendToAMSAccountDeactivate()
57 ErrCode OsAccountInterface::SendToBMSAccountDelete(OsAccountInfo &osAccountInfo) in SendToBMSAccountDelete()
64 ErrCode OsAccountInterface::SendToIDMAccountDelete(OsAccountInfo &osAccountInfo) in SendToIDMAccountDelete()
71 void OsAccountInterface::SendToCESAccountCreate(OsAccountInfo &osAccountInfo) in SendToCESAccountCreate()
76 void OsAccountInterface::SendToCESAccountDelete(OsAccountInfo &osAccountInfo) in SendToCESAccountDelete()
99 ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountInfo) in SendToStorageAccountCreate()
111 ErrCode OsAccountInterface::SendToStorageAccountStart(OsAccountInfo &osAccountInfo) in SendToStorageAccountStart()
[all …]
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/unittest/
H A Dos_account_info_test.cpp119 OsAccountInfo *osAccountInfo = new (std::nothrow) OsAccountInfo();
147 OsAccountInfo osAccountInfo;
160 OsAccountInfo osAccountInfo;
174 OsAccountInfo osAccountInfo;
187 OsAccountInfo osAccountInfo;
201 OsAccountInfo osAccountInfo;
214 OsAccountInfo osAccountInfo;
228 OsAccountInfo osAccountInfo;
241 OsAccountInfo osAccountInfo;
255 OsAccountInfo osAccountInfo;
[all …]
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.1-Release/
H A Dchangelogs-account_os_account.md3 ## cl.account_os_account.1 系统帐号OsAccountInfo.type取值类型变更
5 变更前,OsAccountInfo.type取值的实际类型为Object,与d.ts中声明的OsAccountType枚举类型不一致;变更后,OsAccountInfo.type取值的实际类型为Os…
9 基于此前版本开发的应用,需变更OsAccountInfo.type值的读取方式,否则影响原因业务逻辑。
15 - queryAllCreatedOsAccounts(callback: AsyncCallback&lt;Array&lt;OsAccountInfo&gt;&gt;): void;
16 - queryAllCreatedOsAccounts(): Promise&lt;Array&lt;OsAccountInfo&gt;&gt;;
18 - createOsAccount(localName: string, type: OsAccountType): Promise&lt;OsAccountInfo&gt;;
21 - queryCurrentOsAccount(callback: AsyncCallback&lt;OsAccountInfo&gt;): void;
22 - queryCurrentOsAccount(): Promise&lt;OsAccountInfo&gt;;
23 - getCurrentOsAccount(callback: AsyncCallback&lt;OsAccountInfo&gt;): void;
24 - getCurrentOsAccount(): Promise&lt;OsAccountInfo&gt;;
[all …]
/ohos5.0/base/account/os_account/frameworks/osaccount/native/
H A Dlibos_account_innerkits.map18 "VTT for OHOS::AccountSA::OsAccountInfo";
22 "vtable for OHOS::AccountSA::OsAccountInfo";
159 "OHOS::AccountSA::OsAccountInfo::GetLocalId() const";
160 "OHOS::AccountSA::OsAccountInfo::ParamCheck()";
184 "OHOS::AccountSA::OsAccountInfo::GetPhoto() const";
186 "OHOS::AccountSA::OsAccountInfo::GetType() const";
194 "OHOS::AccountSA::OsAccountInfo::OsAccountInfo()";
195 "OHOS::AccountSA::OsAccountInfo::ToString() const";
197 "OHOS::AccountSA::OsAccountInfo::SetLocalId(int)";
210 *OHOS::AccountSA::OsAccountInfo::SetDisplayId*;
[all …]
/ohos5.0/docs/en/release-notes/changelogs/v3.1-Release/
H A Dchangelogs-account_os_account.md3 ## cl.account_os_account.1 OsAccountInfo.type Value Type Change
5 Changed the value type of **OsAccountInfo.type** from object to **OsAccountType** enum.
15 - queryAllCreatedOsAccounts(callback: AsyncCallback&lt;Array&lt;OsAccountInfo&gt;&gt;): void;
16 - queryAllCreatedOsAccounts(): Promise&lt;Array&lt;OsAccountInfo&gt;&gt;;
18 - createOsAccount(localName: string, type: OsAccountType): Promise&lt;OsAccountInfo&gt;;
21 - queryCurrentOsAccount(callback: AsyncCallback&lt;OsAccountInfo&gt;): void;
22 - queryCurrentOsAccount(): Promise&lt;OsAccountInfo&gt;;
23 - getCurrentOsAccount(callback: AsyncCallback&lt;OsAccountInfo&gt;): void;
24 - getCurrentOsAccount(): Promise&lt;OsAccountInfo&gt;;
25 - queryOsAccountById(localId: number, callback: AsyncCallback&lt;OsAccountInfo&gt;): void;
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/os_account/
H A Dos_account_manager_service_module_test.cpp164 OsAccountInfo osAccountInfoOne;
620 OsAccountInfo osAccountInfo;
636 OsAccountInfo osAccountInfo;
650 OsAccountInfo osAccountInfo;
1017 OsAccountInfo osAccountInfo;
1052 OsAccountInfo osAccountInfo;
1098 OsAccountInfo osAccountInfo;
1130 OsAccountInfo osAccountInfo;
1152 OsAccountInfo osAccountInfo;
1180 OsAccountInfo osAccountInfo;
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/src/osaccount/
H A Dinner_os_account_manager.cpp220 OsAccountInfo osAccountInfo; in RetryToGetAccount()
503 OsAccountInfo accountInfoOld; in RetryToGetAccount()
591 OsAccountInfo accountInfo; in RetryToGetAccount()
616 OsAccountInfo oldInfo; in RetryToGetAccount()
845 OsAccountInfo osAccountInfo; in RetryToGetAccount()
912 OsAccountInfo osAccountInfo; in RetryToGetAccount()
1029 OsAccountInfo osAccountInfo; in RetryToGetAccount()
1047 OsAccountInfo osAccountInfo; in RetryToGetAccount()
1077 OsAccountInfo osAccountInfo; in RetryToGetAccount()
1128 OsAccountInfo osAccountInfo; in RetryToGetAccount()
[all …]
H A Dos_account_interface.cpp66 ErrCode OsAccountInterface::SendToAMSAccountStart(OsAccountInfo &osAccountInfo, in SendToAMSAccountStart()
100 ErrCode OsAccountInterface::SendToAMSAccountStop(OsAccountInfo &osAccountInfo) in SendToAMSAccountStop()
133 ErrCode OsAccountInterface::SendToAMSAccountDeactivate(OsAccountInfo &osAccountInfo) in SendToAMSAccountDeactivate()
165 OsAccountInfo &osAccountInfo, const std::vector<std::string> &disallowedHapList) in SendToBMSAccountCreate()
181 ErrCode OsAccountInterface::SendToBMSAccountDelete(OsAccountInfo &osAccountInfo) in SendToBMSAccountDelete()
187 ErrCode OsAccountInterface::SendToIDMAccountDelete(OsAccountInfo &osAccountInfo) in SendToIDMAccountDelete()
230 void OsAccountInterface::SendToCESAccountCreate(OsAccountInfo &osAccountInfo) in SendToCESAccountCreate()
252 void OsAccountInterface::SendToCESAccountDelete(OsAccountInfo &osAccountInfo) in SendToCESAccountDelete()
319 ErrCode OsAccountInterface::SendToStorageAccountCreate(OsAccountInfo &osAccountInfo) in SendToStorageAccountCreate()
458 ErrCode OsAccountInterface::SendToStorageAccountStart(OsAccountInfo &osAccountInfo) in SendToStorageAccountStart()
[all …]
/ohos5.0/base/account/os_account/frameworks/osaccount/native/test/moduletest/
H A Dos_account_manager_module_test.cpp425 OsAccountInfo osAccountInfo;
926 OsAccountInfo osAccountInfo;
938 OsAccountInfo osAccountInfo;
951 OsAccountInfo osAccountInfo;
1265 OsAccountInfo osAccountInfo;
1296 OsAccountInfo osAccountInfo;
2651 OsAccountInfo account;
2719 OsAccountInfo account;
3120 OsAccountInfo account;
3169 OsAccountInfo account;
[all …]
/ohos5.0/base/account/os_account/interfaces/innerkits/osaccount/native/include/
H A Dos_account_manager.h58 …e CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo…
70 const OsAccountType& type, OsAccountInfo& osAccountInfo);
84 … const OsAccountType& type, const CreateOsAccountOptions& options, OsAccountInfo& osAccountInfo);
92 static ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
101 static ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
251 static ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos);
259 static ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo);
268 static ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo);
496 …static ErrCode GetOsAccountFromDatabase(const std::string& storeID, const int id, OsAccountInfo &o…
504 … GetOsAccountListFromDatabase(const std::string& storeID, std::vector<OsAccountInfo> &osAccountLis…
/ohos5.0/base/account/os_account/frameworks/osaccount/core/include/
H A Dos_account_proxy.h30 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) override;
32 OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {}) override;
33 ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
35 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) override;
54 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) override;
55 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) override;
56 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) override;
86 OsAccountInfo &osAccountInfo) override;
88 std::vector<OsAccountInfo> &osAccountList) override;
108 bool ReadOsAccountInfoList(MessageParcel &data, std::vector<OsAccountInfo> &parcelableInfos);
[all …]
H A Dios_account.h36 const std::string &name, const OsAccountType &type, OsAccountInfo &osAccountInfo) = 0;
38 …const OsAccountType &type, OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {…
39 virtual ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo,
41 virtual ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo) = 0;
60 virtual ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos) = 0;
61 virtual ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo) = 0;
62 virtual ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo) = 0;
92 OsAccountInfo &osAccountInfo) = 0;
94 std::vector<OsAccountInfo> &osAccountList) = 0;
H A Dos_account.h29 …ErrCode CreateOsAccount(const std::string &name, const OsAccountType &type, OsAccountInfo &osAccou…
31 OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &options = {});
32 …ErrCode CreateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo, const CreateOsAccountOptions &op…
33 ErrCode UpdateOsAccountWithFullInfo(OsAccountInfo &osAccountInfo);
50 ErrCode QueryAllCreatedOsAccounts(std::vector<OsAccountInfo> &osAccountInfos);
51 ErrCode QueryCurrentOsAccount(OsAccountInfo &osAccountInfo);
52 ErrCode QueryOsAccountById(const int id, OsAccountInfo &osAccountInfo);
81 OsAccountInfo &osAccountInfo);
83 std::vector<OsAccountInfo> &osAccountList);
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/
H A Dos_account_control_file_manager_test.cpp129 std::vector<OsAccountInfo> osAccountInfos;
144 OsAccountInfo osAccountInfo;
157 OsAccountInfo osAccountInfo;
272 OsAccountInfo osAccountInfo(
290 OsAccountInfo osAccountInfoTwo;
334 OsAccountInfo osAccountInfoTwo;
399 std::vector<OsAccountInfo> osAccountList;
408 OsAccountInfo curOsAccountInfo;
453 std::vector<OsAccountInfo> osAccountList;
724 OsAccountInfo accountInfo;
[all …]
H A Dos_account_inner_account_mgr_mock.cpp166 OsAccountInfo createInfo;
171 OsAccountInfo accountInfo;
224 OsAccountInfo createInfo;
281 OsAccountInfo createInfo;
345 OsAccountInfo createInfo;
350 OsAccountInfo updateInfo;
1718 OsAccountInfo account1;
1741 OsAccountInfo account1;
1818 OsAccountInfo account1;
1868 OsAccountInfo account1;
[all …]
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/os_account/mock/
H A Dmock_os_account_control_file_manager.h37 MOCK_METHOD1(GetOsAccountList, ErrCode(std::vector<OsAccountInfo> &osAccountList));
39 MOCK_METHOD2(GetOsAccountInfoById, ErrCode(const int id, OsAccountInfo &osAccountInfo));
42 MOCK_METHOD1(InsertOsAccount, ErrCode(OsAccountInfo &osAccountInfo));
45 MOCK_METHOD1(UpdateOsAccount, ErrCode(OsAccountInfo &osAccountInfo));
74 const int id, OsAccountInfo &osAccountInfo) { return ERR_OK; } in GetOsAccountFromDatabase()
76 std::vector<OsAccountInfo> &osAccountList) { return ERR_OK; } in GetOsAccountListFromDatabase()
85 …ErrCode UpdateAccountIndex(const OsAccountInfo &osAccountInfo, const bool isDelete) { return ERR_O… in UpdateAccountIndex()
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.1.3.5/
H A Dchangelogs-account_os_account.md44 getCurrentOsAccount(callback: AsyncCallback<OsAccountInfo>): void;
45 getCurrentOsAccount(): Promise<OsAccountInfo>;
102 interface OsAccountInfo {
111 interface OsAccountInfo {

1234567