/ohos5.0/base/print/print_fwk/frameworks/helper/scan_helper/src/ |
H A D | scanner_info.cpp | 22 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 D | scanner_info_helper.cpp | 45 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 D | scanner_info.h | 28 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 D | scanner_info_helper.h | 27 static napi_value MakeJsObject(napi_env env, const ScanDeviceInfoTCP &info);
|
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/include/ |
H A D | scan_callback.h | 39 ScanDeviceInfoTCP deviceInfoTCP; 44 void SetCallbackParam(uint32_t &state, const ScanDeviceInfoTCP &deviceInfoTCP); 72 bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) override;
|
H A D | iscan_callback.h | 27 virtual bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) = 0;
|
/ohos5.0/base/print/print_fwk/services/scan_service/src/ |
H A D | scan_mdns_service.cpp | 28 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 D | scan_callback_proxy.cpp | 24 bool ScanCallbackProxy::OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) in OnCallback()
|
H A D | scan_service_ability.cpp | 450 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 D | scanhelper_fuzzer.cpp | 339 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 D | scan_mdns_service.h | 78 static void InsertIpToScannerInfo(const std::string& ip, ScanDeviceInfoTCP& scanDeviceInfoTCP); 81 static bool FindNetScannerInfoByIp(const std::string& ip, ScanDeviceInfoTCP& netScannerInfo);
|
H A D | scan_callback_proxy.h | 28 bool OnCallback(uint32_t state, const ScanDeviceInfoTCP &info) override;
|
H A D | scan_service_ability.h | 92 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 D | scancallback_fuzzer.cpp | 35 ScanDeviceInfoTCP tcpInfo; in TestSetCallbackParam() 57 ScanDeviceInfoTCP tcpInfo; in TestOnCallback()
|
/ohos5.0/base/print/print_fwk/test/unittest/service_test/mock/ |
H A D | mock_scan_callback_proxy.h | 27 MOCK_METHOD2(OnCallback, bool(uint32_t, const ScanDeviceInfoTCP &));
|
/ohos5.0/base/print/print_fwk/test/fuzztest/scancallbackproxy_fuzzer/ |
H A D | scancallbackproxy_fuzzer.cpp | 29 ScanDeviceInfoTCP info; in TestTcpOnCallback()
|
/ohos5.0/base/print/print_fwk/frameworks/innerkitsimpl/scan_impl/src/ |
H A D | scan_callback_stub.cpp | 58 auto info = ScanDeviceInfoTCP::Unmarshalling(data); in HandleDeviceInfoTcpEvent()
|
H A D | scan_callback.cpp | 73 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 D | scanserviceability_fuzzer.cpp | 191 ScanDeviceInfoTCP info; in TestSendDeviceInfoTCP() 248 ScanDeviceInfoTCP scanDeviceInfoTCP; in TestSetScannerSerialNumber()
|