Home
last modified time | relevance | path

Searched refs:PermissionDef (Results 1 – 25 of 62) sorted by relevance

123

/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_definition_cache.h37 bool Insert(const PermissionDef& info, AccessTokenID tokenId);
39 bool Update(const PermissionDef& info, AccessTokenID tokenId);
43 int FindByPermissionName(const std::string& permissionName, PermissionDef& info);
55 void GetDefPermissionsByTokenId(std::vector<PermissionDef>& permList, AccessTokenID tokenId);
Dpermission_validator.h31 static bool IsPermissionDefValid(const PermissionDef& permDef);
34 const std::vector<PermissionDef>& permList, std::vector<PermissionDef>& result);
Dpermission_manager.h49 void AddDefPermissions(const std::vector<PermissionDef>& permList, AccessTokenID tokenId,
55 int GetDefPermission(const std::string& permissionName, PermissionDef& permissionDefResult);
56 int GetDefPermissions(AccessTokenID tokenID, std::vector<PermissionDef>& permList);
86 std::string TransferPermissionDefToString(const PermissionDef& inPermissionDef);
Dpermission_policy_set.h46 void GetDefPermissions(std::vector<PermissionDef>& permList);
69 void PermDefToString(const PermissionDef& def, std::string& info) const;
/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.h35 PermissionDef testPermReceiveSmsDef = {
52 PermissionDef testPermSendSmsDef = {
69 PermissionDef testPermSetTelephonyDef = {
86 PermissionDef testPermGetTelephonyDef = {
/base/telephony/sms_mms/test/unittest/
Daccess_mms_token.h35 PermissionDef testPermReceiveSmsDef = {
52 PermissionDef testPermSendSmsDef = {
69 PermissionDef testPermSetTelephonyDef = {
87 PermissionDef testPermGetTelephonyDef = {
/base/telephony/core_service/services/network_search/test/
Dtest.h37 PermissionDef testNetPermLocationDef = {
56 PermissionDef testNetPermGetTelephonyStateDef = {
75 PermissionDef testNetPermSetTelephonyStateDef = {
94 PermissionDef testNetPermGetNetworkInfoDef = {
/base/telephony/core_service/test/unittest/core_service_gtest/
Dnetwork_search_test.h39 PermissionDef testNetPermLocationDef = {
58 PermissionDef testNetPermGetTelephonyStateDef = {
77 PermissionDef testNetPermSetTelephonyStateDef = {
96 PermissionDef testNetPermGetNetworkInfoDef = {
115 PermissionDef testPermReadContactsDef = {
134 PermissionDef testPermWriteContactsDef = {
Dsim_test_util.h39 inline PermissionDef testPermGetTelephonyStateDef = {
58 inline PermissionDef testPermSetTelephonyStateDef = {
77 inline PermissionDef testPermGetNetworkInfoDef = {
96 inline PermissionDef testSimPermWriteContactsDef = {
115 inline PermissionDef testSimPermReadContactsDef = {
/base/security/access_token/services/accesstokenmanager/main/cpp/include/database/
Ddata_translator.h30 …static int TranslationIntoGenericValues(const PermissionDef& inPermissionDef, GenericValues& outGe…
31 …static int TranslationIntoPermissionDef(const GenericValues& inGenericValues, PermissionDef& outPe…
/base/telephony/state_registry/test/unittest/state_test/
Dstate_registry_test.h49 PermissionDef testNetPermGetNetworkInfoDef = {
68 PermissionDef testNetPermSetTelephonyStateDef = {
87 PermissionDef testNetPermGetTelephonyStateDef = {
106 PermissionDef testNetPermLocationDef = {
125 PermissionDef testNetPermReadCallLogDef = {
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Dpermission_def.h53 class PermissionDef final {
84 PermissionDef permDef;
Daccesstoken_kit.h178 …static int GetDefPermission(const std::string& permissionName, PermissionDef& permissionDefResult);
185 static int GetDefPermissions(AccessTokenID tokenID, std::vector<PermissionDef>& permList);
Dhap_token_info.h84 std::vector<PermissionDef> permList;
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_definition_cache.cpp45 bool PermissionDefinitionCache::Insert(const PermissionDef& info, AccessTokenID tokenId) in Insert()
59 bool PermissionDefinitionCache::Update(const PermissionDef& info, AccessTokenID tokenId) in Update()
80 …issionDefinitionCache::FindByPermissionName(const std::string& permissionName, PermissionDef& info) in FindByPermissionName()
139 void PermissionDefinitionCache::GetDefPermissionsByTokenId(std::vector<PermissionDef>& permList, in GetDefPermissionsByTokenId()
155 PermissionDef def; in RestorePermDefInfo()
Dpermission_validator.cpp46 bool PermissionValidator::IsPermissionDefValid(const PermissionDef& permDef) in IsPermissionDefValid()
90 const std::vector<PermissionDef>& permList, std::vector<PermissionDef>& result) in FilterInvalidPermissionDef()
/base/security/permission_lite/services/pms/include/hals/
Dhal_pms.h28 PermissionDef* HalGetPermissionList(unsigned int *length);
/base/security/access_token/frameworks/accesstoken/include/
Dpermission_def_parcel.h34 PermissionDef permissionDef;
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Daccesstoken_kit_extension_test.h36 void AllocHapToken(std::vector<PermissionDef>& permissionDefs,
Daccesstoken_kit_test.cpp66 PermissionDef g_infoManagerTestPermDef1 = {
77 PermissionDef g_infoManagerTestPermDef2 = {
265 PermissionDef permissionDefAlpha; in TestPreparePermDefList()
273 PermissionDef permissionDefBeta; in TestPreparePermDefList()
281 PermissionDef testPermDef1; in TestPreparePermDefList()
289 PermissionDef testPermDef2; in TestPreparePermDefList()
297 PermissionDef testPermDef3; in TestPreparePermDefList()
305 PermissionDef testPermDef4; in TestPreparePermDefList()
397 PermissionDef permDefResultAlpha;
402 PermissionDef permDefResultBeta;
[all …]
Daccesstoken_kit_extension_test.cpp72 PermissionDef g_infoManagerTestPermDef1 = {
83 PermissionDef g_infoManagerTestPermDef2 = {
147 PermissionDef g_locationTestDefVague = {
156 PermissionDef g_locationTestDefAccurate = {
165 PermissionDef g_locationTestDefSystemGrant = {
174 PermissionDef g_locationTestDefUserGrant = {
370 PermissionDef permissionDefAlpha; in PreparePermDefList()
378 PermissionDef permissionDefBeta; in PreparePermDefList()
386 PermissionDef testPermDef1; in PreparePermDefList()
394 PermissionDef testPermDef2; in PreparePermDefList()
[all …]
/base/security/access_token/test/fuzztest/access_token/getdefpermissions_fuzzer/
Dgetdefpermissions_fuzzer.cpp35 std::vector<PermissionDef> permDefList; in GetDefPermissionsFuzzTest()
/base/security/permission_lite/services/pms/include/
Dperm_define.h55 } PermissionDef; typedef
/base/security/access_token/test/fuzztest/access_token/getdefpermission_fuzzer/
Dgetdefpermission_fuzzer.cpp37 PermissionDef PERMISSIONDEF = { in GetDefPermissionFuzzTest()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_manager_client.h47 int GetDefPermission(const std::string& permissionName, PermissionDef& permissionDefResult);
48 int GetDefPermissions(AccessTokenID tokenID, std::vector<PermissionDef>& permList);

123