/base/telephony/sms_mms/test/gtest/ |
D | sms_mms_gtest.h | 49 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 66 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 83 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 100 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 117 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 134 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 151 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | security_token.cpp | 50 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 69 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 88 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 107 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 126 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
D | network_search_test.h | 53 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 72 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 91 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 110 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 129 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 148 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
D | sim_test_util.h | 52 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 71 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 90 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 109 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 128 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_validator.cpp | 36 bool PermissionValidator::IsGrantStatusValid(int grantStatus) in IsGrantStatusValid() argument 38 …return grantStatus == PermissionState::PERMISSION_GRANTED || grantStatus == PermissionState::PERMI… in IsGrantStatusValid() 113 size_t grantStatSize = permState.grantStatus.size(); in IsPermissionStateValid() 122 if (!IsGrantStatusValid(permState.grantStatus[i]) || in IsPermissionStateValid() 148 auto stateIter = permState.grantStatus.begin(); in DeduplicateResDevID() 156 result.grantStatus.emplace_back(*stateIter); in DeduplicateResDevID()
|
D | permission_policy_set.cpp | 70 …if ((permOld.grantFlags[0] == PERMISSION_DEFAULT_FLAG) && (permOld.grantStatus[0] == PERMISSION_DE… in UpdatePermStateFull() 84 permNew.grantStatus = permOld.grantStatus; in UpdatePermStateFull() 141 iter->grantStatus.emplace_back(state.grantStatus[0]); in MergePermissionStateFull() 222 if (perm.grantStatus[0] != PERMISSION_GRANTED) { in GetUserGrantedPermissionUsedType() 257 if (perm.grantStatus[0] != PERMISSION_GRANTED) { in VerifyPermissionStatus() 321 iter->grantStatus[0] = isGranted ? PERMISSION_GRANTED : PERMISSION_DENIED; in UpdatePermStateList() 442 perm.grantStatus[0] = PERMISSION_GRANTED; in ResetUserGrantPermissionStatus() 446 perm.grantStatus[0] = PERMISSION_DENIED; in ResetUserGrantPermissionStatus() 466 if (perm.isGeneral && (perm.grantStatus[0] == PERMISSION_GRANTED)) { in GetGrantedPermissionList() 481 if (perm.grantStatus[0] == PERMISSION_GRANTED) { in GetDeletedPermissionListToNotify() [all …]
|
D | dlp_permission_set_manager.cpp | 82 if (iter->grantStatus[0] == PERMISSION_DENIED) { in UpdatePermStateWithDlpInfo() 88 iter->grantStatus[0] = PERMISSION_DENIED; in UpdatePermStateWithDlpInfo()
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 50 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 69 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 88 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 107 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/sms_mms/test/unittest/ |
D | access_mms_token.h | 49 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 66 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 83 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 101 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 77 …ex >= inPermissionState.resDeviceID.size() || grantIndex >= inPermissionState.grantStatus.size() || in TranslationIntoGenericValues() 85 …outGenericValues.Put(TokenFiledConst::FIELD_GRANT_STATE, inPermissionState.grantStatus[grantIndex]… in TranslationIntoGenericValues() 126 int grantStatus = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_STATE); in TranslationIntoPermissionStateFull() local 127 if (!PermissionValidator::IsGrantStatusValid(grantStatus)) { in TranslationIntoPermissionStateFull() 135 grantStatus = PERMISSION_DENIED; in TranslationIntoPermissionStateFull() 137 outPermissionState.grantStatus.push_back(grantStatus); in TranslationIntoPermissionStateFull()
|
/base/telephony/state_registry/test/unittest/state_test/ |
D | state_registry_test.h | 62 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 81 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 100 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 119 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 138 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/frameworks/accesstoken/src/ |
D | permission_state_full_parcel.cpp | 32 RETURN_IF_FALSE(out.WriteUint32(this->permStatFull.grantStatus.size())); in Marshalling() 33 for (auto grantStat : this->permStatFull.grantStatus) { in Marshalling() 69 permissionStateParcel->permStatFull.grantStatus.emplace_back(grantStat); in Unmarshalling()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | remote_token_kit_test.cpp | 62 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 70 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 235 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 334 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 366 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 407 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied 428 …remoteTokenInfo4.permStateList[0].grantStatus[0] = PermissionState::PERMISSION_GRANTED; // second … 454 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied 500 .grantStatus = {PermissionState::PERMISSION_GRANTED}, // first grant 546 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied [all …]
|
D | app_installation_optimized_test.cpp | 50 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 58 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 66 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 73 .grantStatus = {PermissionState::PERMISSION_DENIED}, 81 .grantStatus = {PermissionState::PERMISSION_DENIED}, 89 .grantStatus = {PermissionState::PERMISSION_DENIED}, 97 .grantStatus = {PermissionState::PERMISSION_DENIED}, 105 .grantStatus = {PermissionState::PERMISSION_DENIED}, 113 .grantStatus = {PermissionState::PERMISSION_DENIED}, 450 EXPECT_EQ(permStatList2[0].grantStatus[0], PERMISSION_GRANTED); [all …]
|
D | accesstoken_kit_extension_test.cpp | 56 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 64 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 72 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 113 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 121 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 129 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 210 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 218 .grantStatus = {PermissionState::PERMISSION_DENIED}, 226 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 234 .grantStatus = {PermissionState::PERMISSION_DENIED}, [all …]
|
/base/telephony/cellular_data/test/ |
D | data_access_token.cpp | 50 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 69 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | sensitive_manager_test.cpp | 58 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 66 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 74 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 82 .grantStatus = {PermissionState::PERMISSION_GRANTED},
|
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/ |
D | call_manager_connect.h | 70 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 89 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 108 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 127 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 146 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 165 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 184 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 203 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/telephony/cellular_call/test/unittest/satellitetest/ |
D | satellite_test.h | 60 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 79 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 98 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/accesscontrol/sandbox_manager/test/fuzztest/common/ |
D | alloc_token.cpp | 34 .grantStatus = {0}, 41 .grantStatus = {0},
|
/base/security/access_token/test/fuzztest/services/accesstoken/setremotehaptokeninfostub_fuzzer/ |
D | setremotehaptokeninfostub_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in ConstructorParam() 57 .grantStatus = {PermissionState::PERMISSION_DENIED}, in ConstructorParam()
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | permission_state_full.h | 62 std::vector<int> grantStatus; variable
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
D | base_remote_command.cpp | 127 …if (state.resDeviceID.size() != state.grantStatus.size() || state.resDeviceID.size() != state.gran… in ToPermStateJson() 136 {"grantStatus", state.grantStatus[i]}, in ToPermStateJson() 228 int grantStatus; in FromPermStateListJson() local 229 grantConfigJson.at("grantStatus").get_to(grantStatus); in FromPermStateListJson() 233 permission.grantStatus.emplace_back(grantStatus); in FromPermStateListJson()
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_manager_test.cpp | 75 .grantStatus = {1}, 83 .grantStatus = {1, 3}, 104 .grantStatus = {PERMISSION_GRANTED}, 111 .grantStatus = {PERMISSION_GRANTED}, 118 .grantStatus = {PERMISSION_GRANTED}, 125 .grantStatus = {PERMISSION_GRANTED}, 133 .grantStatus = {PermissionState::PERMISSION_DENIED}, 141 .grantStatus = {PermissionState::PERMISSION_DENIED}, 149 .grantStatus = {PermissionState::PERMISSION_DENIED}, 157 .grantStatus = {PermissionState::PERMISSION_GRANTED}, [all …]
|
/base/usb/usb_manager/frameworks/dialog/dialog_ui/usb_right_dialog/src/main/ets/ServiceExtAbility/ |
D | UsbDialogAbility.ts | 130 let grantStatus = aac.verifyAccessTokenSync(tokenID, permissionName); 131 if (grantStatus === abilityAccessCtrl.GrantStatus.PERMISSION_DENIED) {
|