/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | ApnPreferenceControllerTest.java | 61 private CarrierConfigManager mCarrierConfigManager; field in ApnPreferenceControllerTest 75 mCarrierConfigManager); 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() 132 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_hideCarrierNetworkSettings_returnUnavailable()
|
D | CarrierPreferenceControllerTest.java | 68 private CarrierConfigManager mCarrierConfigManager; field in CarrierPreferenceControllerTest 85 mCarrierConfigManager); in setUp() 90 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp() 99 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOff_returnUnavailable() 109 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_cdmaWithFlagOnreturnAvailable() 119 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in getAvailabilityStatus_gsmWithFlagOnreturnAvailable() 130 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityFound_openCarrierSettingActivity() 151 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotFound_DoNothing() 165 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in handlePreferenceClick_activityNotConfigured_DoNothing()
|
D | CarrierSettingsVersionPreferenceControllerTest.java | 40 private CarrierConfigManager mCarrierConfigManager; field in CarrierSettingsVersionPreferenceControllerTest 49 … when(context.getSystemService(CarrierConfigManager.class)).thenReturn(mCarrierConfigManager); in setUp() 56 doReturn(null).when(mCarrierConfigManager).getConfigForSubId(mSubscriptionId); in getSummary_nullConfig_noCrash() 63 doReturn(new PersistableBundle()).when(mCarrierConfigManager) in getSummary_nullVersionString_noCrash() 73 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(mSubscriptionId); in getSummary_hasVersionString_correctSummary()
|
D | Enable2gPreferenceControllerTest.java | 53 private CarrierConfigManager mCarrierConfigManager; field in Enable2gPreferenceControllerTest 67 .thenReturn(mCarrierConfigManager); in setUp() 74 doReturn(mPersistableBundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp() 75 doReturn(mPersistableBundle).when(mCarrierConfigManager).getConfigForSubId( in setUp() 102 doReturn(null).when(mCarrierConfigManager); in getAvailabilityStatus_nullCarrierConfig_returnUnavailable()
|
D | RoamingPreferenceControllerTest.java | 64 private CarrierConfigManager mCarrierConfigManager; field in RoamingPreferenceControllerTest 79 doReturn(mCarrierConfigManager).when(mContext).getSystemService( in setUp() 110 doReturn(bundle).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in isDialogNeeded_roamingDisabledWithoutFlag_returnTrue() 127 doReturn(null).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setChecked_needDialog_showDialog()
|
D | WifiCallingPreferenceControllerTest.java | 60 private CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceControllerTest 89 mController.mCarrierConfigManager = mCarrierConfigManager; in setUp() 93 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | VideoCallingPreferenceController.java | 51 private CarrierConfigManager mCarrierConfigManager; field in VideoCallingPreferenceController 59 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in VideoCallingPreferenceController() 146 if (mCarrierConfigManager == null) { in isVideoCallEnabled() 148 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in isVideoCallEnabled() 149 if (mCarrierConfigManager == null) { in isVideoCallEnabled() 155 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in isVideoCallEnabled()
|
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 | PreferredNetworkModePreferenceController.java | 37 private CarrierConfigManager mCarrierConfigManager; field in PreferredNetworkModePreferenceController 44 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in PreferredNetworkModePreferenceController() 49 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus() 93 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 | Enable2gPreferenceController.java | 43 private CarrierConfigManager mCarrierConfigManager; field in Enable2gPreferenceController 54 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in Enable2gPreferenceController() 73 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in getAvailabilityStatus()
|
D | RoamingDialogFragment.java | 40 private CarrierConfigManager mCarrierConfigManager; field in RoamingDialogFragment 57 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in onAttach() 65 final PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in onCreateDialog()
|
D | WifiCallingPreferenceController.java | 59 CarrierConfigManager mCarrierConfigManager; field in WifiCallingPreferenceController 68 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in WifiCallingPreferenceController() 133 if (mCarrierConfigManager != null) { in getResourceIdForWfcMode() 135 mCarrierConfigManager.getConfigForSubId(subId); in getResourceIdForWfcMode()
|
D | NetworkProviderWifiCallingGroup.java | 67 protected CarrierConfigManager mCarrierConfigManager; field in NetworkProviderWifiCallingGroup 80 mCarrierConfigManager = context.getSystemService(CarrierConfigManager.class); in NetworkProviderWifiCallingGroup() 275 if (mCarrierConfigManager != null) { in isWifiCallingAvailableForCarrier() 277 mCarrierConfigManager.getConfigForSubId(subId); in isWifiCallingAvailableForCarrier()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | WifiCarrierInfoManagerTest.java | 120 @Mock CarrierConfigManager mCarrierConfigManager; field in WifiCarrierInfoManagerTest 162 .thenReturn(mCarrierConfigManager); in setUp() 222 when(mCarrierConfigManager.getConfigForSubId(anyInt())) in setUp() 303 verify(mCarrierConfigManager, never()).getConfig(); in receivedNonCarrierConfigChangedIntent() 331 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)) in receivedCarrierConfigChangedIntent() 333 when(mCarrierConfigManager.getConfigForSubId(NON_DATA_SUBID)) in receivedCarrierConfigChangedIntent() 359 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)).thenReturn(bundle); in receivedCarrierConfigChangedAllowMergedNetworkToFalse() 376 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)).thenReturn(disallowedBundle); in receivedCarrierConfigChangedAllowMergedNetworkToFalse() 390 when(mCarrierConfigManager.getConfigForSubId(DATA_SUBID)) in imsiEncryptionRequiredInfoIsCleared() 392 when(mCarrierConfigManager.getConfigForSubId(NON_DATA_SUBID)) in imsiEncryptionRequiredInfoIsCleared() [all …]
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | RTTSettingPreferenceController.java | 50 private final CarrierConfigManager mCarrierConfigManager; field in RTTSettingPreferenceController 63 mCarrierConfigManager = mContext.getSystemService(CarrierConfigManager.class); in RTTSettingPreferenceController() 111 PersistableBundle carrierConfig = mCarrierConfigManager.getConfigForSubId(subId); in isRttSettingSupported() 145 if (mCarrierConfigManager == null) { in getBooleanCarrierConfig() 152 final PersistableBundle bundle = mCarrierConfigManager.getConfigForSubId(subId); in getBooleanCarrierConfig()
|
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/utils/ |
D | ImsUtils.java | 35 private final CarrierConfigManager mCarrierConfigManager; field in ImsUtils 66 mCarrierConfigManager = in ImsUtils() 142 if (mCarrierConfigManager != null) { in disableAndResetVoWiFiImsSettings() 143 PersistableBundle b = mCarrierConfigManager.getConfigForSubId(mSubId); in disableAndResetVoWiFiImsSettings()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/gsm/ |
D | AutoSelectPreferenceControllerTest.java | 61 private CarrierConfigManager mCarrierConfigManager; field in AutoSelectPreferenceControllerTest 82 mCarrierConfigManager); in setUp() 88 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp() 139 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(null); in init_carrierConfigNull_shouldNotCrash()
|
/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/tests/unit/src/com/android/settings/wifi/ |
D | WifiPickerTrackerHelperTest.java | 63 public CarrierConfigManager mCarrierConfigManager; field in WifiPickerTrackerHelperTest 81 .thenReturn(mCarrierConfigManager); in setUp() 83 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp() 111 doReturn(null).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in isCarrierNetworkProvisionEnabled_getNullConfig_returnFalse()
|
/packages/apps/ImsServiceEntitlement/tests/unittests/src/com/android/imsserviceentitlement/ |
D | ImsEntitlementReceiverTest.java | 89 @Mock private CarrierConfigManager mCarrierConfigManager; field in ImsEntitlementReceiverTest 220 .thenReturn(mCarrierConfigManager); in setupCarrierConfig() 221 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(carrierConfig); in setupCarrierConfig() 222 when(mCarrierConfigManager.getConfigForSubId(LAST_SUB_ID)).thenReturn(carrierConfig); in setupCarrierConfig()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | SimLockPreferenceController.java | 38 private final CarrierConfigManager mCarrierConfigManager; field in SimLockPreferenceController 50 mCarrierConfigManager = (CarrierConfigManager) in SimLockPreferenceController() 113 final PersistableBundle bundle = mCarrierConfigManager.getConfigForSubId( in isHideSimLockSetting()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/wifi/calling/ |
D | EmergencyCallLimitationDisclaimerTest.java | 46 private CarrierConfigManager mCarrierConfigManager; field in EmergencyCallLimitationDisclaimerTest 56 doReturn(mCarrierConfigManager).when(mContext).getSystemService( in setUp() 58 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
|
D | LocationPolicyDisclaimerTest.java | 46 private CarrierConfigManager mCarrierConfigManager; field in LocationPolicyDisclaimerTest 56 doReturn(mCarrierConfigManager).when(mContext).getSystemService( in setUp() 58 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mBundle); in setUp()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastTest.java | 49 CarrierConfigManager mCarrierConfigManager; field in CellBroadcastTest 76 doReturn(mCarrierConfigManager).when(mContext) in initContext() 93 doReturn(mBundles.get(subId)).when(mCarrierConfigManager).getConfigForSubId(eq(subId)); in carrierConfigSetStringArray()
|