/base/security/access_token/test/fuzztest/access_token/gethaptokenid_fuzzer/ |
D | gethaptokenid_fuzzer.cpp | 32 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/ |
D | permission_record_manager_test.cpp | 72 .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 …]
|
D | privacy_manager_service_test.cpp | 63 .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/ |
D | remote_token_kit_test.cpp | 93 .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 …]
|
D | accesstoken_kit_test.cpp | 110 .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 …]
|
D | remote_token_kit_test.h | 36 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
D | security_component_grant_test.h | 36 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
D | accesstoken_kit_extension_test.h | 35 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
D | accesstoken_kit_test.h | 55 unsigned int GetAccessTokenID(int userID, std::string bundleName, int instIndex);
|
D | accesstoken_deny_test.cpp | 35 .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/ |
D | gethaptokenidstub_fuzzer.cpp | 42 int userID = static_cast<int>(size); in GetHapTokenIDStubFuzzTest() local 45 if (!datas.WriteInt32(userID)) { in GetHapTokenIDStubFuzzTest()
|
/base/security/access_token/interfaces/innerkits/accesstoken/include/ |
D | hap_token_info.h | 57 int userID; 99 int userID; variable
|
D | accesstoken_kit.h | 133 …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/ |
D | hap_info_parcel.cpp | 24 RETURN_IF_FALSE(out.WriteInt32(this->hapInfoParameter.userID)); in Marshalling() 40 RELEASE_IF_FALSE(in.ReadInt32(hapInfoParcel->hapInfoParameter.userID), hapInfoParcel); in Unmarshalling()
|
D | hap_token_info_parcel.cpp | 26 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/ |
D | hap_token_info_inner.cpp | 40 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/ |
D | accesstoken_kit.cpp | 46 …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/ |
D | access_token_helper.cpp | 71 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/ |
D | input_client_info.h | 30 int32_t userID{ 0 }; // user id of input client
|
/base/notification/common_event_service/services/include/ |
D | access_token_helper.h | 38 …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/ |
D | accesstoken_kit.h | 44 …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/ |
D | gethaptokeninfo_fuzzer.cpp | 38 .userID = num, in GetHapTokenInfoFuzzTest()
|
/base/security/access_token/services/tokensyncmanager/src/command/ |
D | sync_remote_hap_token_command.cpp | 48 hapTokenInfo_.baseInfo.userID = 0; in SyncRemoteHapTokenCommand() 63 hapTokenInfo_.baseInfo.userID = 0; in SyncRemoteHapTokenCommand()
|
/base/inputmethod/imf/test/unittest/cpp_test/common/src/ |
D | tdd_util.cpp | 96 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/ |
D | setremotehaptokeninfo_fuzzer.cpp | 40 .userID = 1, in SetRemoteHapTokenInfoFuzzTest()
|