Home
last modified time | relevance | path

Searched refs:SoftApManager (Results 1 – 19 of 19) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DActiveModeWarden.java120 private final Set<SoftApManager> mSoftApManagers = new ArraySet<>();
338 private final ArrayDeque<SoftApManager> mSoftApManagers = new ArrayDeque<>();
355 void inter(SoftApManager softApManager) { in inter()
370 for (SoftApManager softApManager : mSoftApManagers) { in dump()
1105 public SoftApManager getTetheredSoftApManager() { in getTetheredSoftApManager()
1114 public SoftApManager getLocalOnlySoftApManager() { in getLocalOnlySoftApManager()
1183 private SoftApManager getSoftApManagerInRole(SoftApRole role) { in getSoftApManagerInRole()
1184 for (SoftApManager manager : mSoftApManagers) { in getSoftApManagerInRole()
1214 SoftApManager manager = mWifiInjector.makeSoftApManager( in startSoftApModeManager()
1232 for (SoftApManager softApManager : mSoftApManagers) { in stopSoftApModeManagers()
[all …]
DSoftApManager.java90 public class SoftApManager implements ActiveModeManager { class
194 private final Listener<SoftApManager> mModeListener;
206 SoftApManager.this.onL2Connected(clientModeManager);
422 public SoftApManager( in SoftApManager() method in SoftApManager
430 @NonNull Listener<SoftApManager> listener, in SoftApManager()
917 mModeListener.onStartFailure(SoftApManager.this); in handleStartSoftApFailure()
1089 mModeListener.onStopped(SoftApManager.this); in exit()
1162 return SoftApManager.class.getSimpleName() + "." + IdleState.class.getSimpleName() in getMessageLogRec()
1319 SoftApManager.this, getVendorData()); in processMessageImpl()
1460 SoftApManager.this, getVendorData()); in processMessageImpl()
[all …]
DWifiCountryCode.java115 } else if (activeModeManager instanceof SoftApManager) { in onActiveModeManagerAdded()
700 } else if (!isClientModeOnly && am instanceof SoftApManager) { in setCountryCodeNative()
701 SoftApManager sm = (SoftApManager) am; in setCountryCodeNative()
DWifiMetrics.java9342 private static int getSoftApStartedStartResult(@SoftApManager.StartResult int startResult) {
9344 case SoftApManager.START_RESULT_UNKNOWN:
9346 case SoftApManager.START_RESULT_SUCCESS:
9348 case SoftApManager.START_RESULT_FAILURE_GENERAL:
9351 case SoftApManager.START_RESULT_FAILURE_NO_CHANNEL:
9353 case SoftApManager.START_RESULT_FAILURE_UNSUPPORTED_CONFIG:
9355 case SoftApManager.START_RESULT_FAILURE_START_HAL:
9357 case SoftApManager.START_RESULT_FAILURE_START_HOSTAPD:
9359 case SoftApManager.START_RESULT_FAILURE_INTERFACE_CONFLICT_USER_REJECTED:
9361 case SoftApManager.START_RESULT_FAILURE_INTERFACE_CONFLICT:
[all …]
DWifiNative.java1220 @NonNull SoftApManager softApManager, @NonNull List<OuiKeyedData> vendorData) { in createApIface()
1586 @NonNull SoftApManager softApManager, @NonNull List<OuiKeyedData> vendorData) { in setupInterfaceForSoftApMode()
1595 softApManager.writeSoftApStartedEvent(SoftApManager.START_RESULT_FAILURE_START_HAL); in setupInterfaceForSoftApMode()
1604 SoftApManager.START_RESULT_FAILURE_START_HOSTAPD); in setupInterfaceForSoftApMode()
2361 public @SoftApManager.StartResult int startSoftAp(
2367 return SoftApManager.START_RESULT_FAILURE_REGISTER_AP_CALLBACK_HOSTAPD;
2375 return SoftApManager.START_RESULT_FAILURE_REGISTER_AP_CALLBACK_WIFICOND;
2385 return SoftApManager.START_RESULT_FAILURE_ADD_AP_HOSTAPD;
2388 return SoftApManager.START_RESULT_SUCCESS;
DWifiInjector.java841 public SoftApManager makeSoftApManager( in makeSoftApManager()
842 @NonNull ActiveModeManager.Listener<SoftApManager> listener, in makeSoftApManager()
848 return new SoftApManager(mContext, mWifiHandlerThread.getLooper(), mFrameworkFacade, in makeSoftApManager()
DHalDeviceManager.java110 private final Map<String, SoftApManager> mSoftApManagers = new ArrayMap<>();
372 @NonNull SoftApManager softApManager, @NonNull List<OuiKeyedData> vendorData) { in createApIface()
2322 SoftApManager softApManager = mSoftApManagers.get(name);
2591 SoftApManager bridgedSoftApManager = mSoftApManagers.get(name);
DWifiVendorHal.java405 @NonNull SoftApManager softApManager, @NonNull List<OuiKeyedData> vendorData) { in createApIface()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DActiveModeWardenTest.java166 @Mock SoftApManager mSoftApManager;
195 Listener<SoftApManager> mSoftApListener;
264 doAnswer(new Answer<SoftApManager>() { in setUp()
265 public SoftApManager answer(InvocationOnMock invocation) { in setUp()
267 mSoftApListener = (Listener<SoftApManager>) args[0]; in setUp()
634 if (manager instanceof SoftApManager) { in assertEnteredEcmMode()
1123 doAnswer(new Answer<SoftApManager>() { in testStartSoftApModeTwiceWithTwoConfigs()
1124 public SoftApManager answer(InvocationOnMock invocation) { in testStartSoftApModeTwiceWithTwoConfigs()
1126 mSoftApListener = (Listener<SoftApManager>) args[0]; in testStartSoftApModeTwiceWithTwoConfigs()
1133 SoftApManager softapManager = mock(SoftApManager.class); in testStartSoftApModeTwiceWithTwoConfigs()
[all …]
DSoftApManagerTest.java202 @Mock ActiveModeManager.Listener<SoftApManager> mListener;
240 SoftApManager mSoftApManager;
334 .thenReturn(SoftApManager.START_RESULT_SUCCESS); in setUp()
461 private SoftApManager createSoftApManager(SoftApModeConfiguration config, in createSoftApManager()
463 SoftApManager newSoftApManager = new SoftApManager( in createSoftApManager()
538 eq(SoftApManager.START_RESULT_FAILURE_INTERFACE_CONFLICT_USER_REJECTED), in startSoftApWithUserRejection()
615 eq(SoftApManager.START_RESULT_FAILURE_GENERAL), in startSoftApDefaultConfigFailedToLoad()
653 eq(SoftApManager.START_RESULT_FAILURE_GENERAL), in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
695 eq(SoftApManager.START_RESULT_FAILURE_INTERFACE_CONFLICT), in testStartSoftApNotPossibleToCreateApInterfaceIncrementsMetrics()
734 eq(SoftApManager.START_RESULT_FAILURE_CREATE_INTERFACE), in testSetupForSoftApModeEmptyInterfaceNameFailureIncrementsMetrics()
[all …]
DWifiNativeInterfaceManagementTest.java126 @Mock private SoftApManager mSoftApManager;
553 int band, boolean isBridged, SoftApManager softApManager, in testSetupClientAndSoftApInterfaceCausesClientInterfaceTeardown()
870 int band, boolean isBridged, SoftApManager softApManager, in testSetupClientInterfaceAndTriggerInterfaceUpOnDestroyedIface()
970 assertEquals(SoftApManager.START_RESULT_SUCCESS, in testStartSoftApAndHostapdDied()
999 assertEquals(SoftApManager.START_RESULT_SUCCESS, in testStartSoftApWithWifiCondCallbackAndHostapdDied()
DWifiCountryCodeTest.java99 @Mock SoftApManager mSoftApManager;
DWifiNativeTest.java281 @Mock private SoftApManager mSoftApManager;
DWifiVendorHalTest.java136 private SoftApManager mSoftApManager;
DHalDeviceManagerTest.java134 @Mock private SoftApManager mSoftApManager;
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DApConfigUtil.java58 import com.android.server.wifi.SoftApManager;
877 public static @SoftApManager.StartResult int updateApChannelConfig(WifiNative wifiNative, in updateApChannelConfig()
887 return SoftApManager.START_RESULT_SUCCESS; in updateApChannelConfig()
894 return SoftApManager.START_RESULT_FAILURE_GENERAL; in updateApChannelConfig()
904 return SoftApManager.START_RESULT_FAILURE_NO_CHANNEL; in updateApChannelConfig()
925 return SoftApManager.START_RESULT_SUCCESS; in updateApChannelConfig()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/util/
DApConfigUtilTest.java63 import com.android.server.wifi.SoftApManager;
776 assertEquals(SoftApManager.START_RESULT_SUCCESS, in updateApChannelConfigWithoutHal()
793 assertEquals(SoftApManager.START_RESULT_FAILURE_GENERAL, in updateApChannelConfig5GBandNoCountryCode()
806 assertEquals(SoftApManager.START_RESULT_SUCCESS, in updateApChannelConfigWithChannelSpecified()
825 assertEquals(SoftApManager.START_RESULT_FAILURE_NO_CHANNEL, in updateApChannelConfigWith5GBandNoChannelAllowed()
854 assertEquals(SoftApManager.START_RESULT_SUCCESS, in updateApChannelConfigWithAcsDisabledOemConfigured()
878 assertEquals(SoftApManager.START_RESULT_SUCCESS, in updateApChannelConfigWithAcsEnabled()
/packages/modules/Wifi/service/tests/wifitests/
DAndroid.bp398 "com.android.server.wifi.SoftApManager",
399 "com.android.server.wifi.SoftApManager$*",
400 "com.android.server.wifi.SoftApManager.**",
/packages/modules/Wifi/service/proto/src/
Dmetrics.proto1281 // SoftApManager return code unknown