/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 },
|
/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/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/core_service/test/unittest/core_service_gtest/ |
D | network_search_test.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 }, 147 .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/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/services/accesstokenmanager/main/cpp/src/database/ |
D | data_translator.cpp | 73 …ex >= inPermissionState.resDeviceID.size() || grantIndex >= inPermissionState.grantStatus.size() || in TranslationIntoGenericValues() 81 …outGenericValues.Put(TokenFiledConst::FIELD_GRANT_STATE, inPermissionState.grantStatus[grantIndex]… in TranslationIntoGenericValues() 110 int grantStatus = (PermissionState)inGenericValues.GetInt(TokenFiledConst::FIELD_GRANT_STATE); in TranslationIntoPermissionStateFull() local 111 if (!PermissionValidator::IsGrantStatusValid(grantStatus)) { in TranslationIntoPermissionStateFull() 118 outPermissionState.grantStatus.push_back(grantStatus); in TranslationIntoPermissionStateFull()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | remote_token_kit_test.cpp | 43 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 50 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 80 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 88 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 229 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 327 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 370 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 422 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied 442 …remoteTokenInfo.permStateList[0].grantStatus[0] = PermissionState::PERMISSION_GRANTED; // second g… 480 .grantStatus = {PermissionState::PERMISSION_DENIED}, // first denied [all …]
|
D | accesstoken_kit_extension_test.cpp | 53 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 60 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 68 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 98 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 106 .grantStatus = {PermissionState::PERMISSION_GRANTED, PermissionState::PERMISSION_GRANTED}, 187 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 195 .grantStatus = {PermissionState::PERMISSION_DENIED}, 203 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 211 .grantStatus = {PermissionState::PERMISSION_DENIED}, 219 .grantStatus = {PermissionState::PERMISSION_DENIED}, [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | permission_validator.cpp | 73 size_t grantStatSize = permState.grantStatus.size(); in IsPermissionStateValid() 80 if (!IsGrantStatusValid(permState.grantStatus[i]) || in IsPermissionStateValid() 106 auto stateIter = permState.grantStatus.begin(); in DeduplicateResDevID() 114 result.grantStatus.emplace_back(*stateIter); in DeduplicateResDevID()
|
D | permission_policy_set.cpp | 55 permNew.grantStatus = permOld.grantStatus; in UpdatePermStateFull() 114 iter->grantStatus.emplace_back(state.grantStatus[0]); in MergePermissionStateFull() 181 … return IsPermGrantedBySecComp(perm.grantFlags[0]) ? PERMISSION_GRANTED : perm.grantStatus[0]; in VerifyPermissionStatus() 239 iter->grantStatus[0] = isGranted ? PERMISSION_GRANTED : PERMISSION_DENIED; in UpdatePermStateList() 360 perm.grantStatus[0] = PERMISSION_GRANTED; in ResetUserGrantPermissionStatus() 364 perm.grantStatus[0] = PERMISSION_DENIED; in ResetUserGrantPermissionStatus() 387 …if (((oldFlag & PERMISSION_GRANTED_BY_POLICY) != 0) && (perm.grantStatus[0] == PERMISSION_DENIED))… in GetResetPermissionListToNotify() 392 … if ((oldFlag & PERMISSION_SYSTEM_FIXED) == 0 && (perm.grantStatus[0] == PERMISSION_GRANTED)) { in GetResetPermissionListToNotify() 410 if (perm.grantStatus[0] == PERMISSION_GRANTED) { in GetDeletedPermissionListToNotify() 454 for (auto iter = state.grantStatus.begin(); iter != state.grantStatus.end(); iter++) { in PermStateFullToString() [all …]
|
D | dlp_permission_set_manager.cpp | 77 if (iter->grantStatus[0] == PERMISSION_DENIED) { in UpdatePermStateWithDlpInfo() 83 iter->grantStatus[0] = PERMISSION_DENIED; in UpdatePermStateWithDlpInfo()
|
/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/include/ |
D | permission_state_full.h | 62 std::vector<int> grantStatus; variable
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | permission_manager_test.cpp | 72 .grantStatus = {1}, 80 .grantStatus = {1, 3}, 101 .grantStatus = {PERMISSION_GRANTED}, 108 .grantStatus = {PERMISSION_GRANTED}, 115 .grantStatus = {PERMISSION_GRANTED}, 122 .grantStatus = {PERMISSION_GRANTED}, 130 .grantStatus = {PermissionState::PERMISSION_DENIED}, 138 .grantStatus = {PermissionState::PERMISSION_DENIED}, 146 .grantStatus = {PermissionState::PERMISSION_DENIED}, 154 .grantStatus = {PermissionState::PERMISSION_GRANTED}, [all …]
|
D | accesstoken_info_manager_test.cpp | 88 .grantStatus = {1}, 96 .grantStatus = {1, 3}, 117 .grantStatus = {PERMISSION_GRANTED}, 123 .grantStatus = {PERMISSION_GRANTED}, 129 .grantStatus = {PERMISSION_GRANTED}, 135 .grantStatus = {PERMISSION_GRANTED}, 142 .grantStatus = {PermissionState::PERMISSION_DENIED}, 149 .grantStatus = {PermissionState::PERMISSION_DENIED}, 156 .grantStatus = {PermissionState::PERMISSION_DENIED, PermissionState::PERMISSION_DENIED}, 163 .grantStatus = {PermissionState::PERMISSION_DENIED}, [all …]
|
/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/test/fuzztest/access_token/setremotehaptokeninfo_fuzzer/ |
D | setremotehaptokeninfo_fuzzer.cpp | 50 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in SetRemoteHapTokenInfoFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/allochaptoken_fuzzer/ |
D | allochaptoken_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in AllocHapTokenFuzzTest()
|
/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/security/access_token/test/fuzztest/access_token/updatehaptoken_fuzzer/ |
D | updatehaptoken_fuzzer.cpp | 54 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in UpdateHapTokenFuzzTest()
|
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/ |
D | net_proxy_adapter_test.cpp | 114 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 124 .grantStatus = {PermissionState::PERMISSION_GRANTED}, 132 .grantStatus = {PermissionState::PERMISSION_GRANTED},
|
/base/telephony/cellular_call/test/unittest/imstest/ |
D | ims_test.h | 61 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 80 .grantStatus = { PermissionState::PERMISSION_GRANTED }, 99 .grantStatus = { PermissionState::PERMISSION_GRANTED },
|
/base/security/access_token/test/fuzztest/access_token_stub/allochaptokenstub_fuzzer/ |
D | allochaptokenstub_fuzzer.cpp | 51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in AllocHapTokenStubFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token_stub/setremotehaptokeninfostub_fuzzer/ |
D | setremotehaptokeninfostub_fuzzer.cpp | 53 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in SetRemoteHapTokenInfoStubFuzzTest()
|