Home
last modified time | relevance | path

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

/frameworks/base/core/tests/benchmarks/src/android/net/
DNetworkStatsBenchmark.java85 List<String> ifaces = new ArrayList<>(); in getAllIfacesForBenchmark() local
86 ifaces.add(TUN_IFACE); in getAllIfacesForBenchmark()
87 ifaces.addAll(Arrays.asList(getVpnUnderlyingIfaces())); in getAllIfacesForBenchmark()
88 return ifaces; in getAllIfacesForBenchmark()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java607 public WifiIfaceInfo[][] ifaces = new WifiIfaceInfo[IFACE_TYPES_BY_PRIORITY.length][]; field in HalDeviceManager.WifiChipInfo
616 sb.append(", ifaces[" + type + "].length=").append(ifaces[type].length); in toString()
1153 chipInfo.ifaces[IfaceType.STA] = staIfaces; in getAllChipInfo()
1154 chipInfo.ifaces[IfaceType.AP] = apIfaces; in getAllChipInfo()
1155 chipInfo.ifaces[IfaceType.P2P] = p2pIfaces; in getAllChipInfo()
1156 chipInfo.ifaces[IfaceType.NAN] = nanIfaces; in getAllChipInfo()
1196 WifiIfaceInfo[] ifaceInfoList = matchingChipInfo.ifaces[entry.type]; in validateInterfaceCache()
1606 if (chipInfo.ifaces[type].length != 0) { in canIfaceComboSupportRequest()
1608 chipInfo.ifaces, chipInfo.ifaces[type].length)) { in canIfaceComboSupportRequest()
1630 int tooManyInterfaces = chipInfo.ifaces[type].length - chipIfaceCombo[type]; in canIfaceComboSupportRequest()
[all …]
DSupplicantStaIfaceHal.java460 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument
465 supplicantIfaces.addAll(ifaces); in getIfaceV1_0()
/frameworks/base/packages/Tethering/src/com/android/networkstack/tethering/
DTethering.java1213 String[] ifaces = null; in tetherMatchingInterfaces() local
1215 ifaces = mNetd.interfaceGetList(); in tetherMatchingInterfaces()
1221 if (ifaces != null) { in tetherMatchingInterfaces()
1222 for (String iface : ifaces) { in tetherMatchingInterfaces()
1561 InterfaceSet ifaces = null; in setUpstreamNetwork() local
1567 ifaces = TetheringInterfaceUtils.getTetheringInterfaces(ns); in setUpstreamNetwork()
1568 mLog.i("Found upstream interface(s): " + ifaces); in setUpstreamNetwork()
1571 if (ifaces != null) { in setUpstreamNetwork()
1574 notifyDownstreamsOfNewUpstreamIface(ifaces); in setUpstreamNetwork()
1612 protected void notifyDownstreamsOfNewUpstreamIface(InterfaceSet ifaces) { in notifyDownstreamsOfNewUpstreamIface() argument
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1835 ArrayMap<String, NetworkIdentitySet> ifaces) { in dumpInterfaces() argument
1836 for (int i = 0; i < ifaces.size(); i++) { in dumpInterfaces()
1839 proto.write(NetworkInterfaceProto.INTERFACE, ifaces.keyAt(i)); in dumpInterfaces()
1840 ifaces.valueAt(i).dumpDebug(proto, NetworkInterfaceProto.IDENTITIES); in dumpInterfaces()
1862 private NetworkStats readNetworkStatsUidDetail(int uid, String[] ifaces, int tag) { in readNetworkStatsUidDetail() argument
1864 return mStatsFactory.readNetworkStatsDetail(uid, ifaces, tag); in readNetworkStatsUidDetail()
1878 private NetworkStats getNetworkStatsUidDetail(String[] ifaces) in getNetworkStatsUidDetail() argument
1880 final NetworkStats uidSnapshot = readNetworkStatsUidDetail(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1884 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1890 providerStats.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
DNetworkPolicyManagerService.java1794 private static void collectIfaces(ArraySet<String> ifaces, NetworkState state) {
1797 ifaces.add(baseIface);
1802 ifaces.add(stackedIface);
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java401 final String[] ifaces = mNMService.listInterfaces(); in trackAvailableInterfaces() local
402 for (String iface : ifaces) { in trackAvailableInterfaces()
/frameworks/base/core/java/android/net/
DNetworkStats.java818 final HashSet<String> ifaces = new HashSet<String>(); in getUniqueIfaces() local
821 ifaces.add(iface); in getUniqueIfaces()
824 return ifaces.toArray(new String[ifaces.size()]); in getUniqueIfaces()
/frameworks/base/tests/net/java/android/net/
DNetworkStatsTest.java443 final HashSet<String> ifaces = Sets.newHashSet(); in testGetTotal() local
444 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L); in testGetTotal()
446 ifaces.add(TEST_IFACE2); in testGetTotal()
447 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L); in testGetTotal()
/frameworks/opt/net/wifi/libwifi_hal/
Dhal_tool.cpp68 wifi_interface_handle** ifaces) { in wifi_get_ifaces_stub() argument
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHal.java281 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument
286 supplicantIfaces.addAll(ifaces); in getIfaceV1_0()
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringTest.java297 final String[] ifaces = new String[] { in getInterfaceParams() local
300 return new InterfaceParams(ifName, ArrayUtils.indexOf(ifaces, ifName) + IFINDEX_OFFSET, in getInterfaceParams()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DSupplicantStaIfaceHalTest.java2328 GetListInterfacesAnswer(ArrayList<ISupplicant.IfaceInfo> ifaces) { in GetListInterfacesAnswer() argument
2329 mInterfaceList = ifaces; in GetListInterfacesAnswer()
/frameworks/opt/setupwizard/tools/docs/
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10710 private NetworkStats readNetworkStatsLocked(String[] ifaces) { in readNetworkStatsLocked() argument
10712 if (!ArrayUtils.isEmpty(ifaces)) { in readNetworkStatsLocked()
10716 return statsService.getDetailedUidStats(ifaces); in readNetworkStatsLocked()
10722 Slog.e(TAG, "failed to read network stats for ifaces: " + Arrays.toString(ifaces) + e); in readNetworkStatsLocked()