/packages/apps/Settings/tests/unit/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 149 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, false); in setMobileDataEnabled_setEnabled_enabled() 157 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_2, true, false); in setMobileDataEnabled_setDisabled_disabled() 165 MobileNetworkUtils.setMobileDataEnabled(mContext, SUB_ID_1, true, true); in setMobileDataEnabled_disableOtherSubscriptions() 173 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, null)).isNull(); in buildConfigureIntent_nullHandle_returnNull() 180 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in buildConfigureIntent_noActivityHandleIntent_returnNull() 188 assertThat(MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in buildConfigureIntent_hasActivityHandleIntent_returnIntent() 196 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_phoneTypeCdma_returnTrue() 208 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_worldModeWithGsmWcdma_returnTrue() 218 assertThat(MobileNetworkUtils.isCdmaOptions(mContext, SUB_ID_1)).isTrue(); in isCdmaOptions_carrierWorldModeWithoutHideCarrier_returnTrue() 225 assertThat(MobileNetworkUtils.getSearchableSubscriptionId(mContext)).isEqualTo(SUB_ID_1); in getSearchableSubscriptionId_oneActive_returnValid() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | EnabledNetworkModePreferenceController.java | 136 MobileNetworkUtils.getRafFromNetworkType(newPreferredNetworkMode))) { in onPreferenceChange() 386 int networkMode = MobileNetworkUtils.getNetworkTypeFromRaf( in getPreferredNetworkMode() 433 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in getEnabledNetworkType() 456 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in getEnabledNetworkType() 503 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in setPreferenceValueAndSummary() 527 if (MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in setPreferenceValueAndSummary() 562 if (MobileNetworkUtils.isTdscdmaSupported(mContext, mSubId)) { in setPreferenceValueAndSummary() 572 || MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in setPreferenceValueAndSummary() 612 || MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in setPreferenceValueAndSummary()
|
D | ApnPreferenceController.java | 62 final boolean isCdmaApn = MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus() 65 final boolean isGsmApn = MobileNetworkUtils.isGsmOptions(mContext, subId) in getAvailabilityStatus() 100 MobileNetworkUtils.isDpcApnEnforced(mContext) in updateState()
|
D | PreferredNetworkModePreferenceController.java | 84 MobileNetworkUtils.getRafFromNetworkType(newPreferredNetworkMode)); in onPreferenceChange() 102 return MobileNetworkUtils.getNetworkTypeFromRaf( in getPreferredNetworkMode() 150 || MobileNetworkUtils.isWorldMode(mContext, mSubId)) { in getPreferredNetworkModeSummaryResId()
|
D | CarrierPreferenceController.java | 55 && (MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus() 56 || MobileNetworkUtils.isGsmOptions(mContext, subId)) in getAvailabilityStatus()
|
D | ContactDiscoveryPreferenceController.java | 73 return MobileNetworkUtils.isContactDiscoveryEnabled(mImsManager, mSubId); in isChecked() 93 MobileNetworkUtils.setContactDiscoveryEnabled(mImsManager, mSubId, false /*isEnabled*/); in setChecked()
|
D | MobileDataDialogFragment.java | 132 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick() 141 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
|
D | NetworkOperatorPreference.java | 211 return MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON; in getIconIdForCell() 260 setIcon(MobileNetworkUtils.getSignalStrengthIcon(context, level, NUM_SIGNAL_STRENGTH_BINS, in updateIcon()
|
D | WifiCallingPreferenceController.java | 75 && MobileNetworkUtils.isWifiCallingEnabled(mContext, subId, null, null) in getAvailabilityStatus() 109 final Intent intent = MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in updateState()
|
D | NetworkProviderWifiCallingGroup.java | 207 final Intent intent = MobileNetworkUtils.buildPhoneAccountConfigureIntent( in setSubscriptionInfoForPreference() 264 && MobileNetworkUtils.isWifiCallingEnabled( in shouldShowWifiCallingForSub()
|
D | MobileNetworkActivity.java | 326 && MobileNetworkUtils.isContactDiscoveryVisible(this, subId) in maybeShowContactDiscoveryDialog() 328 && !MobileNetworkUtils.isContactDiscoveryEnabled(this, subId); in maybeShowContactDiscoveryDialog()
|
D | CallsDefaultSubscriptionController.java | 49 return MobileNetworkUtils.getPreferredStatus(mContext, mManager, true); in getSummary()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/gsm/ |
D | OpenNetworkSelectPagePreferenceController.java | 40 import com.android.settings.network.telephony.MobileNetworkUtils; 78 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus() 111 return MobileNetworkUtils.getCurrentCarrierNameForDisplay(mContext, mSubId); in getSummary()
|
D | AutoSelectPreferenceController.java | 48 import com.android.settings.network.telephony.MobileNetworkUtils; 109 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | ProviderModelSliceHelper.java | 18 import static com.android.settings.network.telephony.MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON; 46 import com.android.settings.network.telephony.MobileNetworkUtils; 104 return MobileNetworkUtils.activeNetworkIsCellular(mContext); in isDataSimActive() 142 return MobileNetworkUtils.getSignalStrengthIcon(mContext, level, numLevels, in getDrawableWithSignalStrength()
|
D | ProviderModelSlice.java | 49 import com.android.settings.network.telephony.MobileNetworkUtils; 218 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, newState, in onNotifyChange() 224 isToggleAction ? newState : MobileNetworkUtils.isMobileDataEnabled(mContext); in onNotifyChange() 247 MobileNetworkUtils.setMobileDataEnabled(mContext, defaultSubId, in getMobileDataDisableDialog()
|
D | SubscriptionsPreferenceController.java | 22 import static com.android.settings.network.telephony.MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON; 59 import com.android.settings.network.telephony.MobileNetworkUtils; 550 if (!MobileNetworkUtils.isMobileDataEnabled(mContext)) { in connectCarrierNetwork() 600 return MobileNetworkUtils.activeNetworkIsCellular(context); in isActiveCellularNetwork() 654 return MobileNetworkUtils.getSignalStrengthIcon(context, level, numLevels, in getIcon()
|
D | MobileNetworkSummaryStatus.java | 27 import com.android.settings.network.telephony.MobileNetworkUtils; 174 return MobileNetworkUtils.showEuiccSettingsDetecting(context); in isEuiccConfiguable()
|
D | MobileNetworkPreferenceController.java | 42 import com.android.settings.network.telephony.MobileNetworkUtils; 158 return MobileNetworkUtils.getCurrentCarrierNameForDisplay(mContext); in getSummary()
|
D | MobileNetworkListController.java | 38 import com.android.settings.network.telephony.MobileNetworkUtils; 85 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
|
D | NetworkProviderDownloadedSimListController.java | 40 import com.android.settings.network.telephony.MobileNetworkUtils; 105 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSystemSelectPreferenceController.java | 29 import com.android.settings.network.telephony.MobileNetworkUtils; 56 final int settingsNetworkMode = MobileNetworkUtils.getNetworkTypeFromRaf( in updateState()
|
D | CdmaBasePreferenceController.java | 28 import com.android.settings.network.telephony.MobileNetworkUtils; 66 return MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus()
|
D | CdmaSubscriptionPreferenceController.java | 29 import com.android.settings.network.telephony.MobileNetworkUtils; 48 return MobileNetworkUtils.isCdmaOptions(mContext, subId) && deviceSupportsNvAndRuim() in getAvailabilityStatus()
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | ConfirmSimDeletionPreferenceController.java | 29 import com.android.settings.network.telephony.MobileNetworkUtils; 52 return MobileNetworkUtils.showEuiccSettings(mContext) ? AVAILABLE : UNSUPPORTED_ON_DEVICE; in getAvailabilityStatus()
|