Home
last modified time | relevance | path

Searched refs:grantStatus (Results 1 – 25 of 55) sorted by relevance

123

/base/telephony/sms_mms/test/gtest/
Dsms_mms_gtest.h49 .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/
Daccess_mms_token.h49 .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/
Dtest.h50 .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/
Dnetwork_search_test.h52 .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 },
Dsim_test_util.h52 .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/
Dstate_registry_test.h62 .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/
Ddata_translator.cpp73 …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/
Dremote_token_kit_test.cpp43 .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 …]
Daccesstoken_kit_extension_test.cpp53 .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/
Dpermission_validator.cpp73 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()
Dpermission_policy_set.cpp55 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 …]
Ddlp_permission_set_manager.cpp77 if (iter->grantStatus[0] == PERMISSION_DENIED) { in UpdatePermStateWithDlpInfo()
83 iter->grantStatus[0] = PERMISSION_DENIED; in UpdatePermStateWithDlpInfo()
/base/security/access_token/frameworks/accesstoken/src/
Dpermission_state_full_parcel.cpp32 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/
Dpermission_state_full.h62 std::vector<int> grantStatus; variable
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Dpermission_manager_test.cpp72 .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 …]
Daccesstoken_info_manager_test.cpp88 .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/
Dbase_remote_command.cpp127 …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/
Dsetremotehaptokeninfo_fuzzer.cpp50 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in SetRemoteHapTokenInfoFuzzTest()
/base/security/access_token/test/fuzztest/access_token/allochaptoken_fuzzer/
Dallochaptoken_fuzzer.cpp51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in AllocHapTokenFuzzTest()
/base/telephony/call_manager/test/unittest/call_manager_gtest/include/
Dcall_manager_connect.h70 .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/
Dupdatehaptoken_fuzzer.cpp54 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in UpdateHapTokenFuzzTest()
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/
Dnet_proxy_adapter_test.cpp114 .grantStatus = {PermissionState::PERMISSION_GRANTED},
124 .grantStatus = {PermissionState::PERMISSION_GRANTED},
132 .grantStatus = {PermissionState::PERMISSION_GRANTED},
/base/telephony/cellular_call/test/unittest/imstest/
Dims_test.h61 .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/
Dallochaptokenstub_fuzzer.cpp51 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in AllocHapTokenStubFuzzTest()
/base/security/access_token/test/fuzztest/access_token_stub/setremotehaptokeninfostub_fuzzer/
Dsetremotehaptokeninfostub_fuzzer.cpp53 .grantStatus = {PermissionState::PERMISSION_GRANTED}, in SetRemoteHapTokenInfoStubFuzzTest()

123