/foundation/communication/netmanager_base/frameworks/js/napi/connection/observer/include/ |
H A D | net_conn_callback_observer.h | 27 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 29 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 31 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 33 int32_t NetLost(sptr<NetHandle> &netHandle) override; 37 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override; 40 static napi_value CreateNetHandle(napi_env env, NetHandle &netHandle); 46 static napi_value CreateNetAvailableParam(napi_env env, NetHandle &netHandle); 48 static napi_value CreateNetCapabilitiesChangeParam(napi_env env, NetHandle &netHandle, 51 static napi_value CreateNetConnectionPropertiesChangeParam(napi_env env, NetHandle &netHandle, 54 static napi_value CreateNetLostParam(napi_env env, NetHandle [all...] |
/foundation/communication/netmanager_base/interfaces/kits/c/netconnclient/include/ |
H A D | net_connection_adapter.h | 31 int32_t Conv2NetHandle(NetHandle &netHandleObj, NetConn_NetHandle *netHandle); 33 int32_t Conv2NetHandleObj(NetConn_NetHandle *netHandle, NetHandle &netHandleObj); 35 int32_t Conv2NetHandleList(const std::list<sptr<NetHandle>> &netHandleObjList, NetConn_NetHandleList *netHandleList); 51 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 52 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 53 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 54 int32_t NetLost(sptr<NetHandle> &netHandle) override; 56 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
/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> &netAllCap) 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 123 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override 128 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override 133 int32_t NetLost(sptr<NetHandle> &netHandle) override 143 int32_t NetBlockStatusChange(sptr<NetHandle> [all...] |
/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()); in HWTEST_F() 85 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); in HWTEST_F() 101 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); in HWTEST_F() 117 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); in HWTEST_F() 146 sptr<NetManagerStandard::NetHandle> netHandle = sptr(new NetManagerStandard::NetHandle()); in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/frameworks/cj/connection/include/ |
H A D | net_connection_callback.h | 25 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 27 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 29 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 31 int32_t NetLost(sptr<NetHandle> &netHandle) override; 35 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
/foundation/communication/netmanager_ext/services/networksharemanager/include/ |
H A D | networkshare_upstreammonitor.h | 46 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 47 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 48 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 49 int32_t NetLost(sptr<NetHandle> &netHandle) override; 51 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override; 99 void HandleNetAvailable(sptr<NetHandle> &netHandle); 100 void HandleNetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &newNetAllCap); 101 void HandleConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &newNetLinkInfo); 102 void HandleNetLost(sptr<NetHandle> &netHandle);
|
/foundation/communication/netmanager_base/interfaces/innerkits/netconnclient/include/proxy/ |
H A D | i_net_conn_callback.h | 35 virtual int32_t NetAvailable(sptr<NetHandle> &netHandle) = 0; 36 virtual int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) = 0; 37 virtual int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) = 0; 38 virtual int32_t NetLost(sptr<NetHandle> &netHandle) = 0; 40 virtual int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) = 0;
|
H A D | net_conn_callback_stub.h | 35 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 36 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 37 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 38 int32_t NetLost(sptr<NetHandle> &netHandle) override; 40 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_manager_test/ |
H A D | net_conn_callback_test.h | 30 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 31 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 32 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 33 int32_t NetLost(sptr<NetHandle> &netHandle) override; 35 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
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() 163 sptr<NetHandle> handle = nullptr; in HWTEST_F() 170 sptr<NetHandle> handle = nullptr; in HWTEST_F() 178 sptr<NetHandle> handle = nullptr; in HWTEST_F() 186 sptr<NetHandle> handle = nullptr; in HWTEST_F() 199 sptr<NetHandle> handl in HWTEST_F() [all...] |
/foundation/filemanagement/dfs_service/interfaces/inner_api/native/cloud_file_kit_inner/ |
H A D | net_conn_callback_observer.h | 27 int32_t NetAvailable(sptr<NetManagerStandard::NetHandle> &netHandle) override; 29 int32_t NetCapabilitiesChange(sptr<NetManagerStandard::NetHandle> &netHandle, 32 int32_t NetConnectionPropertiesChange(sptr<NetManagerStandard::NetHandle> &netHandle, 35 int32_t NetLost(sptr<NetManagerStandard::NetHandle> &netHandle) override; 39 int32_t NetBlockStatusChange(sptr<NetManagerStandard::NetHandle> &netHandle, bool blocked) override;
|
/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() 50 auto obj = CreateNetAvailableParam(env, const_cast<NetHandle &>(network)); in NetAvailable() 58 int32_t NetConnCallbackObserver::NetCapabilitiesChange(sptr<NetHandle> &netHandle, in NetCapabilitiesChange() 85 auto obj = CreateNetCapabilitiesChangeParam(env, const_cast<NetHandle &>(network), in NetCapabilitiesChange() 94 int32_t NetConnCallbackObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, in NetConnectionPropertiesChange() 121 auto obj = CreateNetConnectionPropertiesChangeParam(env, const_cast<NetHandle &>(network), in NetConnectionPropertiesChange() 130 int32_t NetConnCallbackObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 155 auto obj = CreateNetLostParam(env, const_cast<NetHandle &>(network)); in NetLost() 192 int32_t NetConnCallbackObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange() 217 auto obj = CreateNetBlockStatusChangeParam(env, const_cast<NetHandle in NetBlockStatusChange() [all...] |
/foundation/communication/netmanager_base/services/netconnmanager/include/stub/ |
H A D | net_conn_callback_proxy.h | 31 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 32 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 33 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 34 int32_t NetLost(sptr<NetHandle> &netHandle) override; 36 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
/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() 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/communication/netmanager_base/interfaces/innerkits/netconnclient/include/ |
H A D | net_handle.h | 29 class NetHandle : public virtual RefBase { class 31 NetHandle() : netId_(0) {} in NetHandle() function in OHOS::NetManagerStandard::NetHandle 32 explicit NetHandle(int32_t netId) : netId_(netId) {} in NetHandle() function in OHOS::NetManagerStandard::NetHandle 33 ~NetHandle() override = default;
|
/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() 122 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetCapabilitiesChange() 143 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetConnectionPropertiesChange() 163 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in OnNetLost() 202 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netI in OnNetBlockStatusChange() [all...] |
/foundation/communication/netmanager_base/frameworks/js/napi/network/observer/include/ |
H A D | network_observer.h | 31 int32_t NetAvailable(sptr<NetHandle> &netHandle) override; 33 int32_t NetCapabilitiesChange(sptr<NetHandle> &netHandle, const sptr<NetAllCapabilities> &netAllCap) override; 35 int32_t NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) override; 37 int32_t NetLost(sptr<NetHandle> &netHandle) override; 41 int32_t NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) override;
|
/foundation/communication/wifi/wifi/test/wifi_standard/wifi_framework/wifi_manage/wifi_sta/Mock/ |
H A D | net_conn_client.h | 43 int32_t GetAllNets(std::list<sptr<NetHandle>> &netList); 45 int32_t GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap); 47 int32_t GetDefaultNet(NetHandle &netHandle); 49 int32_t NetDetection(const NetHandle &netHandle);
|
H A D | net_conn_client.cpp | 58 int32_t NetConnClient::GetAllNets(std::list<sptr<NetHandle>> &netList) in GetAllNets() 63 int32_t NetConnClient::GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap) in GetNetCapabilities() 68 int32_t NetConnClient::GetDefaultNet(NetHandle &netHandle) in GetDefaultNet() 73 int32_t NetConnClient::NetDetection(const NetHandle &netHandle) in NetDetection()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_multi_test/ |
H A D | net_handle_test.cpp | 46 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F() 56 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F() 67 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F() 78 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F() 89 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F() 100 auto handler = DelayedSingleton<NetHandle>::GetInstance(); in HWTEST_F()
|
/foundation/communication/netmanager_base/test/netconnmanager/unittest/net_conn_add_test/ |
H A D | networkshare_upstreammonitor_test.cpp | 55 sptr<NetHandle> netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 88 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 90 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 104 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 109 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 134 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 139 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 166 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 170 netHandle = std::make_unique<NetHandle>(netI in HWTEST_F() [all...] |
/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(); in HWTEST_F() 89 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 91 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 105 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 110 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 135 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 140 netHandle = std::make_unique<NetHandle>(netId).release(); in HWTEST_F() 167 sptr<NetHandle> netHandle = nullptr; in HWTEST_F() 171 netHandle = std::make_unique<NetHandle>(netI in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/frameworks/native/netconnclient/src/ |
H A D | net_handle.cpp | 28 int32_t NetHandle::GetAddressesByName(const std::string &host, std::vector<INetAddr> &addrList) in GetAddressesByName() 37 int32_t NetHandle::GetAddressByName(const std::string &host, INetAddr &addr) in GetAddressByName() 46 int32_t NetHandle::BindSocket(int32_t socketFd) in BindSocket()
|
/foundation/communication/wifi/wifi/test/fuzztest/fuzz_common_func/ |
H A D | mock_netconn_client.h | 42 int32_t GetAllNets(std::list<sptr<NetHandle>> &netList); 44 int32_t GetNetCapabilities(const NetHandle &netHandle, NetAllCapabilities &netAllCap); 46 int32_t NetDetection(const NetHandle &netHandle);
|
/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<NetAllCapabilities> &netAllCap) in NetCapabilitiesChange() 85 int32_t NetworkObserver::NetConnectionPropertiesChange(sptr<NetHandle> &netHandle, const sptr<NetLinkInfo> &info) in NetConnectionPropertiesChange() 90 int32_t NetworkObserver::NetLost(sptr<NetHandle> &netHandle) in NetLost() 113 int32_t NetworkObserver::NetBlockStatusChange(sptr<NetHandle> &netHandle, bool blocked) in NetBlockStatusChange()
|