History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0091305175e8c6fe7fc6d01efb9d405961db4ac7 03-Jun-2016 Ningyuan Wang <nywang@google.com> Continue supporting persisting country code

Some devices rely on Setup Wizard to set a persistent country
code.
This CL honors the persistent option, fixing corresponding 5GHz AP
problem.
This also includes addtional unit tests for this change.

BUG=28127280
TEST=compile
TEST=runtest frameworks-wifi
Change-Id: I2f36216e143d0ac4959f26a9965def061a06aabf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a7bf9d90d68a4833cc3c64da98024167931c4b1e 22-Apr-2016 pkanwar <pkanwar@google.com> Fix the string equality check, to avoid a possible NPE.

b/27905553 This fixes CTS failures in testProtectedBroadcasts in
android.permission.cts.TelephonyManagerPermissionTest.

Currently the "state" variable can be null, so the equality condition
has been rearranged to avoid the NPE.

Change-Id: I0326df8680c6e37bc2151a38f8f74305b3f8de79
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c48fd721a9a3273f0faa927d93caad4c9832af7d 11-Apr-2016 Adam Lesinski <adamlesinski@google.com> Implement new async response for controller activity info

Bug:26842468
Change-Id: Ic031dd6b5781c11aaec97f9c2b943dbd3f9317bf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
4cd91e207897c250c7fc0e6ed3176698dce29093 11-Apr-2016 Samuel Tan <samueltan@google.com> Merge "Rename enableAutoJoinWhenAssociated()" into nyc-dev
43eba5ba17a9af5d9a050a4ba5e12e93c92f722d 08-Apr-2016 Samuel Tan <samueltan@google.com> Rename enableAutoJoinWhenAssociated()

Rename instances of the abovementioned method to
setEnableAutoJoinWhenAssociated(), to better reflect
that this method is a setter.

BUG: 28088867
Change-Id: I2ea170c8b3f1042356014f9ac57035d78302db76
TEST: 'runtest frameworks-wifi' passes.
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
48444cb4214a48a3a0bf4bbb93945c2aa68c9980 01-Apr-2016 Mitchell Wills <mwills@google.com> Move single scan blaming from WifiStateMachine to WifiScanningService

Bug: 27247460
Change-Id: Id855329450659b8b762fcb0bf9dba5a0b551604e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
466158a6669d51541ce6c5c4e04a71dad36cdb4e 01-Apr-2016 Randy Pan <zpan@google.com> Enable/disable WifiConnectivityManager at runtime

Add support to turn on and off WifiConnectivityManager at
runtime.

Bug: 27968625
Change-Id: I3583d1564a78a6db7227d2fa5a91e859cef83776
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2a9dc4d883484e006054433426be91c6e675754c 07-Apr-2016 Randy Pan <zpan@google.com> Merge "Wifi Connectivity Manager" into nyc-dev
84d962ec8f487f824214744498bba505a6db0c59 11-Feb-2016 Randy Pan <zpan@google.com> Wifi Connectivity Manager

Created a submodule which manages all the WiFi connectivity
related operations. It starts a scan when screen turns on/off,
WiFI gets connected/disconnected or on demand. The scan results
are passed to QNS for it to recommend a network to connect to.

Clean up the relevant logic from WifiStateMachine.

Bug: 26666366
Bug: 27227489
Bug: 27677391
Bug: 27364917
Change-Id: I65405506ff55940d0b23f1407e476bff6fce47fa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
78b8d2feb70093e8717e924ed41176d6d8417e60 05-Apr-2016 Paul Jensen <pauljensen@google.com> Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev
3e954f2804d376c9ca08e23c00b266c668f65e53 25-Mar-2016 Paul Jensen <pauljensen@google.com> Plumb WiFi multicast filter through to ApfFilter

Use APF to implement WifiManager.MulticastLock, if APF isn't available
fallback to the present behavior of using DRIVER RXFILTER. Since we
don't know whether APF is supported until we're connected, postpone
enabling/disabling the multicast filter until then; this should be
fine as there isn't much need to filter packets if there aren't any
packets going by since we're not connected.

Bug: 26238573
Change-Id: I96515cd99f8899aea70f99029c73816b1b172c80
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9c8892ebd2ec5340785f6b787805fdc6088069d7 30-Mar-2016 Roshan Pius <rpius@google.com> Fix null pointer exception in reportActivityInfo

Fix null pointer exception when tx_timer_per_level is null.

BUG: 27924555
Change-Id: I83240a63e1163ab7888f3a0777408f3cb271bd86
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
bf4982c6b1e230a3659e30eb47290e49c7034b14 29-Mar-2016 Roshan Pius <rpius@google.com> Merge changes from topic 'wifi_tx_power_levels' into nyc-dev

* changes:
Read new HAL tx_time_per_level structure element
Send wifi tx power levels to BatteryStats
675de6070a3c1980fcc99bc6863b2689bfeb0271 28-Mar-2016 Lorenzo Colitti <lorenzo@google.com> Make wifi code pass through IpManager dump requests.

"adb shell dumpsys wifi ipmanager <args>" is now passed along
to IpManager.

Bug: 26991160
Change-Id: Ib84b2003719075416c71998477e8189072eb4480
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
40abf54c81c5624641543d86e1d7ab21ebe30175 08-Mar-2016 Paul Stewart <pstew@google.com> WifiNotificationController: Take a looper

This CL adds a Looper argument to the WifiNotificationController
constructor, so its Handler can be initialized with a specific
looper instead of relying on the default.

Bug: 27545448
Test: runtest frameworks-wifi \
-c 'com.android.server.wifi.WifiNotificationControllerTest' \
-m 'verifyNotificationDisplayed'

Change-Id: I33fb221ddfead0b24d98bd23c92c0226ff3c6a1d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a1514cb347fccf11566e5172ed71030c695d2abd 16-Mar-2016 Roshan Pius <rpius@google.com> Send wifi tx power levels to BatteryStats

This CL just plumbs in the values received from HAL to BatteryStats.

The actual power estimation due to these power levels will need to wait
for the new config.xml additions.

BUG: 27227497
Change-Id: Ic4ee5a286c765658b10a573e84296a8cf35d4d5b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d02611ce4158fda6c2d14ee13ad7f9553f416d21 02-Mar-2016 Ningyuan Wang <nywang@google.com> Wifi country code refactoring

This CL pulls coutry code logic into one class.
This also refactors all the existing country code logic.
We do not set country code for P2p interface now because
this is redundant. wpa_supplicant will route all the request
to the real interface.
Some initial unittests are added.

Bug: 27477896
TEST: compile, runtest frameworks-wifi,
manually tested with an angler phone
Change-Id: I870c3ad615a1f9bfb3fb40b149b9ca71dc850cdd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
ef7480f78d994c786248a1ee8a601abf39aec696 11-Mar-2016 Glen Kuhne <kuh@google.com> resolve merge conflicts of ea91131081 to nyc-dev

Change-Id: I0662ccf4f80c3b0b48314aef3a5807ce27a13659
637a86ffb3a036a4f26a471378b57d8817f35c25 08-Mar-2016 Glen Kuhne <kuh@google.com> Created WifiInjector, dependency injector for wifi

Created a new class WifiInjector, a lazy singleton for dependency
injection. Initial use case was accessing WifiMetrics from within
WifiScanningService, will allow for easy mocking, and is a potential
candidate to replace the mess that is FrameworkFacade.

BUG=27550630
BUG=25691077

Change-Id: I0b1a99f718912fe6ee9a1453ff275b5dfedce6fd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
7bbcebafd698aee1b18062f9b2120c70c1fc6c47 26-Feb-2016 Mitchell Wills <mwills@google.com> Merge "Remove a bunch of dead wifi code" into mm-wireless-dev
am: 2691cf8a53

* commit '2691cf8a53d13c47eccf71e9c16c3cb9ef35af27':
Remove a bunch of dead wifi code
2af03130d7f85823223b8591dc52858d851b301d 24-Feb-2016 Mitchell Wills <mwills@google.com> Remove a bunch of dead wifi code

Bug: 26907933

Change-Id: I3398b9bc9a2c915319ac4533b402ba400588f6e8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9456d35ba321fa5e9cd629e416bb8bb78e8166e4 25-Feb-2016 Paul Stewart <pstew@google.com> Merge "WifiNotificationController: Ignore "SCANNING" network state" into mm-wireless-dev
am: e08c8038a4

* commit 'e08c8038a432eb68a3493abdfa7e69d92bad3b80':
WifiNotificationController: Ignore "SCANNING" network state
e08c8038a432eb68a3493abdfa7e69d92bad3b80 25-Feb-2016 Paul Stewart <pstew@google.com> Merge "WifiNotificationController: Ignore "SCANNING" network state" into mm-wireless-dev
a73697c129a759ab403dfc6929aadfa71ea52141 25-Feb-2016 Peter Qiu <zqiu@google.com> Merge "Use a wrapper for BackupManager" into mm-wireless-dev
am: ac90154934

