/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/test/unittest/src/ |
H A D | account_adapt_test.cpp | 51 AccountType accountType = APPLICATION_ACCOUNT; variable 59 bool ret = IsAccountLogIn(osAccountId, accountType, &accountId); 62 accountType = CLOUD_ACCOUNT; 63 ret = IsAccountLogIn(osAccountId, accountType, &accountId); 66 accountType = DOMAIN_ACCOUNT; 67 ret = IsAccountLogIn(osAccountId, accountType, &accountId);
|
H A D | dlp_credential_test.cpp | 123 DlpAccountType accountType = OHOS::Security::DlpPermission::CLOUD_ACCOUNT; variable 125 … int res = DlpCredential::GetInstance().GenerateDlpCertificate(policy, account, accountType, stub); 134 {ENC_ACCOUNT_TYPE, accountType},
|
/ohos5.0/foundation/resourceschedule/memmgr/test/unittest/phone/ |
H A D | default_multi_account_strategy_test.cpp | 69 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 74 AccountPriorityInfo accPri1(accountId, accountName, accountType, isActived); 75 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 82 AccountPriorityInfo accPri2(accountId, accountName, accountType, isActived); 83 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 106 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 111 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv…
|
H A D | multi_account_manager_test.cpp | 66 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 69 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 74 EXPECT_EQ(info->GetType(), accountType); 83 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 87 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 136 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 138 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 155 AccountSA::OsAccountType accountType = AccountSA::OsAccountType::ADMIN; variable 158 …MultiAccountManager::GetInstance().SetAccountPriority(accountId, accountName, accountType, isActiv… 164 EXPECT_EQ(accountInfo->GetType(), accountType);
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/mock/ |
H A D | dlp_credential_service.c | 96 bool GetAccountName(uint32_t accountType, uint32_t userId, char** account) in GetAccountName() argument 98 …DLP_LOG_INFO("accountName form accountType:%{public}d DOMAIN_ACCOUNT:%{public}d", accountType, DO… in GetAccountName() 99 if (accountType != DOMAIN_ACCOUNT) { in GetAccountName() 113 static int CheckAccount(const uint8_t* data, uint32_t len, uint32_t accountType, uint32_t userId, b… in CheckAccount() argument 134 if (!GetAccountName(accountType, userId, &account)) { in CheckAccount() 191 .accountType = taskParams->packParams->accountType, in PackPolicyCallbackTask() 193 …taskParams->packParams->data, taskParams->packParams->dataLen, taskParams->packParams->accountType, in PackPolicyCallbackTask() 223 …bool accountStatus = IsAccountLogIn(taskParams->userId, taskParams->encData->accountType, &account… in RestorePolicyCallbackTask() 229 …kAccount(taskParams->encData->data, taskParams->encData->dataLen, taskParams->encData->accountType, in RestorePolicyCallbackTask() 270 taskParams->packParams->accountType = params->accountType; in TransPackPolicyParams() [all …]
|
H A D | dlp_credential_client_defines.h | 56 AccountType accountType; member 66 AccountType accountType; member
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_main/ |
H A D | dlp_credential.cpp | 203 params.accountType = static_cast<AccountType>(ownerAccountType); in GetNewCert() 223 if (callback == nullptr || accountType == INVALID_ACCOUNT) { in DlpRestorePolicyCallbackCheck() 322 policyInfo.ownerAccountType_ = requestInfo.accountType; in DlpRestorePolicyCallback() 324 res = GetNewCert(jsonObj, cert, requestInfo.accountType); in DlpRestorePolicyCallback() 375 .accountType = accountType in PackPolicy() 381 DlpAccountType accountType, const sptr<IDlpPermissionCallback>& callback) in GenerateDlpCertificate() argument 403 .accountType = static_cast<AccountType>(accountType), in GenerateDlpCertificate() 422 res = PackPolicy(packPolicy, accountType, callback); in GenerateDlpCertificate() 492 if (accountType == DOMAIN_ACCOUNT) { in GetAccoutInfo() 578 .accountType = accountType, in RestorePolicy() [all …]
|
H A D | dlp_credential.h | 32 DlpAccountType accountType = INVALID_ACCOUNT; member 42 const std::string& policy, const std::string& accountInfo, DlpAccountType accountType,
|
/ohos5.0/base/account/os_account/interfaces/innerkits/ohosaccount/native/include/ |
H A D | device_account_info.h | 135 …DeviceAccountInfo(const std::int32_t accountId, const DeviceAccountType accountType, const std::st… in DeviceAccountInfo() argument 136 : id_(accountId), type_(accountType), name_(accountName) in DeviceAccountInfo() 149 DeviceAccountInfo(const std::int32_t accountId, const DeviceAccountType accountType, in DeviceAccountInfo() argument 151 : id_(accountId), type_(accountType), name_(accountName), iconPath_(path) in DeviceAccountInfo()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/adapt/ |
H A D | account_adapt.cpp | 88 bool IsAccountLogIn(uint32_t osAccountId, AccountType accountType, const DlpBlob* accountId) in IsAccountLogIn() argument 96 if (accountType == CLOUD_ACCOUNT) { in IsAccountLogIn() 110 if (accountType != DOMAIN_ACCOUNT) { in IsAccountLogIn() 118 DLP_LOG_INFO(LABEL, "Get accountType:%{public}d", accountType); in IsAccountLogIn()
|
H A D | account_adapt.h | 40 bool IsAccountLogIn(uint32_t osAccountId, AccountType accountType, const DlpBlob* accountId);
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
H A D | distributed_sched_permission_test.cpp | 127 accountInfo.accountType = IDistributedSched::DIFF_ACCOUNT_TYPE; 147 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 187 accountInfo.accountType = IDistributedSched::DIFF_ACCOUNT_TYPE; 228 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 249 accountInfo.accountType = IDistributedSched::DIFF_ACCOUNT_TYPE; 274 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 297 accountInfo.accountType = IDistributedSched::DIFF_ACCOUNT_TYPE; 317 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 338 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 360 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; [all …]
|
H A D | distributed_sched_stub_test.cpp | 107 data.WriteInt32(accountInfo.accountType); in FreeInstallInfoMarshalling() 335 accountInfo.accountType = 0; 336 data.WriteInt32(accountInfo.accountType); 345 data.WriteInt32(accountInfo.accountType); 377 accountInfo.accountType = 0; 378 data.WriteInt32(accountInfo.accountType); 456 accountInfo.accountType = 0; 919 accountInfo.accountType = 0; 955 accountInfo.accountType = 0; 1638 accountInfo.accountType = 0; [all …]
|
H A D | distributed_sched_service_first_test.cpp | 569 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 610 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 755 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 781 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 807 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 833 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 859 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 1347 accountInfo.accountType = 1; 1421 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; 1449 accountInfo.accountType = IDistributedSched::SAME_ACCOUNT_TYPE; [all …]
|
/ohos5.0/base/security/dlp_permission_service/frameworks/common/src/ |
H A D | permission_policy.cpp | 283 bool CheckAccountType(DlpAccountType accountType) in CheckAccountType() argument 285 …if (accountType != CLOUD_ACCOUNT && accountType != DOMAIN_ACCOUNT && accountType != APPLICATION_AC… in CheckAccountType() 286 DLP_LOG_ERROR(LABEL, "Account type is invalid, type=%{public}d", accountType); in CheckAccountType()
|
/ohos5.0/base/customization/enterprise_device_management/services/edm_plugin/src/ |
H A D | add_os_account_plugin.cpp | 55 OHOS::AccountSA::OsAccountType accountType = ParseOsAccountType(type); in OnSetPolicy() local 56 if (accountType == OHOS::AccountSA::OsAccountType::END) { in OnSetPolicy() 64 accountType, accountInfo); in OnSetPolicy()
|
/ohos5.0/docs/zh-cn/release-notes/changelogs/v3.1-Release/ |
H A D | changelogs-account_os_account.md | 44 accountMgr.getOsAccountTypeFromProcess().then((accountType) => { 45 if (accountType == account_osAccount.OsAccountType.GUEST) {
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/ |
H A D | multi_account_manager.cpp | 86 AccountSA::OsAccountType accountType, bool isActived) in SetAccountPriority() argument 91 accountId, accountName, accountType, isActived); in SetAccountPriority() 95 accountInfo->SetType(accountType); in SetAccountPriority()
|
/ohos5.0/docs/en/release-notes/changelogs/v3.1-Release/ |
H A D | changelogs-account_os_account.md | 44 accountMgr.getOsAccountTypeFromProcess().then((accountType) => { 45 if (accountType == account_osAccount.OsAccountType.GUEST) {
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/continue/ |
H A D | dsched_continue_event.cpp | 317 cJSON_AddNumberToObject(accountInfoJson, "AccountType", accountInfo_.accountType); in MarshalAccountInfo() 569 cJSON *accountType = cJSON_GetObjectItemCaseSensitive(rootValue, "AccountType"); in UnmarshalAccountInfo() local 570 if (accountType == nullptr || !cJSON_IsNumber(accountType)) { in UnmarshalAccountInfo() 575 accountInfo_.accountType = accountType->valueint; in UnmarshalAccountInfo()
|
/ohos5.0/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/ |
H A D | dlp_permission_serializer.cpp | 520 {ENC_ACCOUNT_TYPE, encData.accountType}, in SerializeEncPolicyData() 531 encDataJson.at(ENC_ACCOUNT_TYPE).get_to(encData.accountType); in DeserializeEncPolicyData() 578 uint32_t accountType; in DeserializeEncPolicyDataByFirstVersion() local 579 offlineEncDataJson.at(ACCOUNT_TYPE).get_to(accountType); in DeserializeEncPolicyDataByFirstVersion() 580 offlineServerJson[ACCOUNT_TYPE] = accountType; in DeserializeEncPolicyDataByFirstVersion()
|
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | multi_account_manager.h | 36 AccountSA::OsAccountType accountType, bool isActived);
|
/ohos5.0/docs/zh-cn/application-dev/tools/ |
H A D | acm-tool.md | 45 acm create -n <accountName> -t <accountType> [-s <shortName>] [-l <disallowed-install-hap-list>]
|
/ohos5.0/base/security/dlp_permission_service/frameworks/common/include/ |
H A D | permission_policy.h | 150 bool CheckAccountType(DlpAccountType accountType);
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/src/ |
H A D | distributed_sched_proxy.cpp | 88 PARCEL_WRITE_HELPER(data, Int32, accountInfo.accountType); in StartAbilityFromRemote() 123 PARCEL_WRITE_HELPER(data, Int32, accountInfo.accountType); in SendResultFromRemote() 347 PARCEL_WRITE_HELPER(data, Int32, accountInfo.accountType); in ConnectAbilityFromRemote() 827 PARCEL_WRITE_HELPER(data, Int32, accountInfo.accountType); in StartAbilityByCallFromRemote() 932 PARCEL_WRITE_HELPER(data, Int32, info.accountInfo.accountType); in StartFreeInstallFromRemote() 1127 PARCEL_WRITE_HELPER(data, Int32, accountInfo.accountType); in StopExtensionAbilityFromRemote()
|