Home
last modified time | relevance | path

Searched refs:INST_INDEX (Results 1 - 5 of 5) sorted by relevance

/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/
H A Dudmf_client_system_hap_test.cpp51 static constexpr int INST_INDEX = 0; member
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 Dndk_data_conversion_test.cpp53 static constexpr int INST_INDEX = 0; member in OHOS::Test::NdkDataConversionTest
64 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in TearDownTestCase()
66 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in TearDownTestCase()
82 .instIndex = INST_INDEX, in AllocHapToken1()
114 .instIndex = INST_INDEX, in AllocHapToken2()
143 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in SetHapToken1()
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()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/
H A Dcloudservicestub_fuzzer.cpp33 constexpr int INST_INDEX = 0; member
45 .instIndex = INST_INDEX, in AllocAndSetHapToken()
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/
H A Dudmf_test.cpp59 static constexpr int INST_INDEX = 0; member in OHOS::Test::UDMFTest
70 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in TearDownTestCase()
72 tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo2", INST_INDEX); in TearDownTestCase()
90 .instIndex = INST_INDEX, in AllocHapToken1()
128 .instIndex = INST_INDEX, in AllocHapToken2()
163 auto tokenId = AccessTokenKit::GetHapTokenID(USER_ID, "ohos.test.demo1", INST_INDEX); in SetHapToken1()

Completed in 11 milliseconds