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

..23-Aug-20164 KiB

anqp/23-Aug-20164 KiB

BackupManagerProxy.java23-Aug-20161 KiB

BaseWifiLogger.java23-Aug-20161.5 KiB

BuildProperties.java23-Aug-20161.1 KiB

Clock.java23-Aug-20161.7 KiB

configparse/23-Aug-20164 KiB

ConfigurationMap.java23-Aug-20166.3 KiB

FrameworkFacade.java23-Aug-20166.3 KiB

hotspot2/23-Aug-20164 KiB

IMSIParameter.java23-Aug-20162.6 KiB

nan/23-Aug-20164 KiB

NetworkUpdateResult.java23-Aug-20161.7 KiB

p2p/23-Aug-20164 KiB

PropertyService.java23-Aug-20161.3 KiB

README.txt23-Aug-20162 KiB

RttService.java23-Aug-201626.3 KiB

ScanDetail.java23-Aug-20167.5 KiB

ScanDetailCache.java23-Aug-201611.6 KiB

scanner/23-Aug-20164 KiB

SIMAccessor.java23-Aug-20161,002

SoftApManager.java23-Aug-201617.9 KiB

StateChangeResult.java23-Aug-20161.6 KiB

SupplicantStateTracker.java23-Aug-201615.1 KiB

SystemBuildProperties.java23-Aug-20161 KiB

SystemPropertyService.java23-Aug-20161 KiB

util/23-Aug-20164 KiB

WifiApConfigStore.java23-Aug-20167.1 KiB

WifiCertManager.java23-Aug-20165.1 KiB

WifiConfigManager.java23-Aug-2016134.4 KiB

WifiConfigStore.java23-Aug-201652.8 KiB

WifiConfigurationUtil.java23-Aug-20161.8 KiB

WifiConnectivityManager.java23-Aug-201643.8 KiB

WifiController.java23-Aug-201637.4 KiB

WifiCountryCode.java23-Aug-20166.8 KiB

WifiInjector.java23-Aug-20162.1 KiB

WifiLastResortWatchdog.java23-Aug-201622.9 KiB

WifiLogger.java23-Aug-201624.3 KiB

WifiLoggerHal.java23-Aug-20162.1 KiB

WifiMetrics.java23-Aug-201644.1 KiB

WifiMonitor.java23-Aug-201657.9 KiB

WifiNative.java23-Aug-2016108 KiB

WifiNetworkHistory.java23-Aug-201630.3 KiB

WifiNetworkScoreCache.java23-Aug-20166.9 KiB

WifiNotificationController.java23-Aug-201613.6 KiB

WifiQualifiedNetworkSelector.java23-Aug-201646.5 KiB

WifiScoreReport.java23-Aug-201617.2 KiB

WifiService.java23-Aug-20161.4 KiB

WifiServiceImpl.java23-Aug-201680.3 KiB

WifiSettingsStore.java23-Aug-20168.4 KiB

WifiStateMachine.java23-Aug-2016355.4 KiB

WifiTrafficPoller.java23-Aug-20168.6 KiB

WnmData.java23-Aug-20163.3 KiB

README.txt

1This code has moved from 
2
3frameworks/base/services/java/com/android/server/wifi: gitk <SHA1 to be filled in later>
4
5Prior to that it was at
6
7frameworks/base/wifi/java/android/net/wifi: gitk ffadfb9ffdced62db215319d3edc7717802088fb
8
9////////////////////////////////////////////////////////////////
10
11Salient points about Wifi Service implementation
12
13WifiService: 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.
14
15WifiController: Acts as a controller to the WifiStateMachine based on various inputs (API and device state). Runs on the same thread created in WifiService.
16
17WifiSettingsStore: 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.
18
19WifiTrafficPoller: Polls traffic on wifi and notifies apps listening on it.
20
21WifiNotificationController: Controls whether the open network notification is displayed or not based on the scan results.
22
23WifiStateMachine: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
24
25Feature description:
26
27Scan-only mode with Wi-Fi turned off:
28 - 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.
29 - 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.
30 - 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.
31