summaryrefslogtreecommitdiffstats
path: root/wifi/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Need to disable 5GHz bands for WiFi tethering in Japanxinhe2015-07-131-0/+24
| | | | | | b/22396383 Change-Id: I61efef1babaab756425e6958843dfb9ad47b46cd
* Check location permission/appop in getScanResultsFyodor Kupolov2015-07-071-1/+4
| | | | | | | Return an empty list if the calling process has no location permission/appop Bug: 21852542 Change-Id: Ifb9c5eb06c3fc7136a7f8251ac152234585f5b67
* Merge "correctly print wificonfiguration creation and update time" into mnc-devVinit Deshpande2015-07-011-2/+2
|\
| * correctly print wificonfiguration creation and update timePierre Vandwalle2015-07-011-2/+2
| | | | | | | | Change-Id: I1c4abf9bed86cddea3592f0604def1a7727b73fc
* | More API review feedbackVinit Deshpande2015-06-302-4/+8
|/ | | | | | | | | | 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
* Mark a connection as a Wifi Assistant connection based on theShirish Kalele2015-06-261-0/+16
| | | | | | | ephemeral flag in WifiInfo. Add this private field to WifiInfo. Change-Id: Ic815b87a24e8272faa6e9e820b8fa55224af882a
* Address API review commentsVinit Deshpande2015-06-224-62/+99
| | | | | | | | | | | | | 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
* make sure wifi link stats are resetPierre Vandwalle2015-06-221-14/+27
| | | | | Change-Id: I8687594eccea1e3d8b99450da5230442cdbd1a86 (cherry picked from commit 5fc9e14077c3bec51d0a93a5edeeade396d77d15)
* add creation/update time to WifiConfigurationPierre Vandwalle2015-06-161-0/+20
| | | | Change-Id: Iaace83e752c8aa7d740a3dfad42cd8bba80a7a08
* Bluetooth energy: fix overflow in calculationAdam Lesinski2015-06-151-24/+23
| | | | | | | Use longs instead of ints, because the energy values can get pretty high. Change-Id: I43e696ad9e5965c2e616b11920db5bfae5db1671
* 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