Home
last modified time | relevance | path

Searched refs:ScanDeviceInfoTCP (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/
H A Dscanner_info.cpp22 ScanDeviceInfoTCP::ScanDeviceInfoTCP() in ScanDeviceInfoTCP() function in OHOS::Scan::ScanDeviceInfoTCP
36 ScanDeviceInfoTCP::ScanDeviceInfoTCP(const ScanDeviceInfoTCP &right) in ScanDeviceInfoTCP() function in OHOS::Scan::ScanDeviceInfoTCP
50 ScanDeviceInfoTCP &ScanDeviceInfoTCP::operator=(const ScanDeviceInfoTCP &right) in operator =()
122 const std::string& ScanDeviceInfoTCP::GetUuid() const in GetUuid()
127 const std::string& ScanDeviceInfoTCP::GetModel() const in GetModel()
142 const std::string& ScanDeviceInfoTCP::GetPort() const in GetPort()
147 const std::string& ScanDeviceInfoTCP::GetAddr() const in GetAddr()
152 const std::string& ScanDeviceInfoTCP::GetButton() const in GetButton()
157 const std::string& ScanDeviceInfoTCP::GetFeeder() const in GetFeeder()
167 bool ScanDeviceInfoTCP::ReadFromParcel(Parcel &parcel) in ReadFromParcel()
[all …]
H A Dscanner_info_helper.cpp45 napi_value ScannerInfoHelperTCP::MakeJsObject(napi_env env, const ScanDeviceInfoTCP &info) in MakeJsObject()
/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/include/
H A Dscanner_info.h28 class ScanDeviceInfoTCP final : public Parcelable {
30 explicit ScanDeviceInfoTCP();
32 ScanDeviceInfoTCP(const ScanDeviceInfoTCP &right);
34 ScanDeviceInfoTCP &operator=(const ScanDeviceInfoTCP &ScanDeviceInfoTCP);
36 ~ScanDeviceInfoTCP() = default;
64 static std::shared_ptr<ScanDeviceInfoTCP> Unmarshalling(Parcel &parcel);
H A Dscanner_info_helper.h27 static napi_value MakeJsObject(napi_env env, const ScanDeviceInfoTCP &info);
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/include/
H A Dscan_callback.h39 ScanDeviceInfoTCP deviceInfoTCP;
44 void SetCallbackParam(uint32_t &state, const ScanDeviceInfoTCP &deviceInfoTCP);
72 bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) override;
H A Discan_callback.h27 virtual bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) = 0;
/ohos5.0/base/print/print_fwk/services/scan_service/src/
H A Dscan_mdns_service.cpp28 std::map<std::string, ScanDeviceInfoTCP> g_ipToScannerInfo;
52 void ScanMdnsService::InsertIpToScannerInfo(const std::string& ip, ScanDeviceInfoTCP& scanDeviceInf… in InsertIpToScannerInfo()
145 bool ScanMdnsService::FindNetScannerInfoByIp(const std::string& ip, ScanDeviceInfoTCP& netScannerIn… in FindNetScannerInfoByIp()
175 std::unique_ptr<ScanDeviceInfoTCP> scannerInfo = std::make_unique<ScanDeviceInfoTCP>(); in HandleResolveResult()
H A Dscan_callback_proxy.cpp24 bool ScanCallbackProxy::OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) in OnCallback()
H A Dscan_service_ability.cpp450 ScanDeviceInfoTCP netScannerInfo; in SetScannerSerialNumber()
1263 void ScanServiceAbility::SendDeviceInfoTCP(const ScanDeviceInfoTCP &info, std::string event) in SendDeviceInfoTCP()
/ohos5.0/base/print/print_fwk/test/fuzztest/scanhelper_fuzzer/
H A Dscanhelper_fuzzer.cpp339 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetDeviceName()
347 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetUuid()
355 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetModel()
363 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetManufacturer()
371 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetDeviceType()
379 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetPort()
388 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetAddr()
396 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetButton()
404 ScanDeviceInfoTCP scanDevInfoTcp; in TestTCPSetFeeder()
512 ScanDeviceInfoTCP infoTcp; in TestDeviceInfo()
[all …]
/ohos5.0/base/print/print_fwk/services/scan_service/include/
H A Dscan_mdns_service.h78 static void InsertIpToScannerInfo(const std::string& ip, ScanDeviceInfoTCP& scanDeviceInfoTCP);
81 static bool FindNetScannerInfoByIp(const std::string& ip, ScanDeviceInfoTCP& netScannerInfo);
H A Dscan_callback_proxy.h28 bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) override;
H A Dscan_service_ability.h92 void SendDeviceInfoTCP(const ScanDeviceInfoTCP &info, std::string event);
101 static std::map<std::string, ScanDeviceInfoTCP> scanDeviceInfoTCPMap_;
/ohos5.0/base/print/print_fwk/test/fuzztest/scancallback_fuzzer/
H A Dscancallback_fuzzer.cpp35 ScanDeviceInfoTCP tcpInfo; in TestSetCallbackParam()
57 ScanDeviceInfoTCP tcpInfo; in TestOnCallback()
/ohos5.0/base/print/print_fwk/test/unittest/service_test/mock/
H A Dmock_scan_callback_proxy.h27 MOCK_METHOD2(OnCallback, bool(uint32_t, const ScanDeviceInfoTCP &));
/ohos5.0/base/print/print_fwk/test/fuzztest/scancallbackproxy_fuzzer/
H A Dscancallbackproxy_fuzzer.cpp29 ScanDeviceInfoTCP info; in TestTcpOnCallback()
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/src/
H A Dscan_callback_stub.cpp58 auto info = ScanDeviceInfoTCP::Unmarshalling(data); in HandleDeviceInfoTcpEvent()
H A Dscan_callback.cpp73 void CallbackParam::SetCallbackParam(uint32_t &state, const ScanDeviceInfoTCP &deviceInfoTCP) in SetCallbackParam()
169 bool ScanCallback::OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) in OnCallback()
/ohos5.0/base/print/print_fwk/test/fuzztest/scanserviceability_fuzzer/
H A Dscanserviceability_fuzzer.cpp191 ScanDeviceInfoTCP info; in TestSendDeviceInfoTCP()
248 ScanDeviceInfoTCP scanDeviceInfoTCP; in TestSetScannerSerialNumber()