Home
last modified time | relevance | path

Searched refs:AccountSA (Results 1 – 25 of 724) sorted by relevance

12345678910>>...29

/base/account/os_account/frameworks/osaccount/native/
Dlibos_account_innerkits.map17 "VTT for OHOS::AccountSA::DomainAccountInfo";
18 "VTT for OHOS::AccountSA::OsAccountInfo";
19 "VTT for OHOS::AccountSA::OsAccountSubscribeInfo";
20 "VTT for OHOS::AccountSA::CreateOsAccountOptions";
21 "vtable for OHOS::AccountSA::OsAccountInfo";
22 "vtable for OHOS::AccountSA::OsAccountSubscribeInfo";
23 "vtable for OHOS::AccountSA::CreateOsAccountOptions";
24 "OHOS::AccountSA::OsAccount::GetInstance()";
25 …"OHOS::AccountSA::OsAccount::CreateOsAccountEventListener(std::__h::shared_ptr<OHOS::AccountSA::Os…
26AccountSA::OsAccount::CreateOsAccount(std::__h::basic_string<char, std::__h::char_traits<char>, st…
[all …]
/base/account/os_account/services/accountmgr/
Dlibaccountmgr.map18 "OHOS::AccountSA::AccountDataStorage::AddAccountInfo(OHOS::AccountSA::IAccountInfo const&)";
19 "OHOS::AccountSA::AccountDataStorage::CheckKvStore()";
20 "OHOS::AccountSA::AccountDataStorage::DeleteKvStore()";
21 …"OHOS::AccountSA::AccountDataStorage::GetValueFromKvStore(std::__h::basic_string<char, std::__h::c…
22AccountSA::AccountDataStorage::LoadAllData(std::__h::map<std::__h::basic_string<char, std::__h::ch…
23 …"OHOS::AccountSA::AccountDataStorage::RemoveValueFromKvStore(std::__h::basic_string<char, std::__h…
24 … "OHOS::AccountSA::AccountDataStorage::SaveAccountInfo(OHOS::AccountSA::IAccountInfo const&)";
25 …"OHOS::AccountSA::AccountDumpHelper::AccountDumpHelper(std::__h::shared_ptr<OHOS::AccountSA::OhosA…
26 …"OHOS::AccountSA::AccountDumpHelper::Dump(std::__h::vector<std::__h::basic_string<char, std::__h::…
27 …"OHOS::AccountSA::AccountDumpHelper::AnonymizeNameStr(std::__h::basic_string<char, std::__h::char_…
[all …]
/base/account/os_account/interfaces/kits/napi/domain_account/include/
Dnapi_domain_account_manager.h46 AccountSA::DomainAccountInfo domainInfo;
52 AccountSA::DomainAccountInfo domainInfo;
58 AccountSA::DomainAccountInfo domainInfo;
65 AccountSA::DomainAccountInfo domainInfo;
72 AccountSA::DomainAccountInfo domainAccountInfo;
73 std::shared_ptr<AccountSA::DomainAccountCallback> callback = nullptr;
74 AccountSA::GetAccessTokenOptions option;
77 AccountSA::AuthMode authMode = AccountSA::AUTH_INVALID_MODE;
85 class NapiDomainAccountPlugin final: public AccountSA::DomainAccountPlugin {
89 void Auth(const AccountSA::DomainAccountInfo &info, const std::vector<uint8_t> &credential,
[all …]
Dnapi_domain_auth_callback.h28 …explicit NapiDomainAuthCallback(const std::shared_ptr<AccountSA::DomainAccountCallback> &callback);
30 std::shared_ptr<AccountSA::DomainAccountCallback> GetDomainAuthCallback();
37 std::shared_ptr<AccountSA::DomainAccountCallback> callback_;
42 std::shared_ptr<AccountSA::DomainAccountCallback> callback = nullptr;
43 AccountSA::DomainAuthResult authResult;
60 AccountSA::DomainAuthResult authResult;
63 class NapiDomainAccountCallback final: public AccountSA::DomainAccountCallback {
/base/account/os_account/frameworks/appaccount/native/
Dlibapp_account_innerkits.map17 …"non-virtual thunk to OHOS::AccountSA::AppAccountAuthenticatorCallbackStub::~AppAccountAuthenticat…
18 …"non-virtual thunk to OHOS::AccountSA::AppAccountAuthenticatorStub::~AppAccountAuthenticatorStub()…
19 "non-virtual thunk to OHOS::AccountSA::AppAccountEventStub::~AppAccountEventStub()";
20 …"non-virtual thunk to OHOS::AccountSA::AppAccountAuthorizationExtensionCallbackStub::~AppAccountAu…
21 …"virtual thunk to OHOS::AccountSA::AppAccountAuthorizationExtensionCallbackStub::~AppAccountAuthor…
22 "OHOS::AccountSA::AppAccount::GetInstance()";
23 …"OHOS::AccountSA::AppAccount::UnsubscribeAppAccount(std::__h::shared_ptr<OHOS::AccountSA::AppAccou…
24 …"OHOS::AccountSA::AppAccountAuthenticatorCallbackProxy::AppAccountAuthenticatorCallbackProxy(OHOS:…
25 "OHOS::AccountSA::AppAccountAuthenticatorCallbackProxy::OnRequestContinued()";
26 … "OHOS::AccountSA::AppAccountAuthenticatorCallbackProxy::OnRequestRedirected(OHOS::AAFwk::Want&)";
[all …]
/base/account/os_account/frameworks/osaccount/core/
Dlibos_account_core.map17 "OHOS::AccountSA::OsAccountInfo::OsAccountInfo()";
18AccountSA::OsAccount::CreateOsAccount(std::__h::basic_string<char, std::__h::char_traits<char>, st…
19AccountSA::OsAccount::CreateOsAccount(std::__h::basic_string<char, std::__h::char_traits<char>, st…
20 "OHOS::AccountSA::OsAccount::GetInstance()";
21 "OHOS::AccountSA::OsAccount::RemoveOsAccount(int)";
22 …"OHOS::AccountSA::OsAccount::DumpState(int const&, std::__h::vector<std::__h::basic_string<char, s…
23 …"OHOS::AccountSA::OsAccount::SetOsAccountConstraints(int, std::__h::vector<std::__h::basic_string<…
24 "OHOS::AccountSA::OsAccount::ActivateOsAccount(int)";
25 "OHOS::AccountSA::OsAccount::DeactivateOsAccount(int)";
26 "OHOS::AccountSA::OsAccount::StopOsAccount(int)";
[all …]
/base/account/os_account/frameworks/osaccount/native/src/
Dos_account_info.cpp23 namespace AccountSA { namespace
241 OHOS::AccountSA::GetDataByType<int>( in FromJson()
242 jsonObject, jsonObjectEnd, LOCAL_ID, localId_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
243 OHOS::AccountSA::GetDataByType<std::string>( in FromJson()
244 jsonObject, jsonObjectEnd, LOCAL_NAME, localName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
245 OHOS::AccountSA::GetDataByType<std::string>( in FromJson()
246 jsonObject, jsonObjectEnd, SHORT_NAME, shortName_, OHOS::AccountSA::JsonType::STRING); in FromJson()
247 OHOS::AccountSA::GetDataByType<OsAccountType>( in FromJson()
248 jsonObject, jsonObjectEnd, TYPE, type_, OHOS::AccountSA::JsonType::NUMBER); in FromJson()
249 OHOS::AccountSA::GetDataByType<std::vector<std::string>>( in FromJson()
[all …]
/base/account/os_account/frameworks/ohosaccount/native/
Dlibohos_account_innerkits.map17 "VTT for OHOS::AccountSA::AccountProxy";
18 "vtable for OHOS::AccountSA::AccountProxy";
19 "OHOS::AccountSA::OhosAccountKitsImpl::GetInstance()";
20 "OHOS::AccountSA::OhosAccountKits::GetInstance()";
21 "OHOS::AccountSA::OhosAccountKitsImpl::GetDomainAccountService()";
22 "OHOS::AccountSA::OhosAccountKitsImpl::GetAppAccountService()";
23 "OHOS::AccountSA::OhosAccountKitsImpl::GetOsAccountService()";
24 "OHOS::AccountSA::OhosAccountKitsImpl::GetAccountIAMService()";
25 …"OHOS::AccountSA::WriteOhosAccountInfo(OHOS::MessageParcel&, OHOS::AccountSA::OhosAccountInfo cons…
26 … "OHOS::AccountSA::ReadOhosAccountInfo(OHOS::MessageParcel&, OHOS::AccountSA::OhosAccountInfo&)";
[all …]
/base/account/os_account/frameworks/account_iam/test/unittest/include/
Daccount_iam_client_test_callback.h26 class MockIDMCallback final : public AccountSA::IDMCallback {
28 MOCK_METHOD2(OnResult, void(int32_t result, const AccountSA::Attributes &extraInfo));
29 …MOCK_METHOD3(OnAcquireInfo, void(int32_t module, uint32_t acquireInfo, const AccountSA::Attributes…
32 class MockGetCredInfoCallback final : public AccountSA::GetCredInfoCallback {
34 …MOCK_METHOD2(OnCredentialInfo, void(int32_t result, const std::vector<AccountSA::CredentialInfo> &…
37 class MockGetSetPropCallback final : public AccountSA::GetSetPropCallback {
39 MOCK_METHOD2(OnResult, void(int32_t result, const AccountSA::Attributes &extraInfo));
/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/
Daccount_adapt.cpp30 using OHOS::AccountSA::OhosAccountInfo;
31 using OHOS::AccountSA::OhosAccountKits;
32 using OHOS::AccountSA::ACCOUNT_STATE_UNBOUND;
33 using OHOS::AccountSA::DomainAccountClient;
34 using OHOS::AccountSA::DomainAccountStatus;
35 using OHOS::AccountSA::DomainAccountInfo;
48 std::pair<bool, OHOS::AccountSA::OhosAccountInfo> accountInfo = in GetLocalAccountName()
49 OHOS::AccountSA::OhosAccountKits::GetInstance().QueryOhosAccountInfoByUserId(userId); in GetLocalAccountName()
60 int32_t res = OHOS::AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in GetUserIdByActiveAccount()
75 OHOS::AccountSA::OhosAccountInfo accountInfo; in GetLocalAccountUid()
[all …]
/base/account/os_account/interfaces/kits/napi/account_iam/include/
Dnapi_account_iam_common.h114 std::shared_ptr<AccountSA::IDMCallback> callback;
123 AccountSA::CredentialParameters addCredInfo;
129 AccountSA::AuthType authType {0};
130 std::vector<AccountSA::CredentialInfo> credInfo;
135 AccountSA::GetPropertyRequest request;
146 AccountSA::SetPropertyRequest request;
150 class NapiIDMCallback : public AccountSA::IDMCallback {
155 void OnResult(int32_t result, const AccountSA::Attributes &extraInfo) override;
156 …void OnAcquireInfo(int32_t module, uint32_t acquireInfo, const AccountSA::Attributes &extraInfo) o…
164 class NapiGetInfoCallback : public AccountSA::GetCredInfoCallback {
[all …]
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_file_operator.cpp22 namespace AccountSA { namespace
48 OHOS::AccountSA::GetDataByType<std::vector<std::string>>(constraintListCollecting, in Init()
52 OHOS::AccountSA::JsonType::ARRAY); in Init()
63 OHOS::AccountSA::GetDataByType<std::vector<std::string>>( in GetConstraintsByType()
64 …onfig_, constraintsConfig_.end(), Constants::TYPE_LIST, typeList, OHOS::AccountSA::JsonType::ARRAY… in GetConstraintsByType()
70 OHOS::AccountSA::GetDataByType<Json>(constraintsConfig_, in GetConstraintsByType()
74 OHOS::AccountSA::JsonType::OBJECT); in GetConstraintsByType()
76 OHOS::AccountSA::GetDataByType<std::vector<std::string>>( in GetConstraintsByType()
77 … typeJson, typeJson.end(), std::to_string(type), constraints, OHOS::AccountSA::JsonType::ARRAY); in GetConstraintsByType()
94 OHOS::AccountSA::GetDataByType<std::vector<std::string>>(baseOsAccountConstraintsConfig_, in GetBaseOAConstraintsList()
[all …]
/base/customization/enterprise_device_management/services/edm_plugin/src/
Dadd_os_account_plugin.cpp54 OHOS::AccountSA::OsAccountType accountType = ParseOsAccountType(type); in OnSetPolicy()
55 if (accountType == OHOS::AccountSA::OsAccountType::END) { in OnSetPolicy()
61 OHOS::AccountSA::OsAccountInfo accountInfo; in OnSetPolicy()
62 … ErrCode ret = AccountSA::OsAccountManager::CreateOsAccount(accountName, accountType, accountInfo); in OnSetPolicy()
68 …std::pair<bool, OHOS::AccountSA::OhosAccountInfo> dbAccountInfo = OHOS::AccountSA::OhosAccountKits… in OnSetPolicy()
88 OHOS::AccountSA::OsAccountType AddOsAccountPlugin::ParseOsAccountType(int32_t type) in ParseOsAccountType()
90 if (type >= static_cast<int32_t>(OHOS::AccountSA::OsAccountType::ADMIN) in ParseOsAccountType()
91 && type < static_cast<int32_t>(OHOS::AccountSA::OsAccountType::END)) { in ParseOsAccountType()
92 return static_cast<OHOS::AccountSA::OsAccountType>(type); in ParseOsAccountType()
94 return OHOS::AccountSA::OsAccountType::END; in ParseOsAccountType()
Ddisallow_add_os_account_by_user_plugin.cpp50 AccountSA::OsAccountManager::IsOsAccountExists(userId, isIdExist); in OnSetPolicy()
65 AccountSA::OsAccountManager::IsOsAccountExists(targetUserId, isIdExist); in OnGetPolicy()
72 … ErrCode ret = AccountSA::OsAccountManager::GetOsAccountAllConstraints(targetUserId, constraints); in OnGetPolicy()
92 AccountSA::OsAccountManager::QueryActiveOsAccountIds(ids); in SetSpecificOsAccountConstraints()
100 …ErrCode ret = AccountSA::OsAccountManager::SetSpecificOsAccountConstraints(constraints, disallow, … in SetSpecificOsAccountConstraints()
/base/customization/enterprise_device_management/test/unittest/edm_plugin/src/
Dadd_os_account_plugin_test.cpp51 AccountSA::OsAccountManager::RemoveOsAccount(accountId); in TearDownTestSuite()
136 AccountSA::OsAccountInfo *info = AccountSA::OsAccountInfo::Unmarshalling(reply);
137 AccountSA::OsAccountInfo accountInfo = *info;
140 ASSERT_TRUE(accountInfo.GetType() == AccountSA::OsAccountType::ADMIN);
158 AccountSA::OsAccountInfo *info = AccountSA::OsAccountInfo::Unmarshalling(reply);
159 AccountSA::OsAccountInfo accountInfo = *info;
162 ASSERT_TRUE(accountInfo.GetType() == AccountSA::OsAccountType::NORMAL);
180 AccountSA::OsAccountInfo *info = AccountSA::OsAccountInfo::Unmarshalling(reply);
181 AccountSA::OsAccountInfo accountInfo = *info;
184 ASSERT_TRUE(accountInfo.GetType() == AccountSA::OsAccountType::GUEST);
/base/account/os_account/services/accountmgr/test/moduletest/os_account/
Dos_account_control_file_manager_test.cpp26 namespace AccountSA { namespace
28 using namespace OHOS::AccountSA;
30 using namespace AccountSA;
75 ErrCode ret = OHOS::AccountSA::GetValidAccountID(dirName, accountID);
92 ErrCode ret = OHOS::AccountSA::GetValidAccountID(dirName, accountID);
109 ErrCode ret = OHOS::AccountSA::GetValidAccountID(dirName, accountID);
126 ErrCode ret = OHOS::AccountSA::GetValidAccountID(dirName, accountID);
Dos_account_photo_operator_test.cpp26 namespace AccountSA { namespace
28 using namespace OHOS::AccountSA;
30 using namespace AccountSA;
Dos_account_file_operator_test.cpp26 namespace AccountSA { namespace
28 using namespace OHOS::AccountSA;
30 using namespace AccountSA;
Dos_account_database_operator_test.cpp26 namespace AccountSA { namespace
28 using namespace OHOS::AccountSA;
30 using namespace AccountSA;
/base/account/os_account/frameworks/domain_account/test/moduletest/include/
Dmock_domain_plugin.h22 namespace AccountSA {
29 void AuthWithPopup(const AccountSA::DomainAccountInfo &info,
30 const std::shared_ptr<AccountSA::DomainAccountCallback> &callback) override;
31 void AuthWithToken(const AccountSA::DomainAccountInfo &info, const std::vector<uint8_t> &token,
32 const std::shared_ptr<AccountSA::DomainAccountCallback> &callback) override;
/base/account/os_account/frameworks/appaccount/native/include/
Dapp_account_authorization_extension_service.h27 namespace AccountSA {
28 using AuthorizationExtensionServiceFunc = std::function<void(const AccountSA::AuthorizationRequest …
29 const std::shared_ptr<AccountSA::AppAccountAuthorizationExtensionCallbackClient> &)>;
/base/account/os_account/frameworks/appaccount/native/test/unittest/include/
Dapp_account_manager_test_callback.h25 class MockAuthenticatorCallback final : public AccountSA::AppAccountAuthenticatorCallbackStub {
33 : public AccountSA::AppAccountAuthorizationExtensionCallbackStub {
36 …OnResult, void(const AccountSA::AsyncCallbackError &businessError, const AAFwk::WantParams &parame…
/base/notification/distributed_notification_service/services/ans/test/unittest/notification_dialog_test/
Dmock_os_account_manager_annex.cpp68 namespace AccountSA { namespace
69 ErrCode AccountSA::OsAccountManager::QueryActiveOsAccountIds(std::vector<int32_t>& ids) in QueryActiveOsAccountIds()
75 ErrCode AccountSA::OsAccountManager::GetOsAccountLocalIdFromUid(const int32_t uid, int32_t &id) in GetOsAccountLocalIdFromUid()
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_service_test.cpp28 namespace AccountSA { namespace
30 using namespace OHOS::AccountSA;
32 using namespace AccountSA;
Dos_account_data_storage_test.cpp33 namespace AccountSA { namespace
35 using namespace OHOS::AccountSA;
37 using namespace AccountSA;

12345678910>>...29