/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/ |
H A D | accesstoken_short_time_permission_test.cpp | 45 .instIndex = 0, 98 g_infoParms.instIndex); in SetUp() 108 g_infoParms.instIndex); in TearDown() 164 infoParms.instIndex); in HWTEST_F() 182 g_infoParms.instIndex); in HWTEST_F() 202 g_infoParms.instIndex); in HWTEST_F() 228 g_infoParms.instIndex); in HWTEST_F()
|
H A D | accesstoken_kit_extension_test.h | 35 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
H A D | security_component_grant_test.h | 36 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
H A D | remote_token_kit_test.h | 46 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
H A D | remote_token_kit_test.cpp | 76 .instIndex = 0, 90 .instIndex = 0, 106 .instIndex = 1, 152 g_infoManagerTestInfoParms.instIndex); in SetUpTestCase() 182 g_infoManagerTestInfoParms.instIndex); in SetUp() 210 unsigned int RemoteTokenKitTest::GetAccessTokenID(int userID, std::string bundleName, int instIndex) in GetAccessTokenID() argument 212 return AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); in GetAccessTokenID() 219 g_infoManagerTestInfoParms.instIndex); in DeleteTestToken() 275 ASSERT_EQ(resultInfo.instIndex, remoteTokenInfo1.baseInfo.instIndex); in HWTEST_F() [all...] |
H A D | accesstoken_kit_test.h | 55 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
/base/security/access_token/frameworks/accesstoken/src/ |
H A D | hap_base_info_parcel.cpp | 26 RETURN_IF_FALSE(out.WriteInt32(this->hapBaseInfo.instIndex)); in Marshalling() 38 RELEASE_IF_FALSE(in.ReadInt32(hapBaseInfoParcel->hapBaseInfo.instIndex), hapBaseInfoParcel); in Unmarshalling()
|
H A D | hap_info_parcel.cpp | 26 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.instIndex));
in Marshalling() 43 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.instIndex), hapInfoParcel);
in Unmarshalling()
|
H A D | hap_token_info_parcel.cpp | 29 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.instIndex)); in Marshalling() 54 RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.instIndex), hapTokenInfoParcel); in Unmarshalling()
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
H A D | hap_token_info.h | 60 int instIndex; member in OHOS::Security::AccessToken::final 105 int instIndex; member in OHOS::Security::AccessToken::final 137 int32_t instIndex = 0; member in OHOS::Security::AccessToken::final
|
/base/security/access_token/test/fuzztest/services/accesstoken/gethaptokenidstub_fuzzer/ |
H A D | gethaptokenidstub_fuzzer.cpp | 44 int instIndex = static_cast<int>(size); in GetHapTokenIDStubFuzzTest() local 49 !sendData.WriteString(bundleName) || !sendData.WriteInt32(instIndex)) { in GetHapTokenIDStubFuzzTest()
|
/base/security/access_token/services/privacymanager/test/unittest/ |
H A D | sensitive_manager_test.cpp | 89 .instIndex = 0, 96 .instIndex = 0, 114 g_InfoParms1.instIndex); in SetUp() 122 g_InfoParms1.instIndex); in TearDown()
|
H A D | permission_record_manager_test.cpp | 105 .instIndex = 0, 119 .instIndex = 0, 174 g_InfoParms1.instIndex); in TearDown() 178 g_InfoParms2.instIndex); in TearDown() 295 g_InfoParms1.instIndex); in HWTEST_F() 316 g_InfoParms1.instIndex); in HWTEST_F() 352 g_InfoParms1.instIndex); in HWTEST_F() 388 g_InfoParms1.instIndex); in HWTEST_F() 431 g_InfoParms1.instIndex); in HWTEST_F() 471 g_InfoParms1.instIndex); in HWTEST_F() [all...] |
H A D | privacy_manager_service_test.cpp | 63 .instIndex = 0, 78 .instIndex = 0, 117 g_InfoParms1.instIndex); in TearDown() 121 g_InfoParms2.instIndex); in TearDown() 185 g_InfoParms1.instIndex); in HWTEST_F() 220 g_InfoParms1.instIndex); in HWTEST_F() 254 g_InfoParms1.instIndex); in HWTEST_F() 270 g_InfoParms1.instIndex); in HWTEST_F() 427 g_InfoParms1.instIndex); in HWTEST_F() 520 g_InfoParms1.instIndex); in HWTEST_F() [all...] |
/base/account/os_account/services/accountmgr/test/mock/app_account/ |
H A D | accesstoken_kit.cpp | 35 hapTokenInfoRes.instIndex = 0; in GetHapTokenInfo()
|
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/ |
H A D | hap_token_info_inner.cpp | 42 tokenInfoBasic_.instIndex = 0; in HapTokenInfoInner() 59 tokenInfoBasic_.instIndex = info.instIndex; in HapTokenInfoInner() 121 outGenericValues.Put(TokenFiledConst::FIELD_INST_INDEX, tokenInfoBasic_.instIndex); in TranslationIntoGenericValues() 143 tokenInfoBasic_.instIndex = inGenericValues.GetInt(TokenFiledConst::FIELD_INST_INDEX); in RestoreHapTokenBasicInfo() 251 return tokenInfoBasic_.instIndex; in GetInstIndex() 316 info.append(R"( "instIndex": )" + std::to_string(tokenInfoBasic_.instIndex) + ",\n"); in ToString()
|
/base/security/access_token/services/privacymanager/test/coverage/ |
H A D | permission_record_manager_coverage_test.cpp | 84 .instIndex = 0, 98 .instIndex = 0, 132 g_InfoParms1.instIndex); in TearDown() 135 g_InfoParms2.instIndex); in TearDown() 190 g_InfoParms1.instIndex); in HWTEST_F() 193 g_InfoParms2.instIndex); in HWTEST_F() 244 g_InfoParms1.instIndex); in HWTEST_F() 272 g_InfoParms1.instIndex); in HWTEST_F() 296 g_InfoParms1.instIndex); in HWTEST_F() 319 g_InfoParms1.instIndex); in HWTEST_F() [all...] |
/base/usb/usb_manager/test/native/service_unittest/src/ |
H A D | usb_common_test.cpp | 55 .instIndex = 0,
63 .instIndex = 0,
71 .instIndex = 1,
|
/base/notification/common_event_service/services/include/ |
H A D | access_token_helper.h | 38 static AccessToken::AccessTokenID GetHapTokenID(int userID, const std::string& bundleName, int instIndex);
|
/base/security/access_token/test/fuzztest/innerkits/accesstoken/setpermdialogcap_fuzzer/ |
H A D | setpermdialogcap_fuzzer.cpp | 38 baseInfo.instIndex = fuzzData.GetData<int32_t>(); in SetPermDialogCapFuzzTest()
|
/base/security/dlp_permission_service/test/fuzztest/dlp_permission/fuzzer/ |
H A D | mock_sandbox_init.cpp | 52 .instIndex = 1, in InitTokenId()
|
/base/notification/common_event_service/services/src/ |
H A D | access_token_helper.cpp | 70 const std::string& bundleName, int instIndex) in GetHapTokenID() 72 return AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); in GetHapTokenID() 69 GetHapTokenID(int userID, const std::string& bundleName, int instIndex) GetHapTokenID() argument
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
H A D | sync_remote_hap_token_command.cpp | 45 hapTokenInfo_.baseInfo.instIndex = 0;
in SyncRemoteHapTokenCommand() 60 hapTokenInfo_.baseInfo.instIndex = 0;
in SyncRemoteHapTokenCommand()
|
/base/security/access_token/interfaces/innerkits/accesstoken/test/tool/ |
H A D | set_pern_dialog_cap.cpp | 67 baseInfo.instIndex = 0; in main()
|
/base/accesscontrol/sandbox_manager/test/fuzztest/common/ |
H A D | alloc_token.cpp | 47 .instIndex = 0,
|