Searched refs:mIpServer (Results 1 – 2 of 2) sorted by relevance
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/ |
D | IpServerTest.java | 198 private IpServer mIpServer; field in IpServerTest 229 mIpServer = new IpServer( in initStateMachine() 232 mIpServer.start(); in initStateMachine() 360 mIpServer = new IpServer(IFACE_NAME, mLooper.getLooper(), TETHERING_BLUETOOTH, mSharedLog, in startsOutAvailable() 363 mIpServer.start(); in startsOutAvailable() 366 mIpServer, STATE_AVAILABLE, TETHER_ERROR_NO_ERROR); in startsOutAvailable() 367 verify(mCallback).updateLinkProperties(eq(mIpServer), any(LinkProperties.class)); in startsOutAvailable() 397 mIpServer, STATE_UNAVAILABLE, TETHER_ERROR_NO_ERROR); in handlesImmediateInterfaceDown() 398 verify(mCallback).updateLinkProperties(eq(mIpServer), any(LinkProperties.class)); in handlesImmediateInterfaceDown() 414 mIpServer, STATE_TETHERED, TETHER_ERROR_NO_ERROR); in canBeTethered() [all …]
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | BpfCoordinatorTest.java | 212 @Mock private IpServer mIpServer; field in BpfCoordinatorTest 575 coordinator.tetherOffloadRuleAdd(mIpServer, rule); in checkTetherOffloadRuleAddAndRemove() 583 coordinator.tetherOffloadRuleRemove(mIpServer, rule); in checkTetherOffloadRuleAddAndRemove() 831 coordinator.tetherOffloadRuleAdd(mIpServer, rule); in testSetDataLimit() 880 coordinator.tetherOffloadRuleAdd(mIpServer, ruleA); in testSetDataLimitOnRule6Change() 887 coordinator.tetherOffloadRuleAdd(mIpServer, ruleB); in testSetDataLimitOnRule6Change() 892 coordinator.tetherOffloadRuleRemove(mIpServer, ruleB); in testSetDataLimitOnRule6Change() 899 coordinator.tetherOffloadRuleRemove(mIpServer, ruleA); in testSetDataLimitOnRule6Change() 935 coordinator.tetherOffloadRuleAdd(mIpServer, ethernetRuleA); in testTetherOffloadRuleUpdateAndClear() 940 coordinator.tetherOffloadRuleAdd(mIpServer, ethernetRuleB); in testTetherOffloadRuleUpdateAndClear() [all …]
|