• Home
  • History
  • Annotate
  • only in /frameworks/opt/net/wifi/service/java/com/android/server/wifi/
NameDateSize

..11-Jun-20184 KiB

ActiveModeManager.java11-Jun-20181.1 KiB

AggressiveConnectedScore.java11-Jun-20182.1 KiB

aware/11-Jun-20184 KiB

BackupManagerProxy.java11-Jun-20181 KiB

BaseWifiDiagnostics.java11-Jun-20182 KiB

BuildProperties.java11-Jun-20181.1 KiB

ByteBufferReader.java11-Jun-20183.3 KiB

CarrierNetworkConfig.java11-Jun-20187.1 KiB

ClientModeManager.java11-Jun-20181.1 KiB

Clock.java11-Jun-20181.7 KiB

ConfigurationMap.java11-Jun-20183.6 KiB

ConnectedScore.java11-Jun-20183.4 KiB

ConnectToNetworkNotificationBuilder.java11-Jun-20186 KiB

DeletedEphemeralSsidsStoreData.java11-Jun-20183.4 KiB

DummyLogMessage.java11-Jun-20181.3 KiB

FakeWifiLog.java11-Jun-20182 KiB

FrameworkFacade.java11-Jun-20186.9 KiB

HalDeviceManager.java11-Jun-201878.6 KiB

hotspot2/11-Jun-20184 KiB

IMSIParameter.java11-Jun-20184.2 KiB

LastMileLogger.java11-Jun-20186.5 KiB

LegacyConnectedScore.java11-Jun-201810.1 KiB

LocalOnlyHotspotRequestInfo.java11-Jun-20183.8 KiB

LogcatLog.java11-Jun-20185.8 KiB

NetworkListStoreData.java11-Jun-201812.8 KiB

NetworkUpdateResult.java11-Jun-20181.8 KiB

OpenNetworkNotifier.java11-Jun-201820.4 KiB

OpenNetworkRecommender.java11-Jun-20181.9 KiB

OWNERS11-Jun-20184.3 KiB

p2p/11-Jun-20184 KiB

PropertyService.java11-Jun-20181.5 KiB

README.txt11-Jun-20182.7 KiB

RttService.java11-Jun-201832.6 KiB

SavedNetworkEvaluator.java11-Jun-201815.3 KiB

ScanDetail.java11-Jun-20186.3 KiB

ScanDetailCache.java11-Jun-201810 KiB

scanner/11-Jun-20184 KiB

ScanOnlyModeManager.java11-Jun-20181 KiB

ScanResultMatchInfo.java11-Jun-20184 KiB

ScoredNetworkEvaluator.java11-Jun-201814.7 KiB

SelfRecovery.java11-Jun-20184 KiB

SIMAccessor.java11-Jun-20181,022

SoftApManager.java11-Jun-201814.6 KiB

SoftApModeConfiguration.java11-Jun-20181.2 KiB

SsidSetStoreData.java11-Jun-20183.9 KiB

StateChangeResult.java11-Jun-20181.6 KiB

StateMachineDeathRecipient.java11-Jun-20182.5 KiB

SupplicantStaIfaceHal.java11-Jun-201883.8 KiB

SupplicantStaNetworkHal.java11-Jun-2018110.6 KiB

SupplicantStateTracker.java11-Jun-201816.6 KiB

SystemBuildProperties.java11-Jun-20181 KiB

SystemPropertyService.java11-Jun-20181.2 KiB

util/11-Jun-20184 KiB

WifiApConfigStore.java11-Jun-201812.5 KiB

WifiBackupRestore.java11-Jun-201835.6 KiB

WifiCertManager.java11-Jun-20185.1 KiB

wificond/11-Jun-20184 KiB

WificondControl.java11-Jun-201819 KiB

WifiConfigManager.java11-Jun-2018128.8 KiB

WifiConfigStore.java11-Jun-201821.9 KiB

WifiConfigurationUtil.java11-Jun-201822.3 KiB

WifiConnectivityHelper.java11-Jun-20186.6 KiB

WifiConnectivityManager.java11-Jun-201854 KiB

WifiController.java11-Jun-201838.5 KiB

WifiCountryCode.java11-Jun-20187.4 KiB

