/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | CarrierPreferenceControllerTest.java | 65 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()
|
D | ApnPreferenceControllerTest.java | 60 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()
|
D | CarrierSettingsVersionPreferenceControllerTest.java | 39 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()
|
D | WifiCallingPreferenceControllerTest.java | 58 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/ |
D | CarrierPreferenceController.java | 37 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()
|
D | Enhanced4gLtePreferenceController.java | 49 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()
|
D | PreferredNetworkModePreferenceController.java | 40 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()
|
D | DataServiceSetupPreferenceController.java | 36 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController 42 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController() 50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
|
D | WifiCallingPreferenceController.java | 56 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()
|
D | RoamingDialogFragment.java | 40 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/ |
D | CarrierPreferenceController.java | 37 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()
|
D | Enhanced4gLtePreferenceController.java | 49 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()
|
D | PreferredNetworkModePreferenceController.java | 40 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()
|
D | WifiCallingPreferenceController.java | 57 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()
|
D | DataServiceSetupPreferenceController.java | 36 private CarrierConfigManager mCarrierConfigManager; field in DataServiceSetupPreferenceController 42 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in DataServiceSetupPreferenceController() 50 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
|
D | EnabledNetworkModePreferenceController.java | 42 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()
|
D | RoamingDialogFragment.java | 40 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/ |
D | AutoSelectPreferenceControllerTest.java | 57 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/ |
D | SimStatusDialogController.java | 105 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/ |
D | DisclaimerItem.java | 36 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/ |
D | DisclaimerItem.java | 36 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/ |
D | SimLockPreferenceController.java | 38 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/ |
D | SimLockPreferenceController.java | 38 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/ |
D | CellBroadcastTest.java | 49 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/ |
D | EmergencyCallLimitationDisclaimerTest.java | 48 private CarrierConfigManager mCarrierConfigManager; field in EmergencyCallLimitationDisclaimerTest 58 doReturn(mCarrierConfigManager).when(mContext).getSystemService( in setUp() 60 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
|