/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 88 private PersistableBundle mCarrierConfig; field in MobileNetworkUtilsTest 106 mCarrierConfig = new PersistableBundle(); in setUp() 107 when(mCarrierConfigManager.getConfigForSubId(SUB_ID_1)).thenReturn(mCarrierConfig); in setUp() 180 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_WORLD_MODE_ENABLED_BOOL, true); in isCdmaOptions_worldModeWithGsmWcdma_returnTrue() 192 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue() 194 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL, true); in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue() 216 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in shouldDisplayNetworkSelectOptions_HideCarrierNetwork_returnFalse() 225 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue() 227 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_OPERATOR_SELECTION_EXPAND_BOOL, true); in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue() 228 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CSP_ENABLED_BOOL, false); in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue() [all …]
|
D | Enhanced4gLtePreferenceControllerTest.java | 62 private PersistableBundle mCarrierConfig; field in Enhanced4gLtePreferenceControllerTest 77 mCarrierConfig = new PersistableBundle(); in setUp() 78 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp() 106 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_SHOW_4G_FOR_LTE_DATA_ICON_BOOL, false); in updateState_doNotShow4GForLTE_showVolteTitleAndSummary() 108 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 0); in updateState_doNotShow4GForLTE_showVolteTitleAndSummary() 115 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 2); in updateState_doNotShow4GForLTE_showVolteTitleAndSummary() 125 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_SHOW_4G_FOR_LTE_DATA_ICON_BOOL, true); in updateState_show4GForLTE_show4GTitleAndSummary() 127 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 0); in updateState_show4GForLTE_show4GTitleAndSummary() 134 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 2); in updateState_show4GForLTE_show4GTitleAndSummary() 144 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 1); in updateState_variantAdvancedCalling_showAdvancedCallingTitleAndSummary() [all …]
|
D | DataServiceSetupPreferenceControllerTest.java | 64 private PersistableBundle mCarrierConfig; field in DataServiceSetupPreferenceControllerTest 82 mCarrierConfig = new PersistableBundle(); in setUp() 83 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp() 94 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_allConfigOn_returnAvailable() 105 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_missUrl_returnUnavailable() 117 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_notCdma_returnUnavailable()
|
D | VideoCallingPreferenceControllerTest.java | 57 private PersistableBundle mCarrierConfig; field in VideoCallingPreferenceControllerTest 71 mCarrierConfig = new PersistableBundle(); in setUp() 72 mCarrierConfig.putBoolean( in setUp() 74 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp() 102 mCarrierConfig.putBoolean( in isVideoCallEnabled_dataDisabled_returnFalse()
|
D | WifiCallingPreferenceControllerTest.java | 71 private PersistableBundle mCarrierConfig; field in WifiCallingPreferenceControllerTest 98 mCarrierConfig = new PersistableBundle(); in setUp() 99 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp() 140 mCarrierConfig.putBoolean( in updateState_wfcNonRoamingByConfig()
|
D | ContactDiscoveryPreferenceControllerTest.java | 85 private PersistableBundle mCarrierConfig = new PersistableBundle(); field in ContactDiscoveryPreferenceControllerTest 97 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(eq(TEST_SUB_ID)); in setUp() 162 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_USE_RCS_PRESENCE_BOOL, isEnabled); in setRcsPresenceConfig()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/ |
D | Enhanced4gLtePreferenceController.java | 50 private PersistableBundle mCarrierConfig; field in Enhanced4gLtePreferenceController 107 final boolean show4GForLTE = mCarrierConfig.getBoolean( in updateState() 109 int variant4glteTitleIndex = mCarrierConfig.getInt( in updateState() 140 mCarrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init() 158 && mCarrierConfig.getBoolean( in is4gLtePrefEnabled()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | Enhanced4gLtePreferenceController.java | 50 private PersistableBundle mCarrierConfig; field in Enhanced4gLtePreferenceController 107 final boolean show4GForLTE = mCarrierConfig.getBoolean( in updateState() 109 int variant4glteTitleIndex = mCarrierConfig.getInt( in updateState() 140 mCarrierConfig = mCarrierConfigManager.getConfigForSubId(mSubId); in init() 158 && mCarrierConfig.getBoolean( in is4gLtePrefEnabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/gsm/ |
D | AutoSelectPreferenceControllerTest.java | 61 private PersistableBundle mCarrierConfig; field in AutoSelectPreferenceControllerTest 77 mCarrierConfig = new PersistableBundle(); in setUp() 78 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_ONLY_AUTO_SELECT_IN_HOME_NETWORK_BOOL, in setUp() 80 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
|
D | OpenNetworkSelectPagePreferenceControllerTest.java | 62 private PersistableBundle mCarrierConfig; field in OpenNetworkSelectPagePreferenceControllerTest 79 mCarrierConfig = new PersistableBundle(); in setUp() 80 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
|
/packages/services/Telephony/tests/src/com/android/ |
D | TestContext.java | 49 private PersistableBundle mCarrierConfig = new PersistableBundle(); field in TestContext 53 doReturn(mCarrierConfig).when(mMockCarrierConfigManager).getConfigForSubId(anyInt()); in TestContext() 139 return mCarrierConfig; in getCarrierConfig()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSubscriptionPreferenceControllerTest.java | 62 private PersistableBundle mCarrierConfig; field in CdmaSubscriptionPreferenceControllerTest 77 mCarrierConfig = new PersistableBundle(); in setUp() 78 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
|
D | CdmaSystemSelectPreferenceControllerTest.java | 63 private PersistableBundle mCarrierConfig; field in CdmaSystemSelectPreferenceControllerTest 79 mCarrierConfig = new PersistableBundle(); in setUp() 80 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | ImsConference.java | 381 private final CarrierConfiguration mCarrierConfig; field in ImsConference 428 mCarrierConfig = carrierConfig; in ImsConference() 445 if (mCarrierConfig.isHoldAllowed()) { in ImsConference() 1069 if (mCarrierConfig.shouldLocalDisconnectEmptyConference() in handleConferenceParticipantsUpdate() 1500 return mCarrierConfig.isMaximumConferenceSizeEnforced() in isFullConference() 1501 && getNumberOfParticipants() >= mCarrierConfig.getMaximumConferenceSize(); in isFullConference()
|