/base/iothardware/peripheral/interfaces/inner_api/ |
H A D | iot_pwm.h | 47 * @param port Indicates the port number of the PWM device.
53 unsigned int IoTPwmInit(unsigned int port);
58 * @param port Indicates the port number of the PWM device.
64 unsigned int IoTPwmDeinit(unsigned int port);
67 * @brief Starts PWM signal output from a specified port based on the given output frequency and duty cycle.
71 * @param port Indicates the port number of the PWM device.
79 unsigned int IoTPwmStart(unsigned int port, unsigne [all...] |
/base/print/print_fwk/test/unittest/service_test/ |
H A D | print_ipp_over_usb_manager_test.cpp | 56 int32_t port = 60000; in HWTEST_F() local 57 printIppOverUsbManager.ConnectPrinter(printerId, port); in HWTEST_F() 70 int32_t port = 60000; in HWTEST_F() local 71 printIppOverUsbManager.ConnectPrinter(printerId, port); in HWTEST_F() 84 int32_t port = 60000; in HWTEST_F() local 85 printIppOverUsbManager.ConnectPrinter(printerId, port); in HWTEST_F() 98 int32_t port = 60000; in HWTEST_F() local 99 printIppOverUsbManager.ConnectPrinter(printerId, port); in HWTEST_F()
|
H A D | print_http_server_manager_test.cpp | 86 int32_t port; in HWTEST_F() local 87 EXPECT_TRUE(service->CreateServer(printerName, port)); in HWTEST_F() 103 int32_t port; in HWTEST_F() local 107 service->CreateServer(printerName, port); in HWTEST_F() 123 int32_t port; in HWTEST_F() local 128 service->CreateServer(printerName, port); in HWTEST_F()
|
/base/request/request/services/include/ |
H A D | get_proxy.h | 47 void GetHttpProxy(const std::string proxyContent, std::string &host, std::string &port, std::string &exclusionList);
48 void InitProxy(std::string &host, std::string &port, std::string &exclusion);
49 void SetHttpProxy(std::string host, std::string port, std::string list)
in SetHttpProxy() argument 52 REQUEST_HILOGD("SysNetProxyManager SetHttpProxy port is %{public}s", port.c_str());
in SetHttpProxy() 56 port_ = port;
in SetHttpProxy()
|
/base/telephony/sms_mms/test/fuzztest/databasedsmsdelivery_fuzzer/ |
H A D | databasedsmsdelivery_fuzzer.cpp | 52 std::uint16_t port = static_cast<uint16_t>(size); in DoSomethingInterestingWithMyAPI() local 65 smsInterfaceManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 72 smsSendManager->DataBasedSmsDelivery(desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 76 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI() 80 desAddr, scAddr, port, data, size, sendCallback, deliveryCallback); in DoSomethingInterestingWithMyAPI()
|
/base/web/webview/test/fuzztest/ohos_nweb/selectcertrequest_fuzzer/ |
H A D | selectcertrequest_fuzzer.cpp | 38 int port; in SelectCertRequestFuzzTest() local 39 if (memcpy_s(&port, sizeof(int), data, sizeof(int)) != 0) { in SelectCertRequestFuzzTest() 44 handler.OnSslSelectCertRequestByJS(result, host, port, keyTypes, issuers); in SelectCertRequestFuzzTest()
|
/base/customization/enterprise_device_management/test/unittest/services/edm_plugin/src/network/rule/ |
H A D | firewall_chain_rule_test.cpp | 149 std::string port; in HWTEST_F() local 152 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter); in HWTEST_F() 155 port = "80"; in HWTEST_F() 158 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter); in HWTEST_F() 161 port = "90"; in HWTEST_F() 164 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter); in HWTEST_F() 167 port = "90,100"; in HWTEST_F() 170 EXPECT_EQ(FirewallChainRule::PortToParameter(port, portType, option), parameter); in HWTEST_F()
|
/base/print/print_fwk/services/print_service/src/ |
H A D | print_http_server_manager.cpp | 37 bool PrintHttpServerManager::AllocatePort(std::shared_ptr<httplib::Server> svr, int32_t &port) in AllocatePort() argument 48 PRINT_HILOGD("port : %{public}d is using", allocPort); in AllocatePort() 52 PRINT_HILOGD("bind to port : %{public}d success", allocPort); in AllocatePort() 53 port = allocPort; in AllocatePort() 83 bool PrintHttpServerManager::CreateServer(std::string printerName, int32_t &port) in CreateServer() argument 85 PRINT_HILOGD("PrintHttpServerManager init printerName: %{public}s, port: %{public}d", printerName.c_str(), port); in CreateServer() 89 port = printHttpPortMap[printerName]; in CreateServer() 92 PRINT_HILOGE("printerName: %{public}s has server, but do not has port", printerName.c_str()); in CreateServer() 106 port in CreateServer() [all...] |
/base/request/request/services/src/cxx/ |
H A D | get_proxy.cpp | 76 void SysNetProxyManager::InitProxy(std::string &host, std::string &port, std::string &exclusion)
in InitProxy() argument 102 port = port_res;
in InitProxy() 114 std::string port;
in OnReceiveEvent() local 117 SysNetProxyManager::GetInstance().GetHttpProxy(proxyContent, host, port, exclusionList);
in OnReceiveEvent() 119 SysNetProxyManager::GetInstance().SetHttpProxy(host, port, exclusionList);
in OnReceiveEvent() 124 const std::string proxyContent, std::string &host, std::string &port, std::string &exclusionList)
in GetHttpProxy() 136 port = portContent;
in GetHttpProxy() 123 GetHttpProxy( const std::string proxyContent, std::string &host, std::string &port, std::string &exclusionList) GetHttpProxy() argument
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_net_proxy_event_callback_adapter_impl.cpp | 25 const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl, const ArkWebStringVector& exclusionList) in Changed() 27 real_->Changed(ArkWebStringStructToClass(host), port, ArkWebStringStructToClass(pacUrl), in Changed() local 24 Changed( const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl, const ArkWebStringVector& exclusionList) Changed() argument
|
H A D | ark_net_proxy_adapter_wrapper.cpp | 56 std::string& host, uint16_t& port, std::string& pacUrl, std::string& exclusion) in GetProperty() 64 ctocpp_->GetProperty(ark_host, port, ark_pacUrl, ark_exclusion); in GetProperty() 55 GetProperty( std::string& host, uint16_t& port, std::string& pacUrl, std::string& exclusion) GetProperty() argument
|
H A D | ark_net_proxy_event_callback_adapter_impl.h | 28 void Changed(const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl,
|
/base/web/webview/test/unittest/ohos_adapter/net_proxy_adapter_test/ |
H A D | net_proxy_adapter_test.cpp | 182 void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl, in Changed() argument 219 uint16_t port; in HWTEST_F() local 225 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F() 229 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F() 269 uint16_t port; in HWTEST_F() local 272 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F() 274 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F() 279 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUrl, exclusion); in HWTEST_F() 297 uint16_t port; in HWTEST_F() local 300 NetProxyAdapterImpl::GetInstance().GetProperty(host, port, pacUr in HWTEST_F() [all...] |
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | net_proxy_adapter.h | 28 virtual void Changed(const std::string& host, const uint16_t& port, const std::string& pacUrl, 43 virtual void GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::string& exclusion) = 0;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_net_proxy_event_callback_adapter_wrapper.cpp | 27 void ArkNetProxyEventCallbackAdapterWrapper::Changed(const std::string& host, const uint16_t& port, in Changed() argument 33 ctocpp_->Changed(ark_host, port, ark_pacUrl, ark_exclusionList); in Changed()
|
H A D | ark_net_proxy_adapter_impl.cpp | 46 ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& exclusion) in GetProperty() 52 real_.GetProperty(s_host, port, s_pacUrl, s_exclusion); in GetProperty() 45 GetProperty( ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& exclusion) GetProperty() argument
|
H A D | ark_net_proxy_adapter_impl.h | 35 void GetProperty(ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& exclusion) override;
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_net_proxy_adapter.h | 29 virtual void Changed(const ArkWebString& host, const uint16_t& port, const ArkWebString& pacUrl, 46 virtual void GetProperty(ArkWebString& host, uint16_t& port, ArkWebString& pacUrl, ArkWebString& exclusion) = 0;
|
/base/print/print_fwk/services/print_service/include/ |
H A D | print_http_server_manager.h | 35 bool CreateServer(std::string printerName, int32_t &port); 42 bool AllocatePort(std::shared_ptr<httplib::Server> svr, int32_t &port);
|
H A D | print_ipp_over_usb_manager.h | 31 bool ConnectPrinter(const std::string printerId, int32_t &port);
|
/base/web/webview/ohos_adapter/net_proxy_adapter/src/ |
H A D | net_proxy_adapter_impl.cpp | 216 uint16_t port; in Changed() local 221 GetProperty(host, port, pacUrl, exclusion); in Changed() 224 cb_->Changed(host, port, "", exclusionList); in Changed() 261 WVLOG_D("App netproxy config change, receive host is %{public}s, port is %{public}d", in StartListenAppProxy() 273 WVLOG_D("App netproxy config clear, GetDefaultHttpProxy host is %{public}s, port is %{public}d", in StartListenAppProxy() 286 uint16_t port = httpProxy.GetPort(); in StartListenAppProxy() 292 WVLOG_D("App netproxy config change, host is %{public}s, port is %{public}d", host.c_str(), port); in StartListenAppProxy() 293 cb_->Changed(host, port, "", exclusionList); in StartListenAppProxy() 334 WVLOG_D("netproxy config change, host is %{public}s, port i in OnReceiveEvent() 341 uint16_t port; OnReceiveEvent() local 356 GetProperty(std::string& host, uint16_t& port, std::string& pacUrl, std::string& exclusion) GetProperty() argument [all...] |
/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_mdns_service.cpp | 27 _serviceInfo.port = SCAN_MDNS_PORT; in SetServiceType() 148 scannerInfo->port = std::to_string(serviceInfo.port); in ToMDnsScaner() 165 } else if (key == "port") { in ToMDnsScaner() 166 scannerInfo->port = value; in ToMDnsScaner()
|
/base/customization/enterprise_device_management/services/edm_plugin/src/network/rule/ |
H A D | firewall_chain_rule.cpp | 119 std::string FirewallChainRule::PortToParameter(const std::string &port, const std::string &portType, in PortToParameter() argument 122 if (port.empty()) { in PortToParameter() 126 parameterString << portOption << portType << SPACE_OPTION << port; in PortToParameter() local
|
/base/security/device_auth/frameworks/deviceauth_lite/inc/base/product_header/ |
H A D | hilink_osadapter.h | 83 const char *rip, unsigned short port); 85 char *rip, unsigned short ripLen, unsigned short *port); 86 int hilink_tcp_connect(const char *dst, unsigned short port);
|
/base/request/request/services/src/manage/config/ |
H A D | system_proxy.rs | 31 pub(crate) fn port(&self) -> String {
|