History log of /frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
544eff2d23fdb73b993a2525414326fbd44d3428 01-Jun-2017 Rebecca Silberstein <silberst@google.com> WifiConfiguration: add local only networkId

When applications start LOHS, they need a way to connect to the
network on the same device. The WifiConfiguration.networkId
will be set to the newly defined value to serve as a signal to
ConnectivityService that this request is for a local only
network connection.

Bug: 62076211
Test: frameworks/base/wifi/tests/runtests.sh
Change-Id: Iab5240a7b4f526f8bc72dd44cdba59e65faedcd1
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f4315fed7e2f6e3bb1a55000dc58106fa647d82d 02-May-2017 Randy Pan <zpan@google.com> Add network disabled reason starting index

Bug: 36872201
Test: Flash, run connection tests and check the bug reports
Change-Id: I4b015bc805671765f32cbabe6e5f4b623498279d
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6986e8a1ba5123e16f922d3fdee91bc9f195cd07 27-Apr-2017 David Farrow <dfarrow@google.com> Merge "documentation fixes" into nyc-mr1-dev am: 14826e5489 am: b1e3d9ab26
am: 4ea763ad8a

Change-Id: I1b3005ef17b9d54e1f9b9c75138d214e80fc414c
4ea763ad8a573900232d553b6e34e2425e68bae6 27-Apr-2017 David Farrow <dfarrow@google.com> Merge "documentation fixes" into nyc-mr1-dev am: 14826e5489
am: b1e3d9ab26

Change-Id: I4f2682c11384a9f656054b95cfba56132085634a
6bbc8955c17ed44f63ddbf78d0e4d24b60ac05cd 22-Mar-2017 Peter Qiu <zqiu@google.com> wifi: update passpoint to Passpoint in comments

Per API Council, we should use the trademark name Passpoint
instead of passpoint in the code comments.

Bug: 35854283
Test: make -j32
Change-Id: Iea6697191a936d1d779c0ea50cd19c134bc7df02
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
77724a5be7f5c26195a9dab92981e31422607075 17-Mar-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "WifiConfiguration: Correct documentation for priority"
60d9c84209c08455c8e577a0d6e95a414de1ef14 17-Mar-2017 Roshan Pius <rpius@google.com> Merge "WifiConfiguration: Update psk documentation"
b1aff6b19046553a3ab149fd8d3fa6dbd015ea64 17-Mar-2017 Peter Qiu <zqiu@google.com> Merge "Merge "wifi: add a flag indicating legacy Passpoint configuration" am: 2d87679a11 am: 1228b6cdec" into nyc-mr2-dev-plus-aosp
am: 01213393fb

Change-Id: Ic5ea3f8c8521e818ee771b20cdb4d43875d6daa7
26300afd75eeb5d57ca1019058a0ab54bf2be733 16-Mar-2017 Roshan Pius <rpius@google.com> WifiConfiguration: Correct documentation for priority

Addressing the concerns raised by API council for deprecating this
field.

Bug: 35854198
Test: make update-api
Change-Id: If9ca582f5d3bd8539a226b425662832241a447cc
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
a3406db72c14efd9610efc911e337ad3eb45b1c6 16-Mar-2017 Roshan Pius <rpius@google.com> WifiConfiguration: Update psk documentation

Adding some documentation to explain the expected contents of this
field.

Bug: 35967623
Test: make update-api
Change-Id: Ia28e2c79834c4d7b0de7350c18d5f32633e6309d
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1228b6cdecdfffbaf84e569061bf4ad4ce50f447 17-Mar-2017 Peter Qiu <zqiu@google.com> Merge "wifi: add a flag indicating legacy Passpoint configuration"
am: 2d87679a11

Change-Id: I12bc10c8bf51df93ee7c2c7b770820ca7189527d
580a1bdfbc6a8c4ca25e796af234711184c13871 10-Mar-2017 Peter Qiu <zqiu@google.com> wifi: add a flag indicating legacy Passpoint configuration

Bug: 36101691
Test: make -j32
Change-Id: I42df3160be9b2b863fededc1641482e5a39084e5
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
fa308f32570ef47edd73cf332b4339c1f7077215 03-Mar-2017 Peter Qiu <zqiu@google.com> Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork" am: 6ac19c0d23 am: be39334afb
am: 8cf05dfe92

Change-Id: Iecbe5a8d084302a2fa8ca49495ef93df78607428
be39334afb0f462dbef47528e1eae85d6c6d7bf0 03-Mar-2017 Peter Qiu <zqiu@google.com> Merge "wifi: WifiConfiguration: update documentation for isHomeProviderNetwork"
am: 6ac19c0d23

Change-Id: Ia4966b2d8109a85a94f59d7ec57b387a8f6f612e
d4b072159de3a4042e813b043e07b2c125c1d6d9 02-Mar-2017 David Farrow <dfarrow@google.com> documentation fixes

This only affects documentation; no code has been changed.

Added missing whitespace and closing parens, hid a fixme note.

Bug: 35925288
Fixes: 35925288
Change-Id: I1a0d243fbe1e3f7f31e6249ab3941b67771ca7b8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f7303ba18e1c6631da4e41a2b571e32f93f01844 01-Mar-2017 Peter Qiu <zqiu@google.com> wifi: WifiConfiguration: update documentation for isHomeProviderNetwork

Address API Councils comment on documentation for isHomeProviderNetwork
field. Specifically, the expected value for this field for non-Passpoint
network configuration.

Bug: 35855359
Test: make -j32
Change-Id: Ie6cdcc39c5156dccc14ed144e58a6d2f201aef17
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b858ffbe427b8d14bbfb713687a55f2d861d0901 23-Feb-2017 Amin Shaikh <ashaikh@google.com> Merge changes from topic 'disabled-reason'
am: d0fc3f1383

Change-Id: I09e7dff673a56fb3c51cde827ae783da32407a70
df6f7b93881bee64dd48640977df794c37236f92 23-Feb-2017 Amin Shaikh <ashaikh@google.com> Add a disabled reason for recommendation providers
am: a70bc57ef9

Change-Id: Ie91764892f6bd8fc20990f5a172c020a670875ff
d6a62ed405a2ab8897e021ff4d07b211d40bbf45 23-Feb-2017 Amin Shaikh <ashaikh@google.com> Fix failing WifiConfigManagerTest test.

Bug: 35671673
Test: runtest frameworks-core frameworks-wifi
Change-Id: I55ff41464cabfb97d03a0758d73145df808ec2c8
Merged-In: I55ff41464cabfb97d03a0758d73145df808ec2c8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
34cfdb26a62e114d13749d392d56cabcccc8cdb8 23-Feb-2017 Amin Shaikh <ashaikh@google.com> Fix failing WifiConfigManagerTest test.

Bug: 35671673
Test: runtest frameworks-core frameworks-wifi
Change-Id: I55ff41464cabfb97d03a0758d73145df808ec2c8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
a70bc57ef99c394f11a8c449762cdeba8f81b574 03-Feb-2017 Amin Shaikh <ashaikh@google.com> Add a disabled reason for recommendation providers

Display a message indicating that a saved networks has not been
automatically connecting due to low quality if
WifiConfiguration#mNotRecommended is set.

Bug: 34745259
Bug: 35671673
Test: m RunSettingsLibRoboTests && runtest frameworks-wifi
Change-Id: I275e2711da68715fb6d92bf954e9f58a3386b1f4
Merged-In: I275e2711da68715fb6d92bf954e9f58a3386b1f4
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
98773d4837922715c740d06bfd02666dceaf350b 03-Feb-2017 Amin Shaikh <ashaikh@google.com> Add a disabled reason for recommendation providers

Display a message indicating that a saved networks has not been
automatically connecting due to low quality if
WifiConfiguration#mNotRecommended is set.

Bug: 34745259
Test: m RunSettingsLibRoboTests && runtest frameworks-wifi
Change-Id: I275e2711da68715fb6d92bf954e9f58a3386b1f4
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6a4322b6d68a16394002997fdf54351af513f74a 08-Feb-2017 Roshan Pius <rpius@google.com> WifiConfiguration: Remove priority field am: 45491113ed am: 51641c20b2
am: 707ced526f

Change-Id: I294a36db16c8e079cae5b748421dccfbb50dadc4
45491113ed51518d459a715de95345199b286aa8 24-Jan-2017 Roshan Pius <rpius@google.com> WifiConfiguration: Remove priority field

This field is no longer used anywhere within wifi framework and hence
removing this from public API.

Bug: 28341078
Test: make update-api
Change-Id: I5bd115742ca610735b00c20f2ffab7590c5f3256
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
c082d63a3b62b7231f86d871ac16e0a24586f907 24-Jan-2017 Roshan Pius <rpius@google.com> WifiConfiguration: Remove priority field

This field is no longer used anywhere within wifi framework and hence
removing this from public API.

Bug: 28341078
Test: make update-api
Change-Id: I5bd115742ca610735b00c20f2ffab7590c5f3256
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
637c407d787d6ebe1e257ad6f0cd5adc0b0d539d 02-Feb-2017 Peter Qiu <zqiu@google.com> Merge "wifi: WifiConfiguration: add isHomeProviderNetwork field" am: e724f82b3d am: 281fae21f8
am: eeeb10c645

