Home
last modified time | relevance | path

Searched refs:infoParams (Results 1 – 2 of 2) sorted by relevance

/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp96 HapInfoParams infoParams = { .userID = GetCurrentUserId(), in AllocTestTokenID() local
113 auto tokenInfo = AccessTokenKit::AllocHapToken(infoParams, policyParams); in AllocTestTokenID()
119 HapInfoParams infoParams = { .userID = GetUserIdByBundleName(bundleName, GetCurrentUserId()), in GetTestTokenID() local
123 …return AccessTokenKit::GetHapTokenID(infoParams.userID, infoParams.bundleName, infoParams.instInde… in GetTestTokenID()
/base/theme/wallpaper_mgr/test/unittest/
Dwallpaper_test.cpp108 HapInfoParams infoParams = { .userID = 1, variable
119 tokenIdEx = AccessTokenKit::AllocHapToken(infoParams, policyParams); in GrantNativePermission()