/packages/modules/Wifi/service/java/com/android/server/wifi/ |
D | ActiveModeWarden.java | 120 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 …]
|
D | SoftApManager.java | 90 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 …]
|
D | WifiCountryCode.java | 115 } else if (activeModeManager instanceof SoftApManager) { in onActiveModeManagerAdded() 700 } else if (!isClientModeOnly && am instanceof SoftApManager) { in setCountryCodeNative() 701 SoftApManager sm = (SoftApManager) am; in setCountryCodeNative()
|
D | WifiMetrics.java | 9342 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 …]
|
D | WifiNative.java | 1220 @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;
|
D | WifiInjector.java | 841 public SoftApManager makeSoftApManager( in makeSoftApManager() 842 @NonNull ActiveModeManager.Listener<SoftApManager> listener, in makeSoftApManager() 848 return new SoftApManager(mContext, mWifiHandlerThread.getLooper(), mFrameworkFacade, in makeSoftApManager()
|
D | HalDeviceManager.java | 110 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);
|
D | WifiVendorHal.java | 405 @NonNull SoftApManager softApManager, @NonNull List<OuiKeyedData> vendorData) { in createApIface()
|
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/ |
D | ActiveModeWardenTest.java | 166 @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 …]
|
D | SoftApManagerTest.java | 202 @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 …]
|
D | WifiNativeInterfaceManagementTest.java | 126 @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()
|
D | WifiCountryCodeTest.java | 99 @Mock SoftApManager mSoftApManager;
|
D | WifiNativeTest.java | 281 @Mock private SoftApManager mSoftApManager;
|
D | WifiVendorHalTest.java | 136 private SoftApManager mSoftApManager;
|
D | HalDeviceManagerTest.java | 134 @Mock private SoftApManager mSoftApManager;
|
/packages/modules/Wifi/service/java/com/android/server/wifi/util/ |
D | ApConfigUtil.java | 58 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/ |
D | ApConfigUtilTest.java | 63 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/ |
D | Android.bp | 398 "com.android.server.wifi.SoftApManager", 399 "com.android.server.wifi.SoftApManager$*", 400 "com.android.server.wifi.SoftApManager.**",
|
/packages/modules/Wifi/service/proto/src/ |
D | metrics.proto | 1281 // SoftApManager return code unknown
|