Home
last modified time | relevance | path

Searched refs:mWifiApConfigStore (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Wifi/service/java/com/android/server/wifi/
DWifiInjector.java165 private final WifiApConfigStore mWifiApConfigStore; field in WifiInjector
580 mWifiApConfigStore = new WifiApConfigStore( in WifiInjector()
742 return mWifiApConfigStore; in getWifiApConfigStore()
850 listener, callback, mWifiApConfigStore, in makeSoftApManager()
DWifiShellCommand.java210 private final WifiApConfigStore mWifiApConfigStore; field in WifiShellCommand
462 mWifiApConfigStore = wifiInjector.getWifiApConfigStore(); in WifiShellCommand()
651 mWifiApConfigStore.enableForceSoftApBandOrChannel( in onCommand()
655 mWifiApConfigStore.enableForceSoftApBandOrChannel( in onCommand()
659 mWifiApConfigStore.enableForceSoftApBandOrChannel( in onCommand()
669 mWifiApConfigStore.disableForceSoftApBandOrChannel(); in onCommand()
758 mWifiApConfigStore.enableForceSoftApBandOrChannel(band, apChannel, in onCommand()
762 mWifiApConfigStore.disableForceSoftApBandOrChannel(); in onCommand()
DSoftApManager.java201 private final WifiApConfigStore mWifiApConfigStore; field in SoftApManager
468 mWifiApConfigStore = wifiApConfigStore; in SoftApManager()
473 mCurrentSoftApConfiguration = mWifiApConfigStore.getApConfiguration(); in SoftApManager()
488 mCurrentSoftApConfiguration = mWifiApConfigStore.randomizeBssidIfUnset( in SoftApManager()
DWifiServiceImpl.java380 private final WifiApConfigStore mWifiApConfigStore; field in WifiServiceImpl
540 mWifiApConfigStore = mWifiInjector.getWifiApConfigStore(); in WifiServiceImpl()
2494 SoftApConfiguration softApConfig = mWifiApConfigStore.generateLocalOnlyHotspotConfig( in startForFirstRequestLocked()
2941 final SoftApConfiguration config = mWifiApConfigStore.getApConfiguration(); in getWifiApConfiguration()
2966 final SoftApConfiguration config = mWifiApConfigStore.getApConfiguration(); in getSoftApConfiguration()
2985 listener.onResult(mWifiApConfigStore in queryLastConfiguredTetheredApPassphraseSinceBoot()
3022 mWifiApConfigStore.setApConfiguration(softApConfig); in setWifiApConfiguration()
3048 mWifiApConfigStore.setApConfiguration(softApConfig); in setSoftApConfiguration()
5580 pw.println("WifiApConfigStore config: " + mWifiApConfigStore.getApConfiguration());
5861 mWifiApConfigStore.setApConfiguration(null);
[all …]
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiServiceImplTest.java420 @Mock WifiApConfigStore mWifiApConfigStore; field in WifiServiceImplTest
575 when(mWifiInjector.getWifiApConfigStore()).thenReturn(mWifiApConfigStore); in setUp()
1807 verify(mWifiApConfigStore).setApConfiguration(eq( in testSetWifiApConfigurationSuccess()
1818 verify(mWifiApConfigStore, never()).setApConfiguration(isNull(SoftApConfiguration.class)); in testSetWifiApConfigurationNullConfigNotSaved()
1829 verify(mWifiApConfigStore, never()).setApConfiguration(any()); in testSetWifiApConfigurationWithInvalidConfigNotSaved()
1853 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetSoftApConfigurationSuccessWithSettingPermission()
1867 verify(mWifiApConfigStore).setApConfiguration(eq(apConfig)); in testSetSoftApConfigurationSuccessWithOverridePermission()
1879 verify(mWifiApConfigStore, never()).setApConfiguration(isNull(SoftApConfiguration.class)); in testSetSoftApConfigurationNullConfigNotSaved()
1892 verify(mWifiApConfigStore, never()).setApConfiguration(any()); in testSetSoftApConfigurationWithInvalidConfigNotSaved()
1916 when(mWifiApConfigStore.getApConfiguration()).thenReturn(apConfig); in testGetSoftApConfigurationSuccess()
[all …]
DSoftApManagerTest.java204 @Mock WifiApConfigStore mWifiApConfigStore; field in SoftApManagerTest
389 when(mWifiApConfigStore.randomizeBssidIfUnset(any(), any())).thenAnswer( in setUp()
447 when(mWifiApConfigStore.getApConfiguration()).thenReturn(mDefaultApConfig); in setUp()
469 mWifiApConfigStore, in createSoftApManager()
593 when(mWifiApConfigStore.getApConfiguration()).thenReturn(null); in startSoftApDefaultConfigFailedToLoad()
629 when(mWifiApConfigStore.getApConfiguration()).thenReturn(null); in testSetupForSoftApModeNullApInterfaceNameFailureIncrementsMetrics()
2230 verify(mWifiApConfigStore, never()).randomizeBssidIfUnset(any(), any()); in resetsFactoryMacWhenRandomizationDoesntSupport()
2313 when(mWifiApConfigStore.randomizeBssidIfUnset(any(), any())).thenReturn( in setMacFailureWhenRandomMac()
2455 when(mWifiApConfigStore.randomizeBssidIfUnset(any(), any())).thenReturn( in startSoftApAndVerifyEnabled()
DActiveModeWardenTest.java164 @Mock WifiApConfigStore mWifiApConfigStore; field in ActiveModeWardenTest
1111 when(mWifiInjector.getWifiApConfigStore()).thenReturn(mWifiApConfigStore); in testStartSoftApModeTwiceWithTwoConfigs()
1313 when(mWifiInjector.getWifiApConfigStore()).thenReturn(mWifiApConfigStore); in testStopTetheringButNotLOHS()
1317 SoftApConfiguration lohsConfigWC = mWifiApConfigStore.generateLocalOnlyHotspotConfig( in testStopTetheringButNotLOHS()