/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 102 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 …]
|
D | NetworkProviderBackupCallingGroupTest.java | 87 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()
|
D | Enhanced4gBasePreferenceControllerTest.java | 66 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()
|
D | DataServiceSetupPreferenceControllerTest.java | 65 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()
|
D | NetworkProviderWifiCallingGroupTest.java | 90 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()
|
D | WifiCallingPreferenceControllerTest.java | 74 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/ |
D | VideoCallingPreferenceControllerTest.java | 62 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()
|
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( in setRcsPresenceConfig()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/wifi/ |
D | WifiPickerTrackerHelperTest.java | 74 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/ |
D | AutoSelectPreferenceControllerTest.java | 67 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()
|
D | OpenNetworkSelectPagePreferenceControllerTest.java | 65 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/ |
D | TestTelephonyConnection.java | 109 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/ |
D | EntitlementManagerTest.java | 104 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()
|
D | TetheringTest.java | 272 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/ |
D | ImsConference.java | 382 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()
|