Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/dataconnection/
DApnConfigTypeRepositoryTest.java33 PersistableBundle mCarrierConfig; field in ApnConfigTypeRepositoryTest
37 mCarrierConfig = new PersistableBundle(); in setUp()
48 mCarrierConfig.putStringArray(CarrierConfigManager.KEY_APN_PRIORITY_STRING_ARRAY, in testReturnsDefaultsWhenCarrierConfigApnContextKeyReturnsNull()
51 ApnConfigTypeRepository repository = new ApnConfigTypeRepository(mCarrierConfig); in testReturnsDefaultsWhenCarrierConfigApnContextKeyReturnsNull()
62 mCarrierConfig.putStringArray(CarrierConfigManager.KEY_APN_PRIORITY_STRING_ARRAY, in testReturnsDefaultsWhenCarrierConfigHasInvalidTypes()
65 ApnConfigTypeRepository repository = new ApnConfigTypeRepository(mCarrierConfig); in testReturnsDefaultsWhenCarrierConfigHasInvalidTypes()
81 mCarrierConfig.putStringArray(CarrierConfigManager.KEY_APN_PRIORITY_STRING_ARRAY, in testReturnsCarrierConfigOverride()
84 ApnConfigTypeRepository repository = new ApnConfigTypeRepository(mCarrierConfig); in testReturnsCarrierConfigOverride()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DMissedIncomingCallSmsFilter.java68 private PersistableBundle mCarrierConfig; field in MissedIncomingCallSmsFilter
81 mCarrierConfig = configManager.getConfigForSubId(mPhone.getSubId()); in MissedIncomingCallSmsFilter()
99 if (mCarrierConfig != null) { in filter()
101 String[] originators = mCarrierConfig.getStringArray(CarrierConfigManager in filter()
154 String[] smsPatterns = mCarrierConfig.getStringArray(CarrierConfigManager in processSms()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java99 private final PersistableBundle mCarrierConfig = new PersistableBundle(); field in EntitlementManagerTest
242 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfig); in setupForRequiredProvisioning()
243 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true); in setupForRequiredProvisioning()
244 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setupForRequiredProvisioning()
277 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, false); in toleratesCarrierConfigNotLoaded()
DTetheringTest.java218 private final PersistableBundle mCarrierConfig = new PersistableBundle(); field in TetheringTest
1859 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfig); in setupForRequiredProvisioning()
1860 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true); in setupForRequiredProvisioning()
1861 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setupForRequiredProvisioning()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java267 private PersistableBundle mCarrierConfig = CarrierConfigManager.getDefaultConfig(); field in NetworkPolicyManagerServiceTest
415 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in callSystemReady()
1897 .thenReturn(mCarrierConfig); in expectNetworkState()