Change-Id: Ib218b76e03bb6a6082113d27ec514b03f2348b6e
04959d48e159e6d1e371f1a20f2b97e526c4ee0d 20-Jan-2017 Peter Qiu <zqiu@google.com> wifi: WifiConfiguration: add isHomeProviderNetwork field

This is a boolean field indicating if the given WiFi network is provided
by a Passpont home provider. This is useful for the Passpoint provisioning
app to determine if the current WiFi connection is allowed to perform
Passpoint subscription or policy updates when it needs to.

This field will be set by PasspointNetworkEvaluator when generating
a WifiConfiguration for a Passpoint network.

Bug: 34467212
Test: make update-api; make -j32
Change-Id: Ia8ec2508de9658a9ee520087359ff2cd68091b63
Merged-In: I47310cda078cbf1f2d1b0a9bf79f487230fb668f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1379fd0b1ef952547934846f4b6c40780f885e47 20-Jan-2017 Peter Qiu <zqiu@google.com> wifi: WifiConfiguration: add isHomeProviderNetwork field

This is a boolean field indicating if the given WiFi network is provided
by a Passpont home provider. This is useful for the Passpoint provisioning
app to determine if the current WiFi connection is allowed to perform
Passpoint subscription or policy updates when it needs to.

This field will be set by PasspointNetworkEvaluator when generating
a WifiConfiguration for a Passpoint network.

Bug: 34467212
Test: make update-api; make -j32
Change-Id: I47310cda078cbf1f2d1b0a9bf79f487230fb668f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
9f65210780d89a39245c01a2c52447512fbdd950 20-Jan-2017 Amin Shaikh <ashaikh@google.com> Expose WifiConfiguration#ephemeral is a SystemApi

Bug: 34503179
Test: make
Change-Id: I3a89b89da67152bb522ae4dbfd1cfe1b4830d8ae
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
424650dd52ac38b34957cbdd17df0fa78602b31f 18-Jan-2017 Glen Kuhne <kuh@google.com> Merge "Unhide WifiConfiguration proxy accessors" am: c82d1ddaf4 am: d2f5fd3c42
am: 878fcfaa22

Change-Id: Ib4a59d41088ba00b21ccaeea6a9e7578c24ab8da
6862d2f6c6b99177de9f92b22a9d6da1253358e4 23-Nov-2016 Glen Kuhne <kuh@google.com> Unhide WifiConfiguration proxy accessors

Unhiding HttpProxy accessors in WifiConfiguration.
This change occurs in parrallel with changes that restrict updating of
WifiConfigurations with new or updated proxy info to uids
holding permission OVERRIDE_WIFI_CONFIG, or holding DeviceOwner or
ProfileOwner policies.

Bug: 14669153
Test: None
Change-Id: Id69525cfec152ea52697693f9a3bd6f86019c694
Merged-In: Id69525cfec152ea52697693f9a3bd6f86019c694
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
07998e8e266ac3f019435b723b7a3b03db21d412 13-Jan-2017 pkanwar <pkanwar@google.com> DO NOT MERGE: Fix to maintain the Carrier Network connection.
am: e45b50293e

Change-Id: I6a48b308cd461097a195a073249cde096cc74886
e45b50293eb9f13596b3a797ecc6815a443d0cdf 13-Jan-2017 pkanwar <pkanwar@google.com> DO NOT MERGE: Fix to maintain the Carrier Network connection.

Added isCarrierNetwork param in WifiConfiguration, which is then used in
WifiStateMachine. After this change, the connection to Carrier Network
should be maintained.

BUG: 30760683
Change-Id: I88e01ff44f494a6eda5e2e8a088d069638b72c89
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1375ede09255e04141f680c3e90526e9f34bf061 23-Nov-2016 Glen Kuhne <kuh@google.com> Unhide WifiConfiguration proxy accessors

Unhiding HttpProxy accessors in WifiConfiguration.
This change occurs in parrallel with changes that restrict updating of
WifiConfigurations with new or updated proxy info to uids
holding permission OVERRIDE_WIFI_CONFIG, or holding DeviceOwner or
ProfileOwner policies.

Bug: 14669153
Test: None
Change-Id: Id69525cfec152ea52697693f9a3bd6f86019c694
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
bdc89f99eadc4117a9934c11a7327fffaebfc151 06-Jan-2017 Amin Shaikh <ashaikh@google.com> Expose fields in WifiConfiguration.

hasNoInternetAccess and isNoInternetAccessExpected are key signals needed
to determine whether Wi-Fi should be woken up for a given saved network.

Test: make
Bug: 33224312
Change-Id: I3f48735ebae72e15fbdb0a3057cf7c71fb0cc307
Merged-In: I3f48735ebae72e15fbdb0a3057cf7c71fb0cc307
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5ac6650d4aa8dd6fa16a568bd86b0e38aca32161 06-Jan-2017 Amin Shaikh <ashaikh@google.com> Expose fields in WifiConfiguration.

hasNoInternetAccess and isNoInternetAccessExpected are key signals needed
to determine whether Wi-Fi should be woken up for a given saved network.

Test: make
Bug: 33224312
Change-Id: I3f48735ebae72e15fbdb0a3057cf7c71fb0cc307
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d3dfd3b8e9ccafd0c3a524ab6ded717d4e6e5593 20-Dec-2016 Amin Shaikh <ashaikh@google.com> Make WifiConfiguration#meteredHint a @SystemApi

This allows NetworkRecommendationProviders to set this field on
returned WifiConfigurations.

Test: make
Bug: 33760009
Change-Id: I4d34272a1fb8d88bcc56cf4f00d8beadd06ac603
Merged-In: I4d34272a1fb8d88bcc56cf4f00d8beadd06ac603
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
14965357b7e5b1c6ac8334dc83a06e603c0e2740 20-Dec-2016 Amin Shaikh <ashaikh@google.com> Make WifiConfiguration#meteredHint a @SystemApi

This allows NetworkRecommendationProviders to set this field on
returned WifiConfigurations.

Test: make
Bug: 33760009
Change-Id: I4d34272a1fb8d88bcc56cf4f00d8beadd06ac603
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1ff5bd2646b5876121374f13deb96d3c1a21145e 21-Nov-2016 Michael Plass <mplass@google.com> Remove user-triggered disconnect counters

Removes these fields of WifiConfiguration:
numUserTriggeredWifiDisableLowRSSI
numUserTriggeredWifiDisableBadRSSI
numUserTriggeredWifiDisableNotHighRSSI
numTicksAtBadRSSI
numTicksAtNotHighRSSI
numUserTriggeredJoinAttempts

Add parcel test for WifiConfiguration.

Bug: 33013630
Test: unit tests pass
Change-Id: I39566c4e7845b01899739c36d6ec633f272fec6f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f301986727df4b20c246b6ae09b4b52aa2aceb35 03-Dec-2016 Roshan Pius <rpius@google.com> Merge changes from topic 'fast-bss-transition'

* changes:
Add capability flag for 802.11r fast BSS transition
Add constants for 802.11r
c76fda726973693c6168ada797943070eac2f04b 28-Nov-2016 Stephen Chen <stewchen@google.com> Add meteredOverride field to WifiConfiguration.

This stores a user's metered selection. This will be set by
Settings -> Data Usage -> Network restrictions and used in conjunction
with WifiConfiguration.meteredHint to properly track a Wifi network's
metered state.

Bug: 33106464
Bug: 26545374
Test: runtest --path
frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/XmlUtilTest.java
runtest --path
frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/WifiStateMachineTest.java

Change-Id: I1a378ef2946c1b5b6091bba379f2ab48a15d29d8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3ed7caa0f99c3c178fcf4376bad04b53cc90eb5b 01-Nov-2016 Paul Stewart <pstew@google.com> Add constants for 802.11r

Add constants FT-EAP and FT-PSK, which implement 802.11r Fast
BSS Transition.

Bug: 32607043
Change-Id: Ic089bf9331723f1fce3978253437f5759c6d61e9
Test: Build (constants only)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
e72f7dc385bf0d8ae2c5015aaa7de74b5ef769eb 01-Nov-2016 Paul Stewart <pstew@google.com> Add constants for 802.11r

Add constants FT-EAP and FT-PSK, which implement 802.11r Fast
BSS Transition.

Bug: 32607043
Change-Id: Ic089bf9331723f1fce3978253437f5759c6d61e9
Test: Build (constants only)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
29ce1dab5a97a8ec266d8314f552c2ecdf9bd99f 06-Sep-2016 Roshan Pius <rpius@google.com> WifiConfiguration: Fix isEnterprise

Add a check for the eap method in Enterpriseconfig associated with the
WifiConfiguration.

BUG: 31275240
Change-Id: I21aabb09bdd21e29a80d4b9c6ea0e2b1f0d7e2df
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d2d667275d4565e6c56a324b17f72fb4f5448ad5 30-Aug-2016 Roshan Pius <rpius@google.com> NetworkSelectionStatus: Fix copy constructor

