Home
last modified time | relevance | path

Searched refs:EdmPermission (Results 1 – 10 of 10) sorted by relevance

/base/customization/enterprise_device_management/common/native/src/
Dedm_permission.cpp21 EdmPermission::EdmPermission() {} in EdmPermission() function in OHOS::EDM::EdmPermission
22 EdmPermission::~EdmPermission() {} in ~EdmPermission()
24 EdmPermission::EdmPermission(const std::string &name, AdminType type) in EdmPermission() function in OHOS::EDM::EdmPermission
28 const std::string &EdmPermission::getPermissionName() const in getPermissionName()
33 void EdmPermission::setPermissionName(const std::string &permissionName) in setPermissionName()
35 EdmPermission::permissionName_ = permissionName; in setPermissionName()
38 AdminType EdmPermission::getAdminType() const in getAdminType()
43 void EdmPermission::setAdminType(AdminType adminType) in setAdminType()
45 EdmPermission::adminType_ = adminType; in setAdminType()
48 bool EdmPermission::operator == (const EdmPermission &permission) const in operator ==()
[all …]
/base/customization/enterprise_device_management/common/native/include/
Dedm_permission.h25 class EdmPermission : public Parcelable {
27 EdmPermission();
28 EdmPermission(const std::string &name, AdminType type);
29 ~EdmPermission();
31 bool operator == (const EdmPermission &permission) const;
37 static EdmPermission *Unmarshalling(Parcel &parcel);
/base/customization/enterprise_device_management/test/unittest/src/
Dedm_permission_test.cpp42 EdmPermission permission1;
43 EdmPermission permission2;
60 EdmPermission permission1("ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL);
63 EdmPermission *permission2 = permission1.Unmarshalling(parcel);
Dpermission_manager_test.cpp84 std::vector<EdmPermission> reqPermission;
Dadmin_manager_test.cpp67 std::vector<EdmPermission> reqPermission;
/base/customization/enterprise_device_management/services/edm/src/
Dpermission_manager.cpp72 std::vector<EdmPermission> &reqPermission) in GetReqPermission()
78 EdmPermission edmPermission(entry->second.permissionName, entry->second.adminType); in GetReqPermission()
Dadmin_manager.cpp57 std::vector<EdmPermission> &reqPermissions) in GetReqPermission()
Denterprise_device_mgr_ability.cpp363 std::vector<EdmPermission> edmPermissions; in GetAllPermissionsByAdmin()
/base/customization/enterprise_device_management/services/edm/include/
Dpermission_manager.h43 std::vector<EdmPermission> &reqPermission);
Dadmin_manager.h35 …ErrCode GetReqPermission(const std::vector<std::string> &permissions, std::vector<EdmPermission> &…