Home
last modified time | relevance | path

Searched refs:isBpfOffloadEnabled (Results 1 – 5 of 5) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java392 assertTrue(enableByRes.isBpfOffloadEnabled()); in testBpfOffloadEnabledByResource()
401 assertTrue(enableByDevConOverride.isBpfOffloadEnabled()); in testBpfOffloadEnabledByDeviceConfigOverride()
410 assertFalse(disableByRes.isBpfOffloadEnabled()); in testBpfOffloadDisabledByResource()
419 assertFalse(disableByDevConOverride.isBpfOffloadEnabled()); in testBpfOffloadDisabledByDeviceConfigOverride()
DBpfCoordinatorTest.java575 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(true /* default value */); in setUp()
1590 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in testBpfDisabledbyConfig()
3031 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in enableDisableUsingBpfOffload()
3054 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in doesNotStartIpNeighborMonitorIfBpfOffloadDisabled()
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java518 public boolean isBpfOffloadEnabled() { in isBpfOffloadEnabled() method in TetheringConfiguration
DBpfCoordinator.java2043 return (config != null) ? config.isBpfOffloadEnabled() : true /* default value */; in isBpfEnabled()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java218 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(usingBpfOffload); in initStateMachine()
281 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(DEFAULT_USING_BPF_OFFLOAD); in setUp()