Home
last modified time | relevance | path

Searched refs:permStateRes (Results 1 – 9 of 9) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
Dhap_token_info_inner.h46 const std::vector<GenericValues>& permStateRes);
Dnative_token_info_inner.h56 const std::vector<GenericValues>& permStateRes);
/base/security/access_token/services/accesstokenmanager/main/cpp/include/permission/
Dpermission_policy_set.h41 const std::vector<GenericValues>& permStateRes);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dnative_token_info_inner.cpp118 const std::vector<GenericValues>& permStateRes) in RestoreNativeTokenInfo() argument
156 permPolicySet_ = PermissionPolicySet::RestorePermissionPolicy(tokenId, permStateRes); in RestoreNativeTokenInfo()
Dhap_token_info_inner.cpp176 const std::vector<GenericValues>& permStateRes) in RestoreHapTokenInfo() argument
183 permPolicySet_ = PermissionPolicySet::RestorePermissionPolicy(tokenId, permStateRes); in RestoreHapTokenInfo()
Daccesstoken_info_manager.cpp83 std::vector<GenericValues> permStateRes; in InitHapTokenInfos() local
87 DataStorage::GetRealDataStorage().Find(DataStorage::ACCESSTOKEN_PERMISSION_STATE, permStateRes); in InitHapTokenInfos()
100 ret = hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes); in InitHapTokenInfos()
126 std::vector<GenericValues> permStateRes; in InitNativeTokenInfos() local
129 DataStorage::GetRealDataStorage().Find(DataStorage::ACCESSTOKEN_PERMISSION_STATE, permStateRes); in InitNativeTokenInfos()
143 ret = native->RestoreNativeTokenInfo(tokenId, nativeTokenValue, permStateRes); in InitNativeTokenInfos()
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp2046 std::vector<GenericValues> permStateRes; variable
2058 ASSERT_NE(RET_SUCCESS, native->RestoreNativeTokenInfo(tokenId, inGenericValues, permStateRes));
2068 ASSERT_NE(RET_SUCCESS, native->RestoreNativeTokenInfo(tokenId, inGenericValues, permStateRes));
2075 ASSERT_NE(RET_SUCCESS, native->RestoreNativeTokenInfo(tokenId, inGenericValues, permStateRes));
2091 std::vector<GenericValues> permStateRes; variable
2111 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2118 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2125 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2132 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2138 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
Dnative_token_receptor_test.cpp295 std::vector<GenericValues> permStateRes; variable
296 DataStorage::GetRealDataStorage().Find(DataStorage::ACCESSTOKEN_PERMISSION_STATE, permStateRes);
305 ret = native->RestoreNativeTokenInfo(tokenId, nativeTokenValue, permStateRes);
/base/security/access_token/services/accesstokenmanager/main/cpp/src/permission/
Dpermission_policy_set.cpp86 const std::vector<GenericValues>& permStateRes) in RestorePermissionPolicy() argument
91 for (const GenericValues& stateValue : permStateRes) { in RestorePermissionPolicy()