Searched refs:PERMISSION_GRANTED_BY_POLICY (Results 1 – 9 of 9) sorted by relevance
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/ |
D | access_token.h | 42 PERMISSION_GRANTED_BY_POLICY = 1 << 3, enumerator
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | access_token.h | 199 PERMISSION_GRANTED_BY_POLICY = 1 << 3, enumerator
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_policy_set.cpp | 78 (permOld.grantFlags[0] == PERMISSION_GRANTED_BY_POLICY)) { in UpdatePermStateFull() 188 return (uFlag & PERMISSION_SYSTEM_FIXED) || (uFlag & PERMISSION_GRANTED_BY_POLICY); in IsPermOperatedBySystem() 304 uint32_t newFlag = currFlag | (oldFlag & PERMISSION_GRANTED_BY_POLICY); in UpdateWithNewFlag() 441 if ((oldFlag & PERMISSION_GRANTED_BY_POLICY) != 0) { in ResetUserGrantPermissionStatus() 443 perm.grantFlags[0] = PERMISSION_GRANTED_BY_POLICY; in ResetUserGrantPermissionStatus()
|
D | permission_manager.cpp | 428 … flag = permPolicySet->GetFlagWithoutSpecifiedElement(fullFlag, PERMISSION_GRANTED_BY_POLICY); in GetPermissionFlag() 605 ((flag != PERMISSION_GRANTED_BY_POLICY) && (flag != PERMISSION_SYSTEM_FIXED)))) { in ParamUpdate() 1250 … state.grantFlags[0] = userCancelable ? PERMISSION_GRANTED_BY_POLICY : PERMISSION_SYSTEM_FIXED; in InitPermissionList()
|
/base/security/access_token/frameworks/common/src/ |
D | data_validator.cpp | 95 flag & (~PermissionFlag::PERMISSION_GRANTED_BY_POLICY); in IsPermissionFlagValid()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | app_installation_optimized_test.cpp | 321 EXPECT_EQ(permStatList[0].grantFlags[0], PERMISSION_GRANTED_BY_POLICY); 615 EXPECT_EQ(permStatList1[1].grantFlags[0], PERMISSION_GRANTED_BY_POLICY); 990 EXPECT_EQ(state[0].grantFlags[0], PERMISSION_GRANTED_BY_POLICY); 1043 EXPECT_EQ(state[1].grantFlags[0], PERMISSION_USER_FIXED | PERMISSION_GRANTED_BY_POLICY);
|
D | security_component_grant_test.cpp | 206 …32_t res = AccessTokenKit::GrantPermission(tokenID, TEST_PERMISSION, PERMISSION_GRANTED_BY_POLICY);
|
D | share_permission_with_sandbox_test.cpp | 290 … = AccessTokenKit::GrantPermission(tokenFullControl, PERMISSION_ALL, PERMISSION_GRANTED_BY_POLICY);
|
D | accesstoken_kit_test.cpp | 1564 .grantFlags = {PERMISSION_GRANTED_BY_POLICY | PERMISSION_DEFAULT_FLAG} 1571 .grantFlags = {PERMISSION_GRANTED_BY_POLICY | PERMISSION_USER_FIXED}
|