• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..--

aware/15-Dec-2024-13,05710,047

b2b/15-Dec-2024-14882

coex/14-Jan-2024-1,6541,293

entitlement/15-Dec-2024-1,487866

hal/15-Dec-2024-19,06613,715

hotspot2/15-Dec-2024-16,32310,173

mockwifi/15-Dec-2024-489323

p2p/15-Dec-2024-20,39014,501

rtt/15-Dec-2024-1,9631,532

scanner/15-Dec-2024-6,7104,946

util/15-Dec-2024-16,69911,043

ActiveModeManager.javaD14-Jan-20245.9 KiB18272

ActiveModeWarden.javaD15-Dec-2024131.1 KiB2,9242,105

AdaptiveConnectivityEnabledSettingObserver.javaD14-Jan-20244.1 KiB10965

AfcClient.javaD15-Dec-202412.1 KiB293190

AfcEllipseLocation.javaD15-Dec-20247 KiB16393

AfcLocation.javaD15-Dec-20242 KiB6625

AfcLocationUtil.javaD15-Dec-20241.8 KiB5622

AfcManager.javaD15-Dec-202417 KiB433286

AfcServerResponse.javaD15-Dec-202412.9 KiB321181

AggressiveConnectedScore.javaD14-Jan-20241.8 KiB6532

ApplicationQosPolicyRequestHandler.javaD15-Dec-202431.7 KiB761533

ApplicationQosPolicyTrackingTable.javaD15-Dec-202410.1 KiB261145

AssocRejectEventInfo.javaD14-Jan-20244.9 KiB12292

AuthenticationFailureEventInfo.javaD14-Jan-20242.3 KiB6941

AvailableNetworkNotifier.javaD15-Dec-202424.3 KiB604446

BackupManagerProxy.javaD14-Jan-20241 KiB347

BackupRestoreController.javaD15-Dec-20247.3 KiB197128

BubbleFunScorer.javaD14-Jan-20244.9 KiB13564

BuildProperties.javaD14-Jan-20241.1 KiB338

ByteBufferReader.javaD14-Jan-20243.3 KiB9939

CertificateEventInfo.javaD14-Jan-20241.7 KiB6425

ClientMode.javaD15-Dec-202412.9 KiB372140

ClientModeDefaults.javaD15-Dec-20248.1 KiB288187

ClientModeImpl.javaD15-Dec-2024414.7 KiB8,8686,974

ClientModeImplListener.javaD14-Jan-20242.9 KiB7112

ClientModeImplMonitor.javaD14-Jan-20243 KiB8949

ClientModeManager.javaD14-Jan-2024818 275

ClientModeManagerBroadcastQueue.javaD14-Jan-20246.2 KiB16390

Clock.javaD14-Jan-20242 KiB7221

CompatibilityScorer.javaD14-Jan-20244.4 KiB12558

ConcreteClientModeManager.javaD15-Dec-202468.7 KiB1,7261,332

ConfigurationMap.javaD14-Jan-20245.2 KiB157101

ConnectHelper.javaD15-Dec-20243 KiB7640

ConnectToNetworkNotificationBuilder.javaD14-Jan-20248.6 KiB197121

ConnectedScore.javaD14-Jan-20244.7 KiB13841

ConnectionFailureNotificationBuilder.javaD14-Jan-20243.7 KiB8955

ConnectionFailureNotifier.javaD14-Jan-20248 KiB175127

DefaultClientModeManager.javaD14-Jan-20242.2 KiB9355

DeviceConfigFacade.javaD15-Dec-202439.4 KiB952570

DisconnectEventInfo.javaD14-Jan-20242 KiB6137

DppManager.javaD15-Dec-202445.9 KiB1,145835

DppMetrics.javaD14-Jan-202419.1 KiB401291

EapFailureNotifier.javaD15-Dec-20247.9 KiB175122

ExtendedWifiInfo.javaD15-Dec-20247.6 KiB181137

ExternalPnoScanRequestManager.javaD14-Jan-202410.4 KiB284199

ExternalScoreUpdateObserverProxy.javaD15-Dec-20245.4 KiB15198

FakeWifiLog.javaD14-Jan-20242.1 KiB10055

FrameworkFacade.javaD14-Jan-202417.2 KiB480275

HalDeviceManager.javaD15-Dec-2024122.2 KiB2,8752,011

