/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 208 private Iface getIface(@NonNull String ifaceName) { in getIface() argument 210 if (TextUtils.equals(iface.name, ifaceName)) { in getIface() 536 public void onDestroyed(@NonNull String ifaceName) { in onDestroyed() argument 542 + ifaceName); in onDestroyed() 671 public void interfaceLinkStateChanged(String ifaceName, boolean unusedIsLinkUp) { in interfaceLinkStateChanged() argument 683 final Iface ifaceWithName = mIfaceMgr.getIface(ifaceName); in interfaceLinkStateChanged() 687 + " iface=" + ifaceName); in interfaceLinkStateChanged() 691 onInterfaceStateChanged(ifaceWithName, isInterfaceUp(ifaceName)); in interfaceLinkStateChanged() 876 void onDestroyed(String ifaceName); in onDestroyed() argument 883 void onUp(String ifaceName); in onUp() argument [all …]
|
D | SupplicantStaIfaceHal.java | 304 private int getCurrentNetworkId(@NonNull String ifaceName) { in getCurrentNetworkId() argument 306 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() 320 public boolean setupIface(@NonNull String ifaceName) { in setupIface() argument 322 if (checkSupplicantStaIfaceAndLogFailure(ifaceName, methodStr) != null) return false; in setupIface() 326 ifaceHwBinder = addIfaceV1_1(ifaceName); in setupIface() 328 ifaceHwBinder = getIfaceV1_0(ifaceName); in setupIface() 334 SupplicantStaIfaceHalCallback callback = new SupplicantStaIfaceHalCallback(ifaceName); in setupIface() 341 new SupplicantStaIfaceHalCallbackV1_1(ifaceName, callback); in setupIface() 349 mISupplicantStaIfaces.put(ifaceName, iface); in setupIface() 350 mISupplicantStaIfaceCallbacks.put(ifaceName, callbackV11); in setupIface() [all …]
|
D | WificondControl.java | 114 ScanEventHandler(@NonNull String ifaceName) { in ScanEventHandler() argument 115 mIfaceName = ifaceName; in ScanEventHandler() 145 PnoScanEventHandler(@NonNull String ifaceName) { in PnoScanEventHandler() argument 146 mIfaceName = ifaceName; in PnoScanEventHandler() 324 public IClientInterface setupInterfaceForClientMode(@NonNull String ifaceName) { in setupInterfaceForClientMode() argument 332 clientInterface = mWificond.createClientInterface(ifaceName); in setupInterfaceForClientMode() 345 mClientInterfaces.put(ifaceName, clientInterface); in setupInterfaceForClientMode() 352 mWificondScanners.put(ifaceName, wificondScanner); in setupInterfaceForClientMode() 354 ScanEventHandler scanEventHandler = new ScanEventHandler(ifaceName); in setupInterfaceForClientMode() 355 mScanEventHandlers.put(ifaceName, scanEventHandler); in setupInterfaceForClientMode() [all …]
|
D | WifiVendorHal.java | 366 private IWifiStaIface getStaIface(@NonNull String ifaceName) { in getStaIface() argument 368 return mIWifiStaIfaces.get(ifaceName); in getStaIface() 380 public void onDestroyed(@NonNull String ifaceName) { in onDestroyed() argument 382 mIWifiStaIfaces.remove(ifaceName); in onDestroyed() 385 mExternalListener.onDestroyed(ifaceName); in onDestroyed() 407 String ifaceName = mHalDeviceManager.getName((IWifiIface) iface); in createStaIface() local 408 if (TextUtils.isEmpty(ifaceName)) { in createStaIface() 421 mIWifiStaIfaces.put(ifaceName, iface); in createStaIface() 422 return ifaceName; in createStaIface() 432 public boolean removeStaIface(@NonNull String ifaceName) { in removeStaIface() argument [all …]
|
D | ScanOnlyModeManager.java | 155 public void onDestroyed(String ifaceName) { 156 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 162 public void onUp(String ifaceName) { 163 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 169 public void onDown(String ifaceName) { 170 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) {
|
D | ClientModeManager.java | 173 public void onDestroyed(String ifaceName) { 174 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 175 Log.d(TAG, "STA iface " + ifaceName + " was destroyed, stopping client mode"); 187 public void onUp(String ifaceName) { 188 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 194 public void onDown(String ifaceName) { 195 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) {
|
D | HostapdHal.java | 306 public boolean addAccessPoint(@NonNull String ifaceName, @NonNull WifiConfiguration config, in addAccessPoint() argument 311 ifaceParams.ifaceName = ifaceName; in addAccessPoint() 365 mSoftApListeners.put(ifaceName, listener); in addAccessPoint() 380 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() argument 385 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint() 389 mSoftApListeners.remove(ifaceName); in removeAccessPoint() 655 public void onFailure(String ifaceName) { in onFailure() argument 656 Log.w(TAG, "Failure on iface " + ifaceName); in onFailure() 657 WifiNative.SoftApListener listener = mSoftApListeners.get(ifaceName); in onFailure()
|
D | SoftApManager.java | 321 public void onDestroyed(String ifaceName) { 322 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) { 328 public void onUp(String ifaceName) { 329 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) { 335 public void onDown(String ifaceName) { 336 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) {
|
D | HalDeviceManager.java | 469 void onDestroyed(@NonNull String ifaceName); in onDestroyed() argument 988 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 989 chipResp.value.getStaIface(ifaceName, in getAllChipInfo() 994 ifaceInfo.name = ifaceName; in getAllChipInfo() 1021 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 1022 chipResp.value.getApIface(ifaceName, in getAllChipInfo() 1027 ifaceInfo.name = ifaceName; in getAllChipInfo() 1054 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 1055 chipResp.value.getP2pIface(ifaceName, in getAllChipInfo() 1060 ifaceInfo.name = ifaceName; in getAllChipInfo() [all …]
|
D | WifiLockManager.java | 638 String ifaceName = mWifiNative.getClientInterfaceName(); in getLowLatencyModeSupport() local 639 if (ifaceName == null) { in getLowLatencyModeSupport() 643 long supportedFeatures = mWifiNative.getSupportedFeatureSet(ifaceName); in getLowLatencyModeSupport()
|
D | WifiServiceImpl.java | 565 final String ifaceName = in checkAndStartWifi() 569 handleWifiApStateChange(currState, prevState, errorCode, ifaceName, mode); in checkAndStartWifi() 965 public void updateInterfaceIpState(String ifaceName, int mode) { in updateInterfaceIpState() argument 972 updateInterfaceIpStateInternal(ifaceName, mode); in updateInterfaceIpState() 976 private void updateInterfaceIpStateInternal(String ifaceName, int mode) { in updateInterfaceIpStateInternal() argument 981 if (ifaceName != null) { in updateInterfaceIpStateInternal() 982 previousMode = mIfaceIpModes.put(ifaceName, mode); in updateInterfaceIpStateInternal() 984 Slog.d(TAG, "updateInterfaceIpState: ifaceName=" + ifaceName + " mode=" + mode in updateInterfaceIpStateInternal() 1024 if (ifaceName == null) { in updateInterfaceIpStateInternal() 1251 int currentState, int previousState, int errorCode, String ifaceName, int mode) { in handleWifiApStateChange() argument [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 91 public void teardownAndInvalidate(@Nullable String ifaceName) { in teardownAndInvalidate() argument 92 if (!TextUtils.isEmpty(ifaceName)) { in teardownAndInvalidate() 93 mSupplicantP2pIfaceHal.teardownIface(ifaceName); in teardownAndInvalidate() 100 public void onDestroyed(String ifaceName) { in onDestroyed() argument 101 Log.d(TAG, "P2P InterfaceDestroyedListener " + ifaceName); in onDestroyed() 106 teardownAndInvalidate(ifaceName); in onDestroyed() 107 mExternalListener.onDestroyed(ifaceName); in onDestroyed() 184 String ifaceName = HalDeviceManager.getName(mIWifiP2pIface); in createP2pIface() local 185 if (TextUtils.isEmpty(ifaceName)) { in createP2pIface() 190 return ifaceName; in createP2pIface() [all …]
|
D | SupplicantP2pIfaceHal.java | 248 public boolean setupIface(@NonNull String ifaceName) { in setupIface() argument 253 ifaceHwBinder = addIfaceV1_1(ifaceName); in setupIface() 255 ifaceHwBinder = getIfaceV1_0(ifaceName); in setupIface() 266 mCallback = new SupplicantP2pIfaceCallback(ifaceName, mMonitor); in setupIface() 276 private ISupplicantIface getIfaceV1_0(@NonNull String ifaceName) { in getIfaceV1_0() argument 300 if (ifaceInfo.type == IfaceType.P2P && ifaceName.equals(ifaceInfo.name)) { in getIfaceV1_0() 321 private ISupplicantIface addIfaceV1_1(@NonNull String ifaceName) { in addIfaceV1_1() argument 324 ifaceInfo.name = ifaceName; in addIfaceV1_1() 359 public boolean teardownIface(@NonNull String ifaceName) { in teardownIface() argument 364 return removeIfaceV1_1(ifaceName); in teardownIface() [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeInterfaceManagementTest.java | 1282 String ifaceName, @Mock WifiNative.InterfaceCallback callback, in executeAndValidateSetupClientInterface() argument 1285 when(mWifiVendorHal.createStaIface(anyBoolean(), any())).thenReturn(ifaceName); in executeAndValidateSetupClientInterface() 1286 assertEquals(ifaceName, mWifiNative.setupInterfaceForClientInConnectivityMode(callback)); in executeAndValidateSetupClientInterface() 1289 existingStaIface, existingApIface, ifaceName, destroyedListenerCaptor, in executeAndValidateSetupClientInterface() 1295 String ifaceName, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, in validateSetupClientInterface() argument 1311 mInOrder.verify(mWificondControl).setupInterfaceForClientMode(ifaceName); in validateSetupClientInterface() 1312 mInOrder.verify(mSupplicantStaIfaceHal).setupIface(ifaceName); in validateSetupClientInterface() 1314 mInOrder.verify(mWifiMonitor).startMonitoring(ifaceName); in validateSetupClientInterface() 1315 mInOrder.verify(mNwManagementService).getInterfaceConfig(ifaceName); in validateSetupClientInterface() 1316 mInOrder.verify(mNwManagementService).clearInterfaceAddresses(ifaceName); in validateSetupClientInterface() [all …]
|
D | WifiConnectivityHelperTest.java | 72 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in setupWifiNative() 149 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithFailureNativeCall() 169 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithInvalidMaxBssidBlacklistSize() 191 public boolean answer(String ifaceName, WifiNative.RoamingCapabilities roamCap) in verifyFirmwareRoamingCapabilityWithInvalidMaxSsidWhitelistSize()
|
D | TestUtil.java | 90 Context context, int apState, int previousState, int error, String ifaceName, in sendWifiApStateChanged() argument 99 intent.putExtra(WifiManager.EXTRA_WIFI_AP_INTERFACE_NAME, ifaceName); in sendWifiApStateChanged()
|
D | HostapdHalTest.java | 233 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G() 266 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Open_Band5G() 300 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band5G_Hidden() 338 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G_WithACS() 376 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC() 413 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_BandAny_WithACS() 451 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_BandAny_Downgraded_WithoutACS() 516 assertEquals(IFACE_NAME, mIfaceParamsCaptorV1_1.getValue().V1_0.ifaceName); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels()
|
D | HalDeviceManagerTest.java | 2455 String ifaceName, int finalChipMode, boolean multipleIfaceSupport) throws Exception { in runCreateSingleXxxInterfaceNoInitMode() argument 2473 ifaceName, in runCreateSingleXxxInterfaceNoInitMode() 2490 mInOrder.verify(chipMock.chip).removeStaIface(ifaceName); in runCreateSingleXxxInterfaceNoInitMode() 2493 mInOrder.verify(chipMock.chip).removeApIface(ifaceName); in runCreateSingleXxxInterfaceNoInitMode() 2496 mInOrder.verify(chipMock.chip).removeP2pIface(ifaceName); in runCreateSingleXxxInterfaceNoInitMode() 2499 mInOrder.verify(chipMock.chip).removeNanIface(ifaceName); in runCreateSingleXxxInterfaceNoInitMode() 2503 verify(idl).onDestroyed(ifaceName); in runCreateSingleXxxInterfaceNoInitMode() 2638 int ifaceTypeToCreate, String ifaceName, int finalChipMode, boolean lowPriority, in validateInterfaceSequence() argument 2655 doAnswer(new GetNameAnswer(ifaceName)).when(iface).getName( in validateInterfaceSequence() 2666 doAnswer(new GetNameAnswer(ifaceName)).when(iface).getName( in validateInterfaceSequence() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/scanner/ |
D | WifiScannerImpl.java | 54 String ifaceName = wifiNative.getClientInterfaceName(); 55 if (TextUtils.isEmpty(ifaceName)) { 59 ifaceName, new WifiNative.ScanCapabilities())) { 60 return new HalWifiScannerImpl(context, ifaceName, wifiNative, wifiMonitor, 63 return new WificondScannerImpl(context, ifaceName, wifiNative, wifiMonitor,
|
D | HalWifiScannerImpl.java | 47 public HalWifiScannerImpl(Context context, String ifaceName, WifiNative wifiNative, in HalWifiScannerImpl() argument 49 mIfaceName = ifaceName; in HalWifiScannerImpl()
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 146 void addInterface(String ifaceName, String hwAddress, NetworkCapabilities capabilities, in addInterface() argument 148 if (mTrackingInterfaces.containsKey(ifaceName)) { in addInterface() 149 Log.e(TAG, "Interface with name " + ifaceName + " already exists."); in addInterface() 154 Log.d(TAG, "addInterface, iface: " + ifaceName + ", capabilities: " + capabilities); in addInterface() 158 ifaceName, hwAddress, mHandler, mContext, capabilities); in addInterface() 160 mTrackingInterfaces.put(ifaceName, iface); in addInterface() 187 boolean updateInterfaceLinkState(String ifaceName, boolean up) { in updateInterfaceLinkState() argument 188 if (!mTrackingInterfaces.containsKey(ifaceName)) { in updateInterfaceLinkState() 193 Log.d(TAG, "updateInterfaceLinkState, iface: " + ifaceName + ", up: " + up); in updateInterfaceLinkState() 196 NetworkInterfaceState iface = mTrackingInterfaces.get(ifaceName); in updateInterfaceLinkState() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SystemInfo.java | 92 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() argument 93 return mWifiNative.getMacAddress(ifaceName); in getMacAddress()
|
/frameworks/base/core/jni/ |
D | android_os_HwBinder.cpp | 306 std::string ifaceName; in JHwBinder_native_getService() local 312 ifaceName = str.c_str(); in JHwBinder_native_getService() 324 …sp<IBase> ret = getRawServiceInternal(ifaceName, serviceName, retry /* retry */, false /* getStub … in JHwBinder_native_getService() 332 LOG(INFO) << "HwBinder: Starting thread pool for getting: " << ifaceName << "/" << serviceName; in JHwBinder_native_getService()
|
/frameworks/base/lowpan/java/android/net/lowpan/ |
D | LowpanManager.java | 136 String ifaceName = ifaceService.getName(); in getInterface() local 158 mInterfaceCache.get(ifaceName); in getInterface() 162 mInterfaceCache.remove(ifaceName); in getInterface()
|
/frameworks/base/services/net/java/android/net/ip/ |
D | IpServer.java | 214 String ifaceName, Looper looper, int interfaceType, SharedLog log, in IpServer() argument 217 super(ifaceName, looper); in IpServer() 218 mLog = log.forSubComponent(ifaceName); in IpServer() 223 mInterfaceCtrl = new InterfaceController(ifaceName, mNetd, mLog); in IpServer() 224 mIfaceName = ifaceName; in IpServer()
|