Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java297 assertTrue(enableByRes.isBpfOffloadEnabled()); in testBpfOffloadEnabledByResource()
306 assertTrue(enableByDevConOverride.isBpfOffloadEnabled()); in testBpfOffloadEnabledByDeviceConfigOverride()
315 assertFalse(disableByRes.isBpfOffloadEnabled()); in testBpfOffloadDisabledByResource()
324 assertFalse(disableByDevConOverride.isBpfOffloadEnabled()); in testBpfOffloadDisabledByDeviceConfigOverride()
DBpfCoordinatorTest.java134 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(true /* default value */); in setUp()
505 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(false); in testTetheringConfigDisable()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTetheringConfiguration.java293 public boolean isBpfOffloadEnabled() { in isBpfOffloadEnabled() method in TetheringConfiguration
DBpfCoordinator.java587 return (config != null) ? config.isBpfOffloadEnabled() : true /* default value */; in isBpfEnabled()
DTethering.java2412 mConfig.isBpfOffloadEnabled(), mPrivateAddressCoordinator,
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java236 when(mTetherConfig.isBpfOffloadEnabled()).thenReturn(true /* default value */); in setUp()