Searched refs:mTetherConfig (Results 1 – 3 of 3) sorted by relevance
183 @Mock private TetheringConfiguration mTetherConfig; field in IpServerTest218 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(usingBpfOffload); in initStateMachine()219 when(mTetherConfig.useLegacyDhcpServer()).thenReturn(usingLegacyDhcp); in initStateMachine()220 when(mTetherConfig.getP2pLeasesSubnetPrefixLength()).thenReturn(P2P_SUBNET_PREFIX_LENGTH); in initStateMachine()281 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(DEFAULT_USING_BPF_OFFLOAD); in setUp()282 when(mTetherConfig.useLegacyDhcpServer()).thenReturn(false /* default value */); in setUp()310 mRoutingCoordinatorManager, mCallback, mTetherConfig, mAddressCoordinator, in createIpServer()
123 @Mock private TetheringConfiguration mTetherConfig; field in OffloadControllerTest136 return mTetherConfig;148 when(mTetherConfig.getOffloadPollInterval()).thenReturn(-1); // Disabled. in setUp()169 when(mTetherConfig.getOffloadPollInterval()).thenReturn(interval); in setOffloadPollInterval()
449 @Mock private TetheringConfiguration mTetherConfig; field in BpfCoordinatorTest516 return mTetherConfig;575 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(true /* default value */); in setUp()625 bpfCoordinator, mRoutingCoordinatorManager, mIpServerCallback, mTetherConfig, in makeAndStartIpServer()1590 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in testBpfDisabledbyConfig()1764 when(mTetherConfig.getOffloadPollInterval()).thenReturn(interval); in testTetheringConfigSetPollingInterval()1774 when(mTetherConfig.getOffloadPollInterval()).thenReturn(pollingInterval); in testTetheringConfigSetPollingInterval()3031 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in enableDisableUsingBpfOffload()3054 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in doesNotStartIpNeighborMonitorIfBpfOffloadDisabled()