HalDeviceManagerUtil.javaD14-Jan-20246.5 KiB163122

HostapdHal.javaD14-Jan-202410.6 KiB317196

HostapdHalAidlImp.javaD15-Dec-202438.5 KiB1,002772

HostapdHalHidlImp.javaD15-Dec-202454.3 KiB1,3451,063

IHostapdHal.javaD14-Jan-20244.1 KiB13227

IMSIParameter.javaD14-Jan-20244.7 KiB16489

ISupplicantStaIfaceHal.javaD15-Dec-202430 KiB856138

ImsiPrivacyProtectionExemptionStoreData.javaD14-Jan-20246.2 KiB161113

InsecureEapNetworkHandler.javaD15-Dec-202443.8 KiB1,008738

InterfaceConflictManager.javaD15-Dec-202424.9 KiB546365

LastMileLogger.javaD14-Jan-20247.1 KiB195128

LocalOnlyHotspotRequestInfo.javaD14-Jan-20244 KiB13365

LogcatLog.javaD15-Dec-20247.4 KiB259186

MacAddressUtil.javaD15-Dec-20245.6 KiB15295

MakeBeforeBreakManager.javaD14-Jan-202423.4 KiB526361

MboOceConstants.javaD14-Jan-202410.2 KiB206149

MboOceController.javaD15-Dec-20249.6 KiB237147

MemoryStoreImpl.javaD14-Jan-20246.6 KiB193138

MultiInternetManager.javaD14-Jan-202429.4 KiB685500

MultiInternetWifiNetworkFactory.javaD15-Dec-202411.2 KiB249182

NetworkConnectionEventInfo.javaD14-Jan-20241.7 KiB5431

NetworkListSharedStoreData.javaD14-Jan-20241.1 KiB3711

NetworkListStoreData.javaD14-Jan-202414.5 KiB331215

NetworkListUserStoreData.javaD14-Jan-20241.1 KiB3711

NetworkRequestStoreData.javaD14-Jan-202411 KiB285174

NetworkSuggestionNominator.javaD15-Dec-202422.3 KiB483386

NetworkSuggestionStoreData.javaD14-Jan-202423.9 KiB494377

NetworkUpdateResult.javaD14-Jan-20243.7 KiB12084

NoLogMessage.javaD14-Jan-20241.3 KiB5126

NonCarrierMergedNetworksStatusTracker.javaD14-Jan-20246.3 KiB15186

OemWifiNetworkFactory.javaD14-Jan-20244 KiB10874

OpenNetworkNotifier.javaD14-Jan-20242.5 KiB6034

PmkCacheManager.javaD15-Dec-202411.1 KiB293199

PropertyService.javaD14-Jan-20241.4 KiB4510

QosPolicyRequestHandler.javaD14-Jan-20249.9 KiB258190

README.txtD14-Jan-20242.7 KiB5035

RandomizedMacStoreData.javaD14-Jan-20243.9 KiB12777

RestrictedWifiNetworkFactory.javaD15-Dec-20243.6 KiB10467

RssiMonitor.javaD15-Dec-202413.4 KiB313214

RunnerHandler.javaD15-Dec-20246.7 KiB162106

RunnerState.javaD15-Dec-20245.1 KiB14678

SarInfo.javaD14-Jan-20246.8 KiB17268

SarManager.javaD15-Dec-202416.1 KiB476311

SavedNetworkNominator.javaD15-Dec-202411.9 KiB287214

ScanDetail.javaD15-Dec-20248.6 KiB236165

ScanDetailCache.javaD14-Jan-20247.7 KiB230149

ScanOnlyModeImpl.javaD14-Jan-20241.8 KiB6535

ScanRequestProxy.javaD15-Dec-202430.8 KiB735498

ScanResultMatchInfo.javaD14-Jan-20249.4 KiB248150

ScoreCardBasedScorer.javaD14-Jan-20245.3 KiB14879

ScoringParams.javaD14-Jan-202425.9 KiB689454

SelfRecovery.javaD15-Dec-202413.2 KiB313224

SimRequiredNotifier.javaD14-Jan-20243.8 KiB10064

SoftApBackupRestore.javaD14-Jan-202412.6 KiB285217

SoftApManager.javaD15-Dec-2024112.3 KiB2,3391,915

SoftApModeConfiguration.javaD15-Dec-20242.6 KiB8441

