Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java66 private CarrierConfigManager mCarrierConfigManager; field in CarrierPreferenceControllerTest
82 doReturn(mCarrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in setUp()
87 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
96 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable()
106 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
116 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable()
127 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
147 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotFound_DoNothing()
161 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotConfigured_DoNothing()
DApnPreferenceControllerTest.java62 private CarrierConfigManager mCarrierConfigManager; field in ApnPreferenceControllerTest
78 doReturn(mCarrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in setUp()
84 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
93 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
103 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
113 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable()
121 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in getAvailabilityStatus_carrierConfigNull_returnUnavailable()
133 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
DCarrierSettingsVersionPreferenceControllerTest.java39 private ShadowCarrierConfigManager mCarrierConfigManager; field in CarrierSettingsVersionPreferenceControllerTest
49 mCarrierConfigManager = Shadows.shadowOf( in setUp()
55 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, null); in getSummary_nullConfig_noCrash()
61 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, new PersistableBundle()); in getSummary_nullVersionString_noCrash()
70 mCarrierConfigManager.setConfigForSubId(mSubscriptionId, bundle); in getSummary_hasVersionString_correctSummary()
DWifiCallingPreferenceControllerTest.java57 private CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceControllerTest
82 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
88 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DCarrierPreferenceController.java37 CarrierConfigManager mCarrierConfigManager; field in CarrierPreferenceController
41 mCarrierConfigManager = new CarrierConfigManager(context); in CarrierPreferenceController()
50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
75 final PersistableBundle config = mCarrierConfigManager.getConfigForSubId(subId); in getCarrierSettingsActivityIntent()
DPreferredNetworkModePreferenceController.java40 private CarrierConfigManager mCarrierConfigManager; field in PreferredNetworkModePreferenceController
47 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in PreferredNetworkModePreferenceController()
52 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
103 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DEnhanced4gLtePreferenceController.java49 private CarrierConfigManager mCarrierConfigManager; field in Enhanced4gLtePreferenceController
64 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in Enhanced4gLtePreferenceController()
75 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
140 mCarrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DWifiCallingPreferenceController.java57 CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceController
69 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in WifiCallingPreferenceController()
162 if (mCarrierConfigManager != null) { in init()
163 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DEnabledNetworkModePreferenceController.java42 private CarrierConfigManager mCarrierConfigManager; field in EnabledNetworkModePreferenceController
50 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in EnabledNetworkModePreferenceController()
56 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
107 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
128 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in updatePreferenceEntries()
DDataServiceSetupPreferenceController.java38 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController
44 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController()
54 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
DRoamingDialogFragment.java40 private CarrierConfigManager mCarrierConfigManager; field in RoamingDialogFragment
57 mCarrierConfigManager = new CarrierConfigManager(context); in onAttach()
65 PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in onCreateDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DCarrierPreferenceController.java37 CarrierConfigManager mCarrierConfigManager; field in CarrierPreferenceController
41 mCarrierConfigManager = new CarrierConfigManager(context); in CarrierPreferenceController()
50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
75 final PersistableBundle config = mCarrierConfigManager.getConfigForSubId(subId); in getCarrierSettingsActivityIntent()
DEnhanced4gLtePreferenceController.java49 private CarrierConfigManager mCarrierConfigManager; field in Enhanced4gLtePreferenceController
64 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in Enhanced4gLtePreferenceController()
75 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
140 mCarrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DWifiCallingPreferenceController.java57 CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceController
69 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in WifiCallingPreferenceController()
158 if (mCarrierConfigManager != null) { in init()
159 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DPreferredNetworkModePreferenceController.java40 private CarrierConfigManager mCarrierConfigManager; field in PreferredNetworkModePreferenceController
47 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in PreferredNetworkModePreferenceController()
52 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
103 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DEnabledNetworkModePreferenceController.java42 private CarrierConfigManager mCarrierConfigManager; field in EnabledNetworkModePreferenceController
50 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in EnabledNetworkModePreferenceController()
56 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
107 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
128 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in updatePreferenceEntries()
DDataServiceSetupPreferenceController.java38 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController
44 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController()
54 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
DRoamingDialogFragment.java40 private CarrierConfigManager mCarrierConfigManager; field in RoamingDialogFragment
57 mCarrierConfigManager = new CarrierConfigManager(context); in onAttach()
64 PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in onCreateDialog()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceControllerTest.java57 private CarrierConfigManager mCarrierConfigManager; field in AutoSelectPreferenceControllerTest
74 mCarrierConfigManager); in setUp()
80 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
125 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in init_carrierConfigNull_shouldNotCrash()
/packages/apps/Settings/src/com/android/settings/deviceinfo/simstatus/
DSimStatusDialogController.java116 private final CarrierConfigManager mCarrierConfigManager; field in SimStatusDialogController
150 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in SimStatusDialogController()
305 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateSignalStrength()
357 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in updateNetworkType()
387 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateIccidNumber()
413 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateImsRegistrationState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java104 private final CarrierConfigManager mCarrierConfigManager; field in SimStatusDialogController
139 mCarrierConfigManager = (CarrierConfigManager) mContext.getSystemService( in SimStatusDialogController()
287 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateSignalStrength()
339 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in updateNetworkType()
369 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateIccidNumber()
395 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateImsRegistrationState()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DDisclaimerItem.java36 private final CarrierConfigManager mCarrierConfigManager; field in DisclaimerItem
41 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in DisclaimerItem()
73 PersistableBundle config = mCarrierConfigManager.getConfigForSubId(mSubId); in getCarrierConfig()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DDisclaimerItem.java36 private final CarrierConfigManager mCarrierConfigManager; field in DisclaimerItem
41 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in DisclaimerItem()
73 PersistableBundle config = mCarrierConfigManager.getConfigForSubId(mSubId); in getCarrierConfig()
/packages/services/Telephony/src/com/android/phone/
DRoamingDialogFragment.java38 private CarrierConfigManager mCarrierConfigManager; field in RoamingDialogFragment
56 mCarrierConfigManager = new CarrierConfigManager(context); in onAttach()
73 PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/security/
DSimLockPreferenceController.java38 private final CarrierConfigManager mCarrierConfigManager; field in SimLockPreferenceController
46 mCarrierConfigManager = (CarrierConfigManager) in SimLockPreferenceController()
55 final PersistableBundle b = mCarrierConfigManager.getConfig(); in getAvailabilityStatus()

123