/ohos5.0/foundation/communication/netmanager_base/test/commonduplicatedcode/ |
H A 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()
|
/ohos5.0/base/time/time_service/services/time/src/ |
H A D | net_conn_callback_observer.cpp | 25 int32_t NetConnCallbackObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 30 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 45 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 51 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 61 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
/ohos5.0/base/location/services/location_gnss/gnss/source/ntp/ |
H A D | net_conn_observer.cpp | 27 int32_t NetConnObserver::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 32 int32_t NetConnObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 51 int32_t NetConnObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 57 int32_t NetConnObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 67 int32_t NetConnObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
/ohos5.0/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/sync_rule/ |
H A 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() 59 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 65 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 77 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
/ohos5.0/base/telephony/sms_mms/services/mms/ |
H A D | mms_conn_callback_stub.cpp | 31 int32_t MmsConnCallbackStub::NetAvailable(sptr<NetManagerStandard::NetHandle> &netHandle) in NetAvailable() 50 …sptr<NetManagerStandard::NetHandle> &netHandle, const sptr<NetManagerStandard::NetAllCapabilities>… in NetCapabilitiesChange() 57 … sptr<NetManagerStandard::NetHandle> &netHandle, const sptr<NetManagerStandard::NetLinkInfo> &info) in NetConnectionPropertiesChange() 64 int32_t MmsConnCallbackStub::NetLost(sptr<NetManagerStandard::NetHandle> &netHandle) in NetLost() 77 int32_t MmsConnCallbackStub::NetBlockStatusChange(sptr<NetManagerStandard::NetHandle> &netHandle, b… in NetBlockStatusChange()
|
/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
H A D | net_connect_callback_impl.cpp | 28 int32_t NetConnectCallbackImpl::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 43 int32_t NetConnectCallbackImpl::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 84 int32_t NetConnectCallbackImpl::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const spt… in NetConnectionPropertiesChange() 102 int32_t NetConnectCallbackImpl::NetLost(sptr<NetHandle> &netHandle) in NetLost() 120 int32_t NetConnectCallbackImpl::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|
H A D | net_connect_adapter_impl.cpp | 76 NetHandle netHandle; in GetDefaultNetConnect() local 117 std::vector<std::string> NetConnectAdapterImpl::GetDnsServersInternal(const NetHandle &netHandle) in GetDnsServersInternal() 139 NetHandle netHandle; in GetDnsServers() local
|
/ohos5.0/foundation/filemanagement/dfs_service/test/unittests/cloudsync_sa/sync_rule/ |
H A 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
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/proxy/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_ext/services/networksharemanager/src/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/network/observer/src/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/js/napi/connection/observer/src/ |
H A 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
|
/ohos5.0/foundation/communication/netmanager_ext/test/networksharemanager/unittest/networkshare_manager_test/ |
H A 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
|
/ohos5.0/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A 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()
|
H A 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
|
/ohos5.0/foundation/communication/netmanager_base/services/netconnmanager/src/stub/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/frameworks/cj/connection/src/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/src/ |
H A 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()
|
/ohos5.0/base/update/updateservice/services/utils/src/ |
H A D | dupdate_net_observer.cpp | 66 int32_t NetObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilitie… in NetCapabilitiesChange() 92 int32_t NetObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost()
|
/ohos5.0/base/request/request/services/src/cxx/ |
H A D | network.cpp | 97 int32_t RequestNetCallbackStub::NetAvailable(sptr<NetHandle> &netHandle) in NetAvailable() 109 int32_t RequestNetCallbackStub::NetLost(sptr<NetHandle> &netHandle) in NetLost() 124 sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange()
|
/ohos5.0/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/ |
H A D | wifi_net_observer.cpp | 116 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in StartWifiDetection() local 131 sptr<NetHandle> netHandle = GetWifiNetworkHandle(); in GetWifiNetId() local
|
/ohos5.0/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
H A 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()
|
/ohos5.0/foundation/communication/netmanager_ext/test/netmanager_ext_mock_test/ |
H A D | mock_isharing_event_callback_test.h | 38 void OnSharingUpstreamChanged(const sptr<NetHandle> netHandle) in OnSharingUpstreamChanged()
|
/ohos5.0/base/telephony/cellular_data/test/unit_test/ |
H A D | cellular_data_code_test.cpp | 131 int32_t NetAvailable(sptr<NetManagerStandard::NetHandle> &netHandle) override in NetAvailable() 137 int32_t NetCapabilitiesChange(sptr<NetManagerStandard::NetHandle> &netHandle, in NetCapabilitiesChange() 145 …sptr<NetManagerStandard::NetHandle> &netHandle, const sptr<NetManagerStandard::NetLinkInfo> &info)… in NetConnectionPropertiesChange() 151 int32_t NetLost(sptr<NetManagerStandard::NetHandle> &netHandle) override in NetLost() 163 …int32_t NetBlockStatusChange(sptr<NetManagerStandard::NetHandle> &netHandle, bool blocked) override in NetBlockStatusChange()
|