Add one more missing element from NetworkSelectionStatus copy constructor.

BUG: 31102798
Change-Id: Iae18f944e7ef722b280b20a51f128f90b2ff45c7
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
521c66e73cbd48b11c2fe4b28ffcf4279acb045c 26-Aug-2016 Roshan Pius <rpius@google.com> NetworkSelectionStatus: Fix copy constructor

Add couple of missing elements in the NetworkSelectionStatus copy constructor.

BUG: 31102798
Change-Id: Ie5f3719b94acf021d4ae2756afd635388640168c
(cherry picked from commit 699680b6b4fb923e4129d678013e3fbbc0421eaa)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
22de5aaca9b3d976d3f3cdf8b0a02f3b3ccb6d99 27-Jul-2016 Randy Pan <zpan@google.com> Deprecate QNS network disable reason BAD_LINK

WifiNetworkAgent#unwanted no longer disables the network.

Bug: 28558417
Change-Id: I2e7ed99ae4cb952f124c673376d967eeee2b4ece
(cherry picked from commit 4156d615707a7aa27ecaf55c889824fd025a75b5)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
47fb68bd24ada11cb5f3b2f987134fa2ce3ee1dc 28-Jul-2016 Roshan Pius <rpius@google.com> WifiConfiguration: Expose NetworkSelectionStatus strings

Make the status/disable reason string arrays public to be used in
XmlUtil for restoring of data.

BUG: 30448209
Change-Id: If8201df9397edcc4251e5b6aa4d613212fb576ad
TEST: Unit tests
(cherry picked from commit 23173a2efa45e5159a9b958e31cf345f8f0c2347)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
311a72164b1060445b4067090c0bfd6615747093 10-Jun-2016 Roshan Pius <rpius@google.com> WifiConfiguration: Make NetworkSelectionStatus public

Expose a public constructor for |NetworkSelectionStatus| class and add a
setter in WifiConfiguration to set the |NetworkSelectionStatus| object.
Needed for config store persistence of this object.

BUG: 29273147
Change-Id: I9d9036928137760c4832567dd2b9d0fabc874940
TEST: Unit tests
(cherry picked from commit 6a89ee2d908add0d418995420b2d5eaebd90882f)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
72baa1de4dadecf9ff309dc5e58c59b5bed654e0 22-Apr-2016 Roshan Pius <rpius@google.com> WifiConfiguration: Add new selection disable reasons

1. Add a new "permanently" disabled network selection status for disabling
networks after a user switch.
2. Add a new "temporarily" disabled network selection status for disabling
networks when WPS is enabled.

BUG: 28219928
Change-Id: I4ab7333ebaa830dadf73f317fd6bb81a02054235
(cherry picked from commit a6fac3eb6b29c7d370b56889cb53f6bebeeee04f)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3396b385145ad5af32c70dd2f9e582dd3800be1c 27-Jul-2016 Randy Pan <zpan@google.com> DO NOT MERGE ANYWHERE: Deprecate QNS network disable reason BAD_LINK

WifiNetworkAgent#unwanted no longer disables the network.

Note: this CL is a cherry-pick of ag/1292017, as that CL cannot be
submitted until after N DR cutoff date (expect submission on 8/18).

Bug: 28558417
Change-Id: I2e7ed99ae4cb952f124c673376d967eeee2b4ece
(cherry picked from commit 7d82f98b8f2d8bd7b46e35599e4994cd6e23c03e)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
7d82f98b8f2d8bd7b46e35599e4994cd6e23c03e 27-Jul-2016 Randy Pan <zpan@google.com> Deprecate QNS network disable reason BAD_LINK

WifiNetworkAgent#unwanted no longer disables the network.

Bug: 28558417
Change-Id: I2e7ed99ae4cb952f124c673376d967eeee2b4ece
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
fc8601310d9af6e8ac16a118b16a1ae414e93900 15-Apr-2016 Jeremy Joslin <jjoslin@google.com> Added useExternalScores field to WifiConfiguration.

Bug: 25562019
Change-Id: Ie3b02875b74f6decb1d4be0107a5a8161f66d657
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
61b5a7689320274ce5fff9a9eae1866d8d696b9b 31-Mar-2016 Jan Nordqvist <jannq@google.com> Fixed incomplete OSEN config code.

Bug=27929688

Change-Id: I8f4a0415576e6dc35d735fa46dc50591478403af
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
cd7167db2d8a18ad3e0a594c46e46d7ffafdaacc 26-Mar-2016 Rebecca Silberstein <silberst@google.com> Add hasEverConnected to NetworkStatus object

Add a boolean indicating if we have ever successfully connected to a
network given the current configuration. This value should be set to
true upon a successful connection and set to false if the credentials
change. The default value is false.

BUG: 27855896
Change-Id: I1af8f4ad7aac622b48f3c90d88b0debd671a1f40
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
0a835f6e43cd52c88438d801d4fedda963ca147d 25-Mar-2016 Paul Stewart <pstew@google.com> Merge "WifiConfiguration: Remove dead commented code" into nyc-dev
e8ea325716621405ffb279496ca4273461145210 24-Mar-2016 Paul Stewart <pstew@google.com> WifiConfiguration: Remove dead commented code

Nobody uses this code. Let's clean up.

Bug: 27054653
Change-Id: I7b3dccd09de270de6fd5a17da3217495dbce421a
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f0c9b8c68fd6f6deeab3d51a62a02f4ea17bdb98 17-Mar-2016 Jeremy Joslin <jjoslin@google.com> Add meteredHint to WifiConfiguration.

Adding a new field, meteredHint, to WifiConfiguration so that it
can be passed through and eventually used to set the meteredHint
field on WifiInfo.

BUG: 27120794
Change-Id: If08966c6a5e8eab0905f3335b1c6822975b2f0b5
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d4ef42f0e5eb1862850dc75a7004aaa421fedfa8 03-Mar-2016 mukesh agrawal <quiche@google.com> Merge "WifiConfiguration: show more detail in toString()" into mm-wireless-dev
am: 7516adbd6d

* commit '7516adbd6d8584aff957ff722dd20543c25c6897':
WifiConfiguration: show more detail in toString()
e23993848c65c7fb2c91bb89989117d35dabe5c3 03-Mar-2016 mukesh agrawal <quiche@google.com> WifiConfiguration: show more detail in toString()

When debugging WiFi issues, it's helpful to know whether
or not a network uses a hidden SSID. Update
WifiConfiguration.toString(), to provide this information.

BUG=26836097
TEST=capture bugreport, verify "HIDDEN: false" is present for normal net
TEST=capture bugreport, verify "HIDDEN: true" is present for hidden net

Change-Id: I1f7c587fc2eda358e0868e9a7ef0bb2058e726a8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5045253e3e4b9b1c0cf3feea087843d431ed1d1b 19-Feb-2016 Glen Kuhne <kuh@google.com> Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev
am: 70fc162330

* commit '70fc1623301ab5268c54bb203329893893ed35cb':
Add EID_TIM to ScanResult.InformationElement
70fc1623301ab5268c54bb203329893893ed35cb 19-Feb-2016 Glen Kuhne <kuh@google.com> Merge "Add EID_TIM to ScanResult.InformationElement" into mm-wireless-dev
b6cd6fa5a7314047409823ba48ff9e124ff53a70 11-Feb-2016 Glen Kuhne <kuh@google.com> Add EID_TIM to ScanResult.InformationElement

Added EID_TIM to enable parsing of TrafficIndicationMap
InformationElements.

BUG=25691077
Change-Id: I99450f0b720175660486da15d6b13affbdb61adc
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b3f9ee0d5a1c0a45d957a6e50f4ada3a8e3592dd 16-Feb-2016 Peter Qiu <zqiu@google.com> Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
am: 03d7581cf6

* commit '03d7581cf6dcc8072fe22c834513593a46fcf93b':
WifiConfiguration: add constants for radio band
03d7581cf6dcc8072fe22c834513593a46fcf93b 16-Feb-2016 Peter Qiu <zqiu@google.com> Merge "WifiConfiguration: add constants for radio band" into mm-wireless-dev
3e425f6c4be3fc30695473329c6364abfe69a059 15-Feb-2016 Bartosz Fabianowski <bartfab@google.com> Merge "Remove wifiConfiguration.isVisibleToUser()" into mm-wireless-dev
am: e1bdbd216f

* commit 'e1bdbd216fef6d1f0bb6b3c61cc95abba3e67af7':
Remove wifiConfiguration.isVisibleToUser()
d6676166599b7cadd043b0bd400aeace3059621b 12-Feb-2016 Peter Qiu <zqiu@google.com> WifiConfiguration: add constants for radio band

Change-Id: I2287ffb3d93351d73659327cef37a6d3ecd588b3
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
00144e8de35dbdc3a477862ef8d92a6fa8191142 11-Feb-2016 Bartosz Fabianowski <bartfab@google.com> Remove wifiConfiguration.isVisibleToUser()

This method seemed like a good idea at the time (quickly check whether a
network configuration is visible to a given user). However, once managed
profiles come into play, this simple method is no longer appropriate.
There is a more comprehensive replacement at
com.android.server.wifi.WifiConfigurationUtil.isVisibleToAnyProfile()
now and this method here can go.

