Home
last modified time | relevance | path

Searched refs:MobileNetworkUtils (Results 1 – 25 of 45) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DMobileNetworkUtilsTest.java113 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, false); in setMobileDataEnabled_setEnabled_enabled()
121 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_2, true, false); in setMobileDataEnabled_setDisabled_disabled()
129 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, true); in setMobileDataEnabled_disableOtherSubscriptions()
137 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, null)).isNull(); in buildConfigureIntent_nullHandle_returnNull()
145 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in buildConfigureIntent_noActivityHandleIntent_returnNull()
154 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in buildConfigureIntent_hasActivityHandleIntent_returnIntent()
162 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_phoneTypeCdma_returnTrue()
174 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_worldModeWithGsmWcdma_returnTrue()
184 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue()
191 assertThat(MobileNetworkUtils.getSearchableSubscriptionId(mContext)).isEqualTo(SUB_ID_1); in getSearchableSubscriptionId_oneActive_returnValid()
[all …]
/packages/apps/Settings/src/com/android/settings/network/telephony/
DEnabledNetworkModePreferenceController.java175 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in updatePreferenceEntries()
211 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceEntries()
254 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
274 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
311 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in updatePreferenceValueAndSummary()
322 || MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
DApnPreferenceController.java62 final boolean isCdmaApn = MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
65 final boolean isGsmApn = MobileNetworkUtils.isGsmOptions(mContext, subId) in getAvailabilityStatus()
97 MobileNetworkUtils.isDpcApnEnforced(mContext) in updateState()
DCarrierPreferenceController.java55 && (MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
56 || MobileNetworkUtils.isGsmOptions(mContext, subId)) in getAvailabilityStatus()
DNetworkOperatorPreference.java105 return MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON; in getIconIdForCell()
114 setIcon(MobileNetworkUtils.getSignalStrengthIcon(context, level, NUM_SIGNAL_STRENGTH_BINS, in updateIcon()
DMobileDataDialogFragment.java124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick()
129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
DWifiCallingPreferenceController.java79 && MobileNetworkUtils.isWifiCallingEnabled(mContext, subId) in getAvailabilityStatus()
115 Intent intent = MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DEnabledNetworkModePreferenceController.java175 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in updatePreferenceEntries()
211 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceEntries()
254 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
274 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
311 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in updatePreferenceValueAndSummary()
322 || MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in updatePreferenceValueAndSummary()
DApnPreferenceController.java62 final boolean isCdmaApn = MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
65 final boolean isGsmApn = MobileNetworkUtils.isGsmOptions(mContext, subId) in getAvailabilityStatus()
94 MobileNetworkUtils.isDpcApnEnforced(mContext) in updateState()
DCarrierPreferenceController.java55 && (MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
56 || MobileNetworkUtils.isGsmOptions(mContext, subId)) in getAvailabilityStatus()
DMobileDataDialogFragment.java124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick()
129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
DWifiCallingPreferenceController.java80 && MobileNetworkUtils.isWifiCallingEnabled(mContext, in getAvailabilityStatus()
117 Intent intent = MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in updateState()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DMobileNetworkSummaryController.java31 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
101 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in getSummary()
135 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in update()
144 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in update()
DMobileNetworkListController.java32 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
85 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
/packages/apps/Settings/src/com/android/settings/network/
DMobileNetworkSummaryController.java33 import com.android.settings.network.telephony.MobileNetworkUtils;
105 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in getSummary()
146 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in update()
157 if (MobileNetworkUtils.showEuiccSettings(mContext)) { in update()
DSubscriptionsPreferenceController.java22 import static com.android.settings.network.telephony.MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON;
49 import com.android.settings.network.telephony.MobileNetworkUtils;
221 return MobileNetworkUtils.getSignalStrengthIcon(mContext, level, numLevels, in getIcon()
DMobileNetworkListController.java32 import com.android.settings.network.telephony.MobileNetworkUtils;
85 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/
DCdmaSubscriptionPreferenceController.java29 import com.android.settings.network.telephony.MobileNetworkUtils;
48 return MobileNetworkUtils.isCdmaOptions(mContext, subId) && deviceSupportsNvAndRuim() in getAvailabilityStatus()
DCdmaBasePreferenceController.java32 import com.android.settings.network.telephony.MobileNetworkUtils;
68 return MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/cdma/
DCdmaSubscriptionPreferenceController.java29 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
48 return MobileNetworkUtils.isCdmaOptions(mContext, subId) && deviceSupportsNvAndRuim() in getAvailabilityStatus()
DCdmaBasePreferenceController.java32 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
68 return MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java34 import com.android.settings.network.telephony.MobileNetworkUtils;
56 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
DAutoSelectPreferenceController.java39 import com.android.settings.network.telephony.MobileNetworkUtils;
73 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/gsm/
DOpenNetworkSelectPagePreferenceController.java34 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
57 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
DAutoSelectPreferenceController.java39 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils;
74 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()

12