* commit 'ac90154934c0daf4e69a6d38344b82eea8dee91b':
Use a wrapper for BackupManager
750c6962838af6ab7ba034c80f2d325df7e74cbe 23-Feb-2016 Peter Qiu <zqiu@google.com> Use a wrapper for BackupManager

This avoids invoking calls to BackupManager/BackupManagerService during
unit test.

Bug:27296824
TEST=runtest frameworks-wifi

Change-Id: I3d4fe1b4d2fdabe079e65242099f4dd4ed4ab7f4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
250e70cb113e75ac9b24b09bbf176804d37755d8 09-Feb-2016 Paul Stewart <pstew@google.com> WifiNotificationController: Ignore "SCANNING" network state

While the system is disconnected and does screen-on scanning,
it is legitimate to see temporary state changes to the "SCANNING"
state then back to "DISCONNECTED". The current implementation
of WifiNotificationController resets its scan counter during
these transitions, and therefore never displays the "WiFi
Networks Avaialable" notification. This CL fixes this problem
by separately tracking NetworkInfo.DetailedState and ignoring both
"SCANNING" and the no-op state changes that will happen as a
result.

BUG=26076402
TEST=New unit test included in CL
TEST=Repeat bug reproduction steps

Change-Id: I5e6049edb767e4f67be1ddb31023a28043db53d5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
ec1690a8364f678ba8ca4472c8e031d482895533 20-Feb-2016 Rebecca Silberstein <silberst@google.com> Merge "Add Looper param to WifiStateMachine constructor and AutoDispatch" into mm-wireless-dev
am: 75a3fd9a4d

* commit '75a3fd9a4d37dd6ba1a0ac3e174673e3b80795d1':
Add Looper param to WifiStateMachine constructor and AutoDispatch
d0846fa841b604ccb969c54b45367fa2bececf83 16-Feb-2016 Rebecca Silberstein <silberst@google.com> Add Looper param to WifiStateMachine constructor and AutoDispatch

Add Looper to the WifiStateMachine constructor. This allows unittests to
pass a MockLooper and control how messages are dispatched. This change
allows the wait() calls to be removed from the WifiStateMachineTest
tests and will bring stability to test runs. This change will also
reduce test run time.

Due to the blocking calls in WifiStateMachine that are expecting a
response, also implement AutoDispatch functionality for MockLooper.
This functionality is implemented by creating a thread that calls
MockLooper.dispatchAll when messages are available. Once at least one
message is dispatched, the thread will exit. The thread will attempt a
limited number of times and log an error if no messages are dispatched.

BUG=26943243

Change-Id: Ia892303e04d18c56d7f1d896db6098e7c3bd9607
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d50c443ebd668317163648ea08e9834a5a7e5277 17-Feb-2016 Roshan Pius <rpius@google.com> WifiService: Store UIDs for WifiLock/Multicaster
am: 1fb0a78b06

* commit '1fb0a78b06041b918fdf55173d026efc315ee574':
WifiService: Store UIDs for WifiLock/Multicaster
1fb0a78b06041b918fdf55173d026efc315ee574 12-Feb-2016 Roshan Pius <rpius@google.com> WifiService: Store UIDs for WifiLock/Multicaster

Store the UID of the calling user in the WifiLock/Multicaster object and
print it in the toString method of both.

Restructure the DeathRecipient class to only hold the information that
is common to WifiLock/Multicaster.

BUG: 27149817
Change-Id: I14031f9badaffc7ba9d952719f61ff0a7d80c5a1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
17445b7996487f059114a1ab6a0efa5f95fb86be 12-Feb-2016 Bartosz Fabianowski <bartfab@google.com> resolve merge conflicts of b2f519476e to nyc-dev

Change-Id: I28da4aee94bf4f80347481da396ca40bb7d107d9
0fb9cf43830d67894b519c9a6271320c4842a5c0 12-Feb-2016 Bartosz Fabianowski <bartfab@google.com> Allow managed profile to modify networks

If the current foreground user has a managed profile, apps running in that
profile should have the same permissions to add/remove/modify networks as
apps running as the foreground user itself.

This is a re-submit of
https://partner-android-review.googlesource.com/#/c/529950/
with updated unit tests that will also work after merging to N/master.

BUG=26867426

Change-Id: If97734abad801ae1264919c91c3ef4236469cfde
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
8a8f89708a14547b79df1774b254f7252c64ad4d 11-Feb-2016 Mitchell Wills <mwills@google.com> resolve merge conflicts of 4086badffe to nyc-dev.

Change-Id: Idcabbfc19669aff2a99d6a39fd12a2be25dca058
9f8586ea6d640e86560efd9a2d9c1909b08a3ef4 11-Feb-2016 Mitchell Wills <mwills@google.com> Revert "Allow managed profile to modify networks"

This reverts commit bbb3149f3bc301e81c202438b77c45574a90a851.

Bug: 27145628
Change-Id: I05ac9c714373b98fa73e0dba21ec4d815200af75
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
3e024d7ca0520bd167eac44c1745183919748c83 11-Feb-2016 Bartosz Fabianowski <bartfab@google.com> resolve merge conflicts of bbb3149f3b to nyc-dev

Change-Id: I29effba14b5e3bcff4c996e1e12b07f1d7143850
bbb3149f3bc301e81c202438b77c45574a90a851 11-Feb-2016 Bartosz Fabianowski <bartfab@google.com> Allow managed profile to modify networks

If the current foreground user has a managed profile, apps running in that
profile should have the same permissions to add/remove/modify networks as
apps running as the foreground user itself.

BUG:26867426

Change-Id: I6ab891625b673e617e1c38863b9c6e71e4938a0b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
76e9e2a18840cc17747103c86b5b9323d059ef18 03-Feb-2016 Jan Nordqvist <jannq@google.com> Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
am: 92ce793e9a

* commit '92ce793e9af3faf5d996dd1e592fbc728785058a':
New System APIs for Passpoint r2 app.
2e814680f4dd27a5f825afab189843582235cedc 24-Jan-2016 Jan Nordqvist <jannq@google.com> New System APIs for Passpoint r2 app.

Change-Id: If23e6ab432e871a407cbff94292673524c6d72bd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
030e15024e75322ba27650be2a05d15ac06026dc 29-Jan-2016 Bartosz Fabianowski <bartfab@google.com> resolve merge conflicts of aae3592ef5 to master.

Change-Id: I24cf4c223dc384861e807493637bef4da4bb5ad2
bace539f9cdc4ffb521c8251dd1c56073e805cd4 28-Jan-2016 Bartosz Fabianowski <bartfab@google.com> WiFiServiceImpl should not be checking who is allowed to forget networks

WiFiStateMachine takes care of verifying whether the caller is allowed
to forget a network. WiFiServiceImpl should not be performing its own
(redundant, obsolete and incompatible) checks on top of this.

BUG: 26845784

Change-Id: Ia10551ce44182c6f98407201f0cdf689ce9dbc6c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a8f4fbe984b2ee4a10a98d71f61bbb7c3065c5f2 27-Jan-2016 Glen Kuhne <kuh@google.com> Merge "WifiMetric shorter proto dump" into mm-wireless-dev
am: b8bf980e58

* commit 'b8bf980e5827fb97d1b3ad5debcea74d5ad8db8b':
WifiMetric shorter proto dump
11638f348ba45f9f417928e79b81186cef76c561 27-Jan-2016 Glen Kuhne <kuh@google.com> WifiMetric shorter proto dump

Before, proto was dumped as part of the standard Wifi dump using:
'dumpsys wifi proto'
Now, proto is dumped on its own using:
'dumpsys wifi wifiMetricsProto'
This reduces dump size significantly. The old dumpsys argument is no
longer used to dump the proto.

BUG=25691077

Change-Id: I7c7d09b906b11af7842d07fc719bf52dca9ba438
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2bfc67c9893c0a525b224d68dd73a74212b0c29f 20-Jan-2016 Arthur Hsu <arthurhsu@google.com> WifiCertManager implementation.

The WiFiCertManager is essentially a wrapper around the KeyStore that
filters out client certs (and their corresponding private keys) that the
current user should not see.

Change-Id: I1843114c54cb459ceec3d3546055b91f6b177125
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
037b57b9c5f78b96ea01c31a602e872b35da526e 25-Jan-2016 Bartosz Fabianowski <bartfab@google.com> resolve merge conflicts of bcdabb1fa1 to master.

Change-Id: I93ead6b9e09d6d9ef0361eff42767a75961d8fd3
bcdabb1fa1894fcca610692ec94459fe623afa74 22-Jan-2016 Bartosz Fabianowski <bartfab@google.com> Implement private network configurations in WifiService