BUG:26867426

Change-Id: Ia66aa6f74003a16eca24c5088d3aba8e0c9f8140
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
70cffc57e5e3884054080e0066fa7fc34243daec 10-Feb-2016 Ritesh Reddy <riteshr@google.com> Merge "Enabling SoftAP Configuration Backup." into mm-wireless-dev
am: c4a1188afd

* commit 'c4a1188afd81b4b773e30ec184839bc1a82b355d':
Enabling SoftAP Configuration Backup.
aeb4c0601330f5f30fe0026a714ff59f0fe90abf 26-Jan-2016 Ritesh Reddy <riteshr@google.com> Enabling SoftAP Configuration Backup.

SoftAp Conf is backed up as a serialized WifiConfiguration
object.

Change-Id: Ib7f4d130600313a67b710b45df274e15f0baad24
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
962c6a81e3f9b3ea6b4b178ca41a87230864525e 03-Feb-2016 Jan Nordqvist <jannq@google.com> Merge "New System APIs for Passpoint r2 app." into mm-wireless-dev
am: fd600b1113

* commit 'fd600b1113af6f66e28b65f5b53f4a7c751cdef9':
New System APIs for Passpoint r2 app.
a772f0cf34f0db67997cb31fa44315c0933563da 28-Jan-2016 Vinit Deshpande <vinitd@google.com> New System APIs for Passpoint r2 app.

Change-Id: I09428e9a393999f43aefe5efd77cffe4b1b17da5
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
cb3308a3352a9cf8f970653a6568b9548a46d185 28-Jan-2016 xin He <xinhe@google.com> Merge "Remodel Network Selection" into mm-wireless-dev
am: 2fdee90b68

* commit '2fdee90b685781ec5e30f0788b727f692df32d40':
Remodel Network Selection
584dc6b8b9628d930de4ea3ad94894886294b855 26-Jan-2016 xinhe <xinhe@google.com> Remodel Network Selection

There are two main changes in this CL:
(1) Add user selection preference support. If user
explicitly chooses a network, framework will remember
it and consider user has a higher preference of this
network over all other visible networks.

(2) Seperate user set BSSID and framework chosen BSSID.
The BSSID under WifiConfiguration is set by user and is
not allowed to be overrided. The BSSID under Network
selection status is the best BSSID chosen by the
framework to associate with.

BUG=26012244
BUG=26721725

Change-Id: Iece91d20b139ef1c6aec05828c734d1706d81007
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
9e717cbddb8f694a02128cec976ff366cad0cfa4 20-Jan-2016 xin He <xinhe@google.com> Merge "Phone reboots after connect-disconnect-reconnect to GoPro" into mm-wireless-dev
am: 77eb57976e

* commit '77eb57976e67c36b33d1e3ad17ec9f4033b09398':
Phone reboots after connect-disconnect-reconnect to GoPro
b625377b1a9b324254fcde9928eade4473712486 06-Jan-2016 Jeremy Klein <jlklein@google.com> Expose WifiAp methods as @SystemApi.

GTS tests to follow shortly.

BUG: 22406002
Change-Id: I42883fa5e35a11b4b2d734f07b7d72f2ac0ec1f8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
90a3841994b40aeb1c3a7a6b78dd804e49eb5e13 20-Jan-2016 xinhe <xinhe@google.com> Phone reboots after connect-disconnect-reconnect to GoPro

Error is due to the wrong initialization on Disable
Reason String

BUG=26664811

Change-Id: Ie4ede26eb5654ef369d2d07cb393765ad1edac61
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6fb0756d2f59d70507919350f6192718b5d3f630 12-Jan-2016 Bartosz Fabianowski <bartfab@google.com> Add WifiConfiguration.shared flag

* Add boolean WifiConfiguration.shared, which indicates whether a network
is shared (visible to and usable by all users) or private (visible to
and usable only by the user who created it)
* Extend WifiConfiguration.configKey(...) so that when two users create
private configurations for the same network, their configurationKeys
will be different.
* Make AccessPoint.matches(...) take into account the shared flag

BUG=25600871

Change-Id: I4a4335fa3b4b4f850e16748583a29ab66992ddc8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8d106780b6a638552749e54e169fc72537d4bccc 01-Dec-2015 xinhe <xinhe@google.com> Initial codes for Quality network selection [DO NOT MERGE]

In this change list, the old WifiAutojoin module is
refactored initially. The old WifiAutojoinController is
replaced with a new WifiQualifiedNetworkSelector.
WifiConfiguration, WifiConfigureStore and
WifiStateMachine have been modified accordingly. The new
network selection logic is refactored with a more clear
and deterministci one. To refer to thedescribed in
details, in "Quality Network Selection and Connectivity
Scan Management in N". The link of the document is:
https://docs.google.com/document/d
/1JPTa2NEk-PgjCJ16fIrR6ohV-kDKveDlYDOeiMCB2_c

Bug:26012244

Change-Id: I3df124c110e458e3b6bc29466b9046748d79582a
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
dd14bad82d46c565de923daf74cd5fbc993f8537 01-Jul-2015 Vinit Deshpande <vinitd@google.com> Merge "correctly print wificonfiguration creation and update time" into mnc-dev
edbedd28b6aa10c266e627a9609b1c538479f03b 01-Jul-2015 Pierre Vandwalle <vandwalle@google.com> correctly print wificonfiguration creation and update time

Change-Id: I1c4abf9bed86cddea3592f0604def1a7727b73fc
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
7226c8f95b5971af2710c8d2f8a8b6f2210e2420 30-Jun-2015 Vinit Deshpande <vinitd@google.com> More API review feedback

ScanResult now hides all flags and their values, only methods
are public; and converted roaming consortium to an array of longs
instead of Longs.

Bug: 22179306

Change-Id: I644110dbddd5fa7a7109ac16051845fcc4c4e9d1
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
a0d929e505432a8c84f3899696c910db16bd73bf 13-Jun-2015 Vinit Deshpande <vinitd@google.com> Address API review comments

Added a flags field in ScanResult; along with flag
values and methods to read them.

Changed types of passpoint related fields.

Bug: 21342042
Bug: 21572290
Bug: 21343777

Change-Id: I413960de88b387853d11b9e10f92665e9c06a81b
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
ced1a6599042826a3bf678871d6b8a9e7187e973 16-Jun-2015 Pierre Vandwalle <vandwalle@google.com> add creation/update time to WifiConfiguration

Change-Id: Iaace83e752c8aa7d740a3dfad42cd8bba80a7a08
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d49288352908e8cbc9a001e13df2eb35e78deb1a 02-Jun-2015 Jan Nordqvist <jannq@google.com> Cleaned out "isValid" from WifiConfig.

Change-Id: I028615e55700aa92889670297f1130397eba650f
(cherry picked from commit c50315e014efded84b8f1981602951011816360b)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5ddc65b9860b7ef39a0921bcbca3cbc50abe3a2c 21-May-2015 Pierre Vandwalle <vandwalle@google.com> fix annoying typo

Change-Id: Ic8411d622755ee168da6495d2e86201fb3c1154f
(cherry picked from commit c4ea0369dd01ec1ed53b5c8930d2f3831d793442)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b6f9da0b7f26b50163461a767cafcd8014328742 01-May-2015 Prerepa Viswanadham <dham@google.com> Merge commit '17455a3' into master_merge
e20b8ad4c43e671b5115cfefe5740b7d9462b685 24-Apr-2015 Jan Nordqvist <jannq@google.com> Changed logging tag.

Change-Id: I9a916305910c65425ffe7ea8d5a29dba0ee9a8da
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f9465fb6d215358233edc7679918aadf3d6e5b48 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '7e5e791' into merge2

Change-Id: Ie4889e3448b905afe5c0df453da96df0735e60d7
644f41368f9eddd475fa9c5dddc7ceac5722a3a8 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit '4cb5d80' into merge2
4de834eb636a46db223417a03646751eb06efe66 24-Apr-2015 Etan Cohen <etancohen@google.com> Merge commit 'c91bc62' into merge2
7e5e791d22e76eb576fd5cf6dd5437b8050b0438 22-Apr-2015 xinhe <xinhe@google.com> Fix build error on API

Change-Id: Id7024feb6baf8c6cc607702b3ac90dfbd3d483ba
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
023158cbbc378bc924ad2e55b773c4e8fcb44ec8 21-Apr-2015 xinhe <xinhe@google.com> set softAP band selection API hidden
20460598

Change-Id: I2a13961896bacf0bd67c387dc1983dc45ca0e52d
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6593256e785df3f16e57097d529fcb26f92b55e3 10-Apr-2015 Jan Nordqvist <jannq@google.com> A few minor fixes for EAP-TLS.

Change-Id: I807d44d1bd84b929d21df402542c4b6f1f646b30
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1248dd3c296a94457d5864b7f433335f32490b50 06-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Add a noInternetAccessExpected boolean to WifiConfiguration.

This will be set if the user explicitly confirms a connection to
a Wi-Fi network without Internet access and checks the "don't ask
again" box.