SoftApNotifier.javaD14-Jan-20243.9 KiB10261

SoftApStoreData.javaD14-Jan-20244.4 KiB13572

SsidSetStoreData.javaD14-Jan-20244.2 KiB13876

SsidTranslator.javaD15-Dec-202420.7 KiB476340

StateChangeResult.javaD14-Jan-20242.3 KiB6942

SupplicantEventInfo.javaD14-Jan-20242.1 KiB6137

SupplicantStaIfaceCallbackAidlImpl.javaD15-Dec-202474 KiB1,4061,247

SupplicantStaIfaceCallbackHidlImpl.javaD15-Dec-202447.1 KiB857755

SupplicantStaIfaceCallbackHidlV1_1Impl.javaD14-Jan-20245.2 KiB155110

SupplicantStaIfaceCallbackHidlV1_2Impl.javaD14-Jan-202410 KiB283215

SupplicantStaIfaceCallbackHidlV1_3Impl.javaD14-Jan-202417.5 KiB426355

SupplicantStaIfaceCallbackHidlV1_4Impl.javaD14-Jan-20249.9 KiB286228

SupplicantStaIfaceHal.javaD15-Dec-202493.7 KiB2,4141,649

SupplicantStaIfaceHalAidlImpl.javaD15-Dec-2024157.6 KiB4,0543,051

SupplicantStaIfaceHalHidlImpl.javaD15-Dec-2024156.2 KiB3,9582,857

SupplicantStaNetworkCallbackAidlImpl.javaD15-Dec-20249 KiB235190

SupplicantStaNetworkCallbackHidlImpl.javaD14-Jan-20243.2 KiB9257

SupplicantStaNetworkCallbackHidlV1_4Impl.javaD14-Jan-20243.5 KiB9961

SupplicantStaNetworkHalAidlImpl.javaD15-Dec-2024142.9 KiB3,8202,896

SupplicantStaNetworkHalHidlImpl.javaD14-Jan-2024171.9 KiB3,9523,347

SupplicantStateTracker.javaD14-Jan-202417.5 KiB447342

SystemBuildProperties.javaD14-Jan-20241.1 KiB4016

SystemPropertyService.javaD14-Jan-20241.2 KiB3615

ThroughputPredictor.javaD15-Dec-202424.9 KiB516371

ThroughputScorer.javaD15-Dec-202412.2 KiB286187

TwtManager.javaD15-Dec-202425.4 KiB670490

UntrustedWifiNetworkFactory.javaD15-Dec-20243.3 KiB10064

VelocityBasedConnectedScore.javaD14-Jan-20247.1 KiB196113

WakeupConfigStoreData.javaD14-Jan-202414 KiB375260

WakeupController.javaD15-Dec-202420.4 KiB529336

WakeupEvaluator.javaD14-Jan-20242.4 KiB7127

WakeupLock.javaD15-Dec-202410.2 KiB295170

WakeupNotificationFactory.javaD14-Jan-20243.6 KiB8954

WakeupOnboarding.javaD15-Dec-20248 KiB227159

WifiApConfigStore.javaD15-Dec-202435.7 KiB798592

WifiBackupDataParser.javaD14-Jan-20242 KiB5311

WifiBackupDataV1Parser.javaD15-Dec-202435.2 KiB761567

WifiBackupRestore.javaD14-Jan-202437.9 KiB822559

WifiBlocklistMonitor.javaD15-Dec-202465.5 KiB1,4741,039

WifiCandidates.javaD15-Dec-202429.5 KiB885546

WifiCarrierInfoManager.javaD15-Dec-202497.5 KiB2,4091,750

WifiCarrierInfoStoreManagerData.javaD14-Jan-20247.6 KiB213131

WifiChannelUtilization.javaD14-Jan-202413.6 KiB296182

WifiConfigManager.javaD15-Dec-2024208.3 KiB4,5792,874

WifiConfigStore.javaD15-Dec-202439.4 KiB973521

WifiConfigurationUtil.javaD15-Dec-202453.8 KiB1,262895

WifiConnectivityHelper.javaD15-Dec-20246.9 KiB182102

WifiConnectivityManager.javaD15-Dec-2024160.6 KiB3,5552,616

WifiCountryCode.javaD15-Dec-202434 KiB783513

WifiDataStall.javaD15-Dec-202426.3 KiB602448

