summaryrefslogtreecommitdiffstats
path: root/wifi/java
Commit message (Collapse)AuthorAgeFilesLines
* Fail sanity check when BSSID is empty in RTT requestWei Wang2015-06-051-1/+2
| | | | | Bug:21636405 Change-Id: I33a8e7e42dd428c1ff598bef3aed44060c6dd396
* Remove trivial GScan logsVinit Deshpande2015-06-031-1/+1
| | | | | | | | | | These helped once; but now this is just noise. Also given that GMSCore starts/stops scans many times it is taking too much of log real estate. Bug: 20416721 Change-Id: I965ed919afbac56e123e8d019be84d7d33abf3f9
* Cleaned out "isValid" from WifiConfig.Jan Nordqvist2015-06-031-56/+2
| | | | | Change-Id: I028615e55700aa92889670297f1130397eba650f (cherry picked from commit c50315e014efded84b8f1981602951011816360b)
* Add NO_BATCH flag to WifiScannerSoonil Nagarkar2015-06-031-1/+6
| | | | | Change-Id: Idd521f724684986ff84306327d42b810f7b30245 (cherry picked from commit b9e6d98c6c0a05ebfc73a14d1ac2a47d58290241)
* fix annoying typoPierre Vandwalle2015-06-021-6/+6
| | | | | Change-Id: Ic8411d622755ee168da6495d2e86201fb3c1154f (cherry picked from commit c4ea0369dd01ec1ed53b5c8930d2f3831d793442)
* Rename HandlerThread name in RttManagerxinhe2015-06-021-1/+1
| | | | | | | | | The sHandlerThread name in RttManager is called "WifiScanner". It should be changed to RTTManager Bug:21299667 Change-Id: I545d0810544295fb39d95b5c3d8fe89c3b8fc073 (cherry picked from commit 4451685c7fd16c9a9a77791bb5bc9e4f23f1b6e8)
* Indicate failed scans with EXTRA_RESULTS_UPDATEDVinit Deshpande2015-05-211-0/+8
| | | | | | | | | | 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
* Merge "Do not report WiFi and Bluetooth MAC addresses - framework." into mnc-devSvet Ganov2015-05-191-1/+9
|\
| * Do not report WiFi and Bluetooth MAC addresses - framework.Svet Ganov2015-05-181-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | As a part of the new runtime permissions work we are limiting the PII apps can access. BT and WiFi MAC addresses are PII and based on our research there is no valid use case for app dev to get these addresses aside of user tracking which we are trying to limit. bug:21078858 Change-Id: Ib48223b272c0fd4f5c36acc889d4f44df204b309
* | hal based pno and lazy roam implementationPierre Vandwalle2015-05-182-8/+59
|/ | | | | | | cherry-picked from mirror-m-wireless-internal-release 3655257 - hal based pno and lazy roam implementation Change-Id: Ib58d40796c896a6d0dad856e0cb86c716c7aee7f
* Merge "fix null pointer crash" into mnc-devVinit Deshpande2015-05-141-1/+1
|\
| * fix null pointer crashPierre Vandwalle2015-05-131-1/+1
| | | | | | | | | | | | | | | | | | (cherry-picked from mirror-m-wireless-internal-release 216d8c3 fix null pointer crash) Bug: 20232584 Change-Id: I7c46e372bc8f3a54b0428ef56c034eb2c79133ea
* | Only activate the wifi alternate reality hack for KK and lowerLorenzo Colitti2015-05-131-2/+2
|/ | | | | | | | | | Currently, the hack is activated for apps that target L or lower. Per discussion, we should activate the hack only for apps that target KK or lower. Apps that target L or above must instead use the appropriate multinetwork APIs to deal with this situation. Bug: 20081183 Change-Id: I29e1989e7a07aaabc10f604c20ecdc0d8b5366a3
* Merge changes from topic 'mwd-merge-050415' into mnc-devPrerepa Viswanadham2015-05-052-1/+3
|\ | | | | | | | | | | | | | | | | | | | | * changes: Merge commit 'b6f59f4' into master_merge Merge commit 'f6db0ce' into master_merge Merge commit '17455a3' into master_merge Merge commit 'b4d5b32' into master_merge Merge commit 'a1a2fa7' into master_merge Merge commit '8dfdb98' into master_merge Merge commit 'eba66c3' into master_merge
| * Merge commit '17455a3' into master_mergePrerepa Viswanadham2015-05-012-1/+3
| |\
| | * Changed logging tag.Jan Nordqvist2015-04-271-1/+1
| | | | | | | | | | | | Change-Id: I9a916305910c65425ffe7ea8d5a29dba0ee9a8da
| | * No Permission check for WiFi RTTxinhe2015-04-241-0/+2
| | | | | | | | | | | | | | | Bug:19918231 Change-Id: I98aea756cc15683596096e46da48efe0737ae1d1
* | | Adding "Connected, no Internet" string in Wifi nw summary.Sanket Padawe2015-05-012-0/+16
|/ / | | | | | | | | Bug: 17380953 Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
* | Merge commit '7e5e791' into merge2Etan Cohen2015-04-241-2/+2
|\ \ | |/ | | | | Change-Id: Ie4889e3448b905afe5c0df453da96df0735e60d7
| * Fix build error on APIxinhe2015-04-211-2/+2
| | | | | | | | Change-Id: Id7024feb6baf8c6cc607702b3ac90dfbd3d483ba
* | Merge commit '4cb5d80' into merge2Etan Cohen2015-04-243-5/+8
|\ \ | |/
| * Merge "set softAP band selection API hidden 20460598" into m-wireless-devxinhe2015-04-212-3/+6
| |\
| | * set softAP band selection API hiddenxinhe2015-04-212-3/+6
| | | | | | | | | | | | | | | | | | 20460598 Change-Id: I2a13961896bacf0bd67c387dc1983dc45ca0e52d
| * | Changed [gs]etDomSubjectMatch to [gs]etDomainSubjectMatch.Jan Nordqvist2015-04-211-2/+2
| |/ | | | | | | Change-Id: I42a69320a95a96522500375e3e101c159ee5bf1b
* | Merge commit 'c91bc62' into merge2Etan Cohen2015-04-242-1/+33
|\ \ | |/
| * Added setDomSuffixMatch for AAA cert suffix matching.Jan Nordqvist2015-04-171-0/+32
| | | | | | | | Change-Id: I112399d2ce3d940ccf4451477b3b4edb93010b42
| * A few minor fixes for EAP-TLS.Jan Nordqvist2015-04-171-1/+1
| | | | | | | | Change-Id: I807d44d1bd84b929d21df402542c4b6f1f646b30
* | Merge commit '7f61051' into merge2Etan Cohen2015-04-241-1/+10
|\ \ | |/
| * enable RTT capability exceptionxinhe2015-04-161-1/+10
| | | | | | | | | | Bug:20299517 Change-Id: I497cc08b90f720d1717e107f93f75fda4212c8a8
| * add disconnected scan parameter, add bytes[] container to scanResultsPierre Vandwalle2015-04-141-0/+6
| | | | | | | | Change-Id: I201b52064ea764ddd406c25c86f41887029ff225
* | Allow apps with ACCESS_WIFI_STATE to listen for wifi networksLorenzo Colitti2015-04-221-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The compatibility measure introduced in bug 20081183 for apps that connect to a Wi-Fi network without Internet access and then expect to be able to use that network requires that such apps register a NetworkCallback so that their WifiManager can pin them to whatever wifi Network connects. Currently, registering the callback requires ACCESS_NETWORK_STATE and the app may not have that permission. Allow registering wifi (only) callbacks if the app has ACCESS_WIFI_STATE. If the app does not have ACCESS_WIFI_STATE (unlikely, since CHANGE_WIFI_STATE is not very useful without ACCESS_WIFI_STATE), then don't enable the compatibility measure. Bug: 20081183 Bug: 20423580 Change-Id: Iad328d30c2d170dead883868fece3d922da68f6f
* | Turn of WifiScanner's debug loggingVinit Deshpande2015-04-211-1/+1
| | | | | | | | | | Bug: 20416721 Change-Id: I48051dbc0bb6e58279ea5ca5dce90d837f1df4e6
* | Move factoryReset to service and protect.Stuart Scott2015-04-202-12/+5
| | | | | | | | | | bug:16161518 Change-Id: I02d1bbae1887c62ee426e6f03e8bc1f18c6666bf
* | add disconnected scan parameter, add bytes[] container to scanResultsPierre Vandwalle2015-04-161-0/+6
| | | | | | | | Change-Id: I201b52064ea764ddd406c25c86f41887029ff225
* | Pin a process to wifi when it calls enableNetwork(..., true)Lorenzo Colitti2015-04-171-2/+129
| | | | | | | | | | Bug: 20081183 Change-Id: I12bbda1061bbebeb4d0844d0b0d7f51237645958
* | Add a noInternetAccessExpected boolean to WifiConfiguration.Lorenzo Colitti2015-04-151-0/+12
| | | | | | | | | | | | | | | | | | 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
* | Add an UNKNOWN_UID constant to WifiConfiguration.Lorenzo Colitti2015-04-151-1/+6
| | | | | | | | | | | | | | | | | | | | 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
* | Merge commit 'e593d0a' into merge_workPrerepa Viswanadham2015-04-104-109/+290
|\ \ | |/ | | | | Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
| * Merge "API for config app." into m-wireless-devVinit Deshpande2015-04-073-13/+41
| |\
| | * API for config app.Jan Nordqvist2015-04-073-13/+41
| | | | | | | | | | | | Change-Id: Icda0ac1b081a08f438645ccf3667b5b81cb5e244
| * | RTT framework interface updatexinhe2015-04-071-96/+233
| |/ | | | | | | | | Bug:19917983 Change-Id: I1c89c4c583923137983243814e35c8981f6db54a
| * Implement 'Available via Passpoint' featureVinit Deshpande2015-04-032-0/+16
| | | | | | | | | | | | | | | | 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
* | Merge commit 'b2ff415' into merge_workPrerepa Viswanadham2015-04-102-184/+3
|\ \ | |/ | | | | Change-Id: I4f9c662112fc49e4f94315d3c69860607be3bc1e
| * Remove scanResultCache from WifiConfigurationVinit Deshpande2015-03-312-184/+3
| | | | | | | | | | | | | | | | | | | | 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
* | Merge changes from topic 'mwd-merge-040115'Etan Cohen2015-04-023-2/+14
|\ \ | | | | | | | | | | | | | | | | | | | | | * changes: Merge (manually) pag/209446: Increase allowed duration to connect to HOGP profile Merge commit 'd91f193' into merge2 Merge commit '5718646' into merge2 Merge commit '7aa0345' into merge2
| * \ Merge commit 'd91f193' into merge2Etan Cohen2015-04-013-2/+14
| |\ \ | | |/
| | * 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>
| | * add wifi config for power calculationPierre Vandwalle2015-03-242-1/+10
| | | | | | | | | | | | Change-Id: Ic312ffeb299d199547cc75bc6977140f8e6e5f7b
* | | Move reset network settings into framework.Stuart Scott2015-03-301-0/+21
|/ / | | | | | | | | bug: 16161518 Change-Id: Ic3b537ebd09d1b9723feff9dcc96e20fda05a94f
* | Retrieve WiFi info outside of BatteryStatsImplAdam Lesinski2015-03-261-6/+29
| | | | | | | | | | | | | | | | | | | | In order to not deadlock the system, we need to retrieve WiFi energy info outside of the BatteryStats lock. We do this, then pass that data down to BatteryStatsImpl to process. b/19729960 Change-Id: Ib8beba1d5ac81d89144d502c4b688d0a88c5b102