Home
last modified time | relevance | path

Searched refs:hasWifiRadio (Results 1 – 12 of 12) sorted by relevance

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DDataUsageSummary.java100 boolean hasWifiRadio = DataUsageUtils.hasWifiRadio(context); in onCreate()
103 if (DataUsageUtils.hasSim(context) && hasWifiRadio) { in onCreate()
111 } else if (hasWifiRadio) { in onCreate()
373 if (!DataUsageUtils.hasWifiRadio(context)) {
DDataUsageUtils.java140 public static boolean hasWifiRadio(Context context) { in hasWifiRadio() method in DataUsageUtils
188 } else if (hasWifiRadio(context)) { in getDefaultTemplate()
DDataUsageSummaryPreferenceController.java130 } else if (DataUsageUtils.hasWifiRadio(activity)) { in DataUsageSummaryPreferenceController()
195 || DataUsageUtils.hasWifiRadio(mContext) ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageSummary.java96 boolean hasWifiRadio = DataUsageUtils.hasWifiRadio(context); in onCreate()
99 if (hasActiveSubscription() && hasWifiRadio) { in onCreate()
107 } else if (hasWifiRadio) { in onCreate()
DDataUsageUtils.java145 public static boolean hasWifiRadio(Context context) { in hasWifiRadio() method in DataUsageUtils
188 } else if (hasWifiRadio(context)) { in getDefaultTemplate()
DDataUsageSummaryPreferenceController.java139 } else if (DataUsageUtils.hasWifiRadio(context)) { in updateConfiguration()
202 || DataUsageUtils.hasWifiRadio(mContext) ? AVAILABLE : CONDITIONALLY_UNAVAILABLE; in getAvailabilityStatus()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDataUsageUtils.java25 protected static boolean hasWifiRadio(Context context) { in hasWifiRadio() method in ShadowDataUsageUtils
/packages/apps/Settings/src/com/android/settings/applications/appinfo/
DAppDataUsagePreferenceController.java141 if (DataUsageUtils.hasWifiRadio(context)) { in getTemplate()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/appinfo/
DAppDataUsagePreferenceController.java141 if (DataUsageUtils.hasWifiRadio(context)) { in getTemplate()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiSettings2.java250 mDataUsagePreference.setVisible(DataUsageUtils.hasWifiRadio(getContext())); in addPreferences()
1048 if (!DataUsageUtils.hasWifiRadio(context)) {
DWifiSettings.java274 mDataUsagePreference.setVisible(DataUsageUtils.hasWifiRadio(getContext())); in addPreferences()
1314 if (!DataUsageUtils.hasWifiRadio(context)) {
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/
DWifiSettings.java248 mDataUsagePreference.setVisible(DataUsageUtils.hasWifiRadio(getContext())); in addPreferences()