/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
D | remote_token_kit_test.cpp | 102 .permStateList = {g_infoManagerTestState1, g_infoManagerTestState2} 116 .permStateList = {g_infoManagerTestState1, g_infoManagerTestState2} 230 std::vector<PermissionStateFull> permStateList; variable 231 permStateList.emplace_back(infoManagerTestState); 235 .permStateList = permStateList 298 std::vector<PermissionStateFull> permStateList; variable 299 permStateList.emplace_back(infoManagerTestState); 303 .permStateList = permStateList 366 std::vector<PermissionStateFull> permStateList; variable 367 permStateList.emplace_back(infoManagerTestState); [all …]
|
/base/security/access_token/frameworks/accesstoken/src/ |
D | native_token_info_for_sync_parcel.cpp | 32 …const std::vector<PermissionStateFull>& permStateList = this->nativeTokenInfoForSyncParams.permSta… in Marshalling() local 33 uint32_t permStateListSize = permStateList.size(); in Marshalling() 38 permStateParcel.permStatFull = permStateList[i]; in Marshalling() 62 nativeTokenInfoForSyncParcel->nativeTokenInfoForSyncParams.permStateList.emplace_back( in Unmarshalling()
|
D | hap_token_info_for_sync_parcel.cpp | 32 …const std::vector<PermissionStateFull>& permStateList = this->hapTokenInfoForSyncParams.permStateL… in Marshalling() local 33 uint32_t permStateListSize = permStateList.size(); in Marshalling() 38 permStateParcel.permStatFull = permStateList[i]; in Marshalling() 62 hapTokenInfoForSyncParcel->hapTokenInfoForSyncParams.permStateList.emplace_back( in Unmarshalling()
|
D | hap_policy_parcel.cpp | 43 const std::vector<PermissionStateFull>& permStateList = this->hapPolicyParameter.permStateList; in Marshalling() local 44 int32_t permStateListSize = static_cast<int32_t>(permStateList.size()); in Marshalling() 49 permStateParcel.permStatFull = permStateList[i]; in Marshalling() 85 …hapPolicyParcel->hapPolicyParameter.permStateList.emplace_back(permissionStateParcel->permStatFull… in Unmarshalling()
|
/base/security/access_token/frameworks/test/unittest/ |
D | accesstoken_parcel_test.cpp | 139 hapPolicyParcel.hapPolicyParameter.permStateList.emplace_back(g_permStatAlpha); 140 hapPolicyParcel.hapPolicyParameter.permStateList.emplace_back(g_permStatBeta); 151 EXPECT_EQ(hapPolicyParcel.hapPolicyParameter.permStateList.size(), 152 readedData->hapPolicyParameter.permStateList.size()); 173 for (uint32_t i = 0; i < hapPolicyParcel.hapPolicyParameter.permStateList.size(); i++) { 174 EXPECT_EQ(hapPolicyParcel.hapPolicyParameter.permStateList[i].permissionName, 175 readedData->hapPolicyParameter.permStateList[i].permissionName); 176 EXPECT_EQ(hapPolicyParcel.hapPolicyParameter.permStateList[i].isGeneral, 177 readedData->hapPolicyParameter.permStateList[i].isGeneral); 178 EXPECT_EQ(hapPolicyParcel.hapPolicyParameter.permStateList[i].resDeviceID, [all …]
|
/base/security/access_token/test/fuzztest/access_token/setremotehaptokeninfo_fuzzer/ |
D | setremotehaptokeninfo_fuzzer.cpp | 55 std::vector<PermissionStateFull> permStateList; in SetRemoteHapTokenInfoFuzzTest() local 56 permStateList.emplace_back(infoManagerTestState); in SetRemoteHapTokenInfoFuzzTest() 59 .permStateList = permStateList in SetRemoteHapTokenInfoFuzzTest()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/ |
D | dlp_permission_set_manager.cpp | 73 std::vector<PermissionStateFull>& permStateList) in UpdatePermStateWithDlpInfo() argument 76 for (auto iter = permStateList.begin(); iter != permStateList.end(); iter++) { in UpdatePermStateWithDlpInfo()
|
D | permission_policy_set.cpp | 40 AccessTokenID tokenId, const std::vector<PermissionStateFull>& permStateList) in BuildPermissionPolicySet() argument 44 PermissionValidator::FilterInvalidPermissionState(permStateList, policySet->permStateList_); in BuildPermissionPolicySet() 59 void PermissionPolicySet::Update(const std::vector<PermissionStateFull>& permStateList) in Update() argument 62 PermissionValidator::FilterInvalidPermissionState(permStateList, permStateFilterList); in Update() 103 void PermissionPolicySet::MergePermissionStateFull(std::vector<PermissionStateFull>& permStateList, in MergePermissionStateFull() argument 106 for (auto iter = permStateList.begin(); iter != permStateList.end(); iter++) { in MergePermissionStateFull() 114 permStateList.emplace_back(state); in MergePermissionStateFull() 318 info.append(R"( "permStateList": [)"); in ToString() 355 info.append(R"( "permStateList": [)"); in PermStateToString()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/ |
D | permission_policy_set.h | 38 const std::vector<PermissionStateFull>& permStateList); 42 void Update(const std::vector<PermissionStateFull>& permStateList); 57 static void MergePermissionStateFull(std::vector<PermissionStateFull>& permStateList,
|
D | dlp_permission_set_manager.h | 34 …t32_t UpdatePermStateWithDlpInfo(int32_t dlpType, std::vector<PermissionStateFull>& permStateList);
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | hap_token_info.h | 43 std::vector<PermissionStateFull> permStateList; variable 64 std::vector<PermissionStateFull> permStateList; variable
|
D | native_token_info.h | 41 std::vector<PermissionStateFull> permStateList; variable
|
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/ |
D | native_token_receptor_test.cpp | 274 std::vector<PermissionStateFull> permStateList = {}; variable 275 …tr<NativeTokenInfoInner> nativeToken = std::make_shared<NativeTokenInfoInner>(info, permStateList); 338 std::vector<PermissionStateFull> permStateList = {}; variable 339 …tr<NativeTokenInfoInner> nativeToken = std::make_shared<NativeTokenInfoInner>(info, permStateList); 387 std::vector<PermissionStateFull> permStateList = {}; variable 388 …tr<NativeTokenInfoInner> nativeToken = std::make_shared<NativeTokenInfoInner>(info, permStateList); 453 std::vector<PermissionStateFull> permStateList = { variable 455 …<NativeTokenInfoInner> nativeToken1 = std::make_shared<NativeTokenInfoInner>(info1, permStateList); 469 …<NativeTokenInfoInner> nativeToken2 = std::make_shared<NativeTokenInfoInner>(info2, permStateList); 557 std::vector<PermissionStateFull> permStateList = {}; variable [all …]
|
D | accesstoken_info_manager_test.cpp | 114 .permStateList = {g_infoManagerTestState1, g_infoManagerTestState2} 819 std::vector<PermissionStateFull> permStateList; in SetRemoteHapTokenInfoTest() local 820 permStateList.emplace_back(g_infoManagerTestState1); in SetRemoteHapTokenInfoTest() 823 .permStateList = permStateList in SetRemoteHapTokenInfoTest() 948 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, 1002 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, 1056 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, 1134 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, 1192 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, 1249 .permStateList = {g_infoManagerTestStateA, g_infoManagerTestStateB, [all …]
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
D | native_token_receptor.cpp | 45 const nlohmann::json& j, std::vector<PermissionStateFull>& permStateList) in NativeReqPermsGet() argument 66 permStateList.push_back(permState); in NativeReqPermsGet() 142 std::vector<PermissionStateFull> permStateList; in from_json() local 143 if (NativeReqPermsGet(j, permStateList) != RET_SUCCESS) { in from_json() 147 p = std::make_shared<NativeTokenInfoInner>(native, permStateList); in from_json()
|
D | hap_token_info_inner.cpp | 59 permPolicySet_ = PermissionPolicySet::BuildPermissionPolicySet(id, policy.permStateList); in HapTokenInfoInner() 63 …const HapTokenInfo &info, const std::vector<PermissionStateFull>& permStateList) : isRemote_(false) in HapTokenInfoInner() argument 67 permPolicySet_ = PermissionPolicySet::BuildPermissionPolicySet(id, permStateList); in HapTokenInfoInner() 83 policy.permStateList); in Update() 87 permPolicySet_->Update(policy.permStateList); in Update()
|
D | native_token_info_inner.cpp | 41 const std::vector<PermissionStateFull>& permStateList) : isRemote_(false) in NativeTokenInfoInner() argument 45 permStateList); in NativeTokenInfoInner() 57 const std::vector<PermissionStateFull>& permStateList) in Init() argument 77 permStateList); in Init()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/ |
D | native_token_info_inner.h | 37 const std::vector<PermissionStateFull>& permStateList); 43 const std::vector<PermissionStateFull>& permStateList);
|
D | hap_token_info_inner.h | 38 const std::vector<PermissionStateFull>& permStateList);
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
D | base_remote_command.cpp | 84 for (const auto& permState : tokenInfo.permStateList) { in ToNativeTokenInfoJson() 130 for (const auto& permState : tokenInfo.permStateList) { in ToHapTokenInfosJson() 191 std::vector<PermissionStateFull>& permStateList) in FromPermStateListJson() argument 230 permStateList.emplace_back(permission); in FromPermStateListJson() 243 FromPermStateListJson(hapTokenJson, hapTokenInfo.permStateList); in FromHapTokenInfoJson() 276 FromPermStateListJson(nativeTokenJson, nativeTokenInfo.permStateList); in FromNativeTokenInfoJson()
|
/base/security/access_token/services/tokensyncmanager/include/command/ |
D | base_remote_command.h | 53 std::vector<PermissionStateFull>& permStateList);
|
/base/security/access_token/test/fuzztest/access_token/updatehaptoken_fuzzer/ |
D | updatehaptoken_fuzzer.cpp | 58 .permStateList = {TestState} in UpdateHapTokenFuzzTest()
|
/base/security/access_token/test/fuzztest/access_token/allochaptoken_fuzzer/ |
D | allochaptoken_fuzzer.cpp | 64 .permStateList = {TestState} in AllocHapTokenFuzzTest()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
D | privacy_manager_service_test.cpp | 52 .permStateList = {g_testState} 66 .permStateList = {g_testState}
|
/base/telephony/core_service/services/network_search/test/ |
D | test.h | 117 .permStateList = { testNetPermLocation, testNetGetTelephonyState, testNetSetTelephonyState,
|