Home
last modified time | relevance | path

Searched refs:iface (Results 1 – 25 of 253) sorted by relevance

1234567891011

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiMonitor.java181 public synchronized void registerHandler(String iface, int what, Handler handler) { in registerHandler() argument
182 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler()
185 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
201 public synchronized void deregisterHandler(String iface, int what, Handler handler) { in deregisterHandler() argument
202 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in deregisterHandler()
214 private boolean isMonitoring(String iface) { in isMonitoring() argument
215 Boolean val = mMonitoringMap.get(iface); in isMonitoring()
230 public void setMonitoring(String iface, boolean enabled) { in setMonitoring() argument
231 mMonitoringMap.put(iface, enabled); in setMonitoring()
239 public synchronized void startMonitoring(String iface) { in startMonitoring() argument
[all …]
DWifiVendorHal.java291 WifiStaIface iface = mHalDeviceManager.createStaIface( in createStaIface() local
294 if (iface == null) { in createStaIface()
298 String ifaceName = iface.getName(); in createStaIface()
303 if (!registerStaIfaceCallback(iface)) { in createStaIface()
307 if (!retrieveWifiChip(iface)) { in createStaIface()
311 mWifiStaIfaces.put(ifaceName, iface); in createStaIface()
326 WifiStaIface iface = getStaIface(ifaceName); in replaceStaIfaceRequestorWs() local
327 if (iface == null) return false; in replaceStaIfaceRequestorWs()
329 if (!mHalDeviceManager.replaceRequestorWs(iface, requestorWs)) { in replaceStaIfaceRequestorWs()
345 WifiStaIface iface = getStaIface(ifaceName); in removeStaIface() local
[all …]
DSupplicantStaIfaceHalHidlImpl.java322 @NonNull ISupplicantStaIface iface) throws RemoteException { in trySetupStaIfaceV1_4() argument
327 if (!registerCallbackV1_4(getStaIfaceMockableV1_4(iface), callbackV14)) { in trySetupStaIfaceV1_4()
336 @NonNull ISupplicantStaIface iface) throws RemoteException { in trySetupStaIfaceV1_3() argument
340 if (trySetupStaIfaceV1_4(ifaceName, iface)) { in trySetupStaIfaceV1_3()
346 if (!registerCallbackV1_3(getStaIfaceMockableV1_3(iface), callbackV13)) { in trySetupStaIfaceV1_3()
355 @NonNull ISupplicantStaIface iface) throws RemoteException { in trySetupStaIfaceV1_2() argument
359 if (trySetupStaIfaceV1_3(ifaceName, iface)) { in trySetupStaIfaceV1_2()
366 if (!registerCallbackV1_2(getStaIfaceMockableV1_2(iface), callbackV12)) { in trySetupStaIfaceV1_2()
375 @NonNull ISupplicantStaIface iface) throws RemoteException { in trySetupStaIfaceV1_1() argument
379 if (trySetupStaIfaceV1_2(ifaceName, iface)) { in trySetupStaIfaceV1_1()
[all …]
DWifiNative.java397 public WifiHal.WifiInterface iface; field in WifiNative.Iface
453 Iface iface = new Iface(mNextId, type); in allocateIface() local
454 mIfaces.put(mNextId, iface); in allocateIface()
456 return iface; in allocateIface()
474 for (Iface iface : mIfaces.values()) { in getIface()
475 if (TextUtils.equals(iface.name, ifaceName)) { in getIface()
476 return iface; in getIface()
494 for (Iface iface : mIfaces.values()) { in hasAnyIfaceOfType()
495 if (iface.type == type) { in hasAnyIfaceOfType()
524 for (Iface iface : mIfaces.values()) { in findAllStaIfaceNames()
[all …]
DSupplicantStaIfaceHalAidlImpl.java282 ISupplicantStaIface iface = addIface(ifaceName); in setupIface() local
283 if (iface == null) { in setupIface()
291 if (registerCallback(iface, callback)) { in setupIface()
292 mISupplicantStaIfaces.put(ifaceName, iface); in setupIface()
1079 ISupplicantStaIface iface = checkStaIfaceAndLogFailure(ifaceName, methodStr); in addNetwork() local
1080 if (iface == null) { in addNetwork()
1084 ISupplicantStaNetwork network = iface.addNetwork(); in addNetwork()
1104 ISupplicantStaIface iface = checkStaIfaceAndLogFailure(ifaceName, methodStr); in removeNetwork() local
1105 if (iface == null) { in removeNetwork()
1109 iface.removeNetwork(id); in removeNetwork()
[all …]
DHalDeviceManager.java393 WifiP2pIface iface = (WifiP2pIface) createIface(HDM_CREATE_IFACE_P2P, in createP2pIface() local
395 if (iface == null) { in createP2pIface()
398 String ifaceName = getName(iface); in createP2pIface()
400 removeIface(iface); in createP2pIface()
403 mWifiP2pIfaces.put(ifaceName, iface); in createP2pIface()
428 public boolean removeIface(WifiHal.WifiInterface iface) { in removeIface() argument
429 boolean success = removeIfaceInternal(iface, /* validateRttController */true); in removeIface()
437 WifiP2pIface iface = mWifiP2pIfaces.get(ifaceName); in removeP2pIface() local
438 if (iface == null) return false; in removeP2pIface()
439 if (!removeIface(iface)) { in removeP2pIface()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMonitor.java114 public synchronized void registerHandler(String iface, int what, Handler handler) { in registerHandler() argument
115 SparseArray<Set<Handler>> ifaceHandlers = mHandlerMap.get(iface); in registerHandler()
118 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
129 private boolean isMonitoring(String iface) { in isMonitoring() argument
130 Boolean val = mMonitoringMap.get(iface); in isMonitoring()
145 public void setMonitoring(String iface, boolean enabled) { in setMonitoring() argument
146 mMonitoringMap.put(iface, enabled); in setMonitoring()
155 public synchronized void startMonitoring(String iface) { in startMonitoring() argument
156 setMonitoring(iface, true); in startMonitoring()
157 broadcastSupplicantConnectionEvent(iface); in startMonitoring()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/ethernet/
DEthernetTracker.java283 void updateIpConfiguration(String iface, IpConfiguration ipConfiguration) { in updateIpConfiguration() argument
285 Log.i(TAG, "updateIpConfiguration, iface: " + iface + ", cfg: " + ipConfiguration); in updateIpConfiguration()
287 writeIpConfiguration(iface, ipConfiguration); in updateIpConfiguration()
289 mFactory.updateInterface(iface, ipConfiguration, null); in updateIpConfiguration()
290 broadcastInterfaceStateChange(iface); in updateIpConfiguration()
294 private void writeIpConfiguration(@NonNull final String iface, in writeIpConfiguration() argument
296 mConfigStore.write(iface, ipConfig); in writeIpConfiguration()
297 mIpConfigurations.put(iface, ipConfig); in writeIpConfiguration()
300 private IpConfiguration getIpConfigurationForCallback(String iface, int state) { in getIpConfigurationForCallback() argument
301 return (state == EthernetManager.STATE_ABSENT) ? null : getOrCreateIpConfiguration(iface); in getIpConfigurationForCallback()
[all …]
DEthernetServiceImpl.java105 public IpConfiguration getConfiguration(String iface) { in getConfiguration() argument
107 if (mTracker.isRestrictedInterface(iface)) { in getConfiguration()
111 return new IpConfiguration(mTracker.getIpConfiguration(iface)); in getConfiguration()
118 public void setConfiguration(String iface, IpConfiguration config) { in setConfiguration() argument
122 if (mTracker.isRestrictedInterface(iface)) { in setConfiguration()
128 mTracker.updateIpConfiguration(iface, new IpConfiguration(config)); in setConfiguration()
135 public boolean isAvailable(String iface) { in isAvailable() argument
137 if (mTracker.isRestrictedInterface(iface)) { in isAvailable()
141 return mTracker.isTrackingInterface(iface); in isAvailable()
217 private void validateOrSetNetworkSpecifier(String iface, NetworkCapabilities nc) { in validateOrSetNetworkSpecifier() argument
[all …]
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DEthernetManagerTest.kt207 val iface: String, in <lambda>() constant in EthernetStateListener.CallbackEntry.InterfaceStateChanged
225 return ("InterfaceStateChanged(iface=$iface, state=$stateString, " + in <lambda>()
243 iface: String, in <lambda>()
248 add(InterfaceStateChanged(iface, state, role, cfg)) in <lambda>()
261 fun expectCallback(iface: EthernetTestInterface, state: Int, role: Int) { in <lambda>()
262 expectCallback(createChangeEvent(iface.name, state, role)) in <lambda>()
269 private fun createChangeEvent(iface: String, state: Int, role: Int) = in <lambda>()
270 InterfaceStateChanged(iface, state, role, in <lambda>()
278 fun eventuallyExpect(iface: EthernetTestInterface, state: Int, role: Int) { in <lambda>()
279 eventuallyExpect(createChangeEvent(iface.name, state, role)) in <lambda>()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DNetdWrapper.java65 void interfaceAdded(String iface); in interfaceAdded() argument
72 void interfaceStatusChanged(String iface, boolean up); in interfaceStatusChanged() argument
80 void interfaceLinkStateChanged(String iface, boolean up); in interfaceLinkStateChanged() argument
171 private void modifyInterfaceInNetwork(boolean add, int netId, String iface) { in modifyInterfaceInNetwork() argument
174 mNetdService.networkAddInterface(netId, iface); in modifyInterfaceInNetwork()
176 mNetdService.networkRemoveInterface(netId, iface); in modifyInterfaceInNetwork()
220 public void addInterfaceToLocalNetwork(String iface, List<RouteInfo> routes) { in addInterfaceToLocalNetwork() argument
221 modifyInterfaceInNetwork(MODIFY_OPERATION_ADD, INetd.LOCAL_NET_ID, iface); in addInterfaceToLocalNetwork()
231 new RouteInfo(new IpPrefix("fe80::/64"), null, iface, RouteInfo.RTN_UNICAST)); in addInterfaceToLocalNetwork()
237 public void removeInterfaceFromLocalNetwork(String iface) { in removeInterfaceFromLocalNetwork() argument
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareNativeApi.java331 WifiNanIface iface = mHal.getWifiNanIface(); in getCapabilities() local
332 if (iface == null) { in getCapabilities()
336 return iface.getCapabilities(transactionId); in getCapabilities()
368 WifiNanIface iface = mHal.getWifiNanIface(); in enableAndConfigure() local
369 if (iface == null) { in enableAndConfigure()
373 return iface.enableAndConfigure(transactionId, configRequest, notifyIdentityChange, in enableAndConfigure()
391 WifiNanIface iface = mHal.getWifiNanIface(); in disable() local
392 if (iface == null) { in disable()
396 boolean result = iface.disable(transactionId); in disable()
417 WifiNanIface iface = mHal.getWifiNanIface(); in publish() local
[all …]
/packages/modules/Connectivity/service/jni/
Dcom_android_server_TestNetworkService.cpp53 static void throwException(JNIEnv* env, int error, const char* action, const char* iface) { in throwException() argument
54 const std::string& msg = "Error: " + std::string(action) + " " + std::string(iface) + ": " in throwException()
60 static void setTunTapCarrierEnabledImpl(JNIEnv* env, const char* iface, int tunFd, bool enabled) { in setTunTapCarrierEnabledImpl() argument
63 throwException(env, errno, "set carrier", iface); in setTunTapCarrierEnabledImpl()
68 const char* iface) { in createTunTapImpl() argument
83 strlcpy(ifr.ifr_name, iface, IFNAMSIZ); in createTunTapImpl()
103 static void bringUpInterfaceImpl(JNIEnv* env, const char* iface) { in bringUpInterfaceImpl() argument
108 strlcpy(ifr.ifr_name, iface, IFNAMSIZ); in bringUpInterfaceImpl()
110 throwException(env, errno, "read flags", iface); in bringUpInterfaceImpl()
115 throwException(env, errno, "set IFF_UP", iface); in bringUpInterfaceImpl()
[all …]
/packages/modules/Connectivity/service-t/src/com/android/server/net/
DTrafficStatsRateLimitCache.java53 public final String iface; field in TrafficStatsRateLimitCache.TrafficStatsCacheKey
56 TrafficStatsCacheKey(@Nullable String iface, int uid) { in TrafficStatsCacheKey() argument
57 this.iface = iface; in TrafficStatsCacheKey()
66 return uid == that.uid && Objects.equals(iface, that.iface); in equals()
71 return Objects.hash(iface, uid); in hashCode()
97 NetworkStats.Entry get(String iface, int uid) { in get() argument
98 final TrafficStatsCacheKey key = new TrafficStatsCacheKey(iface, uid); in get()
123 NetworkStats.Entry getOrCompute(String iface, int uid, in getOrCompute() argument
126 final NetworkStats.Entry cachedValue = get(iface, uid); in getOrCompute()
134 put(iface, uid, computedEntry); in getOrCompute()
[all …]
/packages/modules/Connectivity/service/src/com/android/server/
DTestNetworkService.java80 boolean setIffMulticast, @NonNull String iface); in nativeCreateTunTap() argument
82 private static native void nativeSetTunTapCarrierEnabled(@NonNull String iface, int tunFd, in nativeSetTunTapCarrierEnabled() argument
85 private static native void nativeBringUpInterface(String iface); in nativeBringUpInterface() argument
111 private static boolean isValidInterfaceName(@NonNull final String iface) { in isValidInterfaceName() argument
112 return iface.startsWith(CLAT_INTERFACE_PREFIX + TEST_TUN_PREFIX) in isValidInterfaceName()
113 || iface.startsWith(CLAT_INTERFACE_PREFIX + TEST_TAP_PREFIX); in isValidInterfaceName()
124 boolean disableIpv6ProvisioningDelay, LinkAddress[] linkAddrs, @Nullable String iface) { in createInterface() argument
129 String interfaceName = iface; in createInterface()
130 if (iface == null) { in createInterface()
133 } else if (!isValidInterfaceName(iface)) { in createInterface()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DMockWifiMonitor.java37 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() argument
38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler()
41 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
47 public synchronized void startMonitoring(String iface) { in startMonitoring() argument
54 public void sendMessage(String iface, int what) { in sendMessage() argument
55 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
61 public void sendMessage(String iface, int what, int arg1) { in sendMessage() argument
62 sendMessage(iface, Message.obtain(null, what, arg1, 0)); in sendMessage()
65 public void sendMessage(String iface, Message message) { in sendMessage() argument
66 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage()
[all …]
/packages/modules/Connectivity/Tethering/src/com/android/networkstack/tethering/
DBpfUtils.java77 public static void attachProgram(@NonNull String iface, boolean downstream, boolean ipv4) in attachProgram() argument
79 final InterfaceParams params = InterfaceParams.getByName(iface); in attachProgram()
81 throw new IOException("Fail to get interface params for interface " + iface); in attachProgram()
86 ether = TcUtils.isEthernet(iface); in attachProgram()
88 throw new IOException("isEthernet(" + params.index + "[" + iface + "]) failure: " + e); in attachProgram()
98 throw new IOException("tc filter add dev (" + params.index + "[" + iface in attachProgram()
108 throw new IOException("tc filter add dev (" + params.index + "[" + iface in attachProgram()
119 public static void detachProgram(@NonNull String iface, boolean ipv4) throws IOException { in detachProgram() argument
120 final InterfaceParams params = InterfaceParams.getByName(iface); in detachProgram()
122 throw new IOException("Fail to get interface params for interface " + iface); in detachProgram()
[all …]
/packages/modules/Connectivity/staticlibs/client-libs/netd/com/android/net/module/util/
DNetdUtils.java63 @NonNull String iface) { in getInterfaceConfigParcel() argument
65 return netd.interfaceGetCfg(iface); in getInterfaceConfigParcel()
125 public static void setInterfaceUp(INetd netd, String iface) { in setInterfaceUp() argument
126 final InterfaceConfigurationParcel configParcel = getInterfaceConfigParcel(netd, iface); in setInterfaceUp()
135 public static void setInterfaceDown(INetd netd, String iface) { in setInterfaceDown() argument
136 final InterfaceConfigurationParcel configParcel = getInterfaceConfigParcel(netd, iface); in setInterfaceDown()
152 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest) in tetherInterface() argument
154 tetherInterface(netd, iface, dest, 20 /* maxAttempts */, 50 /* pollingIntervalMs */); in tetherInterface()
158 public static void tetherInterface(final INetd netd, final String iface, final IpPrefix dest, in tetherInterface() argument
161 netd.tetherInterfaceAdd(iface); in tetherInterface()
[all …]
/packages/modules/Connectivity/framework-t/src/android/net/
DEthernetManager.java149 void onInterfaceStateChanged(@NonNull String iface, @InterfaceState int state, in onInterfaceStateChanged() argument
166 void onAvailabilityChanged(String iface, boolean isAvailable); in onAvailabilityChanged() argument
169 default void onInterfaceStateChanged(@NonNull String iface, @InterfaceState int state, in onInterfaceStateChanged() argument
171 onAvailabilityChanged(iface, (state >= STATE_LINK_UP)); in onInterfaceStateChanged()
193 public IpConfiguration getConfiguration(String iface) { in getConfiguration() argument
195 return mService.getConfiguration(iface); in getConfiguration()
206 public void setConfiguration(@NonNull String iface, @NonNull IpConfiguration config) { in setConfiguration() argument
208 mService.setConfiguration(iface, config); in setConfiguration()
230 public boolean isAvailable(String iface) { in isAvailable() argument
232 return mService.isAvailable(iface); in isAvailable()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hal/
DWifiStaIfaceHidlImplTest.java284 private void verifyIfaceStats(StaLinkLayerIfaceStats iface, in verifyIfaceStats() argument
286 assertEquals(iface.beaconRx, wifiLinkLayerStats.links[0].beacon_rx); in verifyIfaceStats()
287 assertEquals(iface.avgRssiMgmt, wifiLinkLayerStats.links[0].rssi_mgmt); in verifyIfaceStats()
289 assertEquals(iface.wmeBePktStats.rxMpdu, wifiLinkLayerStats.links[0].rxmpdu_be); in verifyIfaceStats()
290 assertEquals(iface.wmeBePktStats.txMpdu, wifiLinkLayerStats.links[0].txmpdu_be); in verifyIfaceStats()
291 assertEquals(iface.wmeBePktStats.lostMpdu, wifiLinkLayerStats.links[0].lostmpdu_be); in verifyIfaceStats()
292 assertEquals(iface.wmeBePktStats.retries, wifiLinkLayerStats.links[0].retries_be); in verifyIfaceStats()
294 assertEquals(iface.wmeBkPktStats.rxMpdu, wifiLinkLayerStats.links[0].rxmpdu_bk); in verifyIfaceStats()
295 assertEquals(iface.wmeBkPktStats.txMpdu, wifiLinkLayerStats.links[0].txmpdu_bk); in verifyIfaceStats()
296 assertEquals(iface.wmeBkPktStats.lostMpdu, wifiLinkLayerStats.links[0].lostmpdu_bk); in verifyIfaceStats()
[all …]
DWifiStaIfaceAidlImplTest.java112 stats.iface = new StaLinkLayerIfaceStats(); in testLinkLayerStatsAssignment()
114 stats.iface.links = new StaLinkLayerLinkStats[]{link}; in testLinkLayerStatsAssignment()
115 randomizePacketStats(r, stats.iface.links[0]); in testLinkLayerStatsAssignment()
120 randomizeContentionTimeStats(r, stats.iface.links[0]); in testLinkLayerStatsAssignment()
121 stats.iface.links[0].peers = randomizePeerInfoStats(r); in testLinkLayerStatsAssignment()
125 verifyIfaceStats(stats.iface, converted); in testLinkLayerStatsAssignment()
472 private void verifyIfaceStats(StaLinkLayerIfaceStats iface, in verifyIfaceStats() argument
474 assertEquals(iface.links[0].beaconRx, wifiLinkLayerStats.links[0].beacon_rx); in verifyIfaceStats()
475 assertEquals(iface.links[0].avgRssiMgmt, wifiLinkLayerStats.links[0].rssi_mgmt); in verifyIfaceStats()
477 assertEquals(iface.links[0].wmeBePktStats.rxMpdu, wifiLinkLayerStats.links[0].rxmpdu_be); in verifyIfaceStats()
[all …]
/packages/modules/adb/client/
Dusb_osx.cpp110 static std::unique_ptr<usb_handle> CheckInterface(IOUSBInterfaceInterface550** iface, UInt16 vendor,
150 IOUSBInterfaceInterface500 **iface = NULL; in AndroidInterfaceAdded() local
177 CFUUIDGetUUIDBytes(kIOUSBInterfaceInterfaceID500), (LPVOID*)&iface); in AndroidInterfaceAdded()
180 if (result || !iface) { in AndroidInterfaceAdded()
185 kr = (*iface)->GetInterfaceClass(iface, &if_class); in AndroidInterfaceAdded()
186 kr = (*iface)->GetInterfaceSubClass(iface, &subclass); in AndroidInterfaceAdded()
187 kr = (*iface)->GetInterfaceProtocol(iface, &protocol); in AndroidInterfaceAdded()
191 (*iface)->Release(iface); in AndroidInterfaceAdded()
199 kr = (*iface)->GetDevice(iface, &usbDevice); in AndroidInterfaceAdded()
202 (*iface)->Release(iface); in AndroidInterfaceAdded()
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DMockWifiP2pMonitor.java37 public void registerHandler(String iface, int what, Handler handler) { in registerHandler() argument
38 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in registerHandler()
41 mHandlerMap.put(iface, ifaceHandlers); in registerHandler()
47 public synchronized void startMonitoring(String iface) { in startMonitoring() argument
54 public void sendMessage(String iface, int what) { in sendMessage() argument
55 sendMessage(iface, Message.obtain(null, what)); in sendMessage()
58 public void sendMessage(String iface, Message message) { in sendMessage() argument
59 SparseArray<Handler> ifaceHandlers = mHandlerMap.get(iface); in sendMessage()
61 assertTrue("No handler for iface=" + iface + ",what=" + message.what, in sendMessage()
70 assertTrue("No handler for message with nonexistant iface, iface=" + iface in sendMessage()
/packages/modules/Connectivity/service-t/native/libs/libnetworkstats/
DBpfNetworkStats.cpp62 void bpfRegisterIface(const char* iface) { in bpfRegisterIface() argument
63 if (!iface) return; in bpfRegisterIface()
64 if (strlen(iface) >= sizeof(IfaceValue)) return; in bpfRegisterIface()
65 uint32_t ifindex = if_nametoindex(iface); in bpfRegisterIface()
68 strlcpy(ifname.name, iface, sizeof(ifname.name)); in bpfRegisterIface()
88 int bpfGetIfaceStatsInternal(const char* iface, StatsValue* stats, in bpfGetIfaceStatsInternal() argument
94 [iface, stats, ifindex2name, &unknownIfaceBytesTotal]( in bpfGetIfaceStatsInternal()
102 if (!iface || !strcmp(iface, ifname.value().name)) { in bpfGetIfaceStatsInternal()
115 int bpfGetIfaceStats(const char* iface, StatsValue* stats) { in bpfGetIfaceStats() argument
116 return bpfGetIfaceStatsInternal(iface, stats, getIfaceStatsMap(), ifindex2name); in bpfGetIfaceStats()
[all …]
/packages/modules/Connectivity/tests/integration/src/com/android/server/net/integrationtests/
DNetworkStatsIntegrationTest.kt164 val iface = cm.getLinkProperties(network)!!.interfaceName!! in <lambda>() constant
170 .setNetworkSpecifier(TestNetworkSpecifier(iface)) in <lambda>()
180 return iface in <lambda>()
411 data class StatsSnapshot(val context: Context, val iface: String) { in <lambda>() constant in com.android.server.net.integrationtests.NetworkStatsIntegrationTest.StatsSnapshot
412 val statsSummary = getNetworkSummary(iface) in <lambda>()
413 val statsUid = getUidDetail(iface, TAG_NONE) in <lambda>()
414 val taggedSummary = getTaggedNetworkSummary(iface, TEST_TAG) in <lambda>()
415 val taggedUid = getUidDetail(iface, TEST_TAG) in <lambda>()
416 val trafficStatsIface = getTrafficStatsIface(iface) in <lambda>()
419 private fun getUidDetail(iface: String, tag: Int): BareStats { in <lambda>()
[all …]

1234567891011