Home
last modified time | relevance | path

Searched defs:netHandle (Results 1 – 25 of 36) sorted by relevance

12

/foundation/communication/netmanager_base/test/commonduplicatedcode/
Dcommon_net_conn_callback_test.h30 int32_t NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
35 …int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCa… in NetCapabilitiesChange()
40 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange()
45 int32_t NetLost(sptr<NetHandle> &netHandle) in NetLost()
55 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
93 int32_t NetAvailable(sptr<NetHandle> &netHandle) override in NetAvailable()
98 …int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCa… in NetCapabilitiesChange()
103 …int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) o… in NetConnectionPropertiesChange()
108 int32_t NetLost(sptr<NetHandle> &netHandle) override in NetLost()
118 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override in NetBlockStatusChange()
/foundation/filemanagement/dfs_service/services/cloudsyncservice/src/sync_rule/
Dnet_conn_callback_observer.cpp29 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
37 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange()
44 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange()
50 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost()
62 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
Dnetwork_status.cpp52 NetHandle netHandle; in GetDefaultNet() local
/foundation/communication/netmanager_base/services/net_qos/src/
Dnet_qos_monitor.cpp24 sptr<NetQosInfo> NetQosMonitor::GetQosInfo(const sptr<NetHandle> &netHandle) in GetQosInfo()
33 void NetQosMonitor::StartQosMonitor(const sptr<NetHandle> &netHandle) in StartQosMonitor()
38 void NetQosMonitor::StopQosMonitor(const sptr<NetHandle> &netHandle) in StopQosMonitor()
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/
Dnet_conn_callback_stub.cpp72 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetAvailable() local
122 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetCapabilitiesChange() local
143 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetConnectionPropertiesChange() local
163 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetLost() local
202 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetBlockStatusChange() local
211 int32_t NetConnCallbackStub::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
216 int32_t NetConnCallbackStub::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange()
222 int32_t NetConnCallbackStub::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<N… in NetConnectionPropertiesChange()
227 int32_t NetConnCallbackStub::NetLost(sptr<NetHandle> &netHandle) in NetLost()
237 int32_t NetConnCallbackStub::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/
Dnet_conn_callback_observer_test.cpp70 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); variable
85 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); variable
101 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); variable
117 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); variable
146 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); variable
/foundation/communication/netmanager_ext/services/networksharemanager/src/
Dnetworkshare_upstreammonitor.cpp35 int32_t NetworkShareUpstreamMonitor::NetConnectionCallback::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
43 …tworkShareUpstreamMonitor::NetConnectionCallback::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange()
52 …reUpstreamMonitor::NetConnectionCallback::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange()
61 int32_t NetworkShareUpstreamMonitor::NetConnectionCallback::NetLost(sptr<NetHandle> &netHandle) in NetLost()
74 …etworkShareUpstreamMonitor::NetConnectionCallback::NetBlockStatusChange(sptr<NetHandle> &netHandle, in NetBlockStatusChange()
172 void NetworkShareUpstreamMonitor::HandleNetAvailable(sptr<NetHandle> &netHandle) in HandleNetAvailable()
190 void NetworkShareUpstreamMonitor::HandleNetCapabilitiesChange(sptr<NetHandle> &netHandle, in HandleNetCapabilitiesChange()
207 void NetworkShareUpstreamMonitor::HandleConnectionPropertiesChange(sptr<NetHandle> &netHandle, in HandleConnectionPropertiesChange()
239 void NetworkShareUpstreamMonitor::HandleNetLost(sptr<NetHandle> &netHandle) in HandleNetLost()
/foundation/communication/netmanager_base/frameworks/js/napi/network/observer/src/
Dnetwork_observer.cpp60 int32_t NetworkObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
65 int32_t NetworkObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabil… in NetCapabilitiesChange()
85 int32_t NetworkObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLi… in NetConnectionPropertiesChange()
90 int32_t NetworkObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost()
113 int32_t NetworkObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
/foundation/communication/netmanager_base/frameworks/js/napi/connection/observer/src/
Dnet_conn_callback_observer.cpp24 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
43 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange()
66 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange()
90 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost()
125 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
146 napi_value netHandle = ConnectionExec::CreateNetHandle(env, handle); in CreateNetHandle() local
173 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetCapabilitiesChangeParam() local
185 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetConnectionPropertiesChangeParam() local
209 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetBlockStatusChangeParam() local
/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/
Dnetworkshare_upstreammonitor_test.cpp56 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); variable
89 sptr<NetHandle> netHandle = nullptr; variable
105 sptr<NetHandle> netHandle = nullptr; variable
135 sptr<NetHandle> netHandle = nullptr; variable
167 sptr<NetHandle> netHandle = nullptr; variable
198 sptr<NetHandle> netHandle = nullptr; variable
Dnetworkshare_tracker_test.cpp51 inline void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) override in OnSharingUpstreamChanged()
99 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(); variable
453 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(-1); variable
469 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(); variable
499 sptr<NetHandle> netHandle = nullptr; variable
Dsharing_event_callback_stub_test.cpp35 inline void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) override in OnSharingUpstreamChanged()
/foundation/communication/netmanager_base/services/netconnmanager/src/stub/
Dnet_conn_callback_proxy.cpp28 int32_t NetConnCallbackProxy::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
63 sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange()
115 int32_t NetConnCallbackProxy::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<… in NetConnectionPropertiesChange()
155 int32_t NetConnCallbackProxy::NetLost(sptr<NetHandle> &netHandle) in NetLost()
214 int32_t NetConnCallbackProxy::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/
Dnet_conn_callback_test.cpp45 int32_t NetConnCallbackTest::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
57 sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange()
69 int32_t NetConnCallbackTest::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange()
81 int32_t NetConnCallbackTest::NetLost(sptr<NetHandle> &netHandle) in NetLost()
98 int32_t NetConnCallbackTest::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
Dnative_net_conn_test.cpp249 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
263 OH_NetConn_NetHandle *netHandle = nullptr; variable
361 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
379 OH_NetConn_NetHandle *netHandle = nullptr; variable
403 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
427 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
452 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
469 OH_NetConn_NetHandle netHandle = OH_NetConn_NetHandle(); variable
484 OH_NetConn_NetHandle *netHandle = nullptr; variable
/foundation/communication/netmanager_base/services/netpolicymanager/include/
Dnet_policy_traffic.h157 int32_t NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable()
165 …int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCa… in NetCapabilitiesChange()
170 … int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange()
175 int32_t NetLost(sptr<NetHandle> &netHandle) in NetLost()
185 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/
Dwifi_net_observer.cpp119 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in StartWifiDetection() local
134 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in GetWifiNetId() local
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/
Dnet_connection.cpp125 int32_t OH_NetConn_GetDefaultNet(NetConn_NetHandle *netHandle) in OH_NetConn_GetDefaultNet()
154 int32_t OH_NetConn_GetConnectionProperties(NetConn_NetHandle *netHandle, NetConn_ConnectionProperti… in OH_NetConn_GetConnectionProperties()
175 int32_t OH_NetConn_GetNetCapabilities(NetConn_NetHandle *netHandle, in OH_NetConn_GetNetCapabilities()
Dnet_connection_adapter.cpp78 int32_t Conv2NetHandle(NetHandle &netHandleObj, NetConn_NetHandle *netHandle) in Conv2NetHandle()
84 int32_t Conv2NetHandleObj(NetConn_NetHandle *netHandle, NetHandle &netHandleObj) in Conv2NetHandleObj()
/foundation/communication/netmanager_ext/test/netmanager_ext_mock_test/
Dmock_isharing_event_callback_test.h38 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
/foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/proxy/ipccallback/
Dsharing_event_callback_stub.cpp52 sptr<NetHandle> netHandle = new NetHandle(netId); in OnRemoteRequest() local
Dsharing_event_callback_proxy.cpp90 void SharingEventCallbackProxy::OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/
Ddevice_manager_adapter.cpp98 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetManagerStandard::NetHandle> &netHandle) in NetAvailable()
113 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange()
120 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange()
127 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost()
135 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
/foundation/communication/netmanager_ext/test/networksharemanager/fuzztest/netshareclient_fuzzer/
Dnetshare_client_fuzzer.cpp111 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
426 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(num); in NetworkShareSubStateMachineFuzzTest() local
505 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(num); in UpstreammonitorFuzzTest() local
529 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(num); in NetworkShareTrackerFuzzTest() local
580 sptr<NetHandle> netHandle = new (std::nothrow) NetHandle(num); in NetworkShareTrackerPrivateFuzzTest() local
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/
Dnet_conn_client.cpp217 int32_t NetConnClient::GetDefaultNet(NetHandle &netHandle) in GetDefaultNet()
263 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(*iter).release(); in GetAllNets() local
271 int32_t NetConnClient::GetConnectionProperties(const NetHandle &netHandle, NetLinkInfo &info) in GetConnectionProperties()
282 int32_t NetConnClient::GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap) in GetNetCapabilities()
330 int32_t NetConnClient::NetDetection(const NetHandle &netHandle) in NetDetection()

12