Bug: 20081183
Change-Id: I75223ae41dbf0d3a827527a0a131855d8eb4c515
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1ac50cb32c08388540f53833c04a02f13fed0824 06-Apr-2015 Lorenzo Colitti <lorenzo@google.com> Add an UNKNOWN_UID constant to WifiConfiguration.

This value will be used to indicate that one of the various UIDs
tracked stored in the WifiConfiguration is unknown. Currently the
code just uses "-1" everywhere for this purpose; a constant is
clearer.

Bug: 20081183
Change-Id: Id865da9284f642587eed11f67685e5b12ce772c2
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
57bf2a8a38e929f00f3323cf97a8ea7a9af900ce 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'e593d0a' into merge_work

Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
220951a6d0a408313256d0a9078c8ae8d8321c03 11-Apr-2015 Prerepa Viswanadham <dham@google.com> Merge commit 'b2ff415' into merge_work

Change-Id: I4f9c662112fc49e4f94315d3c69860607be3bc1e
e9b056f8860296a08f93f4b7d2a0971c746c227b 30-Mar-2015 Jan Nordqvist <jannq@google.com> API for config app.

Change-Id: Icda0ac1b081a08f438645ccf3667b5b81cb5e244
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6f6c781cca66cabc1f06be368a6dfedceb88ed0e 27-Mar-2015 Vinit Deshpande <vinitd@google.com> Remove scanResultCache from WifiConfiguration

This is in preparation to use ScanDetail - which is a superset
of ScanResult - in wifi stack. There are no external users of
scanResultCache; so it can be safely removed.

Also fixed a javadoc comment for getPlmn()

Change-Id: I7c49532664ffe2e3e5e134bfcd42615d5999d02f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
4209a28270a70016ee5ee6cae3dc96d6df0ade26 24-Mar-2015 Prerepa Viswanadham <dham@google.com> Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into master_merge

Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
ad25bb89251c0552cfbc6c254853c79b7d9c121a 19-Mar-2015 Vinit Deshpande <vinitd@google.com> More fixes to get passpoint working

Change-Id: If8639bb0fd3bdaad7ee09217a9152c1695cb9354
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
2522c830a3ad3ae2ca7f675f13fafab8835d4f0c 13-Mar-2015 Vinit Deshpande <vinitd@google.com> Fix scan results to hold passpoint data

Change-Id: I8ab75ec49226a59b04de6463de596cc9f5f6d800
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
04444427d0f3421fc9791842bdce834ffed448cc 12-Mar-2015 Vinit Deshpande <vinitd@google.com> Improve passpoint configuration validation

Change-Id: I717242b2f8b2e7d0f84c3a7c74c4672289387151
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
811576251485f7ab8bb88a9b97d6b417bfa8f764 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Passpoint API - Take 1"

merged from goog/mirror-m-wireless-internal-release
b21d248 Passpoint API - Take 1
a86f0741c794ffb00490320220219b864a5f90e3 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "get channel list from driver for SoftAP channel selection"

merged from goog/mirror-m-wireless-internal-release
18ae1d2 get channel list from driver for SoftAP channel selection
b35f4efe159829852ea4a4b58b21448b306c37d9 15-Mar-2015 Vinit Deshpande <vinitd@google.com> am "set softAP on a specified band, including both 2.4 and 5 GHz band"

merged from goog/mirror-m-wireless-internal-release
a0be0fb set softAP on a specified band, including both 2.4 and 5 GHz band

Change-Id: I8f2514dfc35fafddc52d9244a093f2924697b748
d2585f3050f749e471d79abb0dd54bd20445de05 10-Mar-2015 Vinit Deshpande <vinitd@google.com> am "Passpoint API - Take 1"

merged from partner/m-wireless-wifi-dev
b21d248 Passpoint API - Take 1
3cb5e4d72f4a22251b8fae253e0ccae38a5e70da 10-Mar-2015 Vinit Deshpande <vinitd@google.com> am "get channel list from driver for SoftAP channel selection"

merged from partner/m-wireless-wifi-dev
18ae1d2 get channel list from driver for SoftAP channel selection
b4499afde5cb4fe9e7c168af60d003e2c7df40a1 10-Mar-2015 Vinit Deshpande <vinitd@google.com> am "set softAP on a specified band, including both 2.4 and 5 GHz band"

merged from partner/m-wireless-wifi-dev
a0be0fb set softAP on a specified band, including both 2.4 and 5 GHz band
08c7116ab9cd04ad6dd3c04aa1017237e7f409ac 28-Feb-2015 John Spurlock <jspurlock@google.com> Remove unused imports in frameworks/base.

Change-Id: I031443de83f93eb57a98863001826671b18f3b17
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b21d2489c1bd330e39f4489c7f221ebb4dffc283 02-Feb-2015 Vinit Deshpande <vinitd@google.com> Passpoint API - Take 1

Added some common fields to WifiConfigurations; which
should be used with WifiEnterpriseConfig. The network
information is saved in a file.

Change-Id: Ica2069900dfc373e14792cbe81a185586e2954cc
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
18ae1d22077e1cd8ed71b1e74d14a3a2c4e50a62 05-Feb-2015 xinhe <xinhe@google.com> get channel list from driver for SoftAP channel selection

Instead of hard coding the available channel list, we should
get channel list from driver

Bug:19237543
Change-Id: Id2ec689273407f54709cb034d6ba666f91da51c0
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b53d1a2794e59d5b02d5578528f76691fe723087 29-Jan-2015 vandwalle <vandwalle@google.com> Merge "aggressively blacklist WifiConfiguration for the purpose of switching network" into lmp-mr1-dev automerge: d169839 automerge: 0a22d43
automerge: 7e553a0

* commit '7e553a06a0506529563c6a0920e0de2a0d48cedc':
aggressively blacklist WifiConfiguration for the purpose of switching network
8650c035609507340e3a66459cea16ef08cd03a6 11-Jan-2015 vandwalle <vandwalle@google.com> aggressively blacklist WifiConfiguration for the purpose of switching network

