/packages/modules/Connectivity/tests/cts/net/util/java/android/net/cts/util/ |
D | CtsTetheringUtils.java | 131 public static boolean isAnyIfaceMatch(final String[] ifaceRegexs, final List<String> ifaces) { in isAnyIfaceMatch() argument 132 if (ifaces == null) return false; in isAnyIfaceMatch() 134 for (String s : ifaces) { in isAnyIfaceMatch() 142 final int type, final Set<TetheringInterface> ifaces) { in getFirstMatchingTetheringInterface() argument 143 if (ifaces == null || regexs == null) return null; in getFirstMatchingTetheringInterface() 146 for (TetheringInterface iface : ifaces) { in getFirstMatchingTetheringInterface() 262 List<String> ifaces) { in assertHasAllTetheringInterfaces() argument 265 assertEquals(tetheringIfaces.size(), ifaces.size()); in assertHasAllTetheringInterfaces() 269 ifaces.contains(tether.getInterface())); in assertHasAllTetheringInterfaces()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | EthernetConfig.java | 66 String[] ifaces = mEthernetManager.getAvailableInterfaces(); in load() local 67 if (ifaces.length > 0) { in load() 68 mInterfaceName = ifaces[0]; in load()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | HalDeviceManager.java | 743 public WifiIfaceInfo[][] ifaces = new WifiIfaceInfo[IFACE_TYPES_BY_PRIORITY.length][]; field in HalDeviceManager.WifiChipInfo 754 sb.append(", ifaces[" + type + "].length=").append(ifaces[type].length); in toString() 1324 chipInfo.ifaces[IfaceType.STA] = staIfaces; in getAllChipInfo() 1325 chipInfo.ifaces[IfaceType.AP] = apIfaces; in getAllChipInfo() 1326 chipInfo.ifaces[IfaceType.P2P] = p2pIfaces; in getAllChipInfo() 1327 chipInfo.ifaces[IfaceType.NAN] = nanIfaces; in getAllChipInfo() 1367 WifiIfaceInfo[] ifaceInfoList = matchingChipInfo.ifaces[entry.type]; in validateInterfaceCacheAndRetrieveRequestorWs() 1833 if (chipInfo.ifaces[type].length != 0) { in canIfaceComboSupportRequest() 1835 ifaceType, requestorWs, type, chipInfo.ifaces)) { in canIfaceComboSupportRequest() 1857 int tooManyInterfaces = chipInfo.ifaces[type].length - chipIfaceCombo[type]; in canIfaceComboSupportRequest() [all …]
|
D | SupplicantStaIfaceHal.java | 489 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument 494 supplicantIfaces.addAll(ifaces); in getIfaceV1_0()
|
/packages/modules/Connectivity/Tethering/common/TetheringLib/src/android/net/ |
D | TetheringManager.java | 1118 final ArrayList<String> ifaces = new ArrayList<>(); 1120 ifaces.add(tether.getInterface()); 1123 return ifaces; 1127 final String[] ifaces = new String[tetherIfaces.length]; 1129 ifaces[i] = tetherIfaces[i].getInterface(); 1132 return ifaces;
|
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/ |
D | Tethering.java | 1346 String[] ifaces = null; in enableUsbIpServing() local 1348 ifaces = mNetd.interfaceGetList(); in enableUsbIpServing() 1354 if (ifaces != null) { in enableUsbIpServing() 1355 for (String iface : ifaces) { in enableUsbIpServing() 1686 InterfaceSet ifaces = null; in setUpstreamNetwork() local 1692 ifaces = TetheringInterfaceUtils.getTetheringInterfaces(ns); in setUpstreamNetwork() 1693 mLog.i("Found upstream interface(s): " + ifaces); in setUpstreamNetwork() 1696 if (ifaces != null) { in setUpstreamNetwork() 1699 notifyDownstreamsOfNewUpstreamIface(ifaces); in setUpstreamNetwork() 1737 protected void notifyDownstreamsOfNewUpstreamIface(InterfaceSet ifaces) { in notifyDownstreamsOfNewUpstreamIface() argument [all …]
|
/packages/modules/Connectivity/tests/unit/java/android/net/ |
D | NetworkStatsTest.java | 448 final HashSet<String> ifaces = Sets.newHashSet(); in testGetTotal() local 449 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L); in testGetTotal() 451 ifaces.add(TEST_IFACE2); in testGetTotal() 452 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L); in testGetTotal()
|
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/ |
D | SupplicantP2pIfaceHal.java | 310 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument 315 supplicantIfaces.addAll(ifaces); in getIfaceV1_0()
|
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringTest.java | 365 final String[] ifaces = new String[] { in getInterfaceParams() local 368 return new InterfaceParams(ifName, ArrayUtils.indexOf(ifaces, ifName) + IFINDEX_OFFSET, in getInterfaceParams()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | SupplicantStaIfaceHalTest.java | 2760 GetListInterfacesAnswer(ArrayList<ISupplicant.IfaceInfo> ifaces) { in GetListInterfacesAnswer() argument 2761 mInterfaceList = ifaces; in GetListInterfacesAnswer()
|