* Make ConfigurationMap aware of the current foreground user. Suffix each
accessor with one of:
- ForCurrentUser() (operates on network configurations visible to the
current user only)
- ForAllUsers() (operates on all network configurations)
* Make WifiConfigStore aware of the current foreground user:
- Whenever the user changes, networks that are no longer visible are
disabled and networks that newly became visible are enabled.
- Account for the fact that the configKey cannot be computed from
information stored in wpa_supplicant.conf alone while loading
network configurations from disk.
- Have all public methods that add/remove/modify network configurations
operate on configurations visible to the current foreground user only.

BUG=25600871

Change-Id: Id1e81dd649ac5253c94e65b6a25e239fc3cf09a4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
68ae7112ce5c8d7f871c816cba1f41b2da395ef2 22-Jan-2016 Peter Qiu <zqiu@google.com> Remove WifiWatchdogStateMachine
am: cb8c60a24d

* commit 'cb8c60a24d9e89f3b1aa601e76e38e05f8db6fae':
Remove WifiWatchdogStateMachine
cb8c60a24d9e89f3b1aa601e76e38e05f8db6fae 20-Jan-2016 Peter Qiu <zqiu@google.com> Remove WifiWatchdogStateMachine

Wifi watchdog is not being used anymore, the associated setting
("Settings -> Wi-Fi -> Advanced -> Avoid poor internet connection")
had already been deleted from UI. So remove it.

While there, remove the unused state VerifyingLinkState in WifiStateMachine,
which is only triggered by WifiWatchdogStateMachine.

Bug: 26254553
TEST=runtest frameworks-wifi

Change-Id: Ic7d01d1657f7c737fd22980a7f66434c7667d4ea
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e87e2c32eb31f18c5024b6aa5d491fa5180c2d98 21-Jan-2016 Glen Kuhne <kuh@google.com> Merge "Wifi Metrics, Initial Commit" into mm-wireless-dev
am: 996ff6b8a9

* commit '996ff6b8a9d5a75ef41ad4d1efccb04a915ea2c3':
Wifi Metrics, Initial Commit
1b067831bbff14f8e7a99b927b69f714d1b03448 04-Jan-2016 Glen Kuhne <kuh@google.com> Wifi Metrics, Initial Commit

Created WifiMetrics class to log wireless metrics.
Dumps Metrics as Base64 wifi.proto, with dumpsys option 'proto'.
Implements SOME metric collection from wifi service

Bug: 25691077
Change-Id: I28a745b5f66dd1d38868b7eadd79882fd2c5c5a2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
4a7fda19b731474151c768b7284ad325f6c9e46c 20-Jan-2016 Peter Qiu <zqiu@google.com> Run WifiTrafficPoller.TrafficHandler in WifiService thread
am: 8e14dcb9dc

* commit '8e14dcb9dc38149b4672eceb3fe22287ea4343a0':
Run WifiTrafficPoller.TrafficHandler in WifiService thread
8e14dcb9dc38149b4672eceb3fe22287ea4343a0 19-Jan-2016 Peter Qiu <zqiu@google.com> Run WifiTrafficPoller.TrafficHandler in WifiService thread

Currently WifiTrafficPoller.TrafficHandler is running under a non-WiFi
related thread ("SystemServer" thread). Update it to run under
WifiService thread instead.

Bug: 26584131
TEST=Run frameworks-wifi unitests

Change-Id: Ieb151f3609944f47fdd0d1f18fc483786f148342
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c5ab6bc3c683f9d97e1af9887136a44fce133afc 15-Jan-2016 Vinit Deshpande <vinitd@google.com> Merge "Unit test for WifiController\'s emergency mode behaviors" into mm-wireless-dev
am: 859240c33a

* commit '859240c33a7af91ed5cfe64813a0d296981d2f63':
Unit test for WifiController's emergency mode behaviors
5fa540c1bf4e4529ed892b9526cf9c661c04c578 15-Jan-2016 Vinit Deshpande <vinitd@google.com> Merge "Allow turning off Wi-Fi when emergency call is made" into mm-wireless-dev
am: a84fd7d178

* commit 'a84fd7d178aedbea7ba73bd68c810fb4294f3094':
Allow turning off Wi-Fi when emergency call is made
79a4204d12f32d2f6a4dfc8500f5e74718cabb8d 14-Jan-2016 Vinit Deshpande <vinitd@google.com> Unit test for WifiController's emergency mode behaviors

Change-Id: Ic3d8618501632d449bbd3432b95542ac92f336e4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
090aa74f2d36010abba6563a39c87ab7ba8a7473 14-Jan-2016 Vinit Deshpande <vinitd@google.com> Allow turning off Wi-Fi when emergency call is made

Bug: 24147407

Change-Id: I52db1b34df318d0754b1c316806712a61fc3a1f5
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2ada3ea8a48bfc8202d692a70bde6bc14708b4b5 07-Jan-2016 Vinit Deshpande <vinitd@google.com> Reset idenitities for EAP-SIM networks when SIM is pulled [DO NOT MERGE]

This change resets identity and anonymous_identity for all
netorks that use SIM based auth. This ensures that all cached
data is destoryed when SIM is removed; and newly added SIM
must be authorized on the network to connect again.

Bug: 23703716

Change-Id: I83d80336b2089c73d99214651b64b79443faf7f7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
0c52bc5370597f9ea584d88497c181694a32ad2d 14-Jan-2016 Mitchell Wills <mwills@google.com> Cleanup some of the wifi logging
am: 65b752f1da

* commit '65b752f1da25f028a204a88264380c610866c027':
Cleanup some of the wifi logging
65b752f1da25f028a204a88264380c610866c027 14-Jan-2016 Mitchell Wills <mwills@google.com> Cleanup some of the wifi logging

There were many things that were being logged as errors that
weren't. This either removes those log statements entirely if they are no
longer needed or reduces the log level.

Change-Id: I4a150b7bb862b187cb52d03a9714ddfc496a775b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e920c0f1b632d8edb40c44a6db86440aef3282a1 13-Jan-2016 Vinit Deshpande <vinitd@google.com> Reset idenitities for EAP-SIM networks when SIM is pulled am: fdce524fd0
am: 83a6330e24

* commit '83a6330e24d3b829580504920d292ac2c7f51700':
Reset idenitities for EAP-SIM networks when SIM is pulled
fdce524fd05844c996cf1c5c0c102a87fde8e32c 07-Jan-2016 Vinit Deshpande <vinitd@google.com> Reset idenitities for EAP-SIM networks when SIM is pulled

This change resets identity and anonymous_identity for all
networks that use SIM based auth. This ensures that all cached
data is destroyed when SIM is removed; and newly added SIM
must be authorized on the network to connect again.

Bug: 23703716

Change-Id: I83d80336b2089c73d99214651b64b79443faf7f7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e5b3ea90b17af7347541534cdeec93fc0a554f1b 08-Jan-2016 Vinit Deshpande <vinitd@google.com> Merge "First WifiStateMachine UnitTests" into mm-wireless-dev
am: 57483a79c2

* commit '57483a79c2f9d5a9fe3e950553d95f3ad75842a3':
First WifiStateMachine UnitTests
eee1d479d8d402a2e78e2f143e957030cfc77749 29-Dec-2015 Vinit Deshpande <vinitd@google.com> First WifiStateMachine UnitTests

Change-Id: I044b54f18f1a75b5b33c3fc9fc71a8da820d2521
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
6dd42662e45750910d8743f7f154269c2755df93 19-Nov-2015 Jan Nordqvist <jannq@google.com> DO NOT MERGE Changed to use special "in-memory" icon command to wpa_supplicant.

Hotspot2.0: Icon query changed to use new command.
Cherry-picked from e511ec7a4f53f7204a85075b23318f9f11c46d94
Bug: 24681079
Change-Id: Iac65eddff82763d42193edfb683266e7b0b8d720
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e511ec7a4f53f7204a85075b23318f9f11c46d94 19-Nov-2015 Mitchell Wills <mwills@google.com> Changed to use special "in-memory" icon command to wpa_supplicant.

Hotspot2.0: Icon query changed to use new command.

Bug: 24681079
Change-Id: Iac65eddff82763d42193edfb683266e7b0b8d720
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
85f946b14fb6d51ae109d0983261e6721a19d1fa 10-Dec-2015 Randy Pan <zpan@google.com> DO NOT MERGE Revert "fix wifi forget acl"

This reverts commit e65f56fdddd0d7f0b03d6bfe9c979125ded9b7b6.

This is required to get build pass on partner's branch.

Change-Id: Icbb7cefb0d700e5f1236dd0711e94212ad2c7a5f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
4e210ea1c7eb7d3a70792571651181e429b39582 29-Sep-2015 Mitchell Wills <mwills@google.com> Make WifiMonitor a singleton and add explicit event registration

