/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiNative.java | 225 private Iface getIface(@NonNull String ifaceName) { in getIface() argument 227 if (TextUtils.equals(iface.name, ifaceName)) { in getIface() 333 NormalScanEventCallback(String ifaceName) { in NormalScanEventCallback() argument 334 mIfaceName = ifaceName; in NormalScanEventCallback() 353 PnoScanEventCallback(String ifaceName) { in PnoScanEventCallback() argument 354 mIfaceName = ifaceName; in PnoScanEventCallback() 595 public void onDestroyed(@NonNull String ifaceName) { in onDestroyed() argument 601 + ifaceName); in onDestroyed() 730 public void interfaceLinkStateChanged(String ifaceName, boolean unusedIsLinkUp) { in interfaceLinkStateChanged() argument 742 final Iface ifaceWithName = mIfaceMgr.getIface(ifaceName); in interfaceLinkStateChanged() [all …]
|
D | SupplicantStaIfaceHal.java | 314 protected int getCurrentNetworkId(@NonNull String ifaceName) { in getCurrentNetworkId() argument 316 WifiConfiguration currentConfig = getCurrentNetworkLocalConfig(ifaceName); in getCurrentNetworkId() 324 private boolean trySetupStaIfaceV1_3(@NonNull String ifaceName, in trySetupStaIfaceV1_3() argument 329 new SupplicantStaIfaceHalCallbackV1_3(ifaceName); in trySetupStaIfaceV1_3() 334 mISupplicantStaIfaceCallbacks.put(ifaceName, callbackV13); in trySetupStaIfaceV1_3() 338 private boolean trySetupStaIfaceV1_2(@NonNull String ifaceName, in trySetupStaIfaceV1_2() argument 343 if (trySetupStaIfaceV1_3(ifaceName, iface)) { in trySetupStaIfaceV1_2() 349 new SupplicantStaIfaceHalCallbackV1_2(ifaceName); in trySetupStaIfaceV1_2() 354 mISupplicantStaIfaceCallbacks.put(ifaceName, callbackV12); in trySetupStaIfaceV1_2() 358 private boolean trySetupStaIfaceV1_1(@NonNull String ifaceName, in trySetupStaIfaceV1_1() argument [all …]
|
D | WifiVendorHal.java | 410 private IWifiStaIface getStaIface(@NonNull String ifaceName) { in getStaIface() argument 412 return mIWifiStaIfaces.get(ifaceName); in getStaIface() 424 public void onDestroyed(@NonNull String ifaceName) { in onDestroyed() argument 426 mIWifiStaIfaces.remove(ifaceName); in onDestroyed() 429 mExternalListener.onDestroyed(ifaceName); in onDestroyed() 448 String ifaceName = mHalDeviceManager.getName((IWifiIface) iface); in createStaIface() local 449 if (TextUtils.isEmpty(ifaceName)) { in createStaIface() 462 mIWifiStaIfaces.put(ifaceName, iface); in createStaIface() 463 return ifaceName; in createStaIface() 473 public boolean removeStaIface(@NonNull String ifaceName) { in removeStaIface() argument [all …]
|
D | BaseWifiDiagnostics.java | 32 public synchronized void startLogging(@NonNull String ifaceName) { in startLogging() argument 46 public synchronized void stopLogging(@NonNull String ifaceName) { } in stopLogging() argument 82 public void startPktFateMonitoring(@NonNull String ifaceName) {} in startPktFateMonitoring() argument
|
D | WifiDiagnostics.java | 166 public synchronized void startLogging(@NonNull String ifaceName) { in startLogging() argument 167 if (mActiveInterfaces.contains(ifaceName)) { in startLogging() 168 Log.w(TAG, "Interface: " + ifaceName + " had already started logging"); in startLogging() 183 mActiveInterfaces.add(ifaceName); in startLogging() 186 + " after adding " + ifaceName); in startLogging() 215 public synchronized void stopLogging(@NonNull String ifaceName) { in stopLogging() argument 216 if (!mActiveInterfaces.contains(ifaceName)) { in stopLogging() 217 Log.w(TAG, "ifaceName: " + ifaceName + " is not in the start log user list"); in stopLogging() 221 mActiveInterfaces.remove(ifaceName); in stopLogging() 224 + " after removing " + ifaceName); in stopLogging() [all …]
|
D | HostapdHal.java | 412 public boolean addAccessPoint(@NonNull String ifaceName, @NonNull SoftApConfiguration config, in addAccessPoint() argument 417 ifaceParams.ifaceName = ifaceName; in addAccessPoint() 527 mSoftApFailureListeners.put(ifaceName, onFailureListener); in addAccessPoint() 545 public boolean removeAccessPoint(@NonNull String ifaceName) { in removeAccessPoint() argument 550 HostapdStatus status = mIHostapd.removeAccessPoint(ifaceName); in removeAccessPoint() 554 mSoftApFailureListeners.remove(ifaceName); in removeAccessPoint() 571 public boolean forceClientDisconnect(@NonNull String ifaceName, in forceClientDisconnect() argument 596 iHostapdV1_2.forceClientDisconnect(ifaceName, in forceClientDisconnect() 1030 public void onFailure(String ifaceName) { in onFailure() argument 1031 Log.w(TAG, "Failure on iface " + ifaceName); in onFailure() [all …]
|
D | ClientModeManager.java | 416 public void onDestroyed(String ifaceName) { 417 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 418 Log.d(TAG, "STA iface " + ifaceName + " was destroyed, stopping client mode"); 430 public void onUp(String ifaceName) { 431 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) { 437 public void onDown(String ifaceName) { 438 if (mClientInterfaceName != null && mClientInterfaceName.equals(ifaceName)) {
|
D | SupplicantStaIfaceCallbackV1_1Impl.java | 34 @NonNull String ifaceName, in SupplicantStaIfaceCallbackV1_1Impl() argument 38 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackV1_1Impl()
|
D | HalDeviceManager.java | 474 void onDestroyed(@NonNull String ifaceName); in onDestroyed() argument 1028 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 1029 chipResp.value.getStaIface(ifaceName, in getAllChipInfo() 1034 ifaceInfo.name = ifaceName; in getAllChipInfo() 1061 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 1062 chipResp.value.getApIface(ifaceName, in getAllChipInfo() 1067 ifaceInfo.name = ifaceName; in getAllChipInfo() 1094 for (String ifaceName: ifaceNamesResp.value) { in getAllChipInfo() 1095 chipResp.value.getP2pIface(ifaceName, in getAllChipInfo() 1100 ifaceInfo.name = ifaceName; in getAllChipInfo() [all …]
|
D | SupplicantStaIfaceCallbackV1_2Impl.java | 42 @NonNull String ifaceName, in SupplicantStaIfaceCallbackV1_2Impl() argument 45 mIfaceName = ifaceName; in SupplicantStaIfaceCallbackV1_2Impl()
|
D | SoftApManager.java | 535 public void onDestroyed(String ifaceName) { 536 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) { 542 public void onUp(String ifaceName) { 543 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) { 549 public void onDown(String ifaceName) { 550 if (mApInterfaceName != null && mApInterfaceName.equals(ifaceName)) {
|
/frameworks/base/wifi/java/android/net/wifi/nl80211/ |
D | WifiNl80211Manager.java | 547 public boolean setupInterfaceForClientMode(@NonNull String ifaceName, in setupInterfaceForClientMode() argument 562 clientInterface = mWificond.createClientInterface(ifaceName); in setupInterfaceForClientMode() 575 mClientInterfaces.put(ifaceName, clientInterface); in setupInterfaceForClientMode() 582 mWificondScanners.put(ifaceName, wificondScanner); in setupInterfaceForClientMode() 585 mScanEventHandlers.put(ifaceName, scanEventHandler); in setupInterfaceForClientMode() 589 mPnoScanEventHandlers.put(ifaceName, pnoScanEventHandler); in setupInterfaceForClientMode() 606 public boolean tearDownClientInterface(@NonNull String ifaceName) { in tearDownClientInterface() argument 607 if (getClientInterface(ifaceName) == null) { in tearDownClientInterface() 612 IWifiScannerImpl scannerImpl = mWificondScanners.get(ifaceName); in tearDownClientInterface() 629 success = mWificond.tearDownClientInterface(ifaceName); in tearDownClientInterface() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/p2p/ |
D | WifiP2pNative.java | 97 public void teardownAndInvalidate(@Nullable String ifaceName) { in teardownAndInvalidate() argument 98 if (!TextUtils.isEmpty(ifaceName)) { in teardownAndInvalidate() 99 mSupplicantP2pIfaceHal.teardownIface(ifaceName); in teardownAndInvalidate() 106 public void onDestroyed(String ifaceName) { in onDestroyed() argument 107 Log.d(TAG, "P2P InterfaceDestroyedListener " + ifaceName); in onDestroyed() 112 teardownAndInvalidate(ifaceName); in onDestroyed() 113 mExternalListener.onDestroyed(ifaceName); in onDestroyed() 191 String ifaceName = HalDeviceManager.getName(mIWifiP2pIface); in createP2pIface() local 192 if (TextUtils.isEmpty(ifaceName)) { in createP2pIface() 197 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/service/java/com/android/server/wifi/scanner/ |
D | WifiScannerImpl.java | 48 @NonNull String ifaceName); in create() argument 57 @NonNull String ifaceName) { 60 if (TextUtils.isEmpty(ifaceName)) { 64 ifaceName, new WifiNative.ScanCapabilities())) { 65 return new HalWifiScannerImpl(context, ifaceName, wifiNative, wifiMonitor, 68 return new WificondScannerImpl(context, ifaceName, wifiNative, wifiMonitor, 86 WifiScannerImpl(@NonNull String ifaceName) { in WifiScannerImpl() argument 87 mIfaceName = ifaceName; in WifiScannerImpl()
|
D | HalWifiScannerImpl.java | 46 public HalWifiScannerImpl(Context context, String ifaceName, WifiNative wifiNative, in HalWifiScannerImpl() argument 48 super(ifaceName); in HalWifiScannerImpl()
|
D | WifiScanningServiceImpl.java | 477 for (String ifaceName : ifaceNamesOfImplsToTeardown) { in setupScannerImpls() 478 WifiScannerImpl impl = mScannerImpls.remove(ifaceName); in setupScannerImpls() 481 Log.i(TAG, "Removed an impl for " + ifaceName); in setupScannerImpls() 483 for (String ifaceName : ifaceNamesOfImplsToSetup) { in setupScannerImpls() 484 WifiScannerImpl impl = mScannerImplFactory.create(mContext, mLooper, mClock, ifaceName); in setupScannerImpls() 486 loge("Failed to create scanner impl for " + ifaceName); in setupScannerImpls() 492 mScannerImpls.put(ifaceName, impl); in setupScannerImpls() 493 Log.i(TAG, "Created a new impl for " + ifaceName); in setupScannerImpls() 495 Log.i(TAG, "All the channels on the new impl for iface " + ifaceName in setupScannerImpls() 505 String ifaceName = entry.getKey(); in teardownScannerImpls() local [all …]
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/ |
D | WifiNativeInterfaceManagementTest.java | 1330 String ifaceName, @Mock WifiNative.InterfaceCallback callback, in executeAndValidateSetupClientInterface() argument 1333 when(mWifiVendorHal.createStaIface(any())).thenReturn(ifaceName); in executeAndValidateSetupClientInterface() 1334 assertEquals(ifaceName, mWifiNative.setupInterfaceForClientInConnectivityMode(callback)); in executeAndValidateSetupClientInterface() 1337 existingStaIface, existingApIface, ifaceName, destroyedListenerCaptor, in executeAndValidateSetupClientInterface() 1343 String ifaceName, ArgumentCaptor<InterfaceDestroyedListener> destroyedListenerCaptor, in validateSetupClientInterface() argument 1359 mInOrder.verify(mWificondControl).setupInterfaceForClientMode(eq(ifaceName), any(), any(), in validateSetupClientInterface() 1361 mInOrder.verify(mSupplicantStaIfaceHal).setupIface(ifaceName); in validateSetupClientInterface() 1363 mInOrder.verify(mWifiMonitor).startMonitoring(ifaceName); in validateSetupClientInterface() 1364 mInOrder.verify(mNetdWrapper).isInterfaceUp(ifaceName); in validateSetupClientInterface() 1365 mInOrder.verify(mNetdWrapper).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 | 80 Context context, int apState, int previousState, int error, String ifaceName, in sendWifiApStateChanged() argument 89 intent.putExtra(WifiManager.EXTRA_WIFI_AP_INTERFACE_NAME, ifaceName); in sendWifiApStateChanged()
|
D | HostapdHalTest.java | 266 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G() 299 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Open_Band5G() 334 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band5G_Hidden() 373 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G_WithACS() 413 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_Band2G_WithIeee80211AC() 451 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_BandAny_WithACS() 488 assertEquals(IFACE_NAME, mIfaceParamsCaptor.getValue().ifaceName); in testAddAccessPointSuccess_Psk_WithoutACS() 557 assertEquals(IFACE_NAME, mIfaceParamsCaptorV1_1.getValue().V1_0.ifaceName); in testAddAccessPointSuccess_Psk_BandAny_WithACS_AcsChannels() 959 assertEquals(IFACE_NAME, mIfaceParamsCaptorV12.getValue().V1_1.V1_0.ifaceName); in testAddAccessPointSuccess_SAE_WithoutACS() 1005 assertEquals(IFACE_NAME, mIfaceParamsCaptorV12.getValue().V1_1.V1_0.ifaceName); in testAddAccessPointSuccess_SAE_Transition_WithoutACS() [all …]
|
/frameworks/opt/net/ethernet/java/com/android/server/ethernet/ |
D | EthernetNetworkFactory.java | 145 void addInterface(String ifaceName, String hwAddress, NetworkCapabilities capabilities, in addInterface() argument 147 if (mTrackingInterfaces.containsKey(ifaceName)) { in addInterface() 148 Log.e(TAG, "Interface with name " + ifaceName + " already exists."); in addInterface() 153 Log.d(TAG, "addInterface, iface: " + ifaceName + ", capabilities: " + capabilities); in addInterface() 157 ifaceName, hwAddress, mHandler, mContext, capabilities, this); in addInterface() 159 mTrackingInterfaces.put(ifaceName, iface); in addInterface() 186 boolean updateInterfaceLinkState(String ifaceName, boolean up) { in updateInterfaceLinkState() argument 187 if (!mTrackingInterfaces.containsKey(ifaceName)) { in updateInterfaceLinkState() 192 Log.d(TAG, "updateInterfaceLinkState, iface: " + ifaceName + ", up: " + up); in updateInterfaceLinkState() 195 NetworkInterfaceState iface = mTrackingInterfaces.get(ifaceName); in updateInterfaceLinkState() [all …]
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | SystemInfo.java | 90 public String getMacAddress(@NonNull String ifaceName) { in getMacAddress() argument 91 return mWifiNative.getMacAddress(ifaceName); in getMacAddress()
|
/frameworks/base/core/jni/ |
D | android_os_HwBinder.cpp | 310 std::string ifaceName; in JHwBinder_native_getService() local 316 ifaceName = str.c_str(); in JHwBinder_native_getService() 328 …sp<IBase> ret = getRawServiceInternal(ifaceName, serviceName, retry /* retry */, false /* getStub … in JHwBinder_native_getService() 336 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()
|