Home
last modified time | relevance | path

Searched refs:hasEthernet (Results 1 – 5 of 5) sorted by relevance

/packages/modules/NetworkStack/src/com/android/networkstack/metrics/
DNetworkValidationMetrics.java97 boolean hasEthernet = nc.hasTransport(TRANSPORT_ETHERNET); in getTransportTypeFromNC()
112 if (hasEthernet) return TransportType.TT_ETHERNET_VPN; in getTransportTypeFromNC()
119 if (hasEthernet) return TransportType.TT_ETHERNET; in getTransportTypeFromNC()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/
DShadowDataUsageUtils.java34 protected static boolean hasEthernet(Context context) { return false; } in hasEthernet() method in ShadowDataUsageUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DDataUsageUtilsTest.java92 DataUsageUtils.hasEthernet(mContext); in hasEthernet_shouldQueryEthernetSummaryForUser()
/packages/apps/Settings/src/com/android/settings/datausage/
DDataUsageUtils.java73 public static boolean hasEthernet(Context context) { in hasEthernet() method in DataUsageUtils
DDataUsageSummary.java116 if (DataUsageUtils.hasEthernet(context)) { in onCreate()