Change-Id: If99cf107abe381d2527a84f7e71c0c8363bff4db
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
18786eca942042388748b0d98979f21c9dff4a89 20-Nov-2015 Mitchell Wills <mwills@google.com> Turn WifiNative into a singleton for each interface

Change-Id: Ida8225c1c8434f5cffbdfd2ebbc4a7b240976a15
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9a069cba2e5ae31ee00d9ec9a3c25bdb7052aa78 25-Nov-2015 Jan Nordqvist <jannq@google.com> Applied changes from comments.

Bug: 25869687
Change-Id: I79a4ae543e7c3797620bf4492f4794523fac8c4d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
8383c1b0fbdf3eb64653849ba65e0b0f9739f190 31-Oct-2015 Mitchell Wills <mwills@google.com> Merge "Remove old API implementations"
814230f58f5cb96db2a75c95a44c3d5890586486 24-Oct-2015 Mitchell Wills <mwills@google.com> Merge "Check if link stats are supported when reporting activity info"
e3dbf7f9cca0d7706f2c4de020061d7912e45872 20-Oct-2015 Mitchell Wills <mwills@google.com> Merge "Reduce logging levels of some messages in WifiService"
f9946f5663f2d7a9a69cb8b7e82a4ef8b1825c48 19-Oct-2015 Mitchell Wills <mwills@google.com> Reduce logging levels of some messages in WifiService

Some log messages were marked as errors that weren't

Change-Id: I7309143bafea74b5a7ee4d17d3c105656b86100c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
016284c9e9fd219429c230e373d914f98db6a9a1 19-Oct-2015 Xiaohui Chen <xiaohuic@google.com> Merge "fix wifi forget acl"
6c72b28e3b26aad3d2036a25aec0b5a2aba712b1 14-Oct-2015 Fyodor Kupolov <fkupolov@google.com> Fix foreground scans for pre-M apps when location is disabled

Wi-Fi scans should be enabled for legacy foreground apps when location is
disabled.

Bug: 23081999
Change-Id: I09ff32ab9845e989ed292824b7aee84d10d260cf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
35f3b9ce41b43de59487b3231aedc64d735593a8 17-Oct-2015 Fyodor Kupolov <fkupolov@google.com> Merge "Fix foreground scans for pre-M apps when location is disabled" into mnc-dr-dev
7955da2fd9044beb2663227be4faebf024792123 16-Oct-2015 xin He <xinhe@google.com> am 72790f92: am a8249332: am c9bea298: am f2e7f4fa: Merge "Security Vulnerability in android::onPnoNetworkFound" into mnc-dr-dev

* commit '72790f92ae580758df92444b6f96d7a27bb9571d':
Security Vulnerability in android::onPnoNetworkFound
f2e7f4fa1ac1481cdbc7bf3296321ac0fa159cc6 16-Oct-2015 xin He <xinhe@google.com> Merge "Security Vulnerability in android::onPnoNetworkFound" into mnc-dr-dev
20de5ba628240951562958595d5b6ec8edc2b13e 16-Oct-2015 xinhe <xinhe@google.com> Security Vulnerability in android::onPnoNetworkFound

Ask for system permission to enable ePNO

b/24872703

Change-Id: I8a7aafdb3f4074089777ad6b1402d4bf4954e81a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
65ada07fcc88600d1a8c77269f62590f630f7aab 14-Oct-2015 Fyodor Kupolov <fkupolov@google.com> Fix foreground scans for pre-M apps when location is disabled

Wi-Fi scans should be enabled for legacy foreground apps when location is
disabled.

Bug: 23081999
Change-Id: I09ff32ab9845e989ed292824b7aee84d10d260cf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
12167e21e1371720b49055ce69a178727d0ae37c 08-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Do not throw an exception if appop's result is MODE_IGNORED

Previously, an exception was thrown when a result of checking for an app op
was MODE_IGNORED. We should return zero results instead.

Bug: 23675817
Bug: 23563867
Change-Id: Iba6b6eca8a0d21acd77b8d388b8bfe3119cac8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e65f56fdddd0d7f0b03d6bfe9c979125ded9b7b6 13-Oct-2015 Xiaohui Chen <xiaohuic@google.com> fix wifi forget acl

In the new multi user enviroment, we should be checking the admin
flag instead of relying on the user id.

Bug: 24909021
Change-Id: Iea6d100fbb2f2503f4a9bcc523db14a8feb67c56
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
001a98d838cf251ee4a39d1a3b1879639076f7b1 07-Oct-2015 Mitchell Wills <mwills@google.com> Remove old API implementations

All of these APIs were hidden and are no longer used by anyone. The scan
APIs are being replaced by the new WifiScanner API

Change-Id: Idae554c99ad9db6c37007d1ea066693713b71388
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a397a4242d3be2dbd02e3d10b2d9791df2a5e576 28-Sep-2015 Vinit Deshpande <vinitd@google.com> am 709c2b50: am 2da736b7: am b45816dc: am 98e43e5f: Don\'t reset country code on mobile signal loss

* commit '709c2b5024d2ab819a27ccbfdddc4830f911459b':
Don't reset country code on mobile signal loss
98e43e5f48a4c87343fc311feda4fa5489948822 27-Sep-2015 Vinit Deshpande <vinitd@google.com> Don't reset country code on mobile signal loss

Since mobile signal is lost too often; resetting country
code on this trigger causes too many changes. This change
restricts resetting country code only on two triggers

1. When airplane mode is turned ON
2. When SIM is removed

all other triggeres to reset country code are ignored.

Bug: 24363012
Change-Id: I5bc4bd8af7461da916c9a7638cf9cb457c73ac8b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
5fc890105154949a0754dd00786bae280a9c8693 25-Sep-2015 Vinit Deshpande <vinitd@google.com> resolved conflicts for 0b17544f to master

Change-Id: I6676066fc97d6959abaa2eb3bce15b551ce66685
1d5cd3938f9191184cd9aea3059a3b62bf3a0372 22-Jul-2015 Jan Nordqvist <jannq@google.com> Hotspot 2.0 relase 2 first cut.

Policy provisioning.
API methods.
Timers for policy and remediation.
Icon and friendly name checking.
Channel bindings for EST.

Change-Id: Ifa7125743ea93d7d4329cb53fd70c99b9b06fffe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d3629ea845f3e49cdba20255a83068dced281d09 23-Sep-2015 Vinit Deshpande <vinitd@google.com> Honor country code change in wifi disabled state

Bug: 22937052

Change-Id: I8394531e50c4c6b41c6f376a4eb2d8205bd10af7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1a9d88ad4a89400b9c177089f7db3d424a346b4c 08-Sep-2015 Fyodor Kupolov <fkupolov@google.com> Do not throw an exception if appop's result is MODE_IGNORED

Previously, an exception was thrown when a result of checking for an app op
was MODE_IGNORED. We should return zero results instead.

Bug: 23675817
Change-Id: Iba6b6eca8a0d21acd77b8d388b8bfe3119cac8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
691fb51e7ac5e4d0b91a4719cd0ed10a8c212e50 21-Aug-2015 Vinit Deshpande <vinitd@google.com> Fire scanResultsAvailableBroadcast as system

In idle mode, WifiService fires it as the calling app; but the apps
can't fire UserHandle.ALL broadcasts.

Bug: 22466691
Change-Id: Ib6d0e1fb570c430184e5af8ba7c796e19b02ba08
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1f8f2971309aee4de9c35723f6fbca6fcab9a3be 18-Aug-2015 Mitchell Wills <mwills@google.com> Check if link stats are supported when reporting activity info

Bug: 23286362
Change-Id: Ib5629d2547957ae1f6215f719377fad96f4e10f8
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c065315c23f78ec462a56aec1aaa4e2a34549b8d 05-Aug-2015 Fyodor Kupolov <fkupolov@google.com> Legacy foreground apps should continue getting scan results

Pre-M apps running in the foreground now get scan results. For legacy apps
running in the background, no results are returned and the error is logged.

Bug: 22891540
Bug: 21852542
Change-Id: Ifc872888556f8c7b665b3bef3a4c02b1f67b0bad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d76cdd8e08476ad5025f07a5d77a8d8f920a0721 04-Aug-2015 Adam Lesinski <adamlesinski@google.com> Log error when energy info is negative

Bug:22822659
Change-Id: Iadab004b8dcdccbfae435990357426ec0e197dc2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
017fabff2169403c27e551b39e87d3b2cd837409 30-Jul-2015 Dianne Hackborn <hackbod@google.com> Change MNC codename to just M.

Change-Id: I04b95d96032bfca6cce5d957ee937d34128121cd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
8be2ac8cec40a2000715849b627642bdc87c10b3 30-Jul-2015 Shirish Kalele <kalele@google.com> Allow active network scorer access to scan results.

