Searched refs:INST_INDEX (Results 1 - 5 of 5) sorted by relevance
/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | udmf_client_system_hap_test.cpp | 51 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 D | ndk_data_conversion_test.cpp | 53 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 D | udmf_client_test.cpp | 69 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 D | cloudservicestub_fuzzer.cpp | 33 constexpr int INST_INDEX = 0; member 45 .instIndex = INST_INDEX, in AllocAndSetHapToken()
|
/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/ |
H A D | udmf_test.cpp | 59 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