Home
last modified time | relevance | path

Searched refs:tetherOffloadRuleRemove (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DBpfCoordinatorTest.java415 coordinator.tetherOffloadRuleRemove(mIpServer, ruleB); in testSetDataLimitOnRuleChange()
416 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(ruleB)); in testSetDataLimitOnRuleChange()
422 coordinator.tetherOffloadRuleRemove(mIpServer, ruleA); in testSetDataLimitOnRuleChange()
423 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(ruleA)); in testSetDataLimitOnRuleChange()
475 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(ethernetRuleA)); in testTetherOffloadRuleUpdateAndClear()
478 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(ethernetRuleB)); in testTetherOffloadRuleUpdateAndClear()
486 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(mobileRuleA)); in testTetherOffloadRuleUpdateAndClear()
487 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(mobileRuleB)); in testTetherOffloadRuleUpdateAndClear()
537 coordinator.tetherOffloadRuleRemove(mIpServer, rule); in testTetheringConfigDisable()
538 verify(mNetd, never()).tetherOffloadRuleRemove(any()); in testTetheringConfigDisable()
[all …]
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java787 verify(mBpfCoordinator).tetherOffloadRuleRemove( in addRemoveipv6ForwardingRules()
789 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macNull)); in addRemoveipv6ForwardingRules()
794 verify(mBpfCoordinator).tetherOffloadRuleRemove( in addRemoveipv6ForwardingRules()
796 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macNull)); in addRemoveipv6ForwardingRules()
809 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macA)); in addRemoveipv6ForwardingRules()
811 inOrder.verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macB)); in addRemoveipv6ForwardingRules()
822 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX2, neighA, macA)); in addRemoveipv6ForwardingRules()
823 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX2, neighB, macB)); in addRemoveipv6ForwardingRules()
849 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighB, macB)); in addRemoveipv6ForwardingRules()
867 verify(mNetd).tetherOffloadRuleRemove(matches(UPSTREAM_IFINDEX, neighA, macA)); in addRemoveipv6ForwardingRules()
[all …]
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DBpfCoordinator.java280 public void tetherOffloadRuleRemove( in tetherOffloadRuleRemove() method in BpfCoordinator
286 mNetd.tetherOffloadRuleRemove(rule.toTetherOffloadRuleParcel()); in tetherOffloadRuleRemove()
335 tetherOffloadRuleRemove(ipServer, rule); in tetherOffloadRuleClear()
356 tetherOffloadRuleRemove(ipServer, rule); in tetherOffloadRuleUpdate()
/frameworks/base/packages/Tethering/src/android/net/ip/
DIpServer.java860 mBpfCoordinator.tetherOffloadRuleRemove(this, rule); in removeIpv6ForwardingRule()