WifiDeviceStateChangeManager.javaD15-Dec-20243.8 KiB10559

WifiDiagnostics.javaD15-Dec-202440.7 KiB1,066804

WifiDialogManager.javaD15-Dec-202444.6 KiB1,057785

WifiGlobals.javaD15-Dec-202431.2 KiB736463

WifiHealthMonitor.javaD15-Dec-202446 KiB1,104868

WifiInjector.javaD15-Dec-202457.5 KiB1,2991,037

WifiKeyStore.javaD14-Jan-202419.3 KiB467310

WifiLastResortWatchdog.javaD15-Dec-202436.2 KiB873564

WifiLinkLayerStats.javaD14-Jan-202435.1 KiB824464

WifiLocalServices.javaD14-Jan-20242.3 KiB7228

WifiLockManager.javaD15-Dec-202444.6 KiB1,187869

WifiLog.javaD14-Jan-20249.9 KiB28453

WifiLoggerHal.javaD14-Jan-20242.4 KiB5531

WifiMetrics.javaD15-Dec-2024471.5 KiB9,6537,802

WifiMonitor.javaD14-Jan-202429.1 KiB748362

WifiMulticastLockManager.javaD14-Jan-20248.3 KiB235169

WifiNative.javaD15-Dec-2024213.5 KiB5,5453,140

WifiNetworkAgent.javaD14-Jan-20245.2 KiB15297

WifiNetworkFactory.javaD15-Dec-202497.7 KiB2,1821,715

WifiNetworkSelector.javaD15-Dec-202481.4 KiB1,8161,245

WifiNetworkSuggestionsManager.javaD15-Dec-2024133.1 KiB2,8892,251

WifiNotificationManager.javaD15-Dec-20245.7 KiB152101

WifiP2pConnection.javaD15-Dec-20247.8 KiB203127

WifiPowerMetrics.javaD14-Jan-20245.4 KiB13275

WifiPseudonymManager.javaD15-Dec-202423.9 KiB572400

WifiPulledAtomLogger.javaD15-Dec-202411.6 KiB268214

WifiRoamingConfigStore.javaD15-Dec-20248.9 KiB236153

WifiScanAlwaysAvailableSettingsCompatibility.javaD14-Jan-20244.1 KiB10356

WifiScoreCard.javaD15-Dec-2024115.3 KiB2,6992,033

WifiScoreReport.javaD15-Dec-202452.3 KiB1,212896

WifiService.javaD14-Jan-20242.6 KiB7845

WifiServiceImpl.javaD15-Dec-2024390.8 KiB8,7726,669

WifiSettingsBackupRestore.javaD15-Dec-20245.4 KiB13679

WifiSettingsConfigStore.javaD15-Dec-202419.2 KiB560325

WifiSettingsStore.javaD15-Dec-202421 KiB516359

WifiShellCommand.javaD15-Dec-2024174.4 KiB3,3213,141

WifiSignalPollResults.javaD15-Dec-20245.9 KiB19473

WifiStateTracker.javaD14-Jan-20244.1 KiB12576

WifiThreadRunner.javaD15-Dec-202414.7 KiB386195

WifiTrafficPoller.javaD14-Jan-20244.3 KiB12575

WifiVendorHal.javaD15-Dec-202478.8 KiB2,1791,311

WifiVoipDetector.javaD15-Dec-20249 KiB254194

WifiWakeMetrics.javaD14-Jan-202412.3 KiB369201

WlanWakeReasonAndCounts.javaD14-Jan-20245.6 KiB16599

WrongPasswordNotifier.javaD15-Dec-20245.7 KiB13169

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
30state information (screen on/off, battery state, sleep policy) go as input into
31the WifiController which tracks high level states as to whether STA or AP mode
32is operational and controls wifi to handle bringup and shut down.
33
34WifiController: Acts as a controller to the ActiveModeWarden based on various inputs (API and device state). Runs on the same thread created in WifiService.
35
36WifiSettingsStore: 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.
37
38WifiTrafficPoller: Polls traffic on wifi and notifies apps listening on it.
39
40WifiNotificationController: Controls whether the open network notification is displayed or not based on the scan results.
41
42ActiveModeWarden: Tracks the various states on STA and AP connectivity and handles bring up and shut down.
43
44Feature description:
45
46Scan-only mode with Wi-Fi turned off:
47 - 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.
48 - 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.
49 - 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.
50