/ohos5.0/base/account/os_account/frameworks/appaccount/native/src/ |
H A D | app_account_info.cpp | 75 AppAccountInfo::AppAccountInfo() in AppAccountInfo() function in OHOS::AccountSA::AppAccountInfo 89 AppAccountInfo::AppAccountInfo(const std::string &name, const std::string &owner) in AppAccountInfo() function in OHOS::AccountSA::AppAccountInfo 103 std::string AppAccountInfo::GetOwner() in GetOwner() 119 std::string AppAccountInfo::GetName() in GetName() 135 uint32_t AppAccountInfo::GetAppIndex() in GetAppIndex() 298 ErrCode AppAccountInfo::SetAccountCredential( in SetAccountCredential() 489 ErrCode AppAccountInfo::GetOAuthList( in GetOAuthList() 549 AppAccountInfo *AppAccountInfo::Unmarshalling(Parcel &parcel) in Unmarshalling() 551 AppAccountInfo *appAccountInfo = new (std::nothrow) AppAccountInfo(); in Unmarshalling() 562 Json AppAccountInfo::ToJson() const in ToJson() [all …]
|
H A D | app_account_event_stub.cpp | 59 std::vector<AppAccountInfo> accounts; in ProcOnAccountsChanged() 61 std::shared_ptr<AppAccountInfo> account(data.ReadParcelable<AppAccountInfo>()); in ProcOnAccountsChanged()
|
/ohos5.0/base/account/os_account/services/accountmgr/include/appaccount/ |
H A D | app_account_control_manager.h | 41 const std::string &bundleName, AppAccountInfo &appAccountInfo); 43 const std::string &bundleName, AppAccountInfo &appAccountInfo); 50 const std::string &bundleName, AppAccountInfo &appAccountInfo); 53 AppAccountCallingInfo &appAccountCallingInfo, AppAccountInfo &appAccountInfo, 56 AppAccountCallingInfo &appAccountCallingInfo, AppAccountInfo &appAccountInfo, 64 const std::string &bundleName, AppAccountInfo &appAccountInfo); 92 ErrCode GetAllAccessibleAccounts(std::vector<AppAccountInfo> &appAccounts, 104 ErrCode GetAllAccessibleAccountsFromDataStorage(std::vector<AppAccountInfo> &appAccounts, 128 bool NeedSyncDataStorage(const AppAccountInfo &appAccountInfo); 131 ErrCode AddAccountInfoIntoDataStorage(AppAccountInfo &appAccountInfo, [all …]
|
H A D | app_account_data_storage.h | 35 ErrCode GetAccountInfoFromDataStorage(AppAccountInfo &appAccountInfo); 36 ErrCode AddAccountInfoIntoDataStorage(AppAccountInfo &appAccountInfo); 37 ErrCode SaveAccountInfoIntoDataStorage(AppAccountInfo &appAccountInfo); 38 ErrCode DeleteAccountInfoFromDataStorage(AppAccountInfo &appAccountInfo);
|
H A D | app_account_check_labels_callback.h | 28 explicit AppAccountCheckLabelsCallback(std::vector<AppAccountInfo> accounts, 43 std::vector<AppAccountInfo> accounts_; 46 std::vector<AppAccountInfo> accountsWithLabels_;
|
H A D | app_account_subscribe_manager.h | 35 …bool PublishAccount(AppAccountInfo &appAccountInfo, const uid_t &uid, const std::string &bundleNam… 46 … const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts);
|
H A D | app_account_check_labels_session.h | 27 std::vector<AppAccountInfo> accounts, const AuthenticatorSessionRequest &request); 35 std::vector<AppAccountInfo> accounts_;
|
/ohos5.0/base/account/os_account/services/accountmgr/test/unittest/app_account/ |
H A D | app_account_info_test.cpp | 95 AppAccountInfo appAccountInfo; 120 AppAccountInfo appAccountInfo; 143 AppAccountInfo appAccountInfo; 168 AppAccountInfo appAccountInfo; 191 AppAccountInfo appAccountInfo; 216 AppAccountInfo appAccountInfo; 239 AppAccountInfo appAccountInfo; 264 AppAccountInfo appAccountInfo; 293 AppAccountInfo appAccountInfo; 969 AppAccountInfo testInfo; [all …]
|
H A D | app_account_data_storage_test.cpp | 116 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER); 129 auto appAccountInfoPtr = std::static_pointer_cast<AppAccountInfo>(accountPtr->second); 174 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER); 191 auto appAccountInfoPtr = std::static_pointer_cast<AppAccountInfo>(accountPtr->second); 228 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER); 239 auto appAccountInfoPtr = std::static_pointer_cast<AppAccountInfo>(accountPtr->second);
|
/ohos5.0/docs/zh-cn/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-account.md | 13 …AppAccountInfo>>): void;<br>权限:ohos.permission.GET_ALL_APP_ACCOUNTS|类名:AppAccountManager<br>方法 or … 14 …Array<AppAccountInfo>>;<br>权限:ohos.permission.GET_ALL_APP_ACCOUNTS|类名:AppAccountManager<br>方法 or 属… 15 …AppAccountInfo>>): void;<br>权限:ohos.permission.GET_ALL_APP_ACCOUNTS|类名:AppAccountManager<br>方法 or … 16 …AppAccountInfo>>;<br>权限:ohos.permission.GET_ALL_APP_ACCOUNTS|类名:AppAccountManager<br>方法 or 属性:getA…
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/ |
H A D | libapp_account_innerkits.map | 39 "OHOS::AccountSA::AppAccountInfo::AppAccountInfo()"; 64 …Accounts(std::__h::vector<OHOS::AccountSA::AppAccountInfo, std::__h::allocator<OHOS::AccountSA::Ap… 118 "OHOS::AccountSA::AppAccountInfo::GetPrimeKey() const"; 119 "OHOS::AccountSA::AppAccountInfo::SetSyncEnable(bool const&)"; 120 "OHOS::AccountSA::AppAccountInfo::GetSyncEnable(bool&) const"; 124 "vtable for OHOS::AccountSA::AppAccountInfo"; 131 "VTT for OHOS::AccountSA::AppAccountInfo"; 165 "OHOS::AccountSA::AppAccountInfo::Unmarshalling(OHOS::Parcel&)"; 166 "OHOS::AccountSA::AppAccountInfo::GetName()"; 167 "OHOS::AccountSA::AppAccountInfo::GetOwner()"; [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/src/appaccount/ |
H A D | app_account_control_manager.cpp | 305 AppAccountInfo appAccountInfo(name, bundleName); in GetAccountExtraInfo() 423 AppAccountInfo appAccountInfo(name, bundleName); in CheckAppAccountSyncEnable() 479 AppAccountInfo appAccountInfo(name, bundleName); in GetAssociatedDataFromStorage() 892 AppAccountInfo appAccountInfo; in GetAllAccounts() 906 std::vector<AppAccountInfo> &appAccounts) in LoadAllAppAccounts() 918 AppAccountInfo curAppInfo = *(std::static_pointer_cast<AppAccountInfo>(it->second)); in LoadAllAppAccounts() 946 AppAccountInfo appAccountInfo; in GetAllAccessibleAccounts() 957 std::vector<AppAccountInfo> currentAppAccounts; in GetAllAccessibleAccounts() 991 std::vector<AppAccountInfo> candidateAccounts; in SelectAccountsByOptions() 1093 AppAccountInfo appAccountInfo; in RemoveAppAccountData() [all …]
|
H A D | app_account_data_storage.cpp | 72 ErrCode AppAccountDataStorage::GetAccountInfoFromDataStorage(AppAccountInfo &appAccountInfo) in GetAccountInfoFromDataStorage() 83 ErrCode AppAccountDataStorage::AddAccountInfoIntoDataStorage(AppAccountInfo &appAccountInfo) in AddAccountInfoIntoDataStorage() 94 ErrCode AppAccountDataStorage::SaveAccountInfoIntoDataStorage(AppAccountInfo &appAccountInfo) in SaveAccountInfoIntoDataStorage() 105 ErrCode AppAccountDataStorage::DeleteAccountInfoFromDataStorage(AppAccountInfo &appAccountInfo) in DeleteAccountInfoFromDataStorage() 129 AppAccountInfo appAccountInfo; in SaveEntries() 131 infos.emplace(item.key.ToString(), std::make_shared<AppAccountInfo>(appAccountInfo)); in SaveEntries()
|
H A D | inner_app_account_manager.cpp | 42 AppAccountInfo appAccountInfo(name, bundleName); in AddAccount() 55 AppAccountInfo appAccountInfo(name, bundleName); in CreateAccount() 68 AppAccountInfo appAccountInfo(name, bundleName); in DeleteAccount() 86 AppAccountInfo appAccountInfo(name, bundleName); in SetAccountExtraInfo() 98 AppAccountInfo appAccountInfo(name, appAccountCallingInfo.bundleName); in EnableAppAccess() 112 AppAccountInfo appAccountInfo(name, appAccountCallingInfo.bundleName); in DisableAppAccess() 138 AppAccountInfo appAccountInfo(name, bundleName); in SetAppAccountSyncEnable() 156 AppAccountInfo appAccountInfo(name, appAccountCallingInfo.bundleName); in SetAssociatedData() 178 AppAccountInfo appAccountInfo(name, appAccountCallingInfo.bundleName); in SetAccountCredential() 198 AppAccountInfo appAccountInfo(name, bundleName); in DeleteAccountCredential() [all …]
|
H A D | app_account_subscribe_manager.cpp | 252 AppAccountInfo &appAccountInfo, const uid_t &uid, const std::string &bundleName) in PublishAccount() 263 eventRecordPtr->info = std::make_shared<AppAccountInfo>(appAccountInfo); in PublishAccount() 288 std::vector<AppAccountInfo> accessibleAccounts; in OnAccountsChanged() 296 std::vector<AppAccountInfo> appAccounts; in OnAccountsChanged() 317 const std::vector<AppAccountInfo> &accessibleAccounts, std::vector<AppAccountInfo> &appAccounts) in GetAccessibleAccountsBySubscribeInfo()
|
/ohos5.0/docs/en/release-notes/api-diff/v3.2-beta5/ |
H A D | js-apidiff-account.md | 13 …AppAccountInfo>>): void;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccoun… 14 …AppAccountInfo>>;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManage… 15 …AppAccountInfo>>): void;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccoun… 16 …AppAccountInfo>>;<br>Permission: ohos.permission.GET_ALL_APP_ACCOUNTS|Class name: AppAccountManage…
|
/ohos5.0/base/account/os_account/services/accountmgr/test/moduletest/app_account/ |
H A D | app_account_control_manager_module_test.cpp | 93 AppAccountInfo appAccountInfo(STRING_NAME, STRING_OWNER+"max"); 109 AppAccountInfo appAccountInfo; 142 std::vector<AppAccountInfo> appAccounts; 157 AppAccountInfo appAccountInfo; 184 std::vector<AppAccountInfo> appAccounts; 208 AppAccountInfo appAccountInfo(request.name, request.owner);
|
H A D | app_account_event_module_test.cpp | 41 void OnAccountsChanged(const std::vector<AppAccountInfo> &accounts) in OnAccountsChanged() 89 std::vector<AppAccountInfo> accounts; 152 std::vector<AppAccountInfo> accounts; 153 AppAccountInfo testAppAccountInfo;
|
H A D | app_account_check_labels_module_test.cpp | 68 AppAccountInfo testAppAccountInfo(NAME, OWNER); in SetUp() 69 std::vector<AppAccountInfo> accounts; in SetUp() 106 std::vector<AppAccountInfo> accounts; 109 AppAccountInfo testAppAccountInfo(NAME, OWNER);
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.2-beta5/ |
H A D | changelogs-account_os_account.md | 47 - getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void; 48 - getAllAccounts(): Promise<Array<AppAccountInfo>>; 79 …- getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): v… 80 - getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>;
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_3.2.10.3/ |
H A D | changelogs-account_os_account.md | 47 - getAllAccounts(callback: AsyncCallback<Array<AppAccountInfo>>): void; 48 - getAllAccounts(): Promise<Array<AppAccountInfo>>; 79 …- getAccountsByOwner(owner: string, callback: AsyncCallback<Array<AppAccountInfo>>): v… 80 - getAccountsByOwner(owner: string): Promise<Array<AppAccountInfo>>;
|
/ohos5.0/base/account/os_account/frameworks/appaccount/native/include/ |
H A D | app_account_info.h | 35 class AppAccountInfo : public IAccountInfo, public Parcelable { 37 AppAccountInfo(); 38 explicit AppAccountInfo(const std::string &name, const std::string &owner); 39 ~AppAccountInfo() override = default; 90 static AppAccountInfo *Unmarshalling(Parcel &parcel);
|
/ohos5.0/base/account/os_account/test/systemtest/common/resource/fuzzTest/include/ |
H A D | getparam.h | 68 AppAccountInfo GetParamAppAccountInfo(); 69 std::vector<AppAccountInfo> GetVectorParamAppAccountInfo(); 76 virtual void OnAccountsChanged(const std::vector<AppAccountInfo> &accounts) in OnAccountsChanged()
|
/ohos5.0/base/account/os_account/services/accountmgr/ |
H A D | libaccountmgr.map | 72 …yOptions(std::__h::vector<OHOS::AccountSA::AppAccountInfo, std::__h::allocator<OHOS::AccountSA::Ap… 75 …sSession(std::__h::vector<OHOS::AccountSA::AppAccountInfo, std::__h::allocator<OHOS::AccountSA::Ap… 90 …:AccountSA::AppAccountControlManager::NeedSyncDataStorage(OHOS::AccountSA::AppAccountInfo const&)"; 101 …AccountSA::AppAccountDataStorage::AddAccountInfoIntoDataStorage(OHOS::AccountSA::AppAccountInfo&)"; 111 …AppAccountInfo, std::__h::allocator<OHOS::AccountSA::AppAccountInfo>> const&, std::__h::vector<OHO… 167 …Accounts(std::__h::vector<OHOS::AccountSA::AppAccountInfo, std::__h::allocator<OHOS::AccountSA::Ap… 299 …AccountSA::AppAccountDataStorage::GetAccountInfoFromDataStorage(OHOS::AccountSA::AppAccountInfo&)"; 300 "OHOS::AccountSA::AppAccountInfo::GetAppIndex()"; 302 …ountSA::AppAccountDataStorage::DeleteAccountInfoFromDataStorage(OHOS::AccountSA::AppAccountInfo&)"; 303 …ccountSA::AppAccountDataStorage::SaveAccountInfoIntoDataStorage(OHOS::AccountSA::AppAccountInfo&)"; [all …]
|
/ohos5.0/base/account/os_account/services/accountmgr/test/mock/app_account/ |
H A D | mock_app_account_control_manager.h | 30 AppAccountInfo &appAccountInfo); 31 …ErrCode DeleteAccount(const std::string &name, const std::string &bundleName, AppAccountInfo &appA…
|