/ohos5.0/docs/zh-cn/application-dev/performance/ |
H A D | component_recycle_case.md | 422 Text(`${this.moment.userName}`) 432 userName: string; 440 this.userName = userName; 491 Text(`${this.moment.userName}`) 500 userName: string; 508 this.userName = userName; 574 this.moment.userName = (params.moment as FriendMoment).userName 592 userName: string; 600 this.userName = userName; 660 userName: string; [all …]
|
/ohos5.0/foundation/filemanagement/file_api/interfaces/kits/js/src/mod_environment/ |
H A D | environment_n_exporter.cpp | 63 std::string userName; in GetUserName() local 64 ErrCode errCode = OHOS::AccountSA::OsAccountManager::GetOsAccountShortName(userName); in GetUserName() 65 if (errCode != ERR_OK || userName.empty()) { in GetUserName() 68 userName = DEFAULT_USERNAME; in GetUserName() 69 return userName; in GetUserName() 274 static std::string userName = GetUserName(); in GetUserHomeDir() local 275 if (userName.empty()) { in GetUserHomeDir() 280 return NVal::CreateUTF8String(env, PC_STORAGE_PATH + userName).val_; in GetUserHomeDir()
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/ril/ |
H A D | _data_profile_data_info_v10.md | 26 | String [userName](#username) | 用户名 | 109 ### userName subsection 112 String DataProfileDataInfo::userName
|
H A D | _data_profile_data_info_v11.md | 26 | String [userName](#username) | 用户名 | 109 ### userName subsection 112 String DataProfileDataInfo::userName
|
/ohos5.0/base/account/os_account/services/accountmgr/src/ |
H A D | account_info_report.cpp | 51 std::string userName = user; in ReportSecurityInfo() local 55 userName = osAccountInfo.GetLocalName(); in ReportSecurityInfo() 58 std::string content = TransformIntoJson(userName, id, event, result); in ReportSecurityInfo()
|
/ohos5.0/foundation/filemanagement/user_file_service/utils/ |
H A D | user_access_common_utils.h | 38 static bool GetUserName(std::string &userName) in GetUserName() argument 40 userName = "currentUser"; in GetUserName()
|
/ohos5.0/foundation/filemanagement/user_file_service/test/fuzztest/useraccesscommonutils_fuzzer/ |
H A D | useraccesscommonutils_fuzzer.cpp | 34 string userName; in GetUserNameFuzzTest() local 35 GetUserName(userName); in GetUserNameFuzzTest()
|
/ohos5.0/base/startup/appspawn/test/moduletest/ |
H A D | appspawn_test_cmder.cpp | 190 char *userName = GetStringFromJsonObj(config, "user-name"); in AddDacInfoFromJson() local 191 if (userName != nullptr) { in AddDacInfoFromJson() 192 int ret = strcpy_s(info.userName, sizeof(info.userName), userName); in AddDacInfoFromJson() 193 … APPSPAWN_CHECK(ret == 0, return ret, "Failed to add userName info req %{public}s", userName); in AddDacInfoFromJson() 253 (void)strcpy_s(dacInfo.userName, sizeof(dacInfo.userName), processName_.c_str()); in AddExtTlv()
|
H A D | appspawn_client_test.cpp | 51 (void)strcpy_s(dacInfo.userName, sizeof(dacInfo.userName), "test-app-name"); in CreateMsg()
|
/ohos5.0/base/telephony/ril_adapter/test/unittest/ril_adapter_gtest/ |
H A D | ril_data_test.cpp | 55 dataProfileInfo.userName = ""; 86 dataProfileInfo.userName = ""; 197 dataProfileInfo.userName = ""; 223 dataProfileInfo.userName = ""; 446 dataProfileInfo.userName = ""; 476 dataProfileInfo.userName = "";
|
/ohos5.0/base/web/webview/ohos_adapter/inputmethodframework_adapter/src/ |
H A D | imf_adapter_impl.cpp | 405 cJSON* userName = cJSON_GetObjectItem(sourceJson, "userName"); in ParseFillContentJsonValue() local 406 if (userName != nullptr && cJSON_IsString(userName) && userName->valuestring != nullptr) { in ParseFillContentJsonValue() 407 map.insert(std::make_pair("userName", userName->valuestring)); in ParseFillContentJsonValue()
|
/ohos5.0/base/web/webview/ohos_adapter/sensor_adapter/src/ |
H A D | sensor_adapter_impl.cpp | 62 std::string userName = "OhosSensorService"; in SensorTypeToSensorUserName() local 65 userName = checkIter->second; in SensorTypeToSensorUserName() 67 return userName; in SensorTypeToSensorUserName() 369 std::string userName = SensorTypeToSensorUserName(sensorTypeId); in SubscribeOhosSensor() local 370 int cpyret = strcpy_s(mSensorUser.name, sizeof(mSensorUser.name), userName.c_str()); in SubscribeOhosSensor()
|
/ohos5.0/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_service_helper_test.cpp | 132 std::string userName; variable 133 EXPECT_EQ(helper.QueryNameForUid(mgr, userId, userName), false);
|
/ohos5.0/foundation/filemanagement/user_file_service/interfaces/kits/native/recent/ |
H A D | recent_n_exporter.cpp | 354 std::string userName; in InitRecentPath() local 355 if (GetUserName(userName) && userName != "") { in InitRecentPath() 356 RecentNExporter::recentPath_ = "/storage/Users/" + userName + "/.Recent/"; in InitRecentPath()
|
/ohos5.0/docs/zh-cn/contribute/ |
H A D | OpenHarmony-Application-Typescript-JavaScript-coding-guide.md | 713 let userName: string; 714 userName = 'hello'; 715 userName = undefined; 721 let userName: string | undefined; 722 userName = 'hello'; 723 userName = undefined;
|
H A D | OpenHarmony-Java-secure-coding-guide.md | 1073 String userName = request.getParameter("name"); 1076 String sqlStr = "SELECT * FROM t_user_info WHERE name = '" + userName 1094 String userName = request.getParameter("name"); 1096 ... // 确保userName和password的长度是合法的 1099 stmt.setString(1, userName); 1146 @userName varchar(50), 1152 WHERE name= ''' + @userName + ''' 1167 @userName varchar(50), 1172 WHERE name = @userName 1955 LOGGER.info("Login success, user is " + userName + ", password is " + [all …]
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_nweb/ |
H A D | nweb_js_http_auth_result.h | 31 virtual bool Confirm(const std::string& userName, const std::string& pwd) = 0;
|
/ohos5.0/base/telephony/call_manager/interfaces/innerkits/ |
H A D | call_manager_info.h | 82 std::string userName = ""; member 513 voipCallInfo.userName = temp.voipCallInfo.userName;
|
H A D | voip_call_manager_info.h | 117 std::string userName = ""; member
|
/ohos5.0/base/telephony/call_manager/services/call/src/ |
H A D | voip_call.cpp | 30 userName_ = info.voipCallInfo.userName; in VoIPCall() 160 info.voipCallInfo.userName = userName_; in GetCallAttributeInfo()
|
/ohos5.0/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_data.cpp | 146 dataInfo.userName = StringToCString(dataCallInfo.dataProfileInfo.userName); in ActivatePdpContext() 216 dataInfo.userName = StringToCString(dataProfileInfo.userName); in BuildDataInfo()
|
/ohos5.0/base/telephony/ril_adapter/interfaces/innerkits/include/ |
H A D | hril_vendor_data_defs.h | 147 char *userName; member
|
/ohos5.0/base/telephony/core_service/interfaces/innerkits/include/ |
H A D | tel_ril_data_parcel.h | 162 std::string userName = ""; member
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/text_field/ |
H A D | on_text_changed_listener_impl.cpp | 368 auto userName = privateCommand.find(AUTO_FILL_PARAMS_USERNAME); in AutoFillReceivePrivateCommand() local 369 textFieldPattern->SetAutoFillUserName(std::get<std::string>(userName->second)); in AutoFillReceivePrivateCommand() 372 std::get<std::string>(userName->second).c_str()); in AutoFillReceivePrivateCommand()
|
/ohos5.0/base/telephony/core_service/test/fuzztest/sendsmsmoremode_fuzzer/ |
H A D | sendsmsmoremode_fuzzer.cpp | 163 std::string userName(reinterpret_cast<const char *>(data), size); in DeactivatePdpContext() 175 dataProfile.userName = userName; in DeactivatePdpContext()
|