In cases where networks are not properly configured, WiFi might tries to repeatdly switch from one network to a bad network, or might try to roam and renew DHCP which can fail. In KK, WiFi autojoin would try other networks (by cycling to network it sees) and end up associated to a "good" network. In L release even thought WiFi might pick a good network it will still repeatedly try to switch to what it thinks is a better network and fail, thus annoying the user whose connection becomes unstable. This CL tries to remember networks that have seen multiple DHCP or auth failure in the past and for those networks it disable roaming temporarily. That is, if wifi is not associated to any network, it will tries to join a network aggressively, however if wifi is currently associated to a network, it will not try to switch to a new network if that new network has seen multiple failure in the past. The maximum blacklist time is set to 2 days for now.
An example of such situation is:
- user has multiple SSID at home, one of which is incorrectly configured with a wrong password
- broken DHCP situation (potentially: multiple servers on home network, broken implementation incorrecting NAK'ing DHCP requests but properly serving DHCP offer...)
Bug:18792931

Change-Id: I332a9cebdc19be2e00b455205d386fcffcb70b29
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
a0be0fb2709124a567f89114b1d8e80f74452edc 08-Jan-2015 xinhe <xinhe@google.com> set softAP on a specified band, including both 2.4 and 5 GHz band

Bug:18929692
Change-Id: I6109b477937b0ecab95f5a2b414f2bec9b30e1cd
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1c9c3f4e9be1933edfc8de0b1e3c57f7e36a985a 18-Dec-2014 vandwalle <vandwalle@google.com> am a3c187bc: am f87606fe: Merge "add debug logs to confirm network flapping issue is fixed Bug:18706288" into lmp-mr1-dev
automerge: 67878bb

* commit '67878bb5ea8b4cc873a25ab577a94a8d6f122dc1':
add debug logs to confirm network flapping issue is fixed Bug:18706288
72e1d3f53826c2f19727e30e4b576a0e2d0e3728 16-Dec-2014 vandwalle <vandwalle@google.com> add debug logs to confirm network flapping issue is fixed
Bug:18706288

Change-Id: I59378faafbccfa58639d942c8b8e2e0e815261f4
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
572ff423a75a1f19610b500645d9b14523abcde5 14-Dec-2014 Prem Kumar <premk@google.com> am fa205fff: am 9ef07ad2: Merge "make sure wificonfiguration scan cache doesnt grow unbounded Bug:18703749" into lmp-mr1-dev
automerge: da6ebb4

* commit 'da6ebb4ee29fff8b5455cd8b779aaabc029cd3b5':
make sure wificonfiguration scan cache doesnt grow unbounded Bug:18703749
53d1f0707323428edf9ec00da4ca98eeb1b5c092 10-Dec-2014 vandwalle <vandwalle@google.com> make sure wificonfiguration scan cache doesnt grow unbounded
Bug:18703749

Change-Id: I8e35d602a80b341668d9607db2da3ca6fdb970ae
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8ffeda02d73ec3d39311e03b2a377e1ac9007f6b 12-Nov-2014 Wink Saville <wink@google.com> Merge commit 'ec3e9805dd7c527f961d1f2a14e5752b461186ca' into fix-merge-conflict

Conflicts:
wifi/java/android/net/wifi/WifiConfiguration.java

Change-Id: If52be614cadf80955025097589f922072363e7ba
ec3e9805dd7c527f961d1f2a14e5752b461186ca 08-Nov-2014 vandwalle <vandwalle@google.com> dont blacklist wifi config that have had validated internet status in the past

Change-Id: Iadb4e0e1beeb9e582b944e003470815a5a865652
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
bc2ccb48d3cd4cb7a9c5fb798f15d21620cc03f1 15-Oct-2014 Jeff Davidson <jpd@google.com> am 1199a4c4: am f2a598e4: am 074c5b5b: Merge "Don\'t drop WifiConfiguration\'s ephemeral bit on copy/parcel." into lmp-mr1-dev

* commit '1199a4c436b4e08306c02f615360e233124bff55':
Don't drop WifiConfiguration's ephemeral bit on copy/parcel.
074c5b5b65295ee57c4223360604aba51479d783 15-Oct-2014 Jeff Davidson <jpd@google.com> Merge "Don't drop WifiConfiguration's ephemeral bit on copy/parcel." into lmp-mr1-dev
0f422c6d8024fb682d2e30a77ae7cf9c9c456cff 08-Oct-2014 Primiano Tucci <primiano@google.com> resolved conflicts for merge of 28495b02 into master

Conflicts:
wifi/java/android/net/wifi/ScanResult.java

Change-Id: I86a4537d603cbf325e5e0bff715a442d9dc6b6db
63edd98d2eb744cc78dc3a3f8ec1ce7e6164d69d 07-Oct-2014 vandwalle <vandwalle@google.com> adding debug information to bug report for Bug:16751877

Change-Id: I9d417c20c6b6721933a4eb943c1305845005facf
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8faf2a2a15853368a14babf935c156664b5f0b6c 07-Oct-2014 Jeff Davidson <jpd@google.com> Don't drop WifiConfiguration's ephemeral bit on copy/parcel.

Bug: 15892711
Change-Id: I4a027c99634a11d13bb3c8420ba959c201644689
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3041a9e07dc85151a96062f67abf2eb1b5ef25bb 04-Oct-2014 vandwalle <vandwalle@google.com> am 542cc240: am 88b927e2: am c67e5ae2: am 4f5fd780: am 68104b05: Merge "add millisecond timestamp to locallog" into lmp-dev

* commit '542cc240b5bd68a728067f65cd8bc4d8f6473b83':
add millisecond timestamp to locallog
c520aa89a33ddb7c065ef06bcd2d2dbf96e1f989 02-Oct-2014 vandwalle <vandwalle@google.com> add millisecond timestamp to locallog

Change-Id: I33d8672efd2747ed3f49dd8d5bcd5f47bf418053
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
fb223e848fee4fdd379f2f6190d51e877d02dca2 02-Oct-2014 Lorenzo Colitti <lorenzo@google.com> am 65d720b3: am 6245bd9e: am eef8d3eb: am df959707: am 7fe95529: Merge "Revert the configKey generation algorithm to what it was in K." into lmp-dev

* commit '65d720b3fb766f88c8f76bfba0538d0185cc6d21':
Revert the configKey generation algorithm to what it was in K.
8e1e34a3f659f76bbbfce2a2a8bdd3f471bf707d 30-Sep-2014 Lorenzo Colitti <lorenzo@google.com> Revert the configKey generation algorithm to what it was in K.

Bug: 17670914
Change-Id: Ibb2ea26ea28a38518caab7d1b45ae535a0eaf661
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
c55cd103708493f9d45122236affbf08b49456f0 20-Sep-2014 Sky Faber <skyf@google.com> User wifi separation feature.

Change-Id: Iab79db10107ab5dbeb469c12621a9a4916bd62c9
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3e3857c4f5d277c69bcb0ff3a581a176f3a84bf8 22-Sep-2014 Sky Faber <skyf@google.com> Separate wifi AP added by applications.
-Add field for tracking user approval of application added networks.
-Add WifiConfig fields for creating/updating application name
-Add permission to allow system apps to modify any network

Bug: 16953082

Change-Id: I12943563ef714c4287e13488578f020d136d006d
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
0561030490e418fcead83606249d8cfdc344a163 24-Sep-2014 Mike Lockwood <lockwood@google.com> Fix broken merge of "handle bssid blacklist in case of dhcp failures"

Change-Id: Iba13db478ed69976c37bd4882f59bf0cae2212e6

Conflicts:
wifi/java/android/net/wifi/ScanResult.java
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
176a27f3abf18af18a1ad4012ca3eadbff12ba96 20-Sep-2014 vandwalle <vandwalle@google.com> handle bssid blacklist in case of dhcp failures

Change-Id: Iba13db478ed69976c37bd4882f59bf0cae2212e6
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
2e93c38fa6fad224e56a45ff4244bdd538aec846 13-Sep-2014 vandwalle <vandwalle@google.com> make wifi cellular params configurable

Change-Id: Ia2a4ac3e11f2b0c7412f33496a655c5d5297ea0c
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
94fe7e99d1e99a6bb351da48a8e17b1d61b0efdc 12-Sep-2014 vandwalle <vandwalle@google.com> various fixes:

- allow for making use of more aggressive initial autojoin attempt rssi thresholds
- create a blacklist due to missing identiy reason
- make autojoin parameters configurable

Change-Id: I385db83aab1da7918ff6935eb59a209b253d42e6
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
e26bc8fda7b2d9dad3882ec3fb22739b80d5390f 10-Sep-2014 vandwalle <vandwalle@google.com> make autojoin configurable, clean up BSSID info that may be stake in WifiConfiguration

Change-Id: I5052f6a76bcd1f980ef558bff54ce1b172319743
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
448e208b0a1b2a4cec22b636afd28d58f8785c2e 05-Sep-2014 vandwalle <vandwalle@google.com> add more info to WifiConfiguration.toString:
- add the noInternetAccess field
- add stats about user triggered wifi state disabling requests
- Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change

Bug:17348200

Change-Id: Ic956e11e7d61faf472a7332f84a46a746922455a
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
0a82e80073e193725a9d4c84a93db8a04b2456b9 30-Jul-2014 Lorenzo Colitti <lorenzo@google.com> Stop using LinkProperties for static configuration.

LinkProperties can represent way more complicated configurations
than what we can actually apply to interfaces. This makes it
error-prone to use it to represent static configuration, both
when trying to apply configuration coming from LinkProperties
and when trying to save configuration from current
LinkProperties.

Instead, move static configuration (IPv4 only, since we don't
support static IPv6 configuration) into a separate
StaticIpConfiguration class.

Bug: 16114392
Bug: 16893413
Change-Id: Ib33f35c004e30b6067bb20235ffa43c247d174df
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
c8505931420dd9a76acf940a56b31354cd0105b0 22-Jul-2014 Vinit Deshpande <vinitd@google.com> Support EAP-SIM and EAP-AKA

This change un-hides constants for these two methods and
also un-hides RADIUS/AAA FQDN field to allow creating
Passpoint release 1 credentials.

Change-Id: Ia3501017dc1f5c0b4932bb45e1e9c5bf7262d7fe
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
16a40cc7b597f0492f633cc0f742dc796955e7fd 29-Jul-2014 vandwalle <vandwalle@google.com> add debug info to wificonfiguration dump

Change-Id: I4887afa21d6e1d9463fa4a5cd0aa7ae22973239f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
57188b8908286118be96348c3bc72931d197b522 28-Jul-2014 vandwalle <vandwalle@google.com> Merge "introduce WifiConnectionstatistics" into lmp-dev
4eeecb25509f91ac7a6e2cde76dac782fbec5360 26-Jul-2014 vandwalle <vandwalle@google.com> introduce WifiConnectionstatistics

This CL is dependent on I10584a447fecd977df3eefd8e2cc028bd26ec0e3

Change-Id: I51fbbf062feb22c5f16b438675519064cc43e160
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
eb8f329a5e8d4df80447ab9676761f9743d20cd4 24-Jul-2014 Chelsea Derrick <chelsead@google.com> Also unhide WifiConfiguration.lastUpdatedUid.

Bug: 16153258
Change-Id: I69c2666a63c3e56787c4aa2699c2cfd22c053353
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
154b2cf6bbb99ee258b289846183172139a87dba 24-Jul-2014 vandwalle <vandwalle@google.com> autojoin fixes:

- make use of network scorer for autojoin
- Bug:16484607

Change-Id: Ib26cfe31aa5646facf781a2345981e06a6fc36e3
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
adae06be9bfd8cb756e1793b52e682eb87258968 16-Jul-2014 Chelsea Derrick <chelsead@google.com> Unhide WifiConfiguration.creatorUid. [DO NOT MERGE]

Bug: 16153258
Change-Id: Ic4fcf1d5454b9bf5ae31cefb48322dae187338bc
(cherry picked from commit 761f6cb69d3ac20dfc274eed2246f50da942b0c0)
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5f9385f7eaaacf854bfbe3268eefd3dd39dab05a 01-Jul-2014 Yuhao Zheng <yuhaozheng@google.com> Add two Passpoint fields to WifiConfiguration

We need two new fields in WifiConfiguration for Hotspot 2.0:
requirePMF & updateIdentifier

Change-Id: I288fee7a413286c48eedd034a5aca60a40b831a8
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
7610fa66cd0980703986cf5be95a307397040bf1 20-Jun-2014 vandwalle <vandwalle@google.com> add home network boost

Change-Id: I4b508b3f54304c0b3fea126c3905ed3322c2feee
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d524c78d9358e2fa1e67124468cffa5284870c62 18-Jun-2014 vandwalle <vandwalle@google.com> initial tuning

Change-Id: Iffe899225899e7805478a507ce270d537dc84abd
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
72d87d99b02c6523a4a3cb83e0d5cf6c8e01075f 13-Jun-2014 vandwalle <vandwalle@google.com> auto-roam fixes, disable scanning based on traffic at interface

Bug: 15575229
Bug: 15577651

Change-Id: Ia8914a90d803fd9e6ba9fa51efce50c7b7f1c692
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
111fa0274d1d6620f9634783585387f3b773949e 11-Jun-2014 vandwalle <vandwalle@google.com> auto-roam initial implementation

Change-Id: Iad207974b2fea97420cc6131c5fa0a1f17bf2aac
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
2ab9089dfa0c0526e8bf0aaade8a09dec021dc90 03-Jun-2014 vandwalle <vandwalle@google.com> remember and report network score

Change-Id: Iccb2ec603bc9c0d3cf1976d0cc3f343cb1096494
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
2d0f71eea20470985abde98d759910a1ac40b257 01-Jun-2014 vandwalle <vandwalle@google.com> handle removal of self added configurations

Change-Id: Ib2891ac38a4a876b0cd4f198cf26198b9fc12909
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
85382f145901070afbe6b991861aa48c4bc1aba3 31-May-2014 vandwalle <vandwalle@google.com> Merge "add uid and debug fields to wifiConfiguration"
8f13548615f647a1208ace5369b504cb41149965 30-May-2014 vandwalle <vandwalle@google.com> add uid and debug fields to wifiConfiguration

Bug:15111865

Change-Id: I154214c08efe769495cc214cbf65f15d55d83a32
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8a9eb81df1218884bf0c4cdb214d2f1ec0a5679c 27-May-2014 Yuhao Zheng <yuhaozheng@google.com> Wifi Passpoint API change

- hide package android.net.wifi.passpoint
- extend android.net.wifi APIs for Passpoint credential management
> hide for preview

Bug: 15191967
Change-Id: Ic90818cf5c91e93dd7890774543e08b842edc594
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
559486f081f0e45247daeec50bc34e0e74e56c5a 22-May-2014 vandwalle <vandwalle@google.com> revert change preventing NULL SSID in a WifiConfiguration

bug: 15114340

Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3a74e2ef1681eaae973fc989b3533a7f9c82e7b1 22-May-2014 vandwalle <vandwalle@google.com> remember last supplicant failure

Change-Id: I644d32d08491ea0c32cb36820d2720da027a49d0
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5fb7bf5fdb93831684b00eb637ec15b5cf0d1e2d 22-May-2014 vandwalle <vandwalle@google.com> make verbose logging a wifimanager hidden API

Change-Id: I325f6ea9f1a6c16dbee9aca641cad7ed3bcd7d2c
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d3adb7e81658b9c3af8955360acd1b930be6cda8 21-May-2014 vandwalle <vandwalle@google.com> various autojoin fixes

Change-Id: I96acd02764a6fd7c8482ab82bd7e33280b90a577
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
6346155c5a48495944041e65ec279c88b0fa1391 10-Mar-2014 Jaewan Kim <jaewan@google.com> Move IP config from WifiConfiguration to IpConfiguration.

This is so that Ethernet can use it in the future.

Bug: 7606609
Bug: 8687763

Change-Id: I5d1189682b13f1088848809604690648d8d9ecca
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
13f48ffab8c24d18a0a83e488a9b358a730580d4 15-May-2014 vandwalle <vandwalle@google.com> autojoin fix for devices which are using the enableNEtwork API

Bug: 15000352

Change-Id: Ib8b5dfd517e48444913f0ad0e5d08749d6eaa757
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
e50869df0d1a216a73c7bcbeeb9406d5ba475b20 13-May-2014 vandwalle <vandwalle@google.com> autojoin is to eager to black list networks due to connection failure

Bug: 14834820

Change-Id: If2862ce09faf583d25cac7713c619975713ccd95
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
60a28c6c4b992d1d3959484442a205d6ae2bd977 09-May-2014 vandwalle <vandwalle@google.com> Don't crash when asked to enable an AP with a null SSID.

WifiConfiguration can have been build by an app with a NULL SSID, or
other null fields. We need to verify that at least that those fields
are not NULL before using them. More specifically, don't crash when
enabling an AP with a null SSID in setApConfiguration function.

Bug: 14568953
Change-Id: I6b33ddf97789c0ee4b850d3ec0bccb08100c21d5
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
7c3606c103e95d3991267cca2592402a68779caf 01-Apr-2014 vandwalle <vandwalle@google.com> initial Best Network Selection implementation

-add dhcpserver, defaultGwMAC address, linked configuration and user choices link lists to WiFiconfiguration
-add default gateway mac address to RouteInfo
-add a Date to the ScanResult
-add BSSID date to the WifiConfiguration
- make framework auto-join into a config option
- add Settings option for showing RSSI in Wifi picker view; add auto-join specific status to WifiConfiguration

Change-Id: I5cfc4f2a48c9f3bc9766e8e68e24eff7b57f2821

Changes to be committed:
modified: core/java/android/provider/Settings.java
modified: wifi/java/android/net/wifi/ScanResult.java
modified: wifi/java/android/net/wifi/WifiConfiguration.java
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
678979748585c5903125a404e448ad6c111dedad 07-Apr-2014 Jaewan Kim <jaewan@google.com> Revert "Refactor IpConfiguration from WifiConfiguration"

This reverts commit 1284767ceb1affa6d5af77fd26ccf7322df48a6d.

Change-Id: Ibccea84e5dc44c1b8954779660e0721b27f762d4
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
1284767ceb1affa6d5af77fd26ccf7322df48a6d 10-Mar-2014 Jaewan Kim <jaewan@google.com> Refactor IpConfiguration from WifiConfiguration

Bug: 7606609, Bug: 8687763
Change-Id: I736eb3c73a8ffc8f137a04a5ea66ee564dc2b530
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
ffadfb9ffdced62db215319d3edc7717802088fb 07-Dec-2013 Vinit Deshapnde <vinitd@google.com> Move Wifi/P2p service components under services

Some methods need to be public, since frameworks/base complies before
frameworks/base/services; and services takes build dependency on base.

Similar issue exists with WifiEnterpriseConfig constants.

Bug: 9907308
Change-Id: Ied0e3dee0b25c939067dbc66867a9814b3b3b68e
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
662c326e5fc02fa11226de1267b7f60485f5638a 23-Sep-2013 Vinit Deshapnde <vinitd@google.com> Merge "Allow yet another combination of key management options" into klp-dev
2871588101c9bf1e6c9573599dee9be106466175 21-Sep-2013 Vinit Deshapnde <vinitd@google.com> Allow yet another combination of key management options

Framework sets allowedKeyManagement to WPA_EAP + WPA_PSK, if
WifiConfiguration didn't supply any value for it. It should probably
change to NONE; but that is post K thing. I am allowing that
combination for now.

Bug: 10843500
Change-Id: Id0c28f4aaf32c6a7e7dca07114a2452ce194a798
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
0fd3b1be14ec6b6ba33140efa321b27dc3bf2862 20-Sep-2013 Vinit Deshapnde <vinitd@google.com> Fix incorrect exception being thrown from WifiConfiguration

Bug: 10817189

Change-Id: Ib2985f50080cb9d983a6de6ce668223e8782c3b6
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
3b25f51609209ecd1374278b3dbec55a7bd15813 17-Sep-2013 Vinit Deshapnde <vinitd@google.com> Consider current EAP TLS configurations as 'valid'

Multiple authentication methods are currently considered invalid; but
WPA_EAP and IEEE8021X are set simultaneously. This means we need to
fix code to consider them a valid combination.

Bug: 10325089

Change-Id: I2b4f4d75f21df78bfca66a930e85214c0cd6922e
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
10652a95b16909acf26f31cdafc0c6aa09212f26 10-Sep-2013 Vinit Deshapnde <vinitd@google.com> Fix invalid Wifi Network system crash

There is some validation code that is eventually detecting that we
have an invalid network; only the result is a crash. The right thing
to do is to do validation up front; and fail calls if the network
configuration looks invalid.

Bug: 10571289

Change-Id: I100506b777a34b26ac9a310ba508140560f87a90
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
602b232a06ede86999aa362a12eb28cbc782dc1d 03-Jul-2013 Jason Monk <jmonk@google.com> Add PAC File support for proxy configuration

PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host). It gets called to determine what proxy should be
used for a specific request.

