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.java582 public WifiIfaceInfo[][] ifaces = new WifiIfaceInfo[IFACE_TYPES_BY_PRIORITY.length][]; field in HalDeviceManager.WifiChipInfo
591 sb.append(", ifaces[" + type + "].length=").append(ifaces[type].length); in toString()
1128 chipInfo.ifaces[IfaceType.STA] = staIfaces; in getAllChipInfo()
1129 chipInfo.ifaces[IfaceType.AP] = apIfaces; in getAllChipInfo()
1130 chipInfo.ifaces[IfaceType.P2P] = p2pIfaces; in getAllChipInfo()
1131 chipInfo.ifaces[IfaceType.NAN] = nanIfaces; in getAllChipInfo()
1170 WifiIfaceInfo[] ifaceInfoList = matchingChipInfo.ifaces[entry.type]; in validateInterfaceCache()
1581 if (chipInfo.ifaces[type].length != 0) { in canIfaceComboSupportRequest()
1590 chipInfo.ifaces, chipInfo.ifaces[type].length)) { in canIfaceComboSupportRequest()
1612 int tooManyInterfaces = chipInfo.ifaces[type].length - chipIfaceCombo[type]; in canIfaceComboSupportRequest()
[all …]
DSupplicantStaIfaceHal.java396 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument
401 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.java1863 ArrayMap<String, NetworkIdentitySet> ifaces) {
1864 for (int i = 0; i < ifaces.size(); i++) {
1867 proto.write(NetworkInterfaceProto.INTERFACE, ifaces.keyAt(i));
1868 ifaces.valueAt(i).writeToProto(proto, NetworkInterfaceProto.IDENTITIES);
1890 private NetworkStats readNetworkStatsUidDetail(int uid, String[] ifaces, int tag) {
1892 return mStatsFactory.readNetworkStatsDetail(uid, ifaces, tag);
1906 private NetworkStats getNetworkStatsUidDetail(String[] ifaces)
1908 final NetworkStats uidSnapshot = readNetworkStatsUidDetail(UID_ALL, ifaces, TAG_ALL);
1912 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL);
1918 providerStats.filter(UID_ALL, ifaces, TAG_ALL);
DNetworkPolicyManagerService.java1788 private static void collectIfaces(ArraySet<String> ifaces, NetworkState state) {
1791 ifaces.add(baseIface);
1796 ifaces.add(stackedIface);
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java885 String[] ifaces = bs.getWifiIfaces(); in pullWifiBytesTransfer() local
886 if (ifaces.length == 0) { in pullWifiBytesTransfer()
894 NetworkStats stats = mNetworkStatsService.getDetailedUidStats(ifaces).groupedByUid(); in pullWifiBytesTransfer()
909 String[] ifaces = bs.getWifiIfaces(); in pullWifiBytesTransferByFgBg() local
910 if (ifaces.length == 0) { in pullWifiBytesTransferByFgBg()
918 mNetworkStatsService.getDetailedUidStats(ifaces)); in pullWifiBytesTransferByFgBg()
933 String[] ifaces = bs.getMobileIfaces(); in pullMobileBytesTransfer() local
934 if (ifaces.length == 0) { in pullMobileBytesTransfer()
942 NetworkStats stats = mNetworkStatsService.getDetailedUidStats(ifaces).groupedByUid(); in pullMobileBytesTransfer()
973 String[] ifaces = bs.getMobileIfaces(); in pullMobileBytesTransferByFgBg() local
[all …]
/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.java2174 GetListInterfacesAnswer(ArrayList<ISupplicant.IfaceInfo> ifaces) { in GetListInterfacesAnswer() argument
2175 mInterfaceList = ifaces; in GetListInterfacesAnswer()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java10693 private NetworkStats readNetworkStatsLocked(String[] ifaces) { in readNetworkStatsLocked() argument
10695 if (!ArrayUtils.isEmpty(ifaces)) { in readNetworkStatsLocked()
10699 return statsService.getDetailedUidStats(ifaces); in readNetworkStatsLocked()
10705 Slog.e(TAG, "failed to read network stats for ifaces: " + Arrays.toString(ifaces) + e); in readNetworkStatsLocked()