Searched refs:EdmPermission (Results 1 – 10 of 10) sorted by relevance
21 EdmPermission::EdmPermission() {} in EdmPermission() function in OHOS::EDM::EdmPermission22 EdmPermission::~EdmPermission() {} in ~EdmPermission()24 EdmPermission::EdmPermission(const std::string &name, AdminType type) in EdmPermission() function in OHOS::EDM::EdmPermission28 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 …]
25 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);
42 EdmPermission permission1;43 EdmPermission permission2;60 EdmPermission permission1("ohos.permission.EDM_TEST_PERMISSION", AdminType::NORMAL);63 EdmPermission *permission2 = permission1.Unmarshalling(parcel);
84 std::vector<EdmPermission> reqPermission;
67 std::vector<EdmPermission> reqPermission;
72 std::vector<EdmPermission> &reqPermission) in GetReqPermission()78 EdmPermission edmPermission(entry->second.permissionName, entry->second.adminType); in GetReqPermission()
57 std::vector<EdmPermission> &reqPermissions) in GetReqPermission()
363 std::vector<EdmPermission> edmPermissions; in GetAllPermissionsByAdmin()
43 std::vector<EdmPermission> &reqPermission);
35 …ErrCode GetReqPermission(const std::vector<std::string> &permissions, std::vector<EdmPermission> &…