Home
last modified time | relevance | path

Searched refs:mCarrierConfig (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java102 private PersistableBundle mCarrierConfig; field in MobileNetworkUtilsTest
123 mCarrierConfig = new PersistableBundle(); in setUp()
124 when(mCarrierConfigManager.getConfigForSubId(SUB_ID_1)).thenReturn(mCarrierConfig); in setUp()
202 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_WORLD_MODE_ENABLED_BOOL, true); in isCdmaOptions_worldModeWithGsmWcdma_returnTrue()
214 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue()
216 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_WORLD_PHONE_BOOL, true); in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue()
238 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in shouldDisplayNetworkSelectOptions_HideCarrierNetwork_returnFalse()
247 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue()
249 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_OPERATOR_SELECTION_EXPAND_BOOL, true); in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue()
250 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CSP_ENABLED_BOOL, false); in shouldDisplayNetworkSelectOptions_allCheckPass_returnTrue()
[all …]
DNetworkProviderBackupCallingGroupTest.java87 private PersistableBundle mCarrierConfig; field in NetworkProviderBackupCallingGroupTest
115 mCarrierConfig = new PersistableBundle(); in setUp()
116 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID_1); in setUp()
117 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOL, in setUp()
119 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID_2); in setUp()
120 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOL, in setUp()
146 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CROSS_SIM_IMS_AVAILABLE_BOOL, in shouldShowBackupCallingForSub_carrierConfigIsUnavailable_returnFalse()
DEnhanced4gBasePreferenceControllerTest.java66 private PersistableBundle mCarrierConfig; field in Enhanced4gBasePreferenceControllerTest
83 mCarrierConfig = new PersistableBundle(); in setUp()
84 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
85 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_ENHANCED_4G_LTE_BOOL, false); in setUp()
86 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_EDITABLE_ENHANCED_4G_LTE_BOOL, true); in setUp()
87 mCarrierConfig.putInt(CarrierConfigManager.KEY_ENHANCED_4G_LTE_TITLE_VARIANT_INT, 1); in setUp()
DDataServiceSetupPreferenceControllerTest.java65 private PersistableBundle mCarrierConfig; field in DataServiceSetupPreferenceControllerTest
83 mCarrierConfig = new PersistableBundle(); in setUp()
84 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
95 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_allConfigOn_returnAvailable()
106 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_missUrl_returnUnavailable()
118 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_HIDE_CARRIER_NETWORK_SETTINGS_BOOL, in getAvailabilityStatus_notCdma_returnUnavailable()
DNetworkProviderWifiCallingGroupTest.java90 private PersistableBundle mCarrierConfig; field in NetworkProviderWifiCallingGroupTest
112 mCarrierConfig = new PersistableBundle(); in setUp()
113 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
114 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, true); in setUp()
141 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_WFC_IMS_AVAILABLE_BOOL, false); in shouldShowWifiCallingForSub_carrierConfigIsUnavailable_returnFalse()
DWifiCallingPreferenceControllerTest.java74 private PersistableBundle mCarrierConfig; field in WifiCallingPreferenceControllerTest
92 mCarrierConfig = new PersistableBundle(); in setUp()
93 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
141 mCarrierConfig.putBoolean( in updateState_wfcNonRoamingByConfig()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DVideoCallingPreferenceControllerTest.java62 private PersistableBundle mCarrierConfig; field in VideoCallingPreferenceControllerTest
76 mCarrierConfig = new PersistableBundle(); in setUp()
77 mCarrierConfig.putBoolean( in setUp()
79 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
117 mCarrierConfig.putBoolean( in isVideoCallEnabled_dataDisabled_returnFalse()
DContactDiscoveryPreferenceControllerTest.java85 private PersistableBundle mCarrierConfig = new PersistableBundle(); field in ContactDiscoveryPreferenceControllerTest
97 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(eq(TEST_SUB_ID)); in setUp()
162 mCarrierConfig.putBoolean( in setRcsPresenceConfig()
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/
DWifiPickerTrackerHelperTest.java74 private PersistableBundle mCarrierConfig; field in WifiPickerTrackerHelperTest
82 mCarrierConfig = new PersistableBundle(); in setUp()
83 doReturn(mCarrierConfig).when(mCarrierConfigManager).getConfigForSubId(SUB_ID); in setUp()
118 mCarrierConfig.putBoolean( in isCarrierNetworkProvisionEnabled_returnCorrect()
123 mCarrierConfig.putBoolean( in isCarrierNetworkProvisionEnabled_returnCorrect()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/gsm/
DAutoSelectPreferenceControllerTest.java67 private PersistableBundle mCarrierConfig; field in AutoSelectPreferenceControllerTest
85 mCarrierConfig = new PersistableBundle(); in setUp()
86 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_ONLY_AUTO_SELECT_IN_HOME_NETWORK_BOOL, in setUp()
88 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
DOpenNetworkSelectPagePreferenceControllerTest.java65 private PersistableBundle mCarrierConfig; field in OpenNetworkSelectPagePreferenceControllerTest
83 mCarrierConfig = new PersistableBundle(); in setUp()
84 when(mCarrierConfigManager.getConfigForSubId(SUB_ID)).thenReturn(mCarrierConfig); in setUp()
/packages/services/Telephony/tests/src/com/android/services/telephony/
DTestTelephonyConnection.java109 private PersistableBundle mCarrierConfig = new PersistableBundle(); field in TestTelephonyConnection
221 return mCarrierConfig; in getCarrierConfig()
306 return mCarrierConfig; in getCarrierConfigBundle()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DEntitlementManagerTest.java104 private final PersistableBundle mCarrierConfig = new PersistableBundle(); field in EntitlementManagerTest
251 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfig); in setupForRequiredProvisioning()
252 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true); in setupForRequiredProvisioning()
253 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setupForRequiredProvisioning()
286 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, false); in toleratesCarrierConfigNotLoaded()
DTetheringTest.java272 private final PersistableBundle mCarrierConfig = new PersistableBundle(); field in TetheringTest
2319 when(mCarrierConfigManager.getConfigForSubId(anyInt())).thenReturn(mCarrierConfig); in setupForRequiredProvisioning()
2320 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL, true); in setupForRequiredProvisioning()
2321 mCarrierConfig.putBoolean(CarrierConfigManager.KEY_CARRIER_CONFIG_APPLIED_BOOL, true); in setupForRequiredProvisioning()
/packages/services/Telephony/src/com/android/services/telephony/
DImsConference.java382 private final CarrierConfiguration mCarrierConfig; field in ImsConference
429 mCarrierConfig = carrierConfig; in ImsConference()
447 if (mCarrierConfig.isHoldAllowed()) { in ImsConference()
1076 if (mCarrierConfig.shouldLocalDisconnectEmptyConference() in handleConferenceParticipantsUpdate()
1608 return mCarrierConfig.isMaximumConferenceSizeEnforced() in isFullConference()
1609 && getNumberOfParticipants() >= mCarrierConfig.getMaximumConferenceSize(); in isFullConference()