BTW, AS corrected the import order of a lot of imports. Let me
know if you want it restored.

Bug: 22777873
Change-Id: Ia6ad069b83ecf9c0f07a620dbc98c85161a8e396
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
560c50dedb0a39f2804d300387a3fe6f8a96edbf 27-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Use PEERS_MAC_ADDRESS permission instead of isSystemProcess

A signature-level permission PEERS_MAC_ADDRESS was added to support a
use-case when SystemUI should be able to get the list of WiFi scan results for
Quick Settings. even when location is turned off in Settings.

Bug: 22777873
Bug: 21852542
Bug: 22728628
Change-Id: I68b42725ca5bc81f035f7e351070e5b7c5ff3050
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e660aa2b9c9ca3a5c7903c37571ca7b91feb4ccf 22-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Enforce location permission for apps targeting M

Enforce location permission for apps targeting M, for legacy apps - log an
error.

Also fixed an issue, when calling uid was not used to check permission.

Bug: 21852542
Change-Id: I8186acbeb4e8a2c5285f05ce3335e9c18a780112
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
266f3111427002d10ffd85fcea828a2725e540de 18-Jul-2015 xinhe <xinhe@google.com> Merge "Add API to turn OFF "best network selection" feature" into mnc-dev
4aef3283bf78e233a11fa34af2c7c38362879625 16-Jul-2015 Jan Nordqvist <jannq@google.com> Fixed incorrect network validation.

Bug: 22490051
Change-Id: I2d9a39502a10170bb452766fb9078939225dba2e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a8647b8cb29de22765062714cb265247234c3d32 10-Jul-2015 xinhe <xinhe@google.com> Add API to turn OFF "best network selection" feature

b/14990268

Change-Id: Ifa96a08f4bf9868afc8ddc88e178fc6375e70f8b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2812e1e19291d4f0dbabf7fe23d031d8cd641830 10-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Block results if location is disabled in Settings

Bug: 21852542, 22389679
Change-Id: Ia84b209167308b65387153d37c5e51fb71083fb2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
aca3b874dfcf503a7de41d13be449557369116ef 09-Jul-2015 Fyodor Kupolov <fkupolov@google.com> Merge "Check location permission/appop in getScanResults" into mnc-dev
07f11f6f2ee7ec17cb08180035dfb5002aaaf5df 18-Jun-2015 Jan Nordqvist <jannq@google.com> Reworked code to allow wildcard prefix IMSIs.

Change-Id: I08b7addb8dd407d9fc4f8a32a1fd2f86edde0e7a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e87a8da7bb513ca720b0160e3bff8c9f355faabb 20-Jun-2015 Fyodor Kupolov <fkupolov@google.com> Check location permission/appop in getScanResults

Return an empty list if the calling process has no location permission/appop

Bug: 21852542
Change-Id: I0811a497327451c6a1527a3d041eeb8b7e2c81a0
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
7e6573a1866812a302c1bfd224a2ed2d5633259f 01-Jul-2015 Vinit Deshpande <vinitd@google.com> Dump multicast lock holders in bugreport

Change-Id: I8108b05e0728cfa468d36002c2a1fe578e537c34
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
94a2dd090b7d3823058b7a69cf4653d5663708cd 16-Jun-2015 Adam Lesinski <adamlesinski@google.com> Wifi energy: Use longs for energy calculations

The framework is now using longs to store energy data, so update the code
to do the same.

Change-Id: Ia01d9c13240c9644efcea93b370eca20890964c2
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e0f45adde26bd4d238ff157e6769650a99dc5261 05-Jun-2015 Vinit Deshpande <vinitd@google.com> am 70b75cd..09f267b from mirror-m-wireless-internal-release

09f267b prevent false wifi roaming signal Bug:21617059
0bf150b Enable ring buffer logging and auto-logging of failures
550ae08 Merge "fix overflow bug in WifiManager reportActivityInfo Bug:20232188" into m-wireless-dev
7ab5189 Merge "Make autojoin parameters configurable" into m-wireless-dev
7ff782a Make autojoin parameters configurable
f49a59b Issue start/stop HAL along with load/unload driver
70b75cda33a05e8b6e6724ed08e4e72f6fee0471 03-Jun-2015 Pierre Vandwalle <vandwalle@google.com> fix overflow bug in WifiManager reportActivityInfo
Bug:20232188

Change-Id: I2613ead34398d03ce631974cc1ee3f340ffec55e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d03a9283285bb7adef6c687eb3a91fa4a8c4b502 02-Jun-2015 Vinit Deshpande <vinitd@google.com> Fix build breaks from last merge

Change-Id: I6ef088cfd3a796b7455df025b37a017c3a4da483
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
cd0af1c9ddcac881f49c815fb9da45433eb50736 02-Jun-2015 Vinit Deshpande <vinitd@google.com> am 21d43c4..9a270a7 from mirror-m-wireless-internal-release

9a270a7 Merge "Removed cert verification from ConfigBuilder." into m-wireless-dev
31891af Minor fixes from comments.
fce249d Merge changes I1da47e51,I5d6b0cbe into m-wireless-dev
0600b63 Removed cert verification from ConfigBuilder.
03a529a Fixed incorrect mnc-mcc matching.
6f3626f dont use wifiscanner pauseScan/restartScan
a203056 fix crash in autojoincontroller Bug:21495346
07a3f9d Fixed sequencing issue for Hotspot 2.0 IMSI matching.
ea748f7 Merge "update current configuration based on wifi SSID whitelist roam" into m-wireless-dev
f71c259 Fix bad logs and a crash while reading configs [DO NOT MERGE]
605c327 Fixed bad network history saving and reading. [DO NOT MERGE]
6dd83f1 Merge "fix handling of command for bssid hot list" into m-wireless-dev
a63da80 fix handling of command for bssid hot list

Change-Id: I1ba36f5939f44551946b4756c2074e02f71cedc9
31891afce40b903ada9b24ec12e3648ae6aa27b2 29-May-2015 Jan Nordqvist <jannq@google.com> Minor fixes from comments.

Bug: 21306404
Bug: 21283355
Bug: 21171957

Fixed trust cert validation.

Fixed bad network history saving and reading.
Bug: 21022868

Bug in domain matcher, fixed some log levels.

Finished HS2.0/legacy network persistence consistency.

Change-Id: Ic93093a41dd87d70a386909bdea744b5810c7299
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
f9d866f1b4e93593b3411886fd71e729f4a5a205 21-Apr-2015 Stuart Scott <stuartscott@google.com> Network Reset should have a lockdown like Factory Reset.

bug:20332322
Change-Id: I0d40ecf39f48131b7aa64e85a0e77d127cc93fa4
(cherry picked from commit 77860074303214f736aee0a26bf38e796461bf17)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
49dfc6768889a33eb67102b16faf21667af2a60d 20-May-2015 Vinit Deshpande <vinitd@google.com> Indicate failed scans with EXTRA_RESULTS_UPDATED

This flag indicates if scan was successful and results were
updated. It will be set to false if a scan is not performed
(intentionally) or if it failed to produce any results.

Bug: 20642015

Change-Id: I06a1fdd684932db68891ee28d5a049980f483f0f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
6a95e83c7e411a21cf6f6d912ab8498d2de858c9 18-May-2015 xinhe <xinhe@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into merging

Change-Id: Iec12d73f244bc58e7fcf1154ea8047a03925c241
b0b0cc202b7d7aaad7b3f69d73e9b58ea2968b05 06-May-2015 Pierre Vandwalle <vandwalle@google.com> hal based Pno and lazy roam implementation

Change-Id: Ib814ff6d29c8d7f1b579f7c088cd4eb104e5b637
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1227b49a94f33844ad0606b48b591bea4d27b08e 14-May-2015 Vinit Deshpande <vinitd@google.com> Build Fixes after the merge

Change-Id: I6f9d28051b6f4d6688c4b76c1923e57febe31145
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e5bf4b884cbbb435dc9268dff61955bcc2b81471 14-May-2015 Vinit Deshpande <vinitd@google.com> am 03ba4a5..ed3f1dd from mirror-m-wireless-internal-release

ed3f1dd Fix permissions check on WifiScanner APIs
f4b30aa Don't pause/restart scans across network connections
ad99846 Remove old (KK based) batched scan API support
fc42a2c Introduce battery blaming for WifiScanner
87df79e make autojoin more deterministic
d79bb0e Merge "enable background scan as soon as screen is off Bug:20909311" into m-wireless-dev
9ac124e enable background scan as soon as screen is off Bug:20909311
6d0cd10 change wifi Logging header
d4c25fd 5GHz roam configuration

