| /foundation/communication/netmanager_base/test/commonduplicatedcode/ |
| D | common_net_conn_callback_test.h | 32 int32_t NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 37 …int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCa… in NetCapabilitiesChange() 42 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange() 47 int32_t NetLost(sptr<NetHandle> &netHandle) in NetLost() 57 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange() 118 int32_t NetAvailable(sptr<NetHandle> &netHandle) override in NetAvailable() 123 …int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCa… in NetCapabilitiesChange() 128 …int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) o… in NetConnectionPropertiesChange() 133 int32_t NetLost(sptr<NetHandle> &netHandle) override in NetLost() 143 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override in NetBlockStatusChange()
|
| /foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/ |
| D | net_conn_callback_observer.cpp | 29 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 35 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 58 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 64 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 76 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
| /foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/ |
| D | net_conn_callback_observer_test.cpp | 70 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_base/frameworks/native/netconnclient/src/proxy/ |
| D | net_conn_callback_stub.cpp | 72 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/communication/netmanager_ext/services/networksharemanager/src/ |
| D | networkshare_upstreammonitor.cpp | 35 int32_t NetworkShareUpstreamMonitor::NetConnectionCallback::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 46 …tworkShareUpstreamMonitor::NetConnectionCallback::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 58 …reUpstreamMonitor::NetConnectionCallback::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 70 int32_t NetworkShareUpstreamMonitor::NetConnectionCallback::NetLost(sptr<NetHandle> &netHandle) in NetLost() 86 …etworkShareUpstreamMonitor::NetConnectionCallback::NetBlockStatusChange(sptr<NetHandle> &netHandle, in NetBlockStatusChange() 183 void NetworkShareUpstreamMonitor::HandleNetAvailable(sptr<NetHandle> &netHandle) in HandleNetAvailable() 201 void NetworkShareUpstreamMonitor::HandleNetCapabilitiesChange(sptr<NetHandle> &netHandle, in HandleNetCapabilitiesChange() 218 void NetworkShareUpstreamMonitor::HandleConnectionPropertiesChange(sptr<NetHandle> &netHandle, in HandleConnectionPropertiesChange() 250 void NetworkShareUpstreamMonitor::HandleNetLost(sptr<NetHandle> &netHandle) in HandleNetLost()
|
| /foundation/communication/netmanager_base/frameworks/js/napi/network/observer/src/ |
| D | network_observer.cpp | 60 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/ |
| D | net_conn_callback_observer.cpp | 24 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 47 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 74 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 102 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 145 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange() 170 napi_value netHandle = ConnectionExec::CreateNetHandle(env, handle); in CreateNetHandle() local 197 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetCapabilitiesChangeParam() local 209 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetConnectionPropertiesChangeParam() local 233 napi_value netHandle = CreateNetHandle(env, pair->first); in CreateNetBlockStatusChangeParam() local
|
| /foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
| D | networkshare_upstreammonitor_test.cpp | 56 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 184 sptr<NetHandle> netHandle = nullptr; variable
|
| D | networkshare_tracker_test.cpp | 51 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
|
| D | sharing_event_callback_stub_test.cpp | 35 inline void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) override in OnSharingUpstreamChanged()
|
| /foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
| D | net_conn_callback_test.cpp | 45 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()
|
| D | native_net_conn_test.cpp | 249 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/netconnmanager/src/stub/ |
| D | net_conn_callback_proxy.cpp | 28 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/services/netpolicymanager/include/ |
| D | net_policy_traffic.h | 157 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/netmanager_base/frameworks/cj/connection/src/ |
| D | net_connection_callback.cpp | 22 int32_t ConnectionCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 75 int32_t ConnectionCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 169 int32_t ConnectionCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 203 int32_t ConnectionCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 245 int32_t ConnectionCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
| D | net_connection_ffi.cpp | 71 NetHandle netHandle; in CJ_GetDefaultNet() local 156 NetHandle netHandle{netId}; in CJ_GetNetCapabilities() local 255 NetHandle netHandle{netId}; in CJ_GetConnectionProperties() local 347 NetHandle netHandle = *it->GetRefPtr(); in CJ_GetAllNets() local 369 NetHandle netHandle{netId}; in CJ_ReportNetConnected() local 375 NetHandle netHandle{netId}; in CJ_ReportNetDisconnected() local
|
| /foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
| D | net_connection_adapter.cpp | 108 int32_t Conv2NetHandle(NetHandle &netHandleObj, NetConn_NetHandle *netHandle) in Conv2NetHandle() 114 int32_t Conv2NetHandleObj(NetConn_NetHandle *netHandle, NetHandle &netHandleObj) in Conv2NetHandleObj() 293 int32_t NetConnCallbackStubAdapter::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 308 int32_t NetConnCallbackStubAdapter::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 329 int32_t NetConnCallbackStubAdapter::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 350 int32_t NetConnCallbackStubAdapter::NetLost(sptr<NetHandle> &netHandle) in NetLost() 374 int32_t NetConnCallbackStubAdapter::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
| D | net_connection.cpp | 127 int32_t OH_NetConn_GetDefaultNet(NetConn_NetHandle *netHandle) in OH_NetConn_GetDefaultNet() 156 int32_t OH_NetConn_GetConnectionProperties(NetConn_NetHandle *netHandle, NetConn_ConnectionProperti… in OH_NetConn_GetConnectionProperties() 177 int32_t OH_NetConn_GetNetCapabilities(NetConn_NetHandle *netHandle, NetConn_NetCapabilities *netAll… in OH_NetConn_GetNetCapabilities() 254 int32_t OH_NetConn_BindSocket(int32_t socketFd, NetConn_NetHandle *netHandle) in OH_NetConn_BindSocket()
|
| /foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
| D | wifi_net_observer.cpp | 116 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in StartWifiDetection() local 131 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in GetWifiNetId() local
|
| /foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
| D | mock_netconn_client.cpp | 63 int32_t NetConnClient::GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap) in GetNetCapabilities() 68 int32_t NetConnClient::NetDetection(const NetHandle &netHandle) in NetDetection()
|
| /foundation/communication/netmanager_ext/test/netmanager_ext_mock_test/ |
| D | mock_isharing_event_callback_test.h | 38 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
|
| /foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
| D | net_conn_client.cpp | 63 int32_t NetConnClient::GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap) in GetNetCapabilities() 68 int32_t NetConnClient::NetDetection(const NetHandle &netHandle) in NetDetection()
|
| /foundation/resourceschedule/work_scheduler/services/native/src/conditions/ |
| D | condition_checker.cpp | 46 NetHandle netHandle; in CheckNetworkStatus() local
|
| /foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/proxy/ipccallback/ |
| D | sharing_event_callback_stub.cpp | 52 sptr<NetHandle> netHandle = new NetHandle(netId); in OnRemoteRequest() local
|
| D | sharing_event_callback_proxy.cpp | 90 void SharingEventCallbackProxy::OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
|