Home
last modified time | relevance | path

Searched refs:INST_INDEX (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_system_hap_test.cpp51 static constexpr int INST_INDEX = 0; variable
75 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in TearDownTestCase()
77 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in TearDownTestCase()
101 .instIndex = INST_INDEX, in AllocHapToken1()
140 .instIndex = INST_INDEX, in AllocHapToken2()
176 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in SetHapToken1()
182 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in SetHapToken2()
189 privilege.tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in AddPrivilege()
H A Dudmf_client_hap_permission_test.cpp51 static constexpr int INST_INDEX = 0; variable
75 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo11", INST_INDEX); in TearDownTestCase()
77 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo22", INST_INDEX); in TearDownTestCase()
101 .instIndex = INST_INDEX, in AllocHapToken1()
175 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo11", INST_INDEX); in SetHapToken1()
181 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo22", INST_INDEX); in SetHapToken2()
188 privilege.tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo22", INST_INDEX); in AddPrivilege()
H A Dudmf_client_test.cpp69 static constexpr int INST_INDEX = 0; member in OHOS::Test::UdmfClientTest
80 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in TearDownTestCase()
82 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in TearDownTestCase()
111 .instIndex = INST_INDEX, in AllocHapToken1()
149 .instIndex = INST_INDEX, in AllocHapToken2()
184 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in SetHapToken1()
190 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in SetHapToken2()
197 privilege.tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in AddPrivilege()
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/
H A Dcloudservicestub_fuzzer.cpp33 constexpr int INST_INDEX = 0; variable
45 .instIndex = INST_INDEX, in AllocAndSetHapToken()
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp52 static constexpr int INST_INDEX = 0; member in OHOS::Test::UDMFTest
63 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in TearDownTestCase()
65 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in TearDownTestCase()
83 .instIndex = INST_INDEX, in AllocHapToken1()
121 .instIndex = INST_INDEX, in AllocHapToken2()
156 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in SetHapToken1()
/ohos5.0/base/security/access_token/services/accesstokenmanager/test/unittest/
H A Daccesstoken_info_manager_test.cpp51 static constexpr int INST_INDEX = 0; variable
608 info->tokenInfoBasic_.instIndex = INST_INDEX;
617 …tring hapUniqueKey = "com.ohos.TEST&" + std::to_string(USER_ID) + "&" + std::to_string(INST_INDEX);
1417 .instIndex = INST_INDEX,
1444 USER_ID, "com.ohos.test", INST_INDEX);
H A Dpermission_manager_test.cpp46 static constexpr int32_t INST_INDEX = 0; variable
1366 .instIndex = INST_INDEX,
1406 .instIndex = INST_INDEX,
1491 .instIndex = INST_INDEX,