Change-Id: Ib7621b11ca851236f9003947c24c5d84670fac94
ad9984607c007b15b9eb6601facf821cb57e1555 11-May-2015 Vinit Deshpande <vinitd@google.com> Remove old (KK based) batched scan API support

Bug: 18000475

Change-Id: I0b6054f291cadefb1d153692b61f1c3d2ddab0c1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9846078598c3468f8813dbfa58238a1846bd81ef 02-May-2015 Sanket Padawe <sanketpadawe@google.com> Add new API for getting netId of current wifi network

Bug: 17380953
Change-Id: I44030e5ffb32322667e729303487f66af39c665c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
fa0502b4e2171143f133bb46e03143328c15e995 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'baa9bdf' into merge2
4075f980d4f526723d88b6ae3c1c6af14fdfa355 23-Apr-2015 Dianne Hackborn <hackbod@google.com> Merge "Don't allow scans while device is idle."
63cde0cdab3f4f2aadac5e2b3dc5cf1b4a5e30f9 20-Apr-2015 Stuart Scott <stuartscott@google.com> Merge "Move factoryReset to service and protect."
b8671cfafc2830ebddeafcfb2d91f2b39b19019b 09-Apr-2015 Stuart Scott <stuartscott@google.com> Move factoryReset to service and protect.

bug:16161518
Change-Id: I7d099099aaf0a306d0a3c5b63dde0ba5108456c3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
4e940bb499f65b4305dbeb2e01237c43c2b0b42d 15-Apr-2015 Jan Nordqvist <jannq@google.com> Various minor fixes.

Change-Id: I227c67740f7c18f059e37b3c41fd18225365c7d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
03b70b37a8a20cb92d860b5015f6762dcb5e75cc 14-Apr-2015 Dianne Hackborn <hackbod@google.com> Don't allow scans while device is idle.

Change-Id: If682daba7948c64872fc07e539e957cbf9f3d31f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
5ee18dc63952ff80f4ea21296a0df4f7b27eafe6 15-Apr-2015 Vinit Deshpande <vinitd@google.com> am f24e3d7..a547460 from mirror-m-wireless-internal-release

a547460 Fix incorrect matching of Passpoint networks
93a1dbd fix RTT crashes runtime This is due to local referencs have been used up Bug:20143987
5faa29d changes to support wifi_logger.h API changes
a7ead3d Corrected and tightened up MO tree and mapping from/to configs.
71cd814 Merge "Use PasspointMatchInfo to select good passpoint network" into m-wireless-dev
0c14982 Merge "Store PasspointMatchInfo in ScanDetailCache" into m-wireless-dev
8eefaf2 Use PasspointMatchInfo to select good passpoint network
4d381bc Store PasspointMatchInfo in ScanDetailCache

Change-Id: If9ce95af4968cee4a458dddf21151eaf015880dc
6aef95a3cfa0b825ff93c45e95f89cc8c5c85164 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit '70deeca' into merge_work

Change-Id: I77fdf057818f0bc2742e923e71b248648e152e1a
4d381bc39f5263effdae73ec99065eb299b806ca 09-Apr-2015 Vinit Deshpande <vinitd@google.com> Store PasspointMatchInfo in ScanDetailCache

This change moves ScanDetailCache as a stand alone class; since
it has lot of logic related sorting and finding candidates.

This will get used in network selection going forward.

Change-Id: If039779f4274dca64fa7aceae62dca26caeae2d4
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a1edc185d46d85e04930a5e12b465de9fea64afe 19-Mar-2015 Jan Nordqvist <jannq@google.com> Various fixes for Passpoint.

A couple of fixes in AnqpCache, better logging.

Fixed BufferUnderdflowException in NetworkDetail.

Bug: 19888749

Modifications to support WiFi config app.

Rework to fit config builder into apps framework.

API for WiFi config app, 3GPP matching, BufferUnderflowException bug fix and some other fixes.

Fixed a log statement.

Clean up.

Change-Id: I763d47b9c7943a8aa4c94afd2678ccea2dd915cc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
ccbe820337a230f0827f734aca2c51a244a0837f 04-Apr-2015 Vinit Deshpande <vinitd@google.com> Implement 'Available via Passpoint' feature

This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: Ib4de956f2ea29709d0212fbcb392815644800e78
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
05d04f448d8e2d44f9eae8e54f17a7bdf57ca1f7 02-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'b151395' into merge_yet_again
2740001002132ed305034de64a58b0805fa4e392 25-Mar-2015 Pierre Vandwalle <vandwalle@google.com> fix typo in wifi power caldulation API

Change-Id: Ie8493ef98a20d1b36fa4dfd582e56c8db04d07a9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
84a11a3d54b7c6f043dcf7a874b7c0d45709677a 24-Mar-2015 Pierre Vandwalle <vandwalle@google.com> add WiFi energy calculation

Change-Id: Ic368558be45eed7c1c49096966917166b641d1ac
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e9418ca9dd1975f84260e491a041cac87381693c 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: Id9033b0a7d6bd3c8ecab1648fc8c67feae18c41c
f5d683bceb3aff47282636e425425f3733c0b45f 18-Mar-2015 Pierre Vandwalle <vandwalle@google.com> export API to disable autojoin scan initial implementation
automerge: e2614ba

* commit 'e2614ba1b774529ee68cc4ac189f7492cff89db3':
export API to disable autojoin scan initial implementation
3346645330acde6a938289c47654b0a524205100 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "country code setting broken"

merged from goog/mirror-m-wireless-internal-release
80d14d6 country code setting broken
e2614ba1b774529ee68cc4ac189f7492cff89db3 13-Mar-2015 Pierre Vandwalle <vandwalle@google.com> export API to disable autojoin scan initial implementation

Change-Id: I504f135ab91c5e483a92306a9b96d70b80f11362
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
186f7513a080eb1a419b6d83286d62961168a5fe 27-Feb-2015 Adam Lesinski <adamlesinski@google.com> Change to use new Structure

Change-Id: I5c6b23b8e1441d4de9056aa959ddedf297823bec
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
80d14d67a956e6c69433470aaa73100898166efa 24-Feb-2015 xinhe <xinhe@google.com> country code setting broken

On branch xin_country_code_opt

Bug:19462483
Change-Id: I18ff2d4d5dc16049386d1e60b82da13a97bb887f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
faa2ce7f93eef2c436796fb1ea3574e2d1412491 23-Jan-2015 Robin Lee <rgl@google.com> Remove wifi configs when secondary user is deleted

If any WiFi configs have been created for a secondary user then these
should be cleaned up when the user is deleted from Settings.

Bug: 18927999
Change-Id: If4a37085f1b82f30e5f4b44c7f597f4b2d620501
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
623351a7eb0a8df0ac50e7a8e1b57d5f31aab386 10-Dec-2014 Jason Monk <jmonk@google.com> am 9119b44c: am 88c9369c: Merge "Allow interact-users-full access to scan results" into lmp-mr1-dev

* commit '9119b44c0bc372b00b0395c585dd7dce5d674984':
Allow interact-users-full access to scan results
03ffb1fd6ac5c8791e993b8a7864824a5660f63d 10-Dec-2014 Jeff Davidson <jpd@google.com> am d3a842ad: am a63fbdbb: Merge "- keep track of ephemeral configurations that are deleted by user - make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf Bug:18525241" into lmp-mr1-dev

* commit 'd3a842ad0052903fe94b745630dc20cb70ea4058':
- keep track of ephemeral configurations that are deleted by user - make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf Bug:18525241
88c9369cb6b94c30324893337aa25b1e37a15ff6 08-Dec-2014 Jason Monk <jmonk@google.com> Merge "Allow interact-users-full access to scan results" into lmp-mr1-dev
f8704c368e0fee0c7cf7e294d109dece6b72e832 05-Dec-2014 Jason Monk <jmonk@google.com> Allow interact-users-full access to scan results

Allow callers that hold INTERACT_ACROSS_USERS_FULL access to scan
results even if they aren't on the current user.

Bug: 16559573
Change-Id: I27fae71b3cdc1c084777242f21fe4bb692ab7135
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2ce99b40c36ed0352b31aa85d5f9383d5f0506f5 04-Dec-2014 vandwalle <vandwalle@google.com> - keep track of ephemeral configurations that are deleted by user
- make sure we cleaned up prior ephemeral WiFiconfiguration from wpa_supplicant.conf
Bug:18525241

Change-Id: I773cb9b28fe139d1cd5df622619b4a9cf866d6ce
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
48a7f5e6dc66c4aae8a12f2d745440b52a11b859 26-Nov-2014 vandwalle <vandwalle@google.com> am ebc42f07: am 0eae6501: Merge "remove dfs channel from location restricted scans" into lmp-mr1-dev

