Home
last modified time | relevance | path

Searched refs:getUserId (Results 1 – 10 of 10) sorted by relevance

/ohos5.0/base/security/huks/services/huks_standard/huks_service/main/upgrade/file_transfer/src/
H A Dhks_config_parser.c57 bool getUserId = false; in ParseOwnerIdFromParamSet() local
78 getUserId = true; in ParseOwnerIdFromParamSet()
81 if (paramSet->params[i].tag == HKS_TAG_USER_ID && !getUserId) { in ParseOwnerIdFromParamSet()
83 getUserId = true; in ParseOwnerIdFromParamSet()
86 if (getUid && getAccessToken && getUserId) { in ParseOwnerIdFromParamSet()
90 ret = getUid && getAccessToken && getUserId ? HKS_SUCCESS : HKS_ERROR_INVALID_KEY_FILE; in ParseOwnerIdFromParamSet()
/ohos5.0/base/hiviewdfx/hiappevent/test/unittest/common/napi/
H A Dnapi_hiappevent_userinfo.test.js93 let res = hiAppEventV9.getUserId(USER_ID_NAME);
121 let res = hiAppEventV9.getUserId(USER_ID_NAME);
179 let res = hiAppEventV9.getUserId(userIdName);
208 let res = hiAppEventV9.getUserId(USER_ID_NAME);
237 let res = hiAppEventV9.getUserId(USER_ID_NAME);
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/executors/src/async_command/
H A Denroll_command.cpp57 bool getUserId = attributes_->GetInt32Value(Attributes::ATTR_USER_ID, userId); in SendRequest() local
58 IF_FALSE_LOGE_AND_RETURN_VAL(getUserId == true, ResultCode::GENERAL_ERROR); in SendRequest()
H A Dauth_command.cpp65 bool getUserId = attributes_->GetInt32Value(Attributes::ATTR_USER_ID, userId); in SendRequest() local
66 IF_FALSE_LOGE_AND_RETURN_VAL(getUserId == true, ResultCode::GENERAL_ERROR); in SendRequest()
/ohos5.0/docs/zh-cn/application-dev/dfx/
H A Dhiappevent-event-reporting.md21 | getUserId(name: string): string | 获取已设置的用户ID。 |
91 let userId = hiAppEvent.getUserId('testUserIdName');
/ohos5.0/docs/zh-cn/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hiviewdfx-hiappevent.md423 ## hiAppEvent.getUserId<sup>11+</sup>
425 getUserId(name: string): string
458 let value: string = hiAppEvent.getUserId('key');
459 hilog.info(0x0000, 'hiAppEvent', `getUserId event was successful, userId=${value}`);
461 hilog.error(0x0000, 'hiAppEvent', `failed to getUserId event, code=${error.code}`);
/ohos5.0/docs/en/application-dev/dfx/
H A Dhiappevent-event-reporting.md21 | getUserId(name: string): string | Obtains a user ID that has been set. …
91 let userId = hiAppEvent.getUserId('testUserIdName');
/ohos5.0/docs/zh-cn/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md1287 xmlString = "<user><role>operator</role><id>" + user.getUserId()
1327 xmlString = "<user><id>" + user.getUserId()
1398 if (!Pattern.matches("[_a-bA-B0-9]+", user.getUserId())) {
1404 String xmlString = "<user><id>" + user.getUserId()
1421 idElem.setText(user.getUserId());
1473 String encodeUserId = XXXXEncoder.encodeForXML(user.getUserId());
/ohos5.0/docs/en/application-dev/reference/apis-performance-analysis-kit/
H A Djs-apis-hiviewdfx-hiappevent.md423 ## hiAppEvent.getUserId<sup>11+</sup>
425 getUserId(name: string): string
458 let value: string = hiAppEvent.getUserId('key');
459 hilog.info(0x0000, 'hiAppEvent', `getUserId event was successful, userId=${value}`);
461 hilog.error(0x0000, 'hiAppEvent', `failed to getUserId event, code=${error.code}`);
/ohos5.0/docs/en/contribute/
H A DOpenHarmony-Java-secure-coding-guide.md1279 xmlString = "<user><role>operator</role><id>" + user.getUserId()
1319 xmlString = "<user><id>" + user.getUserId()
1390 if (!Pattern.matches("[_a-bA-B0-9]+", user.getUserId())) {
1396 String xmlString = "<user><id>" + user.getUserId()
1413 idElem.setText(user.getUserId());
1465 String encodeUserId = XXXXEncoder.encodeForXML(user.getUserId());