This adds PAC support to the system. The ProxyProperties has been modified
to hold the PAC file when one is present. The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required. This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.

The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.

The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files. The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.

As a fallback to applications that don't use the java ProxySelector, the proxy
is setup to point to a local proxy server that will handle the pac parsing.

bug:10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
509b51aa2560d47bcf64d63a1347b7ba8136450e 11-May-2013 Dmitry Shmidt <dimitrysh%android.com@gtempaccount.com> am 00ee47ea: Merge "framework/base: Handle ASSOC-REJECT events"

* commit '00ee47ead451ee2584c23f15a3760ae041e82e56':
framework/base: Handle ASSOC-REJECT events
c1b631e757999232674e53e9a1bc21abed6b1862 30-Apr-2013 Deepthi Gowri <deepthi@codeaurora.org> framework/base: Handle ASSOC-REJECT events

Disable current network and enable other saved networks(if any)
once number of ASSOC-REJECTs on an attempt to connect to a corresponding
network exceeds the threshold.

Change-Id: Iac3c1596aa800d93c55b0ac5d8070a058c3842bd
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b815edf3aba63c2cd46f3ceb243ed13192102940 05-Feb-2013 Irfan Sheriff <isheriff@google.com> Track keys per config and allow cert push from apps

Allow configuring keys for a configuration and update/delete
from wificonfigstore.

