/ohos5.0/foundation/distributeddatamgr/udmf/framework/innerkitsimpl/test/unittest/ |
H A D | udmf_client_system_hap_test.cpp | 51 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 D | udmf_client_hap_permission_test.cpp | 51 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 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()
|
/ohos5.0/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/test/fuzztest/cloudservicestub_fuzzer/ |
H A D | cloudservicestub_fuzzer.cpp | 33 constexpr int INST_INDEX = 0; variable 45 .instIndex = INST_INDEX, in AllocAndSetHapToken()
|
/ohos5.0/foundation/distributeddatamgr/udmf/framework/ndkimpl/unittest/ |
H A D | udmf_test.cpp | 52 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 D | accesstoken_info_manager_test.cpp | 51 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 D | permission_manager_test.cpp | 46 static constexpr int32_t INST_INDEX = 0; variable 1366 .instIndex = INST_INDEX, 1406 .instIndex = INST_INDEX, 1491 .instIndex = INST_INDEX,
|