Home | History | Annotate | only in /frameworks/opt/net/wifi/service/java/com/android/server/wifi
Up to higher level directory
NameDateSize
ActiveModeManager.java21-Aug-20182.2K
AggressiveConnectedScore.java21-Aug-20181.6K
AvailableNetworkNotifier.java21-Aug-201821.9K
aware/21-Aug-2018
BackupManagerProxy.java21-Aug-20181K
BaseWifiDiagnostics.java21-Aug-20182.4K
BuildProperties.java21-Aug-20181.1K
ByteBufferReader.java21-Aug-20183.3K
CarrierNetworkConfig.java21-Aug-20189.2K
CarrierNetworkNotifier.java21-Aug-20183.1K
ClientModeManager.java21-Aug-201813.5K
Clock.java21-Aug-20181.7K
ConfigurationMap.java21-Aug-20183.6K
ConnectedScore.java21-Aug-20183.4K
ConnectToNetworkNotificationBuilder.java21-Aug-20188K
DefaultModeManager.java21-Aug-20181.5K
DeletedEphemeralSsidsStoreData.java21-Aug-20183.5K
DummyLogMessage.java21-Aug-20181.3K
ExtendedWifiInfo.java21-Aug-20184.5K
FakeWifiLog.java21-Aug-20182.1K
FrameworkFacade.java21-Aug-20187.5K
HalDeviceManager.java21-Aug-201886.2K
HostapdHal.java21-Aug-201816.8K
hotspot2/21-Aug-2018
IMSIParameter.java21-Aug-20184.2K
LastMileLogger.java21-Aug-20186.5K
LocalOnlyHotspotRequestInfo.java21-Aug-20183.8K
LogcatLog.java21-Aug-20187.5K
NetworkListStoreData.java21-Aug-201813K
NetworkUpdateResult.java21-Aug-20181.8K
OpenNetworkNotifier.java21-Aug-20182K
OWNERS21-Aug-20184.3K
p2p/21-Aug-2018
PropertyService.java21-Aug-20181.7K
README.txt21-Aug-20182.7K
rtt/21-Aug-2018
SarManager.java21-Aug-20187.5K
SavedNetworkEvaluator.java21-Aug-201814.1K
ScanDetail.java21-Aug-20186.3K
ScanDetailCache.java21-Aug-20186.9K
scanner/21-Aug-2018
ScanOnlyModeManager.java21-Aug-201810.4K
ScanRequestProxy.java21-Aug-201817.7K
ScanResultMatchInfo.java21-Aug-20184K
ScoredNetworkEvaluator.java21-Aug-201815.5K
ScoringParams.java21-Aug-201813.6K
SelfRecovery.java21-Aug-20184.6K
SIMAccessor.java21-Aug-20181,022
SoftApManager.java21-Aug-201825.5K
SoftApModeConfiguration.java21-Aug-20181.2K
SsidSetStoreData.java21-Aug-20184K
StateChangeResult.java21-Aug-20181.6K
SupplicantStaIfaceHal.java21-Aug-2018104.9K
SupplicantStaNetworkHal.java21-Aug-2018112K
SupplicantStateTracker.java21-Aug-201816.6K
SystemBuildProperties.java21-Aug-20181K
SystemPropertyService.java21-Aug-20181.3K
util/21-Aug-2018
VelocityBasedConnectedScore.java21-Aug-20186.6K
WakeupConfigStoreData.java21-Aug-20189.4K
WakeupController.java21-Aug-201813.4K
WakeupEvaluator.java21-Aug-20183.2K
WakeupLock.java21-Aug-201810.3K
WakeupNotificationFactory.java21-Aug-20183.5K
WakeupOnboarding.java21-Aug-20188.2K
WifiApConfigStore.java21-Aug-201814.7K
WifiBackupDataParser.java21-Aug-20181.7K
WifiBackupDataV1Parser.java21-Aug-201826.8K
WifiBackupRestore.java21-Aug-201835K
wificond/21-Aug-2018
WificondControl.java21-Aug-201831.7K
WifiConfigManager.java21-Aug-2018132K
WifiConfigStore.java21-Aug-201823.7K
WifiConfigStoreLegacy.java21-Aug-201815.4K
WifiConfigurationUtil.java21-Aug-201824.5K
WifiConnectivityHelper.java21-Aug-20186.7K
WifiConnectivityManager.java21-Aug-201857K
WifiController.java21-Aug-201830.3K
WifiCountryCode.java21-Aug-20187.6K
WifiDiagnostics.java21-Aug-201825.5K
WifiInjector.java21-Aug-201826K
WifiKeyStore.java21-Aug-201811.2K
WifiLastResortWatchdog.java21-Aug-201825.7K
WifiLinkLayerStats.java21-Aug-20185K
WifiLockManager.java21-Aug-201811.2K
WifiLog.java21-Aug-20189.9K
WifiLoggerHal.java21-Aug-20182.4K
WifiMetrics.java21-Aug-2018135.2K
WifiMonitor.java21-Aug-201820.6K
WifiMulticastLockManager.java21-Aug-20186.1K
WifiNative.java21-Aug-2018105.9K
WifiNetworkHistory.java21-Aug-201830.3K
WifiNetworkSelector.java21-Aug-201825.5K
WifiPowerMetrics.java21-Aug-20183.2K
WifiScoreReport.java21-Aug-201810.8K
WifiService.java21-Aug-20181.7K
WifiServiceImpl.java21-Aug-2018118.5K
WifiSettingsStore.java21-Aug-20188.8K
WifiShellCommand.java21-Aug-20185.2K
WifiStateMachine.java21-Aug-2018258.1K
WifiStateMachinePrime.java21-Aug-201824.1K
WifiStateTracker.java21-Aug-20182.9K
WifiTrafficPoller.java21-Aug-20189.2K
WifiVendorHal.java21-Aug-2018115.5K
WifiWakeMetrics.java21-Aug-201812.3K
WrongPasswordNotifier.java21-Aug-20184.4K

