/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/ |
D | MobileNetworkUtilsTest.java | 113 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/ |
D | EnabledNetworkModePreferenceController.java | 175 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()
|
D | ApnPreferenceController.java | 62 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()
|
D | CarrierPreferenceController.java | 55 && (MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus() 56 || MobileNetworkUtils.isGsmOptions(mContext, subId)) in getAvailabilityStatus()
|
D | NetworkOperatorPreference.java | 105 return MobileNetworkUtils.NO_CELL_DATA_TYPE_ICON; in getIconIdForCell() 114 setIcon(MobileNetworkUtils.getSignalStrengthIcon(context, level, NUM_SIGNAL_STRENGTH_BINS, in updateIcon()
|
D | MobileDataDialogFragment.java | 124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick() 129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
|
D | WifiCallingPreferenceController.java | 79 && 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/ |
D | EnabledNetworkModePreferenceController.java | 175 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()
|
D | ApnPreferenceController.java | 62 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()
|
D | CarrierPreferenceController.java | 55 && (MobileNetworkUtils.isCdmaOptions(mContext, subId) in getAvailabilityStatus() 56 || MobileNetworkUtils.isGsmOptions(mContext, subId)) in getAvailabilityStatus()
|
D | MobileDataDialogFragment.java | 124 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, false /* enabled */, in onClick() 129 MobileNetworkUtils.setMobileDataEnabled(getContext(), mSubId, true /* enabled */, in onClick()
|
D | WifiCallingPreferenceController.java | 80 && MobileNetworkUtils.isWifiCallingEnabled(mContext, in getAvailabilityStatus() 117 Intent intent = MobileNetworkUtils.buildPhoneAccountConfigureIntent(mContext, in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/ |
D | MobileNetworkSummaryController.java | 31 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()
|
D | MobileNetworkListController.java | 32 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils; 85 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/network/ |
D | MobileNetworkSummaryController.java | 33 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()
|
D | SubscriptionsPreferenceController.java | 22 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()
|
D | MobileNetworkListController.java | 32 import com.android.settings.network.telephony.MobileNetworkUtils; 85 MobileNetworkUtils.showEuiccSettings(mContext)); in displayPreference()
|
/packages/apps/Settings/src/com/android/settings/network/telephony/cdma/ |
D | CdmaSubscriptionPreferenceController.java | 29 import com.android.settings.network.telephony.MobileNetworkUtils; 48 return MobileNetworkUtils.isCdmaOptions(mContext, subId) && deviceSupportsNvAndRuim() in getAvailabilityStatus()
|
D | CdmaBasePreferenceController.java | 32 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/ |
D | CdmaSubscriptionPreferenceController.java | 29 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils; 48 return MobileNetworkUtils.isCdmaOptions(mContext, subId) && deviceSupportsNvAndRuim() in getAvailabilityStatus()
|
D | CdmaBasePreferenceController.java | 32 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/ |
D | OpenNetworkSelectPagePreferenceController.java | 34 import com.android.settings.network.telephony.MobileNetworkUtils; 56 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
|
D | AutoSelectPreferenceController.java | 39 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/ |
D | OpenNetworkSelectPagePreferenceController.java | 34 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils; 57 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
|
D | AutoSelectPreferenceController.java | 39 import com.android.car.developeroptions.network.telephony.MobileNetworkUtils; 74 return MobileNetworkUtils.shouldDisplayNetworkSelectOptions(mContext, subId) in getAvailabilityStatus()
|