Home
last modified time | relevance | path

Searched refs:mCarrierConfigManager (Results 1 – 10 of 10) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DCarrierNetworkConfigTest.java66 @Mock CarrierConfigManager mCarrierConfigManager; field in CarrierNetworkConfigTest
103 .thenReturn(mCarrierConfigManager); in setUp()
108 when(mCarrierConfigManager.getConfigForSubId(TEST_SUBSCRIPTION_ID)) in setUp()
126 reset(mCarrierConfigManager); in setUp()
149 when(mCarrierConfigManager.getConfigForSubId(TEST_SUBSCRIPTION_ID)) in getExistingCarrierNetworkInfo_nullDisplayName_shouldNotThrowNpe()
158 reset(mCarrierConfigManager); in getExistingCarrierNetworkInfo_nullDisplayName_shouldNotThrowNpe()
223 when(mCarrierConfigManager.getConfigForSubId(TEST_SUBSCRIPTION_ID)) in receivedCarrierConfigChangedIntent()
248 verify(mCarrierConfigManager, never()).getConfig(); in receivedNonCarrierConfigChangedIntent()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DNetworkRegistrationManager.java60 private final CarrierConfigManager mCarrierConfigManager; field in NetworkRegistrationManager
100 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in NetworkRegistrationManager()
305 PersistableBundle b = mCarrierConfigManager.getConfigForSubId(mPhone.getSubId()); in getPackageName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
DAccessNetworksManager.java77 private final CarrierConfigManager mCarrierConfigManager; field in AccessNetworksManager
210 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in AccessNetworksManager()
294 PersistableBundle b = mCarrierConfigManager.getConfigForSubId(mPhone.getSubId()); in getQualifiedNetworksServicePackageName()
DDataServiceManager.java75 private final CarrierConfigManager mCarrierConfigManager; field in DataServiceManager
259 mCarrierConfigManager = (CarrierConfigManager) phone.getContext().getSystemService( in DataServiceManager()
392 PersistableBundle b = mCarrierConfigManager.getConfigForSubId(mPhone.getSubId()); in getDataServicePackageName()
/frameworks/base/tests/net/java/com/android/server/connectivity/tethering/
DEntitlementManagerTest.java81 @Mock private CarrierConfigManager mCarrierConfigManager; field in EntitlementManagerTest
192 .thenReturn(mCarrierConfigManager); in setupForRequiredProvisioning()
193 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfig); in setupForRequiredProvisioning()
219 when(mCarrierConfigManager.getConfig()).thenReturn(null); in toleratesCarrierConfigMissing()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DContextFixture.java231 return mCarrierConfigManager; in getSystemService()
559 private final CarrierConfigManager mCarrierConfigManager = mock(CarrierConfigManager.class); field in ContextFixture
610 doReturn(mBundle).when(mCarrierConfigManager).getConfigForSubId(anyInt()); in ContextFixture()
612 doReturn(mBundle).when(mCarrierConfigManager).getConfig(); in ContextFixture()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsResolver.java331 private final CarrierConfigManager mCarrierConfigManager; field in ImsResolver
456 mCarrierConfigManager = (CarrierConfigManager) mContext.getSystemService( in ImsResolver()
1019 PersistableBundle config = mCarrierConfigManager.getConfigForSubId(subId); in carrierConfigChanged()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java235 private @Mock CarrierConfigManager mCarrierConfigManager; field in NetworkPolicyManagerServiceTest
340 return mCarrierConfigManager; in callSystemReady()
1391 when(mCarrierConfigManager.getConfigForSubId(FAKE_SUB_ID)).thenReturn(bundle);
1401 when(mCarrierConfigManager.getConfigForSubId(FAKE_SUB_ID)).thenReturn(null);
1837 when(mCarrierConfigManager.getConfigForSubId(eq(TEST_SUB_ID))) in expectNetworkState()
1848 when(mCarrierConfigManager.getConfigForSubId(eq(TEST_SUB_ID))) in expectDefaultCarrierConfig()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java402 private final CarrierConfigManager mCarrierConfigManager; field in NetworkPolicyManagerService
615 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in NetworkPolicyManagerService()
1167 final PersistableBundle config = mCarrierConfigManager.getConfigForSubId(subId);
2135 final PersistableBundle config = mCarrierConfigManager.getConfigForSubId(subId); in updateDefaultMobilePolicyAL()
3017 config = mCarrierConfigManager.getConfigForSubId(subId); in enforceSubscriptionPlanAccess()
3040 final String defaultPackage = mCarrierConfigManager.getDefaultCarrierServicePackageName(); in enforceSubscriptionPlanAccess()
/frameworks/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java152 @Mock private CarrierConfigManager mCarrierConfigManager; field in TetheringTest