Home
last modified time | relevance | path

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

/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringConfigurationTest.java75 private class MockTetheringConfiguration extends TetheringConfiguration {
115 eq(TetheringConfiguration.TETHER_ENABLE_LEGACY_DHCP_SERVER))); in setUp()
120 TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL_INTERVAL_MS); in setUp()
143 private TetheringConfiguration getTetheringConfiguration(int... legacyTetherUpstreamTypes) { in getTetheringConfiguration()
146 return new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in getTetheringConfiguration()
152 final TetheringConfiguration cfg = getTetheringConfiguration( in testNoTelephonyManagerMeansNoDun()
164 final TetheringConfiguration cfgWifi = getTetheringConfiguration(TYPE_WIFI); in testDunFromTelephonyManagerMeansDun()
165 final TetheringConfiguration cfgMobileWifiHipri = getTetheringConfiguration( in testDunFromTelephonyManagerMeansDun()
167 final TetheringConfiguration cfgWifiDun = getTetheringConfiguration( in testDunFromTelephonyManagerMeansDun()
169 final TetheringConfiguration cfgMobileWifiHipriDun = getTetheringConfiguration( in testDunFromTelephonyManagerMeansDun()
[all …]
DEntitlementManagerTest.java105 private TetheringConfiguration mConfig;
137 final TetheringConfiguration config, final ResultReceiver receiver) { in runUiTetherProvisioning()
145 private void assertUiTetherProvisioningIntent(int type, final TetheringConfiguration config, in assertUiTetherProvisioningIntent()
162 final TetheringConfiguration config) { in runSilentTetherProvisioning()
170 private void assertSilentTetherProvisioning(int type, final TetheringConfiguration config, in assertSilentTetherProvisioning()
220 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setUp()
245 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in setupForRequiredProvisioning()
259 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigManagerMissing()
269 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in toleratesCarrierConfigMissing()
287 mConfig = new TetheringConfiguration(mMockContext, mLog, INVALID_SUBSCRIPTION_ID); in provisioningNotRequiredWhenAppNotFound()
[all …]
DBpfCoordinatorTest.java31 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
96 @Mock private TetheringConfiguration mTetherConfig;
127 public TetheringConfiguration getTetherConfig() {
DOffloadControllerTest.java32 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
112 @Mock private TetheringConfiguration mTetherConfig;
124 public TetheringConfiguration getTetherConfig() {
DTetheringTest.java228 private TetheringConfiguration mConfig;
323 private class MyTetheringConfiguration extends TetheringConfiguration {
405 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
1471 final TetheringConfiguration initailConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
1476 final TetheringConfiguration newConfig = mTethering.getTetheringConfiguration(); in testMultiSimAware()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DEntitlementManager.java143 TetheringConfiguration fetchTetheringConfiguration(); in fetchTetheringConfiguration()
150 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in isCellularUpstreamPermitted()
155 private boolean isCellularUpstreamPermitted(final TetheringConfiguration config) { in isCellularUpstreamPermitted()
196 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in startProvisioningIfNeeded()
243 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in notifyUpstream()
250 final TetheringConfiguration config = mFetcher.fetchTetheringConfiguration(); in maybeRunProvisioning()
254 private void maybeRunProvisioning(final TetheringConfiguration config) { in maybeRunProvisioning()
283 protected boolean isTetherProvisioningRequired(final TetheringConfiguration config) { in isTetherProvisioningRequired()
303 public void reevaluateSimCardProvisioning(final TetheringConfiguration config) { in reevaluateSimCardProvisioning()
329 public PersistableBundle getCarrierConfig(final TetheringConfiguration config) { in getCarrierConfig()
[all …]
DTetheringDependencies.java117 public TetheringConfiguration generateTetheringConfiguration(Context ctx, SharedLog log, in generateTetheringConfiguration()
119 return new TetheringConfiguration(ctx, log, subId); in generateTetheringConfiguration()
DBpfCoordinator.java28 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
170 @Nullable public abstract TetheringConfiguration getTetherConfig(); in getTetherConfig()
586 final TetheringConfiguration config = mDeps.getTetherConfig(); in isBpfEnabled()
747 final TetheringConfiguration config = mDeps.getTetherConfig(); in getPollingInterval()
DTetheringConfiguration.java55 public class TetheringConfiguration { class
56 private static final String TAG = TetheringConfiguration.class.getSimpleName();
117 public TetheringConfiguration(Context ctx, SharedLog log, int id) { in TetheringConfiguration() method in TetheringConfiguration
DTethering.java244 private volatile TetheringConfiguration mConfig;
284 public TetheringConfiguration getTetherConfig() { in Tethering()
353 public TetheringConfiguration getTetherConfig() { in Tethering()
448 final boolean isDunRequired = TetheringConfiguration.checkDunRequired(mContext); in maybeDunSettingChanged()
518 final TetheringConfiguration cfg = mConfig; in ifaceNameToType()
824 final TetheringConfiguration cfg = mConfig; in isTetherProvisioningRequired()
853 final TetheringConfiguration cfg = mConfig; in sendTetherStateChangedBroadcast()
1258 TetheringConfiguration getTetheringConfiguration() { in getTetheringConfiguration()
1263 final TetheringConfiguration cfg = mConfig; in hasTetherableConfiguration()
1483 final TetheringConfiguration cfg = mConfig; in turnOnMasterTetherSettings()
[all …]
DOffloadController.java29 import static com.android.networkstack.tethering.TetheringConfiguration.DEFAULT_TETHER_OFFLOAD_POLL…
140 TetheringConfiguration getTetherConfig(); in getTetherConfig()
/frameworks/base/packages/Tethering/tests/unit/src/android/net/ip/
DIpServerTest.java100 import com.android.networkstack.tethering.TetheringConfiguration;
148 @Mock private TetheringConfiguration mTetherConfig;
257 public TetheringConfiguration getTetherConfig() { in setUp()