WifiDiagnostics.java11-Jun-201824.9 KiB

WifiInjector.java11-Jun-201820.1 KiB

WifiKeyStore.java11-Jun-201811.2 KiB

WifiLastResortWatchdog.java11-Jun-201823.3 KiB

WifiLockManager.java11-Jun-201810.7 KiB

WifiLog.java11-Jun-20188.1 KiB

WifiLoggerHal.java11-Jun-20182.4 KiB

WifiMetrics.java11-Jun-2018113.8 KiB

WifiMonitor.java11-Jun-201821.1 KiB

WifiMulticastLockManager.java11-Jun-20186.1 KiB

WifiNative.java11-Jun-201859.5 KiB

WifiNetworkSelector.java11-Jun-201824.8 KiB

WifiScoreReport.java11-Jun-20186.7 KiB

WifiService.java11-Jun-20181.7 KiB

WifiServiceImpl.java11-Jun-2018111.9 KiB

WifiSettingsStore.java11-Jun-20188.8 KiB

WifiShellCommand.java11-Jun-20185.2 KiB

WifiStateMachine.java11-Jun-2018323.2 KiB

WifiStateMachinePrime.java11-Jun-201816.7 KiB

WifiStateTracker.java11-Jun-20182.9 KiB

WifiTrafficPoller.java11-Jun-20188.8 KiB

WifiVendorHal.java11-Jun-201899.7 KiB

WrongPasswordNotifier.java11-Jun-20184.4 KiB

README.txt

1Path history for this code:
2
3commit date: 2013-12-18 to 2014-01-07
4commit hash: a07c419913bfae2a896fbc29e8f269ee08c4d910 (add)
5commit hash: 4a3f9cf099bbbe52dc0edb2a7e1d1c976bc335a3 (delete)
6dst:         frameworks/opt/net/wifi/service
7src:         frameworks/base/services/core/java/com/android/server/wifi
8
9commit date: 2013-12-19
10commit hash: 9158825f9c41869689d6b1786d7c7aa8bdd524ce (many more files)
11commit hash: 19c662b3df3b35756a92282bb6cc767e6407cb8a (a few files)
12dst:         frameworks/base/services/core/java/com/android/server/wifi
13src:         frameworks/base/services/java/com/android/server/wifi
14
15commit date: 2013-12-11
16commit hash: ffadfb9ffdced62db215319d3edc7717802088fb
17dst:         frameworks/base/services/java/com/android/server/wifi
18src:         frameworks/base/wifi/java/android/net/wifi
19
20commit date: 2008-10-21
21commit hash: 54b6cfa9a9e5b861a9930af873580d6dc20f773c
22dst:         frameworks/base/wifi/java/android/net/wifi
23src:         initial aosp import?
24
25////////////////////////////////////////////////////////////////
26
27Salient points about Wifi Service implementation
28
29WifiService: Implements the IWifiManager 3rd party API. The API and the device state information (screen on/off, battery state, sleep policy) go as input into the WifiController which tracks high level states as to whether STA or AP mode is operational and controls the WifiStateMachine to handle bringup and shut down.
30
31WifiController: Acts as a controller to the WifiStateMachine based on various inputs (API and device state). Runs on the same thread created in WifiService.
32
33WifiSettingsStore: Tracks the various settings (wifi toggle, airplane toggle, tethering toggle, scan mode toggle) and provides API to figure if wifi should be turned on or off.
34
35WifiTrafficPoller: Polls traffic on wifi and notifies apps listening on it.
36
37WifiNotificationController: Controls whether the open network notification is displayed or not based on the scan results.
38
39WifiStateMachine: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
40
41Feature description:
42
43Scan-only mode with Wi-Fi turned off:
44 - Setup wizard opts user into allowing scanning for improved location. We show no further dialogs in setup wizard since the user has just opted into the feature. This is the reason WifiService listens to DEVICE_PROVISIONED setting.
45 - Once the user has his device provisioned, turning off Wi-Fi from settings or from a third party app will show up a dialog reminding the user that scan mode will be on even though Wi-Fi is being turned off. The user has the choice to turn this notification off.
46 - In the scan mode, the device continues to allow scanning from any app with Wi-Fi turned off. This is done by disabling all networks and allowing only scans to be passed.
47