Home
last modified time | relevance | path

Searched refs:username (Results 1 - 19 of 19) sorted by relevance

/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_ohos_web_data_base_adapter_impl.cpp35 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) in SaveHttpAuthCredentials()
38 ArkWebStringStructToClass(username), password); in SaveHttpAuthCredentials()
42 const ArkWebString& host, const ArkWebString& realm, ArkWebString& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials()
47 username = ArkWebStringClassToStruct(s_username); in GetHttpAuthCredentials()
34 SaveHttpAuthCredentials( const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) SaveHttpAuthCredentials() argument
41 GetHttpAuthCredentials( const ArkWebString& host, const ArkWebString& realm, ArkWebString& username, char* password, uint32_t passwordSize) GetHttpAuthCredentials() argument
H A Dark_ohos_web_data_base_adapter_impl.h33 void SaveHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username,
36 void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/
H A Dark_ohos_web_data_base_adapter_wrapper.cpp41 const std::string& host, const std::string& realm, const std::string& username, const char* password) in SaveHttpAuthCredentials()
48 ArkWebString ark_username = ArkWebStringClassToStruct(username); in SaveHttpAuthCredentials()
56 const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials()
63 ArkWebString ark_username = ArkWebStringClassToStruct(username); in GetHttpAuthCredentials()
65 username = ArkWebStringStructToClass(ark_username); in GetHttpAuthCredentials()
40 SaveHttpAuthCredentials( const std::string& host, const std::string& realm, const std::string& username, const char* password) SaveHttpAuthCredentials() argument
55 GetHttpAuthCredentials( const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t passwordSize) GetHttpAuthCredentials() argument
H A Dark_ohos_web_data_base_adapter_wrapper.h34 const std::string& host, const std::string& realm, const std::string& username, const char* password) override;
36 void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
/base/web/webview/test/unittest/ohos_adapter/web_data_base_adapter_impl_test/
H A Dweb_data_base_adapter_impl_test.cpp169 std::string username; in HWTEST_F() local
174 dataBase.GetHttpAuthCredentials("", TEST_REALME, username, password, maxLength + 1); in HWTEST_F()
175 dataBase.GetHttpAuthCredentials(TEST_HOST, "", username, password, maxLength + 1); in HWTEST_F()
176 dataBase.GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, nullptr, maxLength + 1); in HWTEST_F()
177 dataBase.GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, maxLength + 1); in HWTEST_F()
179 g_dataBaseNull->GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, -1); in HWTEST_F()
180 g_dataBaseNull->GetHttpAuthCredentials(TEST_HOST, TEST_REALME, username, password, maxLength + 1); in HWTEST_F()
/base/web/webview/test/fuzztest/ohos_adapter/distributeddatamgr_adapter/webdatabase/gethttpauthcredentials_fuzzer/
H A Dgethttpauthcredentials_fuzzer.cpp34 std::string username; in GetHttpAuthCredentialsFuzzTest() local
36 OhosWebDataBaseAdapterImpl::GetInstance().GetHttpAuthCredentials(host, realm, username, password, maxLen + 1); in GetHttpAuthCredentialsFuzzTest()
/base/web/webview/interfaces/kits/napi/webdatabase/
H A Dnapi_web_data_base.cpp162 std::string username; in JsSaveHttpAuthCredentials() local
163 if (!GetStringPara(env, argv[PARAMTWO], username)) { in JsSaveHttpAuthCredentials()
165 NWebError::FormatString(ParamCheckErrorMsgTemplate::TYPE_ERROR, "username", "string")); in JsSaveHttpAuthCredentials()
168 if (host.empty() || username.empty()) { in JsSaveHttpAuthCredentials()
170 NWebError::FormatString(ParamCheckErrorMsgTemplate::PARAM_NOT_NULL_TWO, "username", "string")); in JsSaveHttpAuthCredentials()
188 dataBase->SaveHttpAuthCredentials(host, realm, username, password); in JsSaveHttpAuthCredentials()
230 std::string username; in JsGetHttpAuthCredentials() local
237 dataBase->GetHttpAuthCredentials(host, realm, username, password, MAX_PWD_LENGTH + 1); in JsGetHttpAuthCredentials()
239 if (!username.empty() && strlen(password) > 0) { in JsGetHttpAuthCredentials()
242 napi_create_string_utf8(env, username in JsGetHttpAuthCredentials()
[all...]
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/
H A Dark_ohos_web_data_base_adapter.h36 const ArkWebString& host, const ArkWebString& realm, const ArkWebString& username, const char* password) = 0;
39 virtual void GetHttpAuthCredentials(const ArkWebString& host, const ArkWebString& realm, ArkWebString& username,
/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dohos_web_data_base_adapter.h35 const std::string& host, const std::string& realm, const std::string& username, const char* password) = 0;
37 virtual void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
/base/web/webview/ohos_interface/include/ohos_nweb/
H A Dnweb_data_base.h51 * @param username the username.
55 const std::string& host, const std::string& realm, const std::string& username, const char* password) = 0;
58 * @brief get username and password.
62 * @param username the username.
66 virtual void GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username,
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/include/
H A Dohos_web_data_base_adapter_impl.h49 const std::string& username, const char* password) override;
52 std::string& username, char* password, uint32_t passwordSize) override;
/base/web/webview/ohos_adapter/distributeddatamgr_adapter/webdatabase/src/
H A Dohos_web_data_base_adapter_impl.cpp37 static const std::string HTTPAUTH_USERNAME_COL = "username";
110 const std::string& username, const char* password) in SaveHttpAuthCredentials()
113 if (host.empty() || username.empty() || password == nullptr) { in SaveHttpAuthCredentials()
127 valuesBucket.PutString(HTTPAUTH_USERNAME_COL, username); in SaveHttpAuthCredentials()
139 std::string& username, char* password, uint32_t passwordSize) in GetHttpAuthCredentials()
141 WVLOG_I("webdatabase get username and password"); in GetHttpAuthCredentials()
162 resultSet->GetString(columnIndex, username); in GetHttpAuthCredentials()
109 SaveHttpAuthCredentials(const std::string& host, const std::string& realm, const std::string& username, const char* password) SaveHttpAuthCredentials() argument
138 GetHttpAuthCredentials(const std::string& host, const std::string& realm, std::string& username, char* password, uint32_t passwordSize) GetHttpAuthCredentials() argument
/base/web/webview/interfaces/kits/cj/src/
H A Dweb_data_base.cpp73 const std::string &username, const std::string &password) in CJSaveHttpAuthCredentials()
78 database->SaveHttpAuthCredentials(host, realm, username, password.c_str()); in CJSaveHttpAuthCredentials()
72 CJSaveHttpAuthCredentials(const std::string &host, const std::string &realm, const std::string &username, const std::string &password) CJSaveHttpAuthCredentials() argument
H A Dwebview_ffi.cpp1326 const char *username, const char *password) in FfiOHOSDBSaveHttpAuthCredentials()
1330 std::string username_s = std::string(username); in FfiOHOSDBSaveHttpAuthCredentials()
1325 FfiOHOSDBSaveHttpAuthCredentials(const char *host, const char *realm, const char *username, const char *password) FfiOHOSDBSaveHttpAuthCredentials() argument
/base/web/webview/interfaces/kits/cj/include/
H A Dweb_data_base.h34 const std::string &username, const std::string &password);
H A Dwebview_ffi.h130 const char *username, const char *password);
/base/customization/enterprise_device_management/interfaces/kits/network_manager/src/
H A Dnetwork_manager_addon.cpp28 const char *const PROXY_USER_NAME = "username";
916 OHOS::NetManagerStandard::SecureData username; in ParseHttpProxyParam() local
917 if (!JsObjectToSecureData(env, argv, PROXY_USER_NAME, username)) { in ParseHttpProxyParam()
918 EDMLOGE("error username value"); in ParseHttpProxyParam()
926 if (!username.empty() && !password.empty()) { in ParseHttpProxyParam()
927 EDMLOGD("NetworkManagerAddon username and password is not empty."); in ParseHttpProxyParam()
929 EDMLOGD("NetworkManagerAddon username or password is empty."); in ParseHttpProxyParam()
939 httpProxy.SetUserName(username); in ParseHttpProxyParam()
/base/print/print_fwk/services/print_service/src/
H A Dprint_cups_client.cpp610 char username[HTTP_MAX_URI] = {0}; /* Username portion of URI */ in QueryPrinterAttributesByUri() local
619 httpSeparateURI(HTTP_URI_CODING_ALL, printerUri.c_str(), scheme, sizeof(scheme), username, sizeof(username), host, in QueryPrinterAttributesByUri()
/base/telephony/ril_adapter/test/unittest/
H A Dril_interface_test.cpp905 cout << "please enter the username:"; in ActivatePdpContextTest()
936 string username; in SetDataProfileInfoTest() local
938 cout << "please enter the username:"; in SetDataProfileInfoTest()
939 cin >> username; in SetDataProfileInfoTest() local
955 dataInfo.userName = username; in SetDataProfileInfoTest()
1035 cout << "please enter the username:"; in SetInitialApnTest()

Completed in 19 milliseconds