/base/telephony/sms_mms/test/gtest/ |
D | sms_mms_gtest.h | 50 .grantFlags = { 2 }, // PERMISSION_USER_SET 67 .grantFlags = { 2 }, // PERMISSION_USER_SET 84 .grantFlags = { 2 }, // PERMISSION_USER_SET 101 .grantFlags = { 2 }, // PERMISSION_USER_SET 118 .grantFlags = { 2 }, // PERMISSION_USER_SET 135 .grantFlags = { 2 }, // PERMISSION_USER_SET 152 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | security_token.cpp | 49 .grantFlags = { 2 }, // PERMISSION_USER_SET 68 .grantFlags = { 2 }, // PERMISSION_USER_SET 87 .grantFlags = { 2 }, // PERMISSION_USER_SET 106 .grantFlags = { 2 }, // PERMISSION_USER_SET 125 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
D | network_search_test.h | 52 .grantFlags = { 2 }, // PERMISSION_USER_SET 71 .grantFlags = { 2 }, // PERMISSION_USER_SET 90 .grantFlags = { 2 }, // PERMISSION_USER_SET 109 .grantFlags = { 2 }, // PERMISSION_USER_SET 128 .grantFlags = { 2 }, // PERMISSION_USER_SET 147 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
D | sim_test_util.h | 51 .grantFlags = { 2 }, // PERMISSION_USER_SET 70 .grantFlags = { 2 }, // PERMISSION_USER_SET 89 .grantFlags = { 2 }, // PERMISSION_USER_SET 108 .grantFlags = { 2 }, // PERMISSION_USER_SET 127 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_policy_set.cpp | 70 …if ((permOld.grantFlags[0] == PERMISSION_DEFAULT_FLAG) && (permOld.grantStatus[0] == PERMISSION_DE… in UpdatePermStateFull() 75 if ((permOld.grantFlags[0] == PERMISSION_SYSTEM_FIXED) || in UpdatePermStateFull() 78 (permOld.grantFlags[0] == PERMISSION_GRANTED_BY_POLICY)) { in UpdatePermStateFull() 85 permNew.grantFlags = permOld.grantFlags; in UpdatePermStateFull() 136 uint32_t flag = GetFlagWroteToDb(state.grantFlags[0]); in MergePermissionStateFull() 137 state.grantFlags[0] = flag; in MergePermissionStateFull() 142 iter->grantFlags.emplace_back(state.grantFlags[0]); in MergePermissionStateFull() 217 if (IsPermGrantedBySecComp(perm.grantFlags[0])) { in GetUserGrantedPermissionUsedType() 253 if (IsPermGrantedBySecComp(perm.grantFlags[0])) { in VerifyPermissionStatus() 291 flag = perm.grantFlags[0]; in QueryPermissionFlag() [all …]
|
D | permission_validator.cpp | 114 size_t grantFlagSize = permState.grantFlags.size(); in IsPermissionStateValid() 123 !IsPermissionFlagValid(permState.grantFlags[i])) { in IsPermissionStateValid() 149 auto flagIter = permState.grantFlags.begin(); in DeduplicateResDevID() 157 result.grantFlags.emplace_back(*flagIter); in DeduplicateResDevID()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 49 .grantFlags = { 2 }, // PERMISSION_USER_SET 68 .grantFlags = { 2 }, // PERMISSION_USER_SET 87 .grantFlags = { 2 }, // PERMISSION_USER_SET 106 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/telephony/sms_mms/test/unittest/ |
D | access_mms_token.h | 50 .grantFlags = { 2 }, // PERMISSION_USER_SET 67 .grantFlags = { 2 }, // PERMISSION_USER_SET 84 .grantFlags = { 2 }, // PERMISSION_USER_SET 102 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.h | 61 .grantFlags = { 2 }, // PERMISSION_USER_SET 80 .grantFlags = { 2 }, // PERMISSION_USER_SET 99 .grantFlags = { 2 }, // PERMISSION_USER_SET 118 .grantFlags = { 2 }, // PERMISSION_USER_SET 137 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/security/access_token/frameworks/accesstoken/src/ |
D | permission_state_full_parcel.cpp | 37 RETURN_IF_FALSE(out.WriteUint32(this->permStatFull.grantFlags.size())); in Marshalling() 38 for (auto grantFlag : this->permStatFull.grantFlags) { in Marshalling() 78 permissionStateParcel->permStatFull.grantFlags.emplace_back(flag); in Unmarshalling()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | app_installation_optimized_test.cpp | 51 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 59 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 67 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 74 .grantFlags = {0} 82 .grantFlags = {0} 90 .grantFlags = {0} 98 .grantFlags = {0} 106 .grantFlags = {0} 114 .grantFlags = {0} 227 EXPECT_EQ(permStatList[0].grantFlags[0], PERMISSION_SYSTEM_FIXED); [all …]
|
D | remote_token_kit_test.cpp | 63 .grantFlags = {1}, 71 .grantFlags = {1, 2}, 236 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 335 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 367 .grantFlags = {11}, // wrong flags 408 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 455 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 501 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 547 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; 588 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}}; [all …]
|
D | accesstoken_kit_extension_test.cpp | 57 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 65 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 73 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 114 .grantFlags = {1} 122 .grantFlags = {1, 2} 130 .grantFlags = {1} 211 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED} 219 .grantFlags = {PermissionFlag::PERMISSION_DEFAULT_FLAG} 227 .grantFlags = {PermissionFlag::PERMISSION_USER_FIXED} 235 .grantFlags = {PermissionFlag::PERMISSION_DEFAULT_FLAG} [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 78 grantIndex >= inPermissionState.grantFlags.size()) { in TranslationIntoGenericValues() 86 int32_t grantFlags = static_cast<int32_t>(inPermissionState.grantFlags[grantIndex]); in TranslationIntoGenericValues() local 87 outGenericValues.Put(TokenFiledConst::FIELD_GRANT_FLAG, grantFlags); in TranslationIntoGenericValues() 124 outPermissionState.grantFlags.push_back(grantFlag); in TranslationIntoPermissionStateFull()
|
/base/telephony/cellular_data/test/ |
D | data_access_token.cpp | 49 .grantFlags = { 2 }, // PERMISSION_USER_SET 68 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | sensitive_manager_test.cpp | 59 .grantFlags = {1} 67 .grantFlags = {1} 75 .grantFlags = {1} 83 .grantFlags = {1}
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/ |
D | call_manager_connect.h | 69 .grantFlags = { 2 }, // PERMISSION_USER_SET 88 .grantFlags = { 2 }, // PERMISSION_USER_SET 107 .grantFlags = { 2 }, // PERMISSION_USER_SET 126 .grantFlags = { 2 }, // PERMISSION_USER_SET 145 .grantFlags = { 2 }, // PERMISSION_USER_SET 164 .grantFlags = { 2 }, // PERMISSION_USER_SET 183 .grantFlags = { 2 }, // PERMISSION_USER_SET 202 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/telephony/cellular_call/test/unittest/satellitetest/ |
D | satellite_test.h | 59 .grantFlags = { 2 }, // PERMISSION_USER_SET 78 .grantFlags = { 2 }, // PERMISSION_USER_SET 97 .grantFlags = { 2 }, // PERMISSION_USER_SET
|
/base/accesscontrol/sandbox_manager/test/fuzztest/common/ |
D | alloc_token.cpp | 35 .grantFlags = {0}, 42 .grantFlags = {0},
|
/base/security/access_token/test/fuzztest/services/accesstoken/setremotehaptokeninfostub_fuzzer/ |
D | setremotehaptokeninfostub_fuzzer.cpp | 50 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}, in ConstructorParam() 56 .grantFlags = {PermissionFlag::PERMISSION_USER_SET}, in ConstructorParam()
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | permission_state_full.h | 67 std::vector<uint32_t> grantFlags; variable
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
D | base_remote_command.cpp | 127 …viceID.size() != state.grantStatus.size() || state.resDeviceID.size() != state.grantFlags.size()) { in ToPermStateJson() 137 {"grantFlags", state.grantFlags[i]}, in ToPermStateJson() 230 int grantFlags; in FromPermStateListJson() local 231 grantConfigJson.at("grantFlags").get_to(grantFlags); in FromPermStateListJson() 234 permission.grantFlags.emplace_back(grantFlags); in FromPermStateListJson()
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/setremotehaptokeninfo_fuzzer/ |
D | setremotehaptokeninfo_fuzzer.cpp | 49 .grantFlags = {PermissionFlag::PERMISSION_SYSTEM_FIXED}, in SetRemoteHapTokenInfoFuzzTest()
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/allochaptoken_fuzzer/ |
D | allochaptoken_fuzzer.cpp | 52 testState.grantFlags = {1}; in AllocHapTokenFuzzTest()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/querydlpfileaccess_fuzzer/ |
D | querydlpfileaccess_fuzzer.cpp | 50 .grantFlags = {1}
|