* commit 'ebc42f079714a576e302d228a7278e89bb8bb44d':
remove dfs channel from location restricted scans
9086afccf6938a49eb9a2cd248917c1cb0943942 22-Nov-2014 vandwalle <vandwalle@google.com> remove dfs channel from location restricted scans

Change-Id: I387816c8682e9f595229ecbb20c35711ea1f069b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
6879b31beb6d899a178a3c7c10a5a37470179648 08-Oct-2014 vandwalle <vandwalle@google.com> am 7a693362: am a0708b09: various fixes: - adding debug information to bug report for Bug:16751877 - reenable networks when entering DisconnectedState - dont force MSG_INFO log level at supplicant Bug:16751877 Bug:17811889 Bug:17881399

* commit '7a6933624b11c833632f34750e454331e0b06f96':
various fixes: - adding debug information to bug report for Bug:16751877 - reenable networks when entering DisconnectedState - dont force MSG_INFO log level at supplicant Bug:16751877 Bug:17811889 Bug:17881399
a0708b09ad17b086c008ab100aec7143d7613c80 07-Oct-2014 vandwalle <vandwalle@google.com> various fixes:
- adding debug information to bug report for Bug:16751877
- reenable networks when entering DisconnectedState
- dont force MSG_INFO log level at supplicant
Bug:16751877
Bug:17811889
Bug:17881399

Change-Id: I89b4f5c05a1f64f9d1e8c407f62036efa0265043
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
e487a4648dd41881e754f1224aaedead78a0777d 23-Sep-2014 Sky Faber <skyf@google.com> Separate wifi AP added by applications.

-Add dialog before connecting to an app added network
-Remove applicationss APs on uninstall
-Ban apps from modifying networks they don't own.
-Ensure app connections don't modify user preference.

Change-Id: I12943563ef714c4287e13488578f020d136d006d
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
328fc5407927799843c11f2b767a8cf47b89f366 19-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Re-add wifi change permission check.

Recent change switched to impose the Connectivity permissions
(which were intended but being circumvented) but that removed
the wifi change permission.

bug:17435527
Change-Id: Ibc58605dee767d6a749b1fae867855fd1cb25def
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
34f173a54307c39ffe5dfab52e7ef8166a00539e 17-Sep-2014 Robert Greenwalt <rgreenwalt@google.com> Use unified Tethering Permission Check

The BT and Wifi mechanisms for enabling Tethering did their own
permission checks. This set of changes unifies the check into
a ConnectivityManager function so they can be kept in sync.

bug:17435527
Change-Id: I8c157a5acf56ffbddd349cb6a45160ae7be8541b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
ebb7e0cb4572f73325a749539d589ebdefb8635c 04-Sep-2014 vandwalle <vandwalle@google.com> adding debug logs

- add debug status to WifiStatemachine message handling
- tracking scan requests: add scan request counter and addl debug information
- clean wifi packet stats when we disable RSSI polling
- count home network as >=6 BSSID for the purpose of calculating wifi score

Change-Id: Ic13ef303fdcfe60c0e27f225af4e233b9a2cffaa
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
82199a285f4a45a46b44eb8253999aa918534753 03-Sep-2014 vandwalle <vandwalle@google.com> help debugging scan issues:
- adding additional logs
- make handleSCreenStateChanged a message
- track sender of the CMD_GET_CONFIGURED_NETWORKS message

Change-Id: I5717d07850ed563193b694a74d236bb8795fbd38
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
048dc8df2bd9394979dbb090b0cfe8d6627d23e3 29-Aug-2014 Vinit Deshpande <vinitd@google.com> Address API Council feedback for WifiAdapter/WPS APIs

This change addresses concerns from the API review. Things that
are fixed are -

1. WifiAdapter is removed, until we have 'real' support for it
2. All the methods from WifiAdapter are moved to WifiManager
3. Changed WPSListener API names to be onFailed/onSucceeded et al

Bug: 16403303
Bug: 17115004
Change-Id: Ie886334f9381b678deb5f0248b9a5ec21f446949
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
200e8ee5097134010a6edee8d031bb02ff7eeb5a 19-Jul-2014 vandwalle <vandwalle@google.com> add radio stats to link layer

This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: If7e73ae9813ea79a98744d7f0096316d241998fd

halutil updates for link layer statistics

Change-Id: I00ea13b1a932f40891a0d65026a1c87f01f09587
Signed-off-by: Chilam Ng <chilam@broadcom.com>
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
3b26801d62a06475b722bbf29cba7f48f376654e 31-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Stop using LinkProperties for static configuration.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2a325cd07d40941adb93c1284abb263ba650c213 12-Aug-2014 Sky Faber <skyf@google.com> removeNetwork needs to perform owner check against userId not uid.

Bug: 16952565
Change-Id: I78666c34fc919bbc96ef92b02445b93b0948f743
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
8e6144b4059fc2117be23d7222893bc57a33f64d 20-Jun-2014 Jon Larimer <jlarimer@google.com> Fix null dereference in enableTdls() and enableTdlsWithMacAddress()

Change-Id: I37acf88c9adefba240fb8bc8a9e633ddcd823d21
Bug: 15775601
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c298087de50ea56c31a4ade7ee1e83b313bb63c7 26-Jul-2014 vandwalle <vandwalle@google.com> introduce WifiConnectionstatistics

This CL is dependent on I51fbbf062feb22c5f16b438675519064cc43e160

Change-Id: I10584a447fecd977df3eefd8e2cc028bd26ec0e3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9878c61bbd81176561991be025af44efc67332fe 17-Jun-2014 Wenchao Tong <tongwenchao@google.com> Add a new SystemApi, getPrivilegedConfiguredNetworks(). Part 2 [DO NOT MERGE]

Implements the getPrivilegedConfiguredNetworks() in WifiServiceImpl.

Bug: 15703353
Change-Id: If3eaca3286e77b780272f42a28772d1d8d39db65
(cherry picked from commit 76ddde4965b1460248eb21d0ccebed687c2b3fb3)
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
002ea67f42b0f69a8c9fa4719391f9476567b762 11-Jul-2014 Sky Faber <skyf@google.com> Disallow forget/remove network for secondary users.

Change-Id: I07be23c26f45a77f5998f200bc9682dedbfa7916
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1ecb0083490436303cdb89bc4c46b6743ea0afa8 10-Jul-2014 Sky Faber <skyf@google.com> Re-disable scan for background users.
Temporarily allow FORGET_NETWORK as secondary user.

Bug: 16190728
Bug: 15437477
Change-Id: Ib4241421bcb9d15f6aab30099f4f36aeb9dfcf72
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a632d8a6edd350c7644b593b18eceaa5b368505b 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce Wifi Adapters

This change extracts all the wifi interfaces on the device; and provides
its supported features.

Change-Id: I7fbdbec684d653a6e4bf851797e3065ce222e873
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c35d728a15e9270f5642ef79f5245c89d749285f 03-Jul-2014 Sky Faber <skyf@google.com> Enable ability for secondary users to scan for networks, but not forget.

Bug: 15437477
Bug: 14676589
Change-Id: I3f1956265f4877b8c3cba138628b7393c393d175
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
13cddb5337418359eb5f9bebd0504fbc5c47fc41 01-Jul-2014 Julia Reynolds <juliacr@google.com> Apply DISALLOW_CONFIG_TETHERING to wireless access points.

Bug: 15852213
Change-Id: I1f1adb8762bf7b694aa92f4b0a393d8e06c610bf
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c6f06c628ee3583b60ff31a7da442e0ac7b26d97 19-Jun-2014 vandwalle <vandwalle@google.com> autojoin tuning, making LTE handover less aggressive

Bug: 15700122

Change-Id: I2836abf791f8c71c63a901170f247c4030e8e8f9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
211737ce4cabcab0552e3453ac6e3c5a4748c158 11-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Merge "Use the updated RouteInfo API."
82d1c6aeadfa24797b314ae2b2a55717df064b57 08-Jun-2014 Robert Greenwalt <rgreenwalt@google.com> Apply LinkProperties API change.

bug:15142362
Change-Id: I1457111da7d3bd09998f7e010febb8bb4c45c8bc
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
d05472bb94ecc9b870463a843313f2d852bcf5b8 04-Jun-2014 Sreeram Ramachandran <sreeram@google.com> Use the updated RouteInfo API.

Bug: 15142362
Bug: 13885501
Change-Id: I97f1625e037c889b0cddd3db418c42c1d48b26b9
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
511a412adce5a46c41e61f90c0df6de5fb4e491c 31-May-2014 Yuhao Zheng <yuhaozheng@google.com> WifiService and WifiPasspointService hook up

- add a reference to passpoint service in wifi state machine
- break dependency loop at boot phase

