Home
last modified time | relevance | path

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

/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DSubscriptionsPreferenceControllerTest.java169 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in isAvailable_oneSubAndProviderOn_availableTrue()
399 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasSim_showPreference()
414 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasMultiSim_showDataSubPreference()
432 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasMultiSimAndActive_connectedAndRat()
453 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasMultiSimAndActiveCarrierWifi_connectedAndWPlus()
478 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasMultiSimButMobileDataOff_notAutoConnect()
498 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndHasMultiSimAndNotActive_showRatOnly()
515 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in displayPreference_providerAndNoSim_noPreference()
534 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in onTelephonyDisplayInfoChanged_providerAndHasMultiSimAndActive_connectedAndRat()
560 doReturn(true).when(sInjector).isProviderModelEnabled(mContext); in onTelephonyDisplayInfoChanged_providerAndHasMultiSimAndNotActive_showRat()
[all …]
/packages/apps/Settings/src/com/android/settings/network/
DNetworkDashboardFragment.java63 if (Utils.isProviderModelEnabled(getContext())) { in getPreferenceScreenResId()
74 if (!Utils.isProviderModelEnabled(context)) { in onAttach()
104 Utils.isProviderModelEnabled(context) in buildPreferenceControllers()
110 Utils.isProviderModelEnabled(context) in buildPreferenceControllers()
142 if (Utils.isProviderModelEnabled(context)) { in buildPreferenceControllers()
185 if (Utils.isProviderModelEnabled(context)) {
DMobileNetworkListFragment.java47 return Utils.isProviderModelEnabled(getContext()) in getPreferenceScreenResId()
66 if (Utils.isProviderModelEnabled(getContext())) { in createPreferenceControllers()
92 sir.xmlResId = Utils.isProviderModelEnabled(context)
DSubscriptionsPreferenceController.java231 if (mSubsPrefCtrlInjector.isProviderModelEnabled(mContext)) { in update()
493 .count() >= (mSubsPrefCtrlInjector.isProviderModelEnabled(mContext) ? 1 : 2); in isAvailable()
606 public boolean isProviderModelEnabled(Context context) { in isProviderModelEnabled() method in SubscriptionsPreferenceController.SubsPrefCtrlInjector
607 return Utils.isProviderModelEnabled(context); in isProviderModelEnabled()
DCarrierWifiTogglePreferenceController.java51 mIsProviderModelEnabled = Utils.isProviderModelEnabled(context); in CarrierWifiTogglePreferenceController()
DNetworkProviderCallsSmsFragment.java103 return Utils.isProviderModelEnabled(context) &&
DMobileNetworkSummaryController.java130 if (com.android.settings.Utils.isProviderModelEnabled(mContext)) { in getSummary()
DVpnPreferenceController.java159 if (Utils.isProviderModelEnabled(mContext) && mPreference instanceof VpnInfoPreference) { in updateSummary()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DDefaultSubscriptionController.java94 if (subs.size() > 1 || Utils.isProviderModelEnabled(mContext)) { in getAvailabilityStatus()
161 if (Utils.isProviderModelEnabled(mContext) && subs.size() == 1) { in updateEntries()
DCallsDefaultSubscriptionController.java48 if (Utils.isProviderModelEnabled(mContext)) { in getSummary()
DSmsDefaultSubscriptionController.java64 if (Utils.isProviderModelEnabled(mContext)) { in getSummary()
/packages/apps/Settings/src/com/android/settings/panel/
DInternetConnectivityPanel.java148 mIsProviderModelEnabled = Utils.isProviderModelEnabled(mContext); in InternetConnectivityPanel()
/packages/apps/Settings/src/com/android/settings/vpn2/
DVpnSettings.java135 if (Utils.isProviderModelEnabled(getContext()) in onCreateOptionsMenu()
DConfigDialog.java531 } else if (Utils.isProviderModelEnabled(getContext())) { in setTypesByFeature()
/packages/apps/Settings/src/com/android/settings/
DUtils.java1225 public static boolean isProviderModelEnabled(Context context) { in isProviderModelEnabled() method in Utils