summaryrefslogtreecommitdiffstats
path: root/server/NetdNativeService.h
diff options
context:
space:
mode:
authorLuke Huang <huangluke@google.com>2019-03-14 19:43:02 +0800
committerLuke Huang <huangluke@google.com>2019-03-15 05:47:12 +0000
commit728cf4c9953c997fab2c820755f1157d7712dd2a (patch)
tree7281037df71f1b12ff3823b5f8c446c43b3ffca3 /server/NetdNativeService.h
parentb257d61cd55c00a50d1eaaf4e7fcf436185c9a2c (diff)
downloadplatform_system_netd-728cf4c9953c997fab2c820755f1157d7712dd2a.tar.gz
platform_system_netd-728cf4c9953c997fab2c820755f1157d7712dd2a.tar.bz2
platform_system_netd-728cf4c9953c997fab2c820755f1157d7712dd2a.zip
refine test TestIpfwdEnableDisableStatusForwarding and some minor changes on test
1. fix flaky test for TestIpfwdEnableDisableStatusForwarding 2. fix time unit error in binder_test, set retry default interval as 50ms 3. refine naming in binder_test Bug: 128533612 Test: built, flashed, booted system/netd/tests/runtests.sh pass Change-Id: Ia03d0c30b49cdd233b627cce8bd2f3f05548798e
Diffstat (limited to 'server/NetdNativeService.h')
-rw-r--r--server/NetdNativeService.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/NetdNativeService.h b/server/NetdNativeService.h
index 09bf7126e..1bed73d31 100644
--- a/server/NetdNativeService.h
+++ b/server/NetdNativeService.h
@@ -235,6 +235,7 @@ class NetdNativeService : public BinderService<NetdNativeService>, public BnNetd
// Ipfw-related commands
binder::Status ipfwdEnabled(bool* status) override;
+ binder::Status ipfwdGetRequesterList(std::vector<std::string>* requesterList) override;
binder::Status ipfwdEnableForwarding(const std::string& requester) override;
binder::Status ipfwdDisableForwarding(const std::string& requester) override;
binder::Status ipfwdAddInterfaceForward(const std::string& fromIface,