Home
last modified time | relevance | path

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

/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java29 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
30 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_NCM_FUNCTION;
31 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION;
102 private class MockTetheringConfiguration extends TetheringConfiguration {
158 eq(TetheringConfiguration.TETHER_ENABLE_LEGACY_DHCP_SERVER))); in setUp()
170 TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setUp()
206 private TetheringConfiguration getTetheringConfiguration(int... legacyTetherUpstreamTypes) { in getTetheringConfiguration()
209 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in getTetheringConfiguration()
215 final TetheringConfiguration cfg = getTetheringConfiguration( in testNoTelephonyManagerMeansNoDun()
227 final TetheringConfiguration cfgWifi = getTetheringConfiguration(TYPE_WIFI); in testDunFromTelephonyManagerMeansDun()
[all …]
DEntitlementManagerTest.java110 private TetheringConfiguration mConfig;
142 final TetheringConfiguration config, final ResultReceiver receiver) { in runUiTetherProvisioning()
150 private void assertUiTetherProvisioningIntent(int type, final TetheringConfiguration config, in assertUiTetherProvisioningIntent()
167 final TetheringConfiguration config) { in runSilentTetherProvisioning()
175 private void assertSilentTetherProvisioning(int type, final TetheringConfiguration config, in assertSilentTetherProvisioning()
DTetheringTest.java72 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
73 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_NCM_FUNCTION;
74 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION;
282 private TetheringConfiguration mConfig;
449 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
488 TetheringConfiguration cfg) { in getPrivateAddressCoordinator()
650 TetheringConfiguration.TETHER_USB_RNDIS_FUNCTION); in setTetheringSupported()
1056 TetheringConfiguration.TETHER_USB_NCM_FUNCTION); in workingMobileUsbTethering_v6Then464xlat()
1931 final TetheringConfiguration initailConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
1936 final TetheringConfiguration newConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
[all …]
DFakeTetheringConfiguration.java24 public class FakeTetheringConfiguration extends TetheringConfiguration {
DOffloadControllerTest.java34 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
113 @Mock private TetheringConfiguration mTetherConfig;
125 public TetheringConfiguration getTetherConfig() {
DBpfCoordinatorTest.java51 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
214 @Mock private TetheringConfiguration mTetherConfig;
261 public TetheringConfiguration getTetherConfig() {
DPrivateAddressCoordinatorTest.java68 @Mock private TetheringConfiguration mConfig;
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java142 TetheringConfiguration fetchTetheringConfiguration(); in fetchTetheringConfiguration()
149 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in isCellularUpstreamPermitted()
154 private boolean isCellularUpstreamPermitted(final TetheringConfiguration config) { in isCellularUpstreamPermitted()
195 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in startProvisioningIfNeeded()
242 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in notifyUpstream()
249 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in maybeRunProvisioning()
253 private void maybeRunProvisioning(final TetheringConfiguration config) { in maybeRunProvisioning()
282 protected boolean isTetherProvisioningRequired(final TetheringConfiguration config) { in isTetherProvisioningRequired()
302 public void reevaluateSimCardProvisioning(final TetheringConfiguration config) { in reevaluateSimCardProvisioning()
328 public PersistableBundle getCarrierConfig(final TetheringConfiguration config) { in getCarrierConfig()
[all …]
DTetheringDependencies.java111 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
113 return new TetheringConfiguration(ctx, log, subId); in generateTetheringConfiguration()
158 TetheringConfiguration cfg) { in getPrivateAddressCoordinator()
DTethering.java67 import static com.android.networkstack.tethering.TetheringConfiguration.TETHER_FORCE_USB_FUNCTIONS;
253 private volatile TetheringConfiguration mConfig;
290 public TetheringConfiguration getTetherConfig() { in Tethering()
366 public TetheringConfiguration getTetherConfig() { in Tethering()
484 final boolean isDunRequired = TetheringConfiguration.checkDunRequired(mContext); in maybeDunSettingChanged()
565 final TetheringConfiguration cfg = mConfig; in ifaceNameToType()
868 final TetheringConfiguration cfg = mConfig; in isTetherProvisioningRequired()
920 final TetheringConfiguration cfg = mConfig; in sendTetherStateChangedBroadcast()
1399 TetheringConfiguration getTetheringConfiguration() { in getTetheringConfiguration()
1404 final TetheringConfiguration cfg = mConfig; in hasTetherableConfiguration()
[all …]
DTetheringConfiguration.java58 public class TetheringConfiguration { class
59 private static final String TAG = TetheringConfiguration.class.getSimpleName();
164 public TetheringConfiguration(Context ctx, SharedLog log, int id) { in TetheringConfiguration() method in TetheringConfiguration
DPrivateAddressCoordinator.java78 private final TetheringConfiguration mConfig;
82 public PrivateAddressCoordinator(Context context, TetheringConfiguration config) { in PrivateAddressCoordinator()
DBpfCoordinator.java33 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
275 @Nullable public abstract TetheringConfiguration getTetherConfig(); in getTetherConfig()
1616 final TetheringConfiguration config = mDeps.getTetherConfig(); in isBpfEnabled()
1860 final TetheringConfiguration config = mDeps.getTetherConfig(); in getPollingInterval()
DOffloadController.java32 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
175 TetheringConfiguration getTetherConfig(); in getTetherConfig()
/packages/modules/Connectivity/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java118 import com.android.networkstack.tethering.TetheringConfiguration;
183 @Mock private TetheringConfiguration mTetherConfig;
306 public TetheringConfiguration getTetherConfig() { in setUp()