Searched refs:infoParams (Results 1 – 2 of 2) sorted by relevance
96 HapInfoParams infoParams = { .userID = GetCurrentUserId(), in AllocTestTokenID() local113 auto tokenInfo = AccessTokenKit::AllocHapToken(infoParams, policyParams); in AllocTestTokenID()119 HapInfoParams infoParams = { .userID = GetUserIdByBundleName(bundleName, GetCurrentUserId()), in GetTestTokenID() local123 …return AccessTokenKit::GetHapTokenID(infoParams.userID, infoParams.bundleName, infoParams.instInde… in GetTestTokenID()
108 HapInfoParams infoParams = { .userID = 1, variable119 tokenIdEx = AccessTokenKit::AllocHapToken(infoParams, policyParams); in GrantNativePermission()