/foundation/communication/netmanager_base/test/netmanagernative/unittest/bandwidth_manager_test/ |
H A D | bandwidth_manager_test.cpp | 103 * @tc.desc: Test BandwidthManager BandwidthSetIfaceQuota. 108 int32_t ret = NetsysController::GetInstance().BandwidthSetIfaceQuota("_0iface", 2097152); in HWTEST_F() 114 * @tc.desc: Test BandwidthManager BandwidthSetIfaceQuota. 119 int32_t ret = NetsysController::GetInstance().BandwidthSetIfaceQuota("iface0", 2097152); in HWTEST_F() 125 * @tc.desc: Test BandwidthManager BandwidthSetIfaceQuota. 130 int32_t ret = NetsysController::GetInstance().BandwidthSetIfaceQuota("wlan0", 2097152); in HWTEST_F() 136 * @tc.desc: Test BandwidthManager BandwidthSetIfaceQuota. 141 int32_t ret = NetsysController::GetInstance().BandwidthSetIfaceQuota("wlan0", 5000000000000000); in HWTEST_F() 147 * @tc.desc: Test BandwidthManager BandwidthSetIfaceQuota. 152 int32_t ret = NetsysController::GetInstance().BandwidthSetIfaceQuota("wlan in HWTEST_F() [all...] |
/foundation/communication/netmanager_base/services/netpolicymanager/src/common/ |
H A D | netsys_policy_wrapper.cpp | 40 int32_t NetsysPolicyWrapper::BandwidthSetIfaceQuota(const std::string &iface, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetManagerStandard::NetsysPolicyWrapper 42 auto netsysReturnValue = NetsysController::GetInstance().BandwidthSetIfaceQuota(iface, bytes); in BandwidthSetIfaceQuota()
|
/foundation/communication/netmanager_base/services/netpolicymanager/include/ |
H A D | netsys_policy_wrapper.h | 35 int32_t BandwidthSetIfaceQuota(const std::string &iface, int64_t bytes);
|
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/ |
H A D | ut_netsys_policy_wrapper.cpp | 63 auto ret = instance_->BandwidthSetIfaceQuota(iface, bytes); in HWTEST_F()
|
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/ |
H A D | i_netsys_service.h | 134 virtual int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) = 0;
|
H A D | netsys_native_service_proxy.h | 107 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
|
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/ |
H A D | net_policy_traffic.cpp | 187 GetNetsysInst()->BandwidthSetIfaceQuota(iface, quotaRemain); in UpdateMeteredIfacesQuota()
|
/foundation/communication/netmanager_base/services/netmanagernative/include/ |
H A D | netsys_native_service.h | 125 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
|
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/ |
H A D | net_manager_native.h | 120 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/ |
H A D | netsys_native_service_stub_test.cpp | 326 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override
|
/foundation/communication/netmanager_base/services/netsyscontroller/include/ |
H A D | netsys_controller_service_impl.h | 594 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
|
H A D | i_netsys_controller_service.h | 623 virtual int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) = 0;
|
H A D | netsys_controller.h | 609 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
|
H A D | netsys_native_client.h | 636 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
|
/foundation/communication/netmanager_base/services/netsyscontroller/src/ |
H A D | netsys_controller.cpp | 956 int32_t NetsysController::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetManagerStandard::NetsysController 958 NETMGR_LOG_D("NetsysController::BandwidthSetIfaceQuota: ifName=%{public}s", ifName.c_str()); in BandwidthSetIfaceQuota() 965 return netsysService_->BandwidthSetIfaceQuota(ifName, bytes); in BandwidthSetIfaceQuota()
|
H A D | netsys_controller_service_impl.cpp | 616 int32_t NetsysControllerServiceImpl::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetManagerStandard::NetsysControllerServiceImpl 618 NETMGR_LOG_D("BandwidthSetIfaceQuota: ifName=%{public}s", ifName.c_str()); in BandwidthSetIfaceQuota() 619 return netsysClient_.BandwidthSetIfaceQuota(ifName, bytes); in BandwidthSetIfaceQuota()
|
H A D | netsys_native_client.cpp | 1207 int32_t NetsysNativeClient::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetManagerStandard::NetsysNativeClient 1214 return proxy->BandwidthSetIfaceQuota(ifName, bytes); in BandwidthSetIfaceQuota()
|
/foundation/communication/netmanager_base/services/netmanagernative/src/ |
H A D | netsys_native_service.cpp | 555 int32_t NetsysNativeService::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetsysNative::NetsysNativeService 557 NETNATIVE_LOG_D("BandwidthSetIfaceQuota"); in BandwidthSetIfaceQuota() 558 return netsysService_->BandwidthSetIfaceQuota(ifName, bytes); in BandwidthSetIfaceQuota()
|
H A D | netsys_native_service_stub.cpp | 1198 int32_t result = BandwidthSetIfaceQuota(ifName, bytes); in CmdBandwidthSetIfaceQuota()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | netsys_controller_test.cpp | 338 ret = NetsysController::GetInstance().BandwidthSetIfaceQuota(IF_NAME, BYTES); in HWTEST_F() 341 ret = NetsysController::GetInstance().BandwidthSetIfaceQuota(WLAN, BYTES); in HWTEST_F() 689 ret = instance_->BandwidthSetIfaceQuota(iface, 0); in HWTEST_F()
|
H A D | netsys_native_service_test.cpp | 380 ret = instance_->BandwidthSetIfaceQuota("testifname", 32); in HWTEST_F()
|
H A D | netsys_controller_service_impl_test.cpp | 509 ret = instance_->BandwidthSetIfaceQuota(ifName, bytes); in HWTEST_F()
|
H A D | netsys_native_service_stub_test.cpp | 348 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override
|
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/ |
H A D | net_manager_native.cpp | 419 int32_t NetManagerNative::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::nmd::NetManagerNative
|
/foundation/communication/netmanager_base/frameworks/native/netmanagernative/ |
H A D | netsys_native_service_proxy.cpp | 1521 int32_t NetsysNativeServiceProxy::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetsysNative::NetsysNativeServiceProxy
|