Home
last modified time | relevance | path

Searched refs:TetheringConfiguration (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java29 import static com.android.networkstack.tethering.TetheringConfiguration.OVERRIDE_TETHER_ENABLE_BPF_…
30 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_ENABLE_LEGACY_DHCP_S…
31 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
32 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_NCM_FUNCTION;
33 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION;
109 private class MockTetheringConfiguration extends TetheringConfiguration {
154 private static class MockDependencies extends TetheringConfiguration.Dependencies {
176 return isMockFlagEnabled(TetheringConfiguration.TETHER_FORCE_UPSTREAM_AUTOMATIC_VERSION, in isTetherForceUpstreamAutomaticFeatureEnabled()
206 TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setUp()
239 private TetheringConfiguration getTetheringConfiguration(int... legacyTetherUpstreamTypes) { in getTetheringConfiguration()
[all …]
DEntitlementManagerTest.java130 private TetheringConfiguration mConfig;
169 final TetheringConfiguration config, final ResultReceiver receiver) { in runUiTetherProvisioning()
177 private void assertUiTetherProvisioningIntent(int type, final TetheringConfiguration config, in assertUiTetherProvisioningIntent()
194 final TetheringConfiguration config, final ResultReceiver receiver) { in runSilentTetherProvisioning()
202 private void assertSilentTetherProvisioning(int type, final TetheringConfiguration config, in assertSilentTetherProvisioning()
DFakeTetheringConfiguration.java27 public class FakeTetheringConfiguration extends TetheringConfiguration {
DTetheringTest.java77 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
78 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_NCM_FUNCTION;
79 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION;
315 private TetheringConfiguration mConfig;
494 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
537 TetheringConfiguration cfg) { in makePrivateAddressCoordinator()
723 TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION); in setTetheringSupported()
1167 TetheringConfiguration.TETHER_USB_NCM_FUNCTION); in workingMobileUsbTethering_v6Then464xlat()
2418 final TetheringConfiguration initailConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
2423 final TetheringConfiguration newConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
[all …]
DOffloadControllerTest.java36 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
123 @Mock private TetheringConfiguration mTetherConfig;
135 public TetheringConfiguration getTetherConfig() {
DPrivateAddressCoordinatorTest.java73 @Mock private TetheringConfiguration mConfig;
DBpfCoordinatorTest.java64 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
449 @Mock private TetheringConfiguration mTetherConfig;
515 public TetheringConfiguration getTetherConfig() {
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java161 TetheringConfiguration fetchTetheringConfiguration(); in fetchTetheringConfiguration()
168 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in isCellularUpstreamPermitted()
173 private boolean isCellularUpstreamPermitted(final TetheringConfiguration config) { in isCellularUpstreamPermitted()
217 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in startProvisioningIfNeeded()
260 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in notifyUpstream()
267 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in maybeRunProvisioning()
271 private void maybeRunProvisioning(final TetheringConfiguration config) { in maybeRunProvisioning()
309 private int getTetherProvisioningCondition(final TetheringConfiguration config) { in getTetherProvisioningCondition()
333 protected boolean isTetherProvisioningRequired(final TetheringConfiguration config) { in isTetherProvisioningRequired()
341 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in isProvisioningNeededButUnavailable()
[all …]
DTetheringDependencies.java115 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
117 return new TetheringConfiguration(ctx, log, subId); in generateTetheringConfiguration()
173 TetheringConfiguration cfg) { in makePrivateAddressCoordinator()
DTetheringConfiguration.java64 public class TetheringConfiguration { class
65 private static final String TAG = TetheringConfiguration.class.getSimpleName();
215 public TetheringConfiguration(@NonNull Context ctx, @NonNull SharedLog log, int id) { in TetheringConfiguration() method in TetheringConfiguration
220 public TetheringConfiguration(@NonNull Context ctx, @NonNull SharedLog log, int id, in TetheringConfiguration() method in TetheringConfiguration
DTethering.java66 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
266 private volatile TetheringConfiguration mConfig;
319 public TetheringConfiguration getTetherConfig() { in Tethering()
396 public TetheringConfiguration getTetherConfig() { in Tethering()
530 if (TetheringConfiguration.getCarrierConfig(mContext, subId) != null) { in onActiveDataSubscriptionIdChanged()
553 final boolean isDunRequired = TetheringConfiguration.checkDunRequired(mContext); in maybeDunSettingChanged()
634 final TetheringConfiguration cfg = mConfig; in ifaceNameToType()
1053 final TetheringConfiguration cfg = mConfig; in isTetherProvisioningRequired()
1574 TetheringConfiguration getTetheringConfiguration() { in getTetheringConfiguration()
1772 final TetheringConfiguration cfg = mConfig; in turnOnMainTetherSettings()
[all …]
DPrivateAddressCoordinator.java79 private final TetheringConfiguration mConfig;
84 public PrivateAddressCoordinator(Context context, TetheringConfiguration config) { in PrivateAddressCoordinator()
DOffloadController.java32 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
174 TetheringConfiguration getTetherConfig(); in getTetherConfig()
DBpfCoordinator.java35 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
334 @Nullable public abstract TetheringConfiguration getTetherConfig(); in getTetherConfig()
2042 final TetheringConfiguration config = mDeps.getTetherConfig(); in isBpfEnabled()
2278 final TetheringConfiguration config = mDeps.getTetherConfig(); in getPollingInterval()
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java36 import static com.android.networkstack.tethering.TetheringConfiguration.USE_SYNC_SM;
85 import com.android.networkstack.tethering.TetheringConfiguration;
327 TetheringConfiguration config, PrivateAddressCoordinator addressCoordinator, in IpServer()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java100 import com.android.networkstack.tethering.TetheringConfiguration;
183 @Mock private TetheringConfiguration mTetherConfig;