Home
last modified time | relevance | path

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

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DCarrierPreferenceControllerTest.java65 private CarrierConfigManager mCarrierConfigManager; field in CarrierPreferenceControllerTest
81 doReturn(mCarrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in setUp()
86 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
95 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable()
105 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable()
115 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable()
126 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityFound_openCarrierSettingActivity()
146 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotFound_DoNothing()
160 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotConfigured_DoNothing()
DApnPreferenceControllerTest.java60 private CarrierConfigManager mCarrierConfigManager; field in ApnPreferenceControllerTest
76 doReturn(mCarrierConfigManager).when(mContext).getSystemService(CarrierConfigManager.class); in setUp()
82 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
91 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsNotSupported_returnUnavailable()
101 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithCDMA_returnAvailable()
111 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_apnSettingsSupportedWithGsm_returnAvailable()
119 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in getAvailabilityStatus_carrierConfigNull_returnUnavailable()
131 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.java58 private CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceControllerTest
90 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp()
99 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 = context.getSystemService(CarrierConfigManager.class); 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()
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()
101 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init()
DDataServiceSetupPreferenceController.java36 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController
42 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController()
50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
DWifiCallingPreferenceController.java56 CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceController
65 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in WifiCallingPreferenceController()
129 if (mCarrierConfigManager != null) { in getResourceIdForWfcMode()
131 mCarrierConfigManager.getConfigForSubId(subId); in getResourceIdForWfcMode()
DRoamingDialogFragment.java40 private CarrierConfigManager mCarrierConfigManager; field in RoamingDialogFragment
57 mCarrierConfigManager = new CarrierConfigManager(context); in onAttach()
65 final 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()
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()
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()
DDataServiceSetupPreferenceController.java36 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController
42 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController()
50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
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()
126 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in updatePreferenceEntries()
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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/deviceinfo/simstatus/
DSimStatusDialogController.java105 private final CarrierConfigManager mCarrierConfigManager; field in SimStatusDialogController
146 mCarrierConfigManager = (CarrierConfigManager) mContext.getSystemService( in SimStatusDialogController()
296 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateSignalStrength()
348 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in updateNetworkType()
378 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateIccidNumber()
404 mCarrierConfigManager.getConfigForSubId(subscriptionId); in updateImsRegistrationState()
/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/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/apps/Settings/src/com/android/settings/security/
DSimLockPreferenceController.java38 private final CarrierConfigManager mCarrierConfigManager; field in SimLockPreferenceController
46 mCarrierConfigManager = (CarrierConfigManager) in SimLockPreferenceController()
109 final PersistableBundle bundle = mCarrierConfigManager.getConfigForSubId( in isHideSimLockSetting()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/security/
DSimLockPreferenceController.java38 private final CarrierConfigManager mCarrierConfigManager; field in SimLockPreferenceController
46 mCarrierConfigManager = (CarrierConfigManager) in SimLockPreferenceController()
55 final PersistableBundle b = mCarrierConfigManager.getConfig(); in getAvailabilityStatus()
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastTest.java49 CarrierConfigManager mCarrierConfigManager; field in CellBroadcastTest
69 doReturn(mCarrierConfigManager).when(mContext) in initContext()
81 doReturn(mBundles.get(subId)).when(mCarrierConfigManager).getConfigForSubId(eq(subId)); in carrierConfigSetStringArray()
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/
DEmergencyCallLimitationDisclaimerTest.java48 private CarrierConfigManager mCarrierConfigManager; field in EmergencyCallLimitationDisclaimerTest
58 doReturn(mCarrierConfigManager).when(mContext).getSystemService( in setUp()
60 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()

123