Home
last modified time | relevance | path

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

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DHalDeviceManager.java575 public WifiIfaceInfo[][] ifaces = new WifiIfaceInfo[IFACE_TYPES_BY_PRIORITY.length][]; field in HalDeviceManager.WifiChipInfo
584 sb.append(", ifaces[" + type + "].length=").append(ifaces[type].length); in toString()
1113 chipInfo.ifaces[IfaceType.STA] = staIfaces; in getAllChipInfo()
1114 chipInfo.ifaces[IfaceType.AP] = apIfaces; in getAllChipInfo()
1115 chipInfo.ifaces[IfaceType.P2P] = p2pIfaces; in getAllChipInfo()
1116 chipInfo.ifaces[IfaceType.NAN] = nanIfaces; in getAllChipInfo()
1155 WifiIfaceInfo[] ifaceInfoList = matchingChipInfo.ifaces[entry.type]; in validateInterfaceCache()
1561 if (chipInfo.ifaces[type].length != 0) { in canIfaceComboSupportRequest()
1570 chipInfo.ifaces, chipInfo.ifaces[type].length)) { in canIfaceComboSupportRequest()
1592 int tooManyInterfaces = chipInfo.ifaces[type].length - chipIfaceCombo[type]; in canIfaceComboSupportRequest()
[all …]
DSupplicantStaIfaceHal.java390 ArrayList<ISupplicant.IfaceInfo> ifaces) -> { in getIfaceV1_0() argument
395 supplicantIfaces.addAll(ifaces); in getIfaceV1_0()
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java884 String[] ifaces = null; in tetherMatchingInterfaces() local
886 ifaces = mNMService.listInterfaces(); in tetherMatchingInterfaces()
892 if (ifaces != null) { in tetherMatchingInterfaces()
893 for (String iface : ifaces) { in tetherMatchingInterfaces()
1224 InterfaceSet ifaces = null; in setUpstreamNetwork() local
1230 ifaces = TetheringInterfaceUtils.getTetheringInterfaces(ns); in setUpstreamNetwork()
1231 mLog.i("Found upstream interface(s): " + ifaces); in setUpstreamNetwork()
1234 if (ifaces != null) { in setUpstreamNetwork()
1237 notifyDownstreamsOfNewUpstreamIface(ifaces); in setUpstreamNetwork()
1269 protected void notifyDownstreamsOfNewUpstreamIface(InterfaceSet ifaces) { in notifyDownstreamsOfNewUpstreamIface() argument
[all …]
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1657 ArrayMap<String, NetworkIdentitySet> ifaces) { in dumpInterfaces() argument
1658 for (int i = 0; i < ifaces.size(); i++) { in dumpInterfaces()
1661 proto.write(NetworkInterfaceProto.INTERFACE, ifaces.keyAt(i)); in dumpInterfaces()
1662 ifaces.valueAt(i).writeToProto(proto, NetworkInterfaceProto.IDENTITIES); in dumpInterfaces()
1676 private NetworkStats getNetworkStatsUidDetail(String[] ifaces) in getNetworkStatsUidDetail() argument
1681 ifaces); in getNetworkStatsUidDetail()
1685 tetherSnapshot.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
1696 vtStats.filter(UID_ALL, ifaces, TAG_ALL); in getNetworkStatsUidDetail()
DNetworkPolicyManagerService.java1776 private static void collectIfaces(ArraySet<String> ifaces, NetworkState state) {
1779 ifaces.add(baseIface);
1784 ifaces.add(stackedIface);
/frameworks/base/core/java/android/os/
DINetworkManagementService.aidl267 NetworkStats getNetworkStatsUidDetail(int uid, in String[] ifaces); in getNetworkStatsUidDetail() argument
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java883 String[] ifaces = bs.getWifiIfaces(); in pullWifiBytesTransfer() local
884 if (ifaces.length == 0) { in pullWifiBytesTransfer()
892 NetworkStats stats = mNetworkStatsService.getDetailedUidStats(ifaces).groupedByUid(); in pullWifiBytesTransfer()
907 String[] ifaces = bs.getWifiIfaces(); in pullWifiBytesTransferByFgBg() local
908 if (ifaces.length == 0) { in pullWifiBytesTransferByFgBg()
916 mNetworkStatsService.getDetailedUidStats(ifaces)); in pullWifiBytesTransferByFgBg()
931 String[] ifaces = bs.getMobileIfaces(); in pullMobileBytesTransfer() local
932 if (ifaces.length == 0) { in pullMobileBytesTransfer()
940 NetworkStats stats = mNetworkStatsService.getDetailedUidStats(ifaces).groupedByUid(); in pullMobileBytesTransfer()
971 String[] ifaces = bs.getMobileIfaces(); in pullMobileBytesTransferByFgBg() local
[all …]
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetTracker.java257 final String[] ifaces = mNMService.listInterfaces(); in trackAvailableInterfaces() local
258 for (String iface : ifaces) { in trackAvailableInterfaces()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java736 verify(mNetManager, times(1)).getNetworkStatsUidDetail(eq(UID_ALL), argThat(ifaces -> in testDetailedUidStats_Filtered()
737 ifaces != null && ifaces.length == 2 in testDetailedUidStats_Filtered()
738 && ArrayUtils.contains(ifaces, TEST_IFACE) in testDetailedUidStats_Filtered()
739 && ArrayUtils.contains(ifaces, stackedIface))); in testDetailedUidStats_Filtered()
/frameworks/base/core/java/android/net/
DNetworkStats.java608 final HashSet<String> ifaces = new HashSet<String>(); in getUniqueIfaces() local
611 ifaces.add(iface); in getUniqueIfaces()
614 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/base/tests/net/java/com/android/server/connectivity/
DTetheringTest.java213 final String[] ifaces = new String[] { in getInterfaceParams() local
215 return new InterfaceParams(ifName, ArrayUtils.indexOf(ifaces, ifName) + IFINDEX_OFFSET, in getInterfaceParams()
/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/services/core/java/com/android/server/
DNetworkManagementService.java1545 public NetworkStats getNetworkStatsUidDetail(int uid, String[] ifaces) { in getNetworkStatsUidDetail() argument
1548 return mStatsFactory.readNetworkStatsDetail(uid, ifaces, TAG_ALL, null); in getNetworkStatsUidDetail()
/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.java10680 private NetworkStats readNetworkStatsLocked(String[] ifaces) { in readNetworkStatsLocked() argument
10682 if (!ArrayUtils.isEmpty(ifaces)) { in readNetworkStatsLocked()
10686 return statsService.getDetailedUidStats(ifaces); in readNetworkStatsLocked()
10692 Slog.e(TAG, "failed to read network stats for ifaces: " + Arrays.toString(ifaces) + e); in readNetworkStatsLocked()