Searched refs:ifaces (Results 1 – 9 of 9) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/net/ |
D | NetworkStatsTest.java | 380 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/ |
D | EthernetNetworkFactory.java | 441 final String[] ifaces = mNMService.listInterfaces(); in start() local 442 for (String iface : ifaces) { in start()
|
/frameworks/base/core/java/android/net/ |
D | NetworkStats.java | 468 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/ |
D | wifi_hal_stub.h | 37 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/ |
D | Tethering.java | 841 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/ |
D | NetworkPolicyManagerService.java | 1296 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/ |
D | wifi_hal_stub.cpp | 60 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/ |
D | NetworkPolicyManagerServiceTest.java | 883 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/ |
D | BatteryStatsImpl.java | 8710 private NetworkStats getNetworkStatsDeltaLocked(String[] ifaces, in getNetworkStatsDeltaLocked() argument 8719 ifaces, NetworkStats.TAG_NONE, networkStatsBuffer[NETWORK_STATS_NEXT]); in getNetworkStatsDeltaLocked()
|