summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/WifiEnterpriseConfig.java
Commit message (Collapse)AuthorAgeFilesLines
* Fix string equality comparisonPaul Stewart2016-07-211-1/+1
| | | | | | | Don't use "==" to compare strings. Bug: 25624963 Change-Id: Id25696e4fdcbcf4d48ec74e8ed65c1a33716b30c
* WifiEnterpriseConfiguration: Do not print credentials in toStringPaul Stewart2016-07-211-1/+3
| | | | | BUG:25624963 Change-Id: I939a12a27d6b915d8a9cc8b142f645fba0ee42ec
* [DO NOT MERGE] EAP-TLS PMKID mismatch errorxinhe2015-10-231-0/+31
| | | | | | b/24253154 Change-Id: I45c770dc4769e74b668385dbc3a618d31a40dc7e
* Address API review commentsVinit Deshpande2015-06-221-6/+8
| | | | | | | | | | | | | 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
* Changed [gs]etDomSubjectMatch to [gs]etDomainSubjectMatch.Jan Nordqvist2015-04-211-2/+2
| | | | Change-Id: I42a69320a95a96522500375e3e101c159ee5bf1b
* Added setDomSuffixMatch for AAA cert suffix matching.Jan Nordqvist2015-04-171-0/+32
| | | | Change-Id: I112399d2ce3d940ccf4451477b3b4edb93010b42
* Remove scanResultCache from WifiConfigurationVinit Deshpande2015-03-311-1/+1
| | | | | | | | | | 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
* EAP-AKA' : Add support of EAP-AKA' in WiFi Enterprise methodsJean-Michel Bachot2015-03-251-1/+4
| | | | | | | | EAP-AKA' is a new hidden method Change-Id: Ic103b25ad58807eebd5e0f8eefe3bfc02397aedc Signed-off-by: Jean-Michel Bachot <jean-michel.bachot@intel.com> Signed-off-by: Abdelmajid MLAYEH <abdelmajidx.mlayeh@intel.com>
* Passpoint API - Take 1Vinit Deshpande2015-02-241-3/+62
| | | | | | | | Added some common fields to WifiConfigurations; which should be used with WifiEnterpriseConfig. The network information is saved in a file. Change-Id: Ica2069900dfc373e14792cbe81a185586e2954cc
* Allow creating EAP_TLS network without specifying Phase2.NoneVinit Deshpande2014-09-131-1/+3
| | | | | | | | | | Phase2 isn't required for EAP_TLS networks, and it is possible for a developer to miss it. We are requiring it for internal book keeping - so this change just sets Phase2 to 'None' when EAP_TLS is set on the configuration. Bug: 17043082 Change-Id: I5a8e0a3a236d0dfd1295584de55d5b9a1b76b483
* Support EAP-SIM and EAP-AKAVinit Deshpande2014-08-081-2/+2
| | | | | | | | 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
* Update Hotspot 2.0 SDK APIsYuhao Zheng2014-05-221-2/+2
| | | | | | | - Add / fix java docs - Add some setters in WifiPasspointCredential for update use Change-Id: Ifc287ab9d69ea9e02bf036f22171947fde9ee94a
* Hotspot 2.0 framework - add implementationRoger Chang2014-05-201-1/+7
| | | | | Bug: 5485670 Change-Id: I4d0f728f4c20676232f2d61bbf49691f6e21a100
* Move Wifi/P2p service components under servicesVinit Deshapnde2013-12-111-39/+95
| | | | | | | | | | 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
* Refactor WifiEnterpriseConfig and move service part in WifiConfigStoreVinit Deshapnde2013-11-071-327/+67
| | | | | | | | | | | This change moves the code related to 'importing' the configuration in supplicant and keystore from WifiEnterpriseConfig class to WifiConfigStore class. This would allow moving system classes to server package. Bug: 9989922 Change-Id: Id96f34bb5d16ef192e9174d9caa867bdfdacf803
* Fix EAP-TLS reconnect after reboot issueVinit Deshapnde2013-10-021-3/+93
| | | | | | | | | | | | | | | | | | After a reboot, KeyStore is locked, and certificates encrypted with user PIN are not accessible. So statemachines are not able to connect to EAP-TLS networks. This change makes the problem less severe by 1. Not signing certificates with user PIN on devices with hardware backed KeyStore. 2. Issuing a reconnect upon first USER_PRESENT event. This means HH (which has a hardware backed keystore) can connect to EAP-TLS networks without requiring user intervention and other devices will automatically connect to those networks after user punches PIN. Bug: 10325089 Change-Id: I023d60e58d8214152f051bd9ec84b85b702d829a
* Fix an exception caused by incorrect data handlingVinit Deshapnde2013-08-151-1/+7
| | | | | | | | | | The prefixes in WifiEnterpriseConfig are optional, and should be treated as such. If the prefix doesn't exist, it is possible for an exception to be thrown (if the value size is smaller than prefix size). Bug: 10304089 Change-Id: Id9b2bc0e371c818e35a5aa1913ee1697f167e19e
* Enable Opportunistic Key Caching on WPA2-Enterprise NetworksPartha N2013-05-081-0/+2
| | | | | | | | | Add a "proactive_key_caching=1" line to every network segment config that represents a WPA2-Enterprise network. This enables Opportunistic Key Caching for all eligible WLANs. Change-Id: Ia529dcd1dee7a21a68c80de05a9f590ddd944d4c Signed-off-by: Partha N <parthan@gmail.com>
* Merge "Fix NPE issues seen by CTS" into jb-mr2-devIrfan Sheriff2013-04-191-3/+8
|\
| * Fix NPE issues seen by CTSIrfan Sheriff2013-04-191-3/+8
| | | | | | | | | | Bug: 8646305 Change-Id: Ief90c76d63f60aee9a3da080cd43dd9610f3f4fc
* | Merge "Add getters and private constructor" into jb-mr2-devIrfan Sheriff2013-04-191-0/+34
|\ \ | |/
| * Add getters and private constructorIrfan Sheriff2013-04-191-0/+34
| | | | | | | | | | | | | | Address API feedback Bug: 8656930 Change-Id: Idc3dd8d8a7e633449329864e41cab58a6b193b5a
* | Remove old KeyStore call sitesKenny Root2013-04-121-9/+5
|/ | | | | | | | Remove the call sites that don't have the flags specified. This is to ensure that callers know what flags they're setting. Bug: 8122243 Change-Id: Ifbd178fddbf8dbd8f7b821ea739a20d056ef9fa7
* Scope certs for wifi UID and handle migrationIrfan Sheriff2013-03-251-9/+32
| | | | | Bug: 8183303 Change-Id: I842c9b0c0d4f2fa42a3fc5b1ac22c28e202ef188
* Expose EAP config APIIrfan Sheriff2013-02-131-4/+26
| | | | | | This API allows apps to setup access to enterprise Wi-Fi networks. Change-Id: I37573d76b8bd9cad72413afdc4fc62ce57b4dc43
* Track keys per config and allow cert push from appsIrfan Sheriff2013-02-111-11/+241
| | | | | | | Allow configuring keys for a configuration and update/delete from wificonfigstore. Change-Id: I79b43bf7ca58f7efc95f7dcc125fc84d7aa8c795
* eix enterprise config storage bugsIrfan Sheriff2013-01-191-14/+21
| | | | | | | | | | Reading empty and not updating was resulting in retaining old values in a config. Also, fix matching phase2 entries. Additionally, allow configuring subset of enterprise fields. Necessary since password cannot be read back from supplicant. Change-Id: I83a01690a0cf7cad1457a674f50f1e3a1a0441b5
* Fix buildIrfan Sheriff2013-01-151-2/+1
| | | | Change-Id: Ib9fd57c641e3bd2001c7c802f35d97e0cb849b8a
* Refactor enterprise configIrfan Sheriff2013-01-151-0/+430
Change-Id: I7104250e80317fce6164385701a7caffbcd14813