Home
last modified time | relevance | path

Searched refs:userID (Results 1 – 25 of 80) sorted by relevance

1234

/base/security/access_token/test/fuzztest/access_token/gethaptokenid_fuzzer/
Dgethaptokenid_fuzzer.cpp32 int userID = static_cast<int>(size); in GetHapTokenIDFuzzTest() local
35 int32_t result = AccessTokenKit::GetHapTokenID(userID, testName, instIndex); in GetHapTokenIDFuzzTest()
/base/security/access_token/services/privacymanager/test/unittest/
Dpermission_record_manager_test.cpp72 .userID = 1,
86 .userID = 1,
156 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, in TearDown()
159 tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms2.userID, g_InfoParms2.bundleName, in TearDown()
263 …AccessTokenID tokenId1 = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleNam…
266 …AccessTokenID tokenId2 = AccessTokenKit::GetHapTokenID(g_InfoParms2.userID, g_InfoParms2.bundleNam…
297 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
330 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
358 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
386 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
[all …]
Dprivacy_manager_service_test.cpp63 .userID = 1,
78 .userID = 1,
119 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName, in TearDown()
122 tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms2.userID, g_InfoParms2.bundleName, in TearDown()
184 …AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
214 tokenId = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleName,
360 …AccessTokenID hapTokenID = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleN…
449 …AccessTokenID hapTokenID = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleN…
607 …AccessTokenID hapTokenID = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleN…
743 …AccessTokenID hapTokenID = AccessTokenKit::GetHapTokenID(g_InfoParms1.userID, g_InfoParms1.bundleN…
[all …]
/base/security/access_token/interfaces/innerkits/accesstoken/test/unittest/src/
Dremote_token_kit_test.cpp93 .userID = 1,
107 .userID = 1,
131 AccessTokenID tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestInfoParms.userID, in SetUpTestCase()
151 AccessTokenID tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestInfoParms.userID, in SetUp()
178 unsigned int RemoteTokenKitTest::GetAccessTokenID(int userID, std::string bundleName, int instIndex) in GetAccessTokenID() argument
180 return AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); in GetAccessTokenID()
185 AccessTokenID tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestInfoParms.userID, in DeleteTestToken()
216 .userID = 1,
252 ASSERT_EQ(resultInfo.userID, remoteTokenInfo.baseInfo.userID);
311 .userID = 1,
[all …]
Daccesstoken_kit_test.cpp110 .userID = 1,
125 .userID = 1,
140 .userID = 1,
149 .userID = 1,
187 AccessTokenID tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestInfoParms.userID, in SetUpTestCase()
192 tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestNormalInfoParms.userID, in SetUpTestCase()
197 tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestSystemInfoParms.userID, in SetUpTestCase()
332 .userID = TEST_USER_ID, in SetUp()
348 AccessTokenID tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestInfoParms.userID, in SetUp()
359 tokenID = AccessTokenKit::GetHapTokenID(g_infoManagerTestNormalInfoParms.userID, in TearDown()
[all …]
Dremote_token_kit_test.h36 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
Dsecurity_component_grant_test.h36 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
Daccesstoken_kit_extension_test.h35 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
Daccesstoken_kit_test.h55 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
Daccesstoken_deny_test.cpp35 .userID = 1,
62 g_testTokenIDEx = AccessTokenKit::GetHapTokenIDEx(g_InfoParms.userID, in SetUp()
154 int32_t userID = 0; variable
157 AccessTokenID tokenId = AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex);
/base/security/access_token/test/fuzztest/access_token_stub/gethaptokenidstub_fuzzer/
Dgethaptokenidstub_fuzzer.cpp42 int userID = static_cast<int>(size); in GetHapTokenIDStubFuzzTest() local
45 if (!datas.WriteInt32(userID)) { in GetHapTokenIDStubFuzzTest()
/base/security/access_token/interfaces/innerkits/accesstoken/include/
Dhap_token_info.h57 int userID;
99 int userID; variable
Daccesstoken_kit.h133 …static AccessTokenID GetHapTokenID(int32_t userID, const std::string& bundleName, int32_t instInde…
141 …static AccessTokenIDEx GetHapTokenIDEx(int32_t userID, const std::string& bundleName, int32_t inst…
/base/security/access_token/frameworks/accesstoken/src/
Dhap_info_parcel.cpp24 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.userID)); in Marshalling()
40 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.userID), hapInfoParcel); in Unmarshalling()
Dhap_token_info_parcel.cpp26 RETURN_IF_FALSE(out.WriteInt32(this->hapTokenInfoParams.userID)); in Marshalling()
51 … RELEASE_IF_FALSE(in.ReadInt32(hapTokenInfoParcel->hapTokenInfoParams.userID), hapTokenInfoParcel); in Unmarshalling()
/base/security/access_token/services/accesstokenmanager/main/cpp/src/token/
Dhap_token_info_inner.cpp40 tokenInfoBasic_.userID = 0; in HapTokenInfoInner()
51 tokenInfoBasic_.userID = info.userID; in HapTokenInfoInner()
110 outGenericValues.Put(TokenFiledConst::FIELD_USER_ID, tokenInfoBasic_.userID); in TranslationIntoGenericValues()
124 tokenInfoBasic_.userID = inGenericValues.GetInt(TokenFiledConst::FIELD_USER_ID); in RestoreHapTokenBasicInfo()
215 return tokenInfoBasic_.userID; in GetUserID()
270 info.append(R"( "userId": )" + std::to_string(tokenInfoBasic_.userID) + ",\n"); in ToString()
/base/security/access_token/interfaces/innerkits/accesstoken/src/
Daccesstoken_kit.cpp46 …if ((!DataValidator::IsUserIdValid(info.userID)) || !DataValidator::IsAppIDDescValid(info.appIDDes… in AllocHapToken()
151 AccessTokenID AccessTokenKit::GetHapTokenID(int32_t userID, const std::string& bundleName, int32_t … in GetHapTokenID() argument
154 userID, bundleName.c_str(), instIndex); in GetHapTokenID()
155 … if ((!DataValidator::IsUserIdValid(userID)) || (!DataValidator::IsBundleNameValid(bundleName))) { in GetHapTokenID()
160 AccessTokenManagerClient::GetInstance().GetHapTokenID(userID, bundleName, instIndex); in GetHapTokenID()
164 AccessTokenIDEx AccessTokenKit::GetHapTokenIDEx(int32_t userID, const std::string& bundleName, int3… in GetHapTokenIDEx() argument
168 userID, bundleName.c_str(), instIndex); in GetHapTokenIDEx()
169 … if ((!DataValidator::IsUserIdValid(userID)) || (!DataValidator::IsBundleNameValid(bundleName))) { in GetHapTokenIDEx()
173 return AccessTokenManagerClient::GetInstance().GetHapTokenID(userID, bundleName, instIndex); in GetHapTokenIDEx()
/base/notification/common_event_service/services/src/
Daccess_token_helper.cpp71 AccessTokenID AccessTokenHelper::GetHapTokenID(int userID, in GetHapTokenID() argument
74 return AccessTokenKit::GetHapTokenID(userID, bundleName, instIndex); in GetHapTokenID()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_client_info.h30 int32_t userID{ 0 }; // user id of input client
/base/notification/common_event_service/services/include/
Daccess_token_helper.h38 …static AccessToken::AccessTokenID GetHapTokenID(int userID, const std::string& bundleName, int ins…
/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
Daccesstoken_kit.h44 …static AccessTokenID GetHapTokenID(int32_t userID, const std::string& bundleName, int32_t instInde… in GetHapTokenID() argument
/base/security/access_token/test/fuzztest/access_token/gethaptokeninfo_fuzzer/
Dgethaptokeninfo_fuzzer.cpp38 .userID = num, in GetHapTokenInfoFuzzTest()
/base/security/access_token/services/tokensyncmanager/src/command/
Dsync_remote_hap_token_command.cpp48 hapTokenInfo_.baseInfo.userID = 0; in SyncRemoteHapTokenCommand()
63 hapTokenInfo_.baseInfo.userID = 0; in SyncRemoteHapTokenCommand()
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp96 HapInfoParams infoParams = { .userID = GetCurrentUserId(), in AllocTestTokenID()
119 HapInfoParams infoParams = { .userID = GetUserIdByBundleName(bundleName, GetCurrentUserId()), in GetTestTokenID()
123 …return AccessTokenKit::GetHapTokenID(infoParams.userID, infoParams.bundleName, infoParams.instInde… in GetTestTokenID()
/base/security/access_token/test/fuzztest/access_token/setremotehaptokeninfo_fuzzer/
Dsetremotehaptokeninfo_fuzzer.cpp40 .userID = 1, in SetRemoteHapTokenInfoFuzzTest()

1234