Home
last modified time | relevance | path

Searched refs:strUserId (Results 1 - 4 of 4) sorted by relevance

/base/hiviewdfx/hiappevent/test/unittest/common/native/
H A Dhiappevent_userinfo_test.cpp70 std::string strUserId; in HWTEST_F() local
71 int ret = HiAppEvent::UserInfo::GetInstance().GetUserId(TEST_USER_ID_NAME, strUserId); in HWTEST_F()
73 ASSERT_NE(strUserId, ""); in HWTEST_F()
94 std::string strUserId; in HWTEST_F() local
95 int ret = HiAppEvent::UserInfo::GetInstance().GetUserId("", strUserId); in HWTEST_F()
97 ASSERT_EQ(strUserId, ""); in HWTEST_F()
121 std::string strUserId; in HWTEST_F() local
122 int ret = HiAppEvent::UserInfo::GetInstance().GetUserId(TEST_USER_ID_NAME, strUserId); in HWTEST_F()
124 ASSERT_EQ(strUserId, "testUserId1"); in HWTEST_F()
148 std::string strUserId; in HWTEST_F() local
[all...]
/base/security/access_token/services/el5filekeymanager/src/
H A Del5_filekey_manager_service_ability.cpp59 std::string strUserId = startReason.GetValue(); in OnStart() local
61 if (StrToInt(strUserId, userId)) { in OnStart()
65 LOG_ERROR("el5 manager start, invalid userId:%{public}s", strUserId.c_str()); in OnStart()
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
H A Dnapi_hiappevent_userinfo.cpp74 std::string strUserId = NapiUtil::GetString(env, userId); in SetUserId() local
75 if (!IsValidUserIdValue(strUserId)) { in SetUserId()
80 if (HiAppEvent::UserInfo::GetInstance().SetUserId(strName, strUserId) != 0) { in SetUserId()
99 std::string strUserId; in GetUserId() local
100 if (HiAppEvent::UserInfo::GetInstance().GetUserId(strName, strUserId) != 0) { in GetUserId()
104 out = NapiUtil::CreateString(env, strUserId); in GetUserId()
/base/hiviewdfx/hiappevent/frameworks/cj/ffi/src/
H A Dhiappevent_impl.cpp171 std::string strUserId; in GetUserId() local
172 if (UserInfo::GetInstance().GetUserId(name, strUserId) != 0) { in GetUserId()
176 return {SUCCESS_CODE, strUserId}; in GetUserId()

Completed in 2 milliseconds