Home
last modified time | relevance | path

Searched refs:BandwidthSetIfaceQuota (Results 1 - 25 of 25) sorted by relevance

/foundation/communication/netmanager_base/test/netmanagernative/unittest/bandwidth_manager_test/
H A Dbandwidth_manager_test.cpp103 * @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 Dnetsys_policy_wrapper.cpp40 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 Dnetsys_policy_wrapper.h35 int32_t BandwidthSetIfaceQuota(const std::string &iface, int64_t bytes);
/foundation/communication/netmanager_base/test/netpolicymanager/unittest/net_policy_manager_test/
H A Dut_netsys_policy_wrapper.cpp63 auto ret = instance_->BandwidthSetIfaceQuota(iface, bytes); in HWTEST_F()
/foundation/communication/netmanager_base/interfaces/innerkits/netmanagernative/include/
H A Di_netsys_service.h134 virtual int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) = 0;
H A Dnetsys_native_service_proxy.h107 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
/foundation/communication/netmanager_base/services/netpolicymanager/src/core/
H A Dnet_policy_traffic.cpp187 GetNetsysInst()->BandwidthSetIfaceQuota(iface, quotaRemain); in UpdateMeteredIfacesQuota()
/foundation/communication/netmanager_base/services/netmanagernative/include/
H A Dnetsys_native_service.h125 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
/foundation/communication/netmanager_base/services/netmanagernative/include/netsys/
H A Dnet_manager_native.h120 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_distributed_test/
H A Dnetsys_native_service_stub_test.cpp326 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override
/foundation/communication/netmanager_base/services/netsyscontroller/include/
H A Dnetsys_controller_service_impl.h594 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override;
H A Di_netsys_controller_service.h623 virtual int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) = 0;
H A Dnetsys_controller.h609 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
H A Dnetsys_native_client.h636 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes);
/foundation/communication/netmanager_base/services/netsyscontroller/src/
H A Dnetsys_controller.cpp956 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 Dnetsys_controller_service_impl.cpp616 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 Dnetsys_native_client.cpp1207 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 Dnetsys_native_service.cpp555 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 Dnetsys_native_service_stub.cpp1198 int32_t result = BandwidthSetIfaceQuota(ifName, bytes); in CmdBandwidthSetIfaceQuota()
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dnetsys_controller_test.cpp338 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 Dnetsys_native_service_test.cpp380 ret = instance_->BandwidthSetIfaceQuota("testifname", 32); in HWTEST_F()
H A Dnetsys_controller_service_impl_test.cpp509 ret = instance_->BandwidthSetIfaceQuota(ifName, bytes); in HWTEST_F()
H A Dnetsys_native_service_stub_test.cpp348 int32_t BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) override
/foundation/communication/netmanager_base/services/netmanagernative/src/netsys/
H A Dnet_manager_native.cpp419 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 Dnetsys_native_service_proxy.cpp1521 int32_t NetsysNativeServiceProxy::BandwidthSetIfaceQuota(const std::string &ifName, int64_t bytes) in BandwidthSetIfaceQuota() function in OHOS::NetsysNative::NetsysNativeServiceProxy

Completed in 44 milliseconds