Home
last modified time | relevance | path

Searched refs:mIfaceName (Results 1 – 25 of 32) sorted by relevance

12

/packages/modules/Wifi/service/java/com/android/server/wifi/mockwifi/
DMockWifiNl80211Manager.java87 private String mIfaceName; field in MockWifiNl80211Manager.NormalScanEventCallback
90 mIfaceName = ifaceName; in NormalScanEventCallback()
95 Log.d(TAG, "Scan result ready event " + mIfaceName); in onScanResultReady()
96 mWifiMonitor.broadcastScanResultEvent(mIfaceName); in onScanResultReady()
101 Log.d(TAG, "Scan failed event " + mIfaceName); in onScanFailed()
102 mWifiMonitor.broadcastScanFailedEvent(mIfaceName, WifiScanner.REASON_UNSPECIFIED); in onScanFailed()
108 mWifiMonitor.broadcastScanFailedEvent(mIfaceName, errorCode); in onScanFailed()
113 private String mIfaceName; field in MockWifiNl80211Manager.PnoScanEventCallback
116 mIfaceName = ifaceName; in PnoScanEventCallback()
122 mWifiMonitor.broadcastPnoScanResultEvent(mIfaceName); in onScanResultReady()
/packages/modules/Wifi/service/java/com/android/server/wifi/
DSupplicantStaIfaceCallbackHidlImpl.java59 private final String mIfaceName; field in SupplicantStaIfaceCallbackHidlImpl
75 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackHidlImpl()
180 WifiSsid.fromBytes(NativeUtil.byteArrayFromArrayList(ssid)), mIfaceName); in onStateChanged()
190 mStaIfaceHal.updateOnLinkedNetworkRoaming(mIfaceName, id, false); in onStateChanged()
195 mIfaceName, mStaIfaceHal.getCurrentNetworkId(mIfaceName), filsHlpSent, in onStateChanged()
201 mIfaceName, mStaIfaceHal.getCurrentNetworkId(mIfaceName), wifiSsid, in onStateChanged()
231 mIfaceName, new AnqpEvent(NativeUtil.macAddressToLong(bssid), elementsMap)); in onAnqpQueryDone()
249 mIfaceName, in onHs20IconQueryDone()
260 mIfaceName, in onHs20SubscriptionRemediation()
272 mIfaceName, in onHs20DeauthImminentNotice()
[all …]
DSupplicantStaIfaceCallbackAidlImpl.java94 private final String mIfaceName; field in SupplicantStaIfaceCallbackAidlImpl
110 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackAidlImpl()
182 WifiSsid.fromBytes(ssid), mIfaceName); in handleSupplicantStateChangedEvent()
210 mStaIfaceHal.updateOnLinkedNetworkRoaming(mIfaceName, id, false); in handleSupplicantStateChangedEvent()
215 mIfaceName, mStaIfaceHal.getCurrentNetworkId(mIfaceName), filsHlpSent, in handleSupplicantStateChangedEvent()
221 mIfaceName, mStaIfaceHal.getCurrentNetworkId(mIfaceName), wifiSsid, in handleSupplicantStateChangedEvent()
283 mIfaceName, new AnqpEvent(NativeUtil.macAddressToLong(bssid), elementsMap)); in onAnqpQueryDone()
292 mIfaceName, in onHs20IconQueryDone()
302 mIfaceName, in onHs20SubscriptionRemediation()
314 mIfaceName, in onHs20DeauthImminentNotice()
[all …]
DScanOnlyModeImpl.java29 private final String mIfaceName; field in ScanOnlyModeImpl
34 mIfaceName = ifaceName; in ScanOnlyModeImpl()
44 return mWifiNative.getSupportedFeatureSet(mIfaceName); in getSupportedFeatures()
49 return mWifiNative.isWifiStandardSupported(mIfaceName, standard); in isWifiStandardSupported()
61 + " iface=" + mIfaceName in toString()
DSupplicantStaNetworkCallbackAidlImpl.java50 private final String mIfaceName; field in SupplicantStaNetworkCallbackAidlImpl
61 mIfaceName = ifaceName; in SupplicantStaNetworkCallbackAidlImpl()
76 mIfaceName, mFrameworkNetworkId, mSsid, data); in onNetworkEapSimGsmAuthRequest()
88 mIfaceName, mFrameworkNetworkId, mSsid, data); in onNetworkEapSimUmtsAuthRequest()
97 mIfaceName, mFrameworkNetworkId, mSsid); in onNetworkEapIdentityRequest()
123 mIfaceName, mFrameworkNetworkId, frameworkBits); in onTransitionDisable()
212 mIfaceName, mFrameworkNetworkId, mSsid, depth, in onServerCertificateAvailable()
222 mIfaceName, mFrameworkNetworkId, mSsid); in onPermanentIdReqDenied()
DSupplicantStaNetworkCallbackHidlImpl.java35 private final String mIfaceName; field in SupplicantStaNetworkCallbackHidlImpl
50 mIfaceName = ifaceName; in SupplicantStaNetworkCallbackHidlImpl()
66 mIfaceName, mFrameworkNetworkId, mSsid, data); in onNetworkEapSimGsmAuthRequest()
79 mIfaceName, mFrameworkNetworkId, mSsid, data); in onNetworkEapSimUmtsAuthRequest()
88 mIfaceName, mFrameworkNetworkId, mSsid); in onNetworkEapIdentityRequest()
DSupplicantStaIfaceCallbackHidlV1_4Impl.java33 private final String mIfaceName; field in SupplicantStaIfaceCallbackHidlV1_4Impl
45 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackHidlV1_4Impl()
51 mCallbackV13 = mStaIfaceHal.new SupplicantStaIfaceHalCallbackV1_3(mIfaceName); in SupplicantStaIfaceCallbackHidlV1_4Impl()
269 mWifiMonitor.broadcastWnmEvent(mIfaceName, in onHs20TermsAndConditionsAcceptanceRequestedNotification()
278 if (mStaIfaceHal.connectToFallbackSsid(mIfaceName)) { in onNetworkNotFound()
281 mWifiMonitor.broadcastNetworkNotFoundEvent(mIfaceName, in onNetworkNotFound()
283 NativeUtil.byteArrayFromArrayList(ssid)), mIfaceName).toString()); in onNetworkNotFound()
DSupplicantStaNetworkCallbackHidlV1_4Impl.java33 private final String mIfaceName; field in SupplicantStaNetworkCallbackHidlV1_4Impl
50 mIfaceName = ifaceName; in SupplicantStaNetworkCallbackHidlV1_4Impl()
95 mIfaceName, mFrameworkNetworkId, frameworkBits); in onTransitionDisable()
DSupplicantStaIfaceCallbackHidlV1_3Impl.java34 private final String mIfaceName; field in SupplicantStaIfaceCallbackHidlV1_3Impl
42 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackHidlV1_3Impl()
46 mCallbackV12 = mStaIfaceHal.new SupplicantStaIfaceHalCallbackV1_2(mIfaceName); in SupplicantStaIfaceCallbackHidlV1_3Impl()
185 WifiConfiguration curConfig = mStaIfaceHal.getCurrentNetworkLocalConfig(mIfaceName); in onPmkCacheAdded()
192 mStaIfaceHal.addPmkCacheEntry(mIfaceName, in onPmkCacheAdded()
198 + mIfaceName); in onPmkCacheAdded()
264 mWifiMonitor.broadcastBssTmHandlingDoneEvent(mIfaceName, btmFrmData); in onBssTmHandlingDone()
DSupplicantStaIfaceCallbackHidlV1_1Impl.java27 private final String mIfaceName; field in SupplicantStaIfaceCallbackHidlV1_1Impl
37 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackHidlV1_1Impl()
42 mCallbackV10 = mStaIfaceHal.new SupplicantStaIfaceHalCallback(mIfaceName); in SupplicantStaIfaceCallbackHidlV1_1Impl()
DExtendedWifiInfo.java34 private final String mIfaceName; field in ExtendedWifiInfo
41 mIfaceName = ifaceName; in ExtendedWifiInfo()
178 return mIfaceName; in getIfaceName()
DSupplicantStaIfaceCallbackHidlV1_2Impl.java38 private final String mIfaceName; field in SupplicantStaIfaceCallbackHidlV1_2Impl
48 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackHidlV1_2Impl()
53 mCallbackV11 = mStaIfaceHal.new SupplicantStaIfaceHalCallbackV1_1(mIfaceName); in SupplicantStaIfaceCallbackHidlV1_2Impl()
DWifiNative.java269 private String mIfaceName; field in WifiNative.SoftApHalCallbackFromWificond
274 mIfaceName = ifaceName; in SoftApHalCallbackFromWificond()
285 mSoftApHalCallback.onInfoChanged(mIfaceName, frequency, bandwidth, in onSoftApChannelSwitched()
291 mSoftApHalCallback.onConnectedClientsChanged(mIfaceName, in onConnectedClientsChanged()
572 private String mIfaceName; field in WifiNative.NormalScanEventCallback
575 mIfaceName = ifaceName; in NormalScanEventCallback()
581 mWifiMonitor.broadcastScanResultEvent(mIfaceName); in onScanResultReady()
587 mWifiMonitor.broadcastScanFailedEvent(mIfaceName, WifiScanner.REASON_UNSPECIFIED); in onScanFailed()
593 mWifiMonitor.broadcastScanFailedEvent(mIfaceName, errorCode); in onScanFailed()
598 private String mIfaceName; field in WifiNative.PnoScanEventCallback
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/hal/
DWifiP2pIfaceAidlImpl.java33 private String mIfaceName; field in WifiP2pIfaceAidlImpl
48 if (mIfaceName != null) return mIfaceName; in getName()
51 mIfaceName = ifaceName; in getName()
52 return mIfaceName; in getName()
DWifiApIfaceAidlImpl.java36 private String mIfaceName; field in WifiApIfaceAidlImpl
51 if (mIfaceName != null) return mIfaceName; in getName()
54 mIfaceName = ifaceName; in getName()
55 return mIfaceName; in getName()
191 mIfaceName = null; in handleRemoteException()
DWifiP2pIfaceHidlImpl.java33 private String mIfaceName; field in WifiP2pIfaceHidlImpl
48 if (mIfaceName != null) return mIfaceName; in getName()
54 mIfaceName = name; in getName()
DWifiApIfaceHidlImpl.java38 private String mIfaceName; field in WifiApIfaceHidlImpl
112 if (mIfaceName != null) return mIfaceName; in getNameInternal()
118 mIfaceName = name; in getNameInternal()
DWifiNanIfaceAidlImpl.java78 private String mIfaceName; field in WifiNanIfaceAidlImpl
142 if (mIfaceName != null) return mIfaceName; in getName()
144 mIfaceName = mWifiNanIface.getName(); in getName()
145 return mIfaceName; in getName()
1154 mIfaceName = null; in handleRemoteException()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/p2p/
DSupplicantP2pIfaceHalHidlImplTest.java106 final String mIfaceName = "virtual_interface_name"; field in SupplicantP2pIfaceHalHidlImplTest
226 mP2pIface = createIfaceInfo(IfaceType.P2P, mIfaceName); in setUp()
322 assertFalse(mDut.setupIface(mIfaceName)); in testDuplicateSetupIfaceV1_1_Fails()
338 assertTrue(mDut.teardownIface(mIfaceName)); in testTeardown_successV1_1()
347 assertFalse(mDut.teardownIface(mIfaceName)); in testInvalidTeardownInterfaceV1_1_Fails()
367 assertFalse(mDut.teardownIface(mIfaceName)); in testMisorderSupplicantDeathHandlingV1_1()
378 cb.onValues(mStatusSuccess, mIfaceName); in testGetName_success()
386 assertEquals(mIfaceName, mDut.getName()); in testGetName_success()
592 when(mISupplicantP2pIfaceMock.setPowerSave(eq(mIfaceName), anyBoolean())) in testSetPowerSave_success()
595 assertFalse(mDut.setPowerSave(mIfaceName, true)); in testSetPowerSave_success()
[all …]
DSupplicantP2pIfaceHalAidlImplTest.java120 final String mIfaceName = "virtual_interface_name"; field in SupplicantP2pIfaceHalAidlImplTest
221 assertFalse(mDut.setupIface(mIfaceName)); in testDuplicateSetupIface_Fails()
234 assertTrue(mDut.teardownIface(mIfaceName)); in testTeardown_success()
243 assertFalse(mDut.teardownIface(mIfaceName)); in testInvalidTeardownInterface_Fails()
260 assertFalse(mDut.teardownIface(mIfaceName)); in testMisorderedSupplicantDeathHandling()
268 doReturn(mIfaceName).when(mISupplicantP2pIfaceMock).getName(); in testGetName_success()
273 assertEquals(mIfaceName, mDut.getName()); in testGetName_success()
545 doNothing().when(mISupplicantP2pIfaceMock).setPowerSave(eq(mIfaceName), anyBoolean()); in testSetPowerSave_success()
547 assertFalse(mDut.setPowerSave(mIfaceName, true)); in testSetPowerSave_success()
549 assertTrue(mDut.setPowerSave(mIfaceName, true)); in testSetPowerSave_success()
[all …]
/packages/modules/Connectivity/Tethering/src/android/net/ip/
DIpServer.java264 private final String mIfaceName; field in IpServer
337 mIfaceName = ifaceName; in IpServer()
355 mLog.e("Failed to create IpNeighborMonitor on " + mIfaceName); in IpServer()
383 return mIfaceName; in interfaceName()
580 return new RouteInfo(PrefixUtils.asIpPrefix(ipv4Address), null, mIfaceName, RTN_UNICAST); in getDirectConnectedRoute()
616 mIfaceName, params, new DhcpServerCallbacksImpl(mDhcpServerStartIndex)); in startDhcp()
729 mInterfaceParams = mDeps.getInterfaceParams(mIfaceName); in startIPv6()
850 mLog.e("Failed to add " + mIfaceName + " to local table: ", e); in addInterfaceToNetwork()
889 addInterfaceToNetwork(INetd.LOCAL_NET_ID, mIfaceName); in addRoutesToLocalNetwork()
893 NetdUtils.addRoutesToLocalNetwork(mNetd, mIfaceName, toBeAdded); in addRoutesToLocalNetwork()
[all …]
/packages/modules/Connectivity/framework/src/android/net/
DLinkProperties.java62 private String mIfaceName; field in LinkProperties
188 mIfaceName = source.mIfaceName; in LinkProperties()
217 mIfaceName = iface; in setInterfaceName()
231 return mIfaceName; in getInterfaceName()
240 if (mIfaceName != null) interfaceNames.add(mIfaceName); in getAllInterfaceNames()
679 mIfaceName, in routeWithInterface()
706 if (routeIface != null && !routeIface.equals(mIfaceName)) { in addRoute()
709 + " vs. " + mIfaceName); in addRoute()
740 return Objects.equals(mIfaceName, route.getInterface()) && mRoutes.remove(route); in removeRoute()
778 addRoute(new RouteInfo(addr, null, mIfaceName)); in ensureDirectlyConnectedRoutes()
[all …]
/packages/modules/Wifi/service/java/com/android/server/wifi/scanner/
DWifiScannerImpl.java86 private final String mIfaceName; field in WifiScannerImpl
89 mIfaceName = ifaceName; in WifiScannerImpl()
96 return mIfaceName; in getIfaceName()
/packages/modules/NetworkStack/tests/integration/common/android/net/ip/
DIpClientIntegrationTestCommon.java380 private String mIfaceName; field in IpClientIntegrationTestCommon
766 enableRealAlarm("DhcpClient." + mIfaceName + ".KICK");
767 enableRealAlarm("DhcpClient." + mIfaceName + ".RENEW");
769 enableRealAlarm("IpClient." + mIfaceName + ".EVENT_IPV6_AUTOCONF_TIMEOUT");
771 enableRealAlarm("Dhcp6Client." + mIfaceName + ".KICK");
774 mIIpClient = makeIIpClient(mIfaceName, mCb);
882 mIfaceName = iface.getInterfaceName();
883 mClientMac = getIfaceMacAddr(mIfaceName).toByteArray();
949 new IpClient(mContext, mIfaceName, mCb, mNetworkStackServiceManager, mDependencies);
1419 emptyLp.setInterfaceName(mIfaceName);
[all …]
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java351 private final String mIfaceName; field in DhcpClient
409 cmdName = DhcpClient.class.getSimpleName() + "." + mIfaceName + "." + cmdName; in makeWakeupMessage()
506 mIfaceName = iface; in DhcpClient()
612 if (mIface == null) mIface = InterfaceParams.getByName(mIfaceName); in initInterface()
614 Log.e(TAG, "Can't determine InterfaceParams for " + mIfaceName); in initInterface()
634 SocketUtils.bindSocketToInterface(mUdpSock, mIfaceName); in initUdpSocket()
693 mMetricsLog.log(mIfaceName, new DhcpErrorEvent(e.errorCode)); in handlePacket()
723 mMetricsLog.log(mIfaceName, new DhcpErrorEvent(DhcpErrorEvent.RECEIVE_ERROR)); in readPacket()
2122 mMetricsLog.log(mIfaceName, event); in logState()

12