Home
last modified time | relevance | path

Searched refs:role (Results 1 – 11 of 11) sorted by relevance

/base/customization/enterprise_device_management/services/edm/include/
Dadmin_policies_storage_rdb.h32 AdminType role, const std::vector<std::string> &permissions);
34 AdminType role, const std::vector<std::string> &permissions);
49 const EntInfo &entInfo, AdminType role, const std::vector<std::string> &permissions);
Dadmin_manager.h47 void GetEnabledAdmin(AdminType role, std::vector<std::string> &packageNameList, int32_t userId);
49 …Code SetAdminValue(AppExecFwk::ExtensionAbilityInfo &abilityInfo, EntInfo &entInfo, AdminType role,
/base/security/selinux_adapter/sepolicy/base/system/
Dglb_roles.spt14 role r;
15 role r types domain;
/base/security/selinux_adapter/sepolicy/min/
Dglb_roles.spt14 role r;
15 role r types sid_test_type;
/base/customization/enterprise_device_management/services/edm/src/
Dadmin_manager.cpp93 …ger::SetAdminValue(AppExecFwk::ExtensionAbilityInfo &abilityInfo, EntInfo &entInfo, AdminType role, in SetAdminValue() argument
109 if (role == AdminType::NORMAL && it.adminType == AdminType::ENT) { in SetAdminValue()
116 …if (!adminItem && !adminPoliciesStorageRdb->InsertAdmin(userId, abilityInfo, entInfo, role, permis… in SetAdminValue()
119 …inItem && !adminPoliciesStorageRdb->UpdateAdmin(userId, abilityInfo, entInfo, role, permissions)) { in SetAdminValue()
124 if (role == AdminType::NORMAL) { in SetAdminValue()
136 adminItem->adminInfo_.adminType_ = role; in SetAdminValue()
281 void AdminManager::GetEnabledAdmin(AdminType role, std::vector<std::string> &packageNameList, int32… in GetEnabledAdmin() argument
290 …EDMLOGD("AdminManager:GetEnabledAdmin adminType: %{public}d , admin size: %{public}zu", role, user… in GetEnabledAdmin()
291 if (static_cast<int32_t>(role) >= static_cast<int32_t>(AdminType::UNKNOWN) || in GetEnabledAdmin()
292 static_cast<int32_t>(role) < static_cast<int32_t>(AdminType::NORMAL)) { in GetEnabledAdmin()
[all …]
Dadmin_policies_storage_rdb.cpp62 const EntInfo &entInfo, AdminType role, const std::vector<std::string> &permissions) in InsertAdmin() argument
73 CreateValuesBucket(userId, abilityInfo, entInfo, role, permissions)); in InsertAdmin()
77 const EntInfo &entInfo, AdminType role, const std::vector<std::string> &permissions) in UpdateAdmin() argument
90 …return edmRdbDataManager->Update(CreateValuesBucket(userId, abilityInfo, entInfo, role, permission… in UpdateAdmin()
94 const AppExecFwk::ExtensionAbilityInfo &abilityInfo, const EntInfo &entInfo, AdminType role, in CreateValuesBucket() argument
99 valuesBucket.PutInt(EdmRdbFiledConst::FILED_ADMIN_TYPE, static_cast<int>(role)); in CreateValuesBucket()
/base/web/webview/ohos_adapter/res_sched_adapter/src/
Dres_sched_client_adapter_impl.cpp190 ResType::ThreadRole role; in ReportKeyThread() local
195 role = it->second; in ReportKeyThread()
199 { TID, std::to_string(tid) }, { ROLE, std::to_string(role) } }; in ReportKeyThread()
201 static_cast<int32_t>(status), GetUidString().c_str(), pid, tid, static_cast<int32_t>(role)); in ReportKeyThread()
/base/security/huks/services/huks_standard/huks_service/main/core/src/
Dhks_storage_adapter.c59 .uint32Param = keyInfo->role in AddStorageFixedParams()
/base/security/huks/interfaces/inner_api/huks_standard/main/include/
Dhks_type.h852 uint32_t role; member
/base/usb/usb_manager/
DREADME.md78 | int32_t SetPortRole(int32_t portId, int32_t powerRole, int32_t dataRole); | Sets the port role. …
/base/security/huks/services/huks_standard/huks_engine/main/core/src/
Dhks_keyblob_lite.c362 keyInfo->role = paramSet->params[i].uint32Param; in FillBaseInfo()