Change-Id: I79b43bf7ca58f7efc95f7dcc125fc84d7aa8c795
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
c72c5625c69595501cb888f6086979abf7fd6161 11-Jan-2013 Irfan Sheriff <isheriff@google.com> Refactor enterprise config

Change-Id: I7104250e80317fce6164385701a7caffbcd14813
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
fdc028383a01eaaa9bf93cb5d3ce50bd744eab52 08-Feb-2013 Irfan Sheriff <isheriff@google.com> Expose EAP config API

This API allows apps to setup access to enterprise Wi-Fi networks.

Change-Id: I37573d76b8bd9cad72413afdc4fc62ce57b4dc43
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
26d0076f0dbb021c4e5cc1b37b632b2223fd9278 05-Feb-2013 Irfan Sheriff <isheriff@google.com> Track keys per config and allow cert push from apps

Allow configuring keys for a configuration and update/delete
from wificonfigstore.

Change-Id: I79b43bf7ca58f7efc95f7dcc125fc84d7aa8c795
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
9b81319002634cf7118055f7aafaa26c27d4e5e8 11-Jan-2013 Irfan Sheriff <isheriff@google.com> Refactor enterprise config

Change-Id: I7104250e80317fce6164385701a7caffbcd14813
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b6deeed3ceff9e0f754697987b7c724901996082 05-Sep-2012 Irfan Sheriff <isheriff@google.com> Handle ascii encoded SSID

Supplicant now passes as an ascii encoded string that allows it to
pass any sequence of bytes for a SSID. see src/utils/common.c in supplicant
for details of the implementation.

We create a SSID structure WifiSsid in framework to store the ssid and handle
the conversion appropriately when required for printing and for an application.

At this point, we still do not handle non-printable octets from an application perspective
for connectivity

Bug: 7110903
Change-Id: I520e5ee23baed4867b8b408bbb3eda5c9e92b6bf
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
343331fa025efb8327ae9b2ebaa276a6d098c102 11-May-2012 Kenny Root <kroot@google.com> Add in constant for WPA supplication settings

This constant indicates what should be sent when a wpa_supplicant's
engine field should be marked as "disable."

Bug: 6480500
Change-Id: Ic963eff4b2ae1496f06e23f80514bf530767c568
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
565f9f216aa87f11d451ae6532d5153001a386bf 21-Mar-2012 Kenny Root <kroot@google.com> Update Wifi to use new keystore function

The old wpa_supplicant.conf format used a special URI prefix
"keystore://" for the private_key value to indicate when to load things
from keystore.

The new format uses an OpenSSL ENGINE to perform operations with the
private key, so we don't need the special URI prefix. This changes
enables that usage and also supports migrating the old style
configuration to the new style.

Change-Id: Ibdf2322743eaa129bd2aa5e874f197b573714b57
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8136de08ff4b5c4cca11220143f5905dca38cc26 26-Aug-2011 Isaac Levy <ilevy@google.com> Fixed WifiWatchdog notification bugs

- Space was truncated on 'disabled' notification
- Disable reason was getting wiped out on subsequent disabled
- disable reason was not propogating to WifiSettings

Change-Id: I2e57ee33d285aad39aabe1b048e7436d364b02f3
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8dc6a1b2823f374a176fb21b8a174664a5f825fa 27-Jul-2011 Isaac Levy <ilevy@google.com> Watchdog notify on explicit connect

Notifies when user explicitly clicks on wifi dialog.

Change-Id: I5eee37d68b422d748d41e9384d5006482a223dc5
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
ec8d23af7372204f068aebaa1bfae87dc9260e23 17-Feb-2011 Irfan Sheriff <isheriff@google.com> Add WPA support for soft Ap

Bug: 2771935

Change-Id: Ib16c1c3b9aaccbcdf372365d3c0825bdf0680207
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
96ca91761e6857c1ca2e4fafe5b35e4b5fefe5a1 06-Oct-2010 Irfan Sheriff <isheriff@google.com> Use LinkProperties for IP and proxy configuration

Change-Id: I4ae817fb00141e9a742216b7fd02dca1ed228270
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
128cecab968337038591cc14e3cdd5b37b2e5cb9 23-Sep-2010 Irfan Sheriff <isheriff@google.com> Add proxy settings per wifi network

Provide per network proxy settings configuration
for wifi. This is stored along with the ip configuration
in ipconfig.txt

bug: 3039302
Change-Id: Ic8bc14493583be19fde3d7c463d1e5a77e6df25f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5ee89800bee7c6c755778795a536e0e2f12b85ff 17-Sep-2010 Irfan Sheriff <isheriff@google.com> Add Wifi Protected Setup support

Add WPS PBC and WPS pin method support with pin obtained
from AP

Bug: 2277571

Change-Id: I6ff8e447ab8c5e59456a55152588fd4d6386c610
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
31b62322bfa9470d648fbfd69510e03da29b29af 30-Aug-2010 Irfan Sheriff <isheriff@google.com> Add per network static IP settings

Remove the existing global static IP settings and add support
for per network configuration

Change-Id: I5a6d8b877471b8c8ad07951c96d273893754607f
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
4e8620f868e2490782ebb960404140ea9482c91d 25-Aug-2010 Ben Dodson <bjdodson@google.com> Updated documentation for upcoming fix for @code tags

Change-Id: Id7b163179132b9cf180afecb4e9e10ee39bcd415
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
9e6222f4c126252c9950d072ab67d8b849d17643 23-Aug-2010 Irfan Sheriff <isheriff@google.com> cache configured networks

Remove the sync-wait call into state machine for
fetching configured networks

Bug: b/2876746
Change-Id: I4434627abb78f7112fd613008c4c77374ac1b966
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5f55d8c9d447f492aed955ac29454e0c482a4956 22-Sep-2009 Chung-yih Wang <cywang@google.com> Fix the incorrect field name in EAP wifi network.

The field identity should not be "anonymous_identity".
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
8e9ef0e78970d0ca399bd3c9aaf9011f0e4aaebe 16-Sep-2009 Chung-yih Wang <cywang@google.com> Add the hide for the inner class definition.
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
4337476a6669ce52549ce4a60f5e4d07f8e3033f 16-Sep-2009 Chung-yih Wang <cywang@google.com> Fix the missing part for reading enterprise fields in wifi configuration

+ refactor the enterprise fields.
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
b96ea206d93b6cd7fe2106a8427d41a8e90d8322 22-Jul-2009 Chung-yih Wang <cywang@google.com> Add the phase2 field for EAP WiFi configuration.
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
699ca3f2518360ea3250ff5a0e5d39e122c64a91 04-Jul-2009 Chung-yih Wang <cywang@google.com> Add password field for WiFi configuration.

1. the certtool.h is modified for avoiding the side effect,
for saving the configuration with wpa_supplicant.
2. put the loadLibrary back in CertTool.java
3. Fix incorrect JNI declarations.
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
5069cc78497209c035a7019b2f407bd1ed57f64a 03-Jun-2009 Chung-yih Wang <cywang@google.com> Add the EAP related fields for WiFi configuration.

-- added the EAP/802.1X related fields in WifiConfiguration for
supporting EAP/802.1X authentication.
-- hid the related fields for now.
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f8a7ceaef2e7d5cd530c9426bde91b6fa9a40b75 11-Apr-2009 Andy Stadler <> AI 145778: Manual merge changes 145382-145384 from cupcake.

Automated import of CL 145778
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
9066cfe9886ac131c34d59ed0e2d287b0e3c0087 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
d83a98f4ce9cfa908f5c54bbd70f03eec07e7553 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
f013e1afd1e68af5e3b868c26a653bbfb39538f8 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java
54b6cfa9a9e5b861a9930af873580d6dc20f773c 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
/frameworks/base/wifi/java/android/net/wifi/WifiConfiguration.java