Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/net/
DNetworkStatsTest.java380 final HashSet<String> ifaces = Sets.newHashSet(); in testGetTotal() local
381 assertValues(stats.getTotal(null, ifaces), 0L, 0L, 0L, 0L, 0L); in testGetTotal()
383 ifaces.add(TEST_IFACE2); in testGetTotal()
384 assertValues(stats.getTotal(null, ifaces), 1024L, 64L, 0L, 0L, 0L); in testGetTotal()
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/
DEthernetNetworkFactory.java441 final String[] ifaces = mNMService.listInterfaces(); in start() local
442 for (String iface : ifaces) { in start()
/frameworks/base/core/java/android/net/
DNetworkStats.java468 final HashSet<String> ifaces = new HashSet<String>(); in getUniqueIfaces() local
471 ifaces.add(iface); in getUniqueIfaces()
474 return ifaces.toArray(new String[ifaces.size()]); in getUniqueIfaces()
/frameworks/opt/net/wifi/service/jni/
Dwifi_hal_stub.h37 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces
/frameworks/base/services/core/java/com/android/server/connectivity/
DTethering.java841 String[] ifaces = null; in tetherMatchingInterfaces() local
843 ifaces = mNMService.listInterfaces(); in tetherMatchingInterfaces()
849 if (ifaces != null) { in tetherMatchingInterfaces()
850 for (String iface : ifaces) { in tetherMatchingInterfaces()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java1296 final String[] ifaces = ifaceList.toArray(new String[ifaceList.size()]); local
1297 mNetworkRules.put(policy, ifaces);
1309 final String[] ifaces = mNetworkRules.valueAt(i); local
1322 Slog.d(TAG, "applying policy " + policy + " to ifaces " + Arrays.toString(ifaces));
1344 if (ifaces.length > 1) {
1349 for (String iface : ifaces) {
/frameworks/opt/net/wifi/service/lib/
Dwifi_hal_stub.cpp60 wifi_error wifi_get_ifaces_stub(wifi_handle handle, int *num_ifaces, wifi_interface_handle **ifaces in wifi_get_ifaces_stub() argument
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java883 private Future<Void> expectMeteredIfacesChanged(String... ifaces) throws Exception { in expectMeteredIfacesChanged() argument
885 mPolicyListener.onMeteredIfacesChanged(aryEq(ifaces)); in expectMeteredIfacesChanged()
/frameworks/base/core/java/com/android/internal/os/
DBatteryStatsImpl.java8710 private NetworkStats getNetworkStatsDeltaLocked(String[] ifaces, in getNetworkStatsDeltaLocked() argument
8719 ifaces, NetworkStats.TAG_NONE, networkStatsBuffer[NETWORK_STATS_NEXT]); in getNetworkStatsDeltaLocked()