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 D | hks_config_parser.c | 57 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 D | napi_hiappevent_userinfo.test.js | 93 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 D | enroll_command.cpp | 57 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 D | auth_command.cpp | 65 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 D | hiappevent-event-reporting.md | 21 | 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 D | js-apis-hiviewdfx-hiappevent.md | 423 ## 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 D | hiappevent-event-reporting.md | 21 | 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 D | OpenHarmony-Java-secure-coding-guide.md | 1287 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 D | js-apis-hiviewdfx-hiappevent.md | 423 ## 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 D | OpenHarmony-Java-secure-coding-guide.md | 1279 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());
|