Home
last modified time | relevance | path

Searched refs:tokenValue (Results 1 – 4 of 4) sorted by relevance

/base/security/access_token/services/accesstokenmanager/main/cpp/include/token/
Dhap_token_info_inner.h45 int RestoreHapTokenInfo(AccessTokenID tokenId, const GenericValues& tokenValue,
/base/security/access_token/services/accesstokenmanager/test/unittest/cpp/src/
Daccesstoken_info_manager_test.cpp2090 GenericValues tokenValue; variable
2109 tokenValue.Put(TokenFiledConst::FIELD_BUNDLE_NAME, bundleName);
2111 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2112 tokenValue.Remove(TokenFiledConst::FIELD_BUNDLE_NAME);
2115 tokenValue.Put(TokenFiledConst::FIELD_BUNDLE_NAME, bundleName);
2116 tokenValue.Put(TokenFiledConst::FIELD_APP_ID, appIDDesc);
2118 ASSERT_EQ(ERR_PARAM_INVALID, hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes));
2119 tokenValue.Remove(TokenFiledConst::FIELD_APP_ID);
2122 tokenValue.Put(TokenFiledConst::FIELD_APP_ID, appIDDesc);
2123 tokenValue.Put(TokenFiledConst::FIELD_DEVICE_ID, deviceID);
[all …]
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp175 const GenericValues& tokenValue, in RestoreHapTokenInfo() argument
179 int ret = RestoreHapTokenBasicInfo(tokenValue); in RestoreHapTokenInfo()
Daccesstoken_info_manager.cpp89 for (const GenericValues& tokenValue : hapTokenRes) { in InitHapTokenInfos() local
90 AccessTokenID tokenId = (AccessTokenID)tokenValue.GetInt(TokenFiledConst::FIELD_TOKEN_ID); in InitHapTokenInfos()
100 ret = hap->RestoreHapTokenInfo(tokenId, tokenValue, permStateRes); in InitHapTokenInfos()