Searched refs:tetherOffloadRuleAdd (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 356 coordinator.tetherOffloadRuleAdd(mIpServer, rule); in testSetDataLimit() 357 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(rule)); in testSetDataLimit() 403 coordinator.tetherOffloadRuleAdd(mIpServer, ruleA); in testSetDataLimitOnRuleChange() 404 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(ruleA)); in testSetDataLimitOnRuleChange() 410 coordinator.tetherOffloadRuleAdd(mIpServer, ruleB); in testSetDataLimitOnRuleChange() 411 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(ruleB)); in testSetDataLimitOnRuleChange() 457 coordinator.tetherOffloadRuleAdd(mIpServer, ethernetRuleA); in testTetherOffloadRuleUpdateAndClear() 458 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(ethernetRuleA)); in testTetherOffloadRuleUpdateAndClear() 461 coordinator.tetherOffloadRuleAdd(mIpServer, ethernetRuleB); in testTetherOffloadRuleUpdateAndClear() 462 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(ethernetRuleB)); in testTetherOffloadRuleUpdateAndClear() [all …]
|
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 761 verify(mBpfCoordinator).tetherOffloadRuleAdd( in addRemoveipv6ForwardingRules() 763 verify(mNetd).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX, neighA, macA)); in addRemoveipv6ForwardingRules() 767 verify(mBpfCoordinator).tetherOffloadRuleAdd( in addRemoveipv6ForwardingRules() 769 verify(mNetd).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX, neighB, macB)); in addRemoveipv6ForwardingRules() 804 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX2, neighA, macA)); in addRemoveipv6ForwardingRules() 806 inOrder.verify(mNetd).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX2, neighB, macB)); in addRemoveipv6ForwardingRules() 832 verify(mBpfCoordinator).tetherOffloadRuleAdd( in addRemoveipv6ForwardingRules() 834 verify(mNetd).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX, neighB, macB)); in addRemoveipv6ForwardingRules() 835 verify(mBpfCoordinator, never()).tetherOffloadRuleAdd( in addRemoveipv6ForwardingRules() 837 verify(mNetd, never()).tetherOffloadRuleAdd(matches(UPSTREAM_IFINDEX, neighA, macA)); in addRemoveipv6ForwardingRules() [all …]
|
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/ |
D | BpfCoordinator.java | 239 public void tetherOffloadRuleAdd( in tetherOffloadRuleAdd() method in BpfCoordinator 245 mNetd.tetherOffloadRuleAdd(rule.toTetherOffloadRuleParcel()); in tetherOffloadRuleAdd() 357 tetherOffloadRuleAdd(ipServer, rule.onNewUpstream(newUpstreamIfindex)); in tetherOffloadRuleUpdate()
|
/frameworks/base/packages/Tethering/src/android/net/ip/ |
D | IpServer.java | 845 mBpfCoordinator.tetherOffloadRuleAdd(this, rule); in addIpv6ForwardingRule()
|