README.txt

      1 Path history for this code:
      2 
      3 commit date: 2013-12-18 to 2014-01-07
      4 commit hash: a07c419913bfae2a896fbc29e8f269ee08c4d910 (add)
      5 commit hash: 4a3f9cf099bbbe52dc0edb2a7e1d1c976bc335a3 (delete)
      6 dst:         frameworks/opt/net/wifi/service
      7 src:         frameworks/base/services/core/java/com/android/server/wifi
      8 
      9 commit date: 2013-12-19
     10 commit hash: 9158825f9c41869689d6b1786d7c7aa8bdd524ce (many more files)
     11 commit hash: 19c662b3df3b35756a92282bb6cc767e6407cb8a (a few files)
     12 dst:         frameworks/base/services/core/java/com/android/server/wifi
     13 src:         frameworks/base/services/java/com/android/server/wifi
     14 
     15 commit date: 2013-12-11
     16 commit hash: ffadfb9ffdced62db215319d3edc7717802088fb
     17 dst:         frameworks/base/services/java/com/android/server/wifi
     18 src:         frameworks/base/wifi/java/android/net/wifi
     19 
     20 commit date: 2008-10-21
     21 commit hash: 54b6cfa9a9e5b861a9930af873580d6dc20f773c
     22 dst:         frameworks/base/wifi/java/android/net/wifi
     23 src:         initial aosp import?
     24 
     25 ////////////////////////////////////////////////////////////////
     26 
     27 Salient points about Wifi Service implementation
     28 
     29 WifiService: 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 
     31 WifiController: Acts as a controller to the WifiStateMachine based on various inputs (API and device state). Runs on the same thread created in WifiService.
     32 
     33 WifiSettingsStore: 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 
     35 WifiTrafficPoller: Polls traffic on wifi and notifies apps listening on it.
     36 
     37 WifiNotificationController: Controls whether the open network notification is displayed or not based on the scan results.
     38 
     39 WifiStateMachine: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
     40 
     41 Feature description:
     42 
     43 Scan-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