Change-Id: I0acdf02dcb4a62a4e27af8bb3640784ee2691e26
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a6b7a402041bd4bc0749331b92c3c1e5225927a0 31-May-2014 vandwalle <vandwalle@google.com> Merge "add debug info to wifi configure, check auth method for real before self-adding"
992ae00f25a9cc22cf5db3261bd7e72927069cf7 30-May-2014 vandwalle <vandwalle@google.com> add debug info to wifi configure, check auth method for real before self-adding

Bug:15111865

Change-Id: I095fff870c7871e3cb7ae4b8e99034519eb26fa1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c6c2b4218d9f15b5de45a002bff7e84a7ebc99e0 29-May-2014 Andres Morales <anmorales@google.com> am f3f4029b: Change permission to acquire NFC config token

* commit 'f3f4029b3ac41da4cc6a1bc22bae47c750a47048':
Change permission to acquire NFC config token
f3f4029b3ac41da4cc6a1bc22bae47c750a47048 13-May-2014 Andres Morales <anmorales@google.com> Change permission to acquire NFC config token

The supplicant provides the configuration token
in the standard format for writing to an NFC
tag. Once this token is written to a tag,
tapping that tag will ask the user to confirm
and then connect them to the network referenced
on the tag.

Since this token contains the network
password, it should be accessible only through
the internal permission.

It is implemented via a "sync" call since it
does not depend on the current Wi-Fi state.
Let me know if you see a reason to add it into
the state machine flow and I will do so.

Change-Id: Id1b4624651d0d82cb48bf83fb40ea0cfe7569832
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
2390785d4104a6c20459c5e7143c1a7a5bb2481f 22-May-2014 Jason Monk <jmonk@google.com> Merge "No longer require CONNECTIVITY_INTERNAL to set PAC"
ed9938883ae2dade81c8be6cd6ceaef3febd5239 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

bug: 151386707

Change-Id: Ide885ce96621fe4bab6abf10291bc8441eecad4a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
64c98f4afda6c7970c5d563580165a308d5e7c15 20-May-2014 Jason Monk <jmonk@google.com> No longer require CONNECTIVITY_INTERNAL to set PAC

Since we are adding UI to control/monitor this, it does not need
to be guarded by CONNECTIVITY_INTERNAL anymore.

Bug: 14885470
Change-Id: I01fcc477899e94232e9863d4e46391ad831d249c
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a3425a631c67eaa0af5d2d378f125ba22d99c3d7 21-May-2014 Lorenzo Colitti <lorenzo@google.com> Merge "Move IP config from WifiConfiguration to IpConfiguration."
3ecf5a032e94b6538a56f94a5b33e50cbc464007 19-Mar-2014 Jaewan Kim <jaewan@google.com> Move IP config from WifiConfiguration to IpConfiguration.

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9ae6b45c038fa74a9e7285ef4834551dd93da332 20-May-2014 Yuhao Zheng <yuhaozheng@google.com> Fix a boot failure due to Wifi / Wifi Passpoint

Bug: 15060373
Change-Id: I8341a39c849d4135a0549c481cb3327cfca14567
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
569b093c4afd30787308032c8259af2680a2874f 10-Apr-2014 Navtej Singh Mann <navtejsingh@google.com> Fixed bypass of ConnectivityInternal permission

Removed public function 'getWifiStateMachineMessenger' of
WifiManager to fix bypass of ConnectivityInternal permission
by application, which is security concern

Bug: 13749822

Change-Id: I3ae73e33b77ee8ae0133ca9dc8cc03c504f09e40
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
f22d23092ab37286a5ef9d257d5bb32c421d2669 06-May-2014 vandwalle <vandwalle@google.com> autojoin initial implementation

Change-Id: Iea4e5c0b8e988e410d2f9885ecaf6317d34cc1d1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
0e8c82453d5a7f328ac1edc248457581368cd8c6 07-Apr-2014 Jaewan Kim <jaewan@google.com> Merge "Revert "Refactor IpConfiguration from WifiConfiguration""
b872cd1d58e1666a9066b136e28c49ed62f825ed 07-Apr-2014 Jaewan Kim <jaewan@google.com> Revert "Refactor IpConfiguration from WifiConfiguration"

This reverts commit 9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d.

Change-Id: Idba522f04dd4a6a16e4829f68f70d3cc19016a81
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
c1580601011dad221059c89c8445370c4f5d9727 07-Apr-2014 Jaewan Kim <jaewan@google.com> Merge "Refactor IpConfiguration from WifiConfiguration"
b59f69faf9e3de740bbe1e55cef70e9e22858c2a 02-Apr-2014 Kenny Guy <kennyguy@google.com> Renaming related users to profiles.

Change-Id: Ia3cb7534e34b971b1996c7b81d2d160466962afe
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9790c81b2d0fb2b8c3790e4dbe6dd9fd5b93bd4d 19-Mar-2014 Jaewan Kim <jaewan@google.com> Refactor IpConfiguration from WifiConfiguration

Bug: 7606609, Bug: 8687763
Change-Id: Iec5d3237c823c7893fbba3b3209fe2b03a27a583
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
531869afc345c1a4fb7cd3e8d1b62acdd0963947 11-Mar-2014 Alexandra Gherghina <alexgherghina@google.com> Merge "Modifying wifi service to return the list of wifi networks for related users"
fd5470391e5342daa38d00b68ccbccfeacbe6d33 10-Mar-2014 Alexandra Gherghina <alexgherghina@google.com> Modifying wifi service to return the list of wifi networks for related users

Change-Id: I66dd2625d2e3e9d135bad28c6209cf243648c7a6
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
9c22c8ea193360f50ad490368ca6a11af0684362 06-Mar-2014 Robert Greenwalt <rgreenwalt@google.com> Debounce wifi country code info

We're getting signals from the radio and it sometimes drops out for a while.
This change will delay applying an empty country code for 15sec but apply
non-empty country codes immeditately. It uses a sequence number so we only apply
the most recent change, even if it's delayed.

bug:11062898
Change-Id: I9d3a870f3b66296d4b3cbc10c730c9a043c0da96
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a0009d14075b5345b8f916c3fb3f2260c938cb9d 06-Feb-2014 Yuhao Zheng <yuhaozheng@google.com> Implement new API to scan a given channel set

Framework implementation for the new scan APIs. Besides implementing the API,
this CL does 2 additional changes:

1. Only count battery consumption if a scan request is accepted by supplicant,
i.e. it won't be counted if it's rejected due to another ongoing scan.

2. If a scan request is rejected, we may buffer the scan request and do it
later, to make sure the specified channels are eventually scanned. On the
other hand, we will try to combine scan requests to avoid repeated scans.
For example, a full scan serves all scan requests.

Bug: 12610436
Change-Id: Ia9edc58c7ddd7a535bfaa0f906f6faaaf5f5d439
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
3f7ef65ab71619040032aee96b5599849881d6fd 23-Jan-2014 Andres Morales <anmorales@google.com> piping supplicant commands for WPS token setup

Supplicant exposes a command for generating
NFC Wifi tokens as per the Wifi Simple Configuration
specification. This CL export this command to the
framework.

Change-Id: If34e6a71888bfb2b420048eed4fe373566835611
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
1c28bb29cb19367d5e3bdbe6d8558d0fd4b8f33e 17-Jan-2014 Vinit Deshapnde <vinitd@google.com> Fix a race in Wifi service startup

For wifi services to function, we currently require network management
and connectivity service to be created. But those in turn require
wifi service pointers. So to resolve the circular dependency, we create
objects first, and then start them. With the refactoring, I increased
the window between creation and starting which is exposing a bug that
already exists - WifiController starts the moment service is created.

This was hidden before because WifiController's thread wouldn't get far
in the short window that existed before; but now that the window is longer
it is dispatching messages trying to setup set without references to
network management and connectivity service. Hence the NPE.

I am delaying the call to start wifi service to fix this.

Bug: 12527004
Change-Id: Ie5842444988d8e6cbcceff50e4f014d410e36ec1
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
155b9d09ef9b8ead3ca617afdd91e74070d3f0cb 09-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Revert "Move Wifi services to a new git project""

This reverts commit 862f81faba40e9af8fb80744a22e968a298e814e.

Change-Id: I7b15e266a5948749026e01a61d8581746cfd0f5f
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
862f81faba40e9af8fb80744a22e968a298e814e 08-Jan-2014 Vinit Deshpande <vinitd@google.com> Revert "Move Wifi services to a new git project"

This reverts commit a07c419913bfae2a896fbc29e8f269ee08c4d910.

Change-Id: I1cd35cea1594cdbeae800b9130bc6f885f238b28
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java
a07c419913bfae2a896fbc29e8f269ee08c4d910 18-Dec-2013 Vinit Deshapnde <vinitd@google.com> Move Wifi services to a new git project

Bug: 12175455
Change-Id: I1fa07e29c6a9aae38d9e334d519a9f2445d15613
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/WifiServiceImpl.java