summaryrefslogtreecommitdiffstats
path: root/wifi/java/android
Commit message (Collapse)AuthorAgeFilesLines
* Merge tag 'android-6.0.1_r66' into HEADJessica Wagantall2016-09-071-1/+3
|\ | | | | | | | | | | | | Android 6.0.1 release 66 # gpg: Signature made Tue 06 Sep 2016 09:26:45 AM PDT using DSA key ID 9AB10E78 # gpg: Can't check signature: public key not found
| * 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
* | Tethering: Turn off Wi-Fi Hotspot after inactivity (1/3)d34d2016-02-021-0/+10
| | | | | | | | | | | | | | | | Turn off the Wi-Fi hotspot after a specified time of inactivity. The hotspot is considered to be inactive when no clients are connected to it. Change-Id: Ife48d5254b06b4e80841d5970984ab9979574e07
* | Wi-Fi: Introduce state variable to signify Wi-Fi turn on FailNalla Kartheek2016-01-231-0/+8
| | | | | | | | | | | | | | | | This state variable signify that Wi-Fi turn on failed. This information is broadcasted through Wi-Fi state change event. Change-Id: I6b40857ecdbf7d8a106c08d66cc328071cdc5db4 CRs-Fixed: 947716
* | Merge tag 'android-6.0.1_r3' of ↵Steve Kondik2015-12-071-0/+31
|\ \ | |/ | | | | | | | | | | | | https://android.googlesource.com/platform/frameworks/base into cm-13.0 Android 6.0.1 release 3 Change-Id: I59b9e5a943e0860d43bcfb36ee0e8b8b072412ea
| * [DO NOT MERGE] EAP-TLS PMKID mismatch errorxinhe2015-10-231-0/+31
| | | | | | | | | | | | b/24253154 Change-Id: I45c770dc4769e74b668385dbc3a618d31a40dc7e
* | Udpate instrumentation codeWilliam Clark2015-11-301-1/+1
| | | | | | | | | | | | Added changes to support new features in QSSP Change-Id: I92c0a4eb3cb5363fbf08185f25644a3202c38788
* | wifi: Confirm user permission before toggling wifiShashank Mittal2015-10-291-0/+9
| | | | | | | | | | | | Check user permissions before enabling/disabling wifi. Change-Id: I1ddae6e47f42b6d3fc831c2c135ece75cf9e935d
* | wifi: Framework support for Ad-Hoc WiFi (IBSS mode)Bruno Randolf2015-10-264-0/+44
| | | | | | | | | | | | | | * Backport from previous CM releases, adapted to new API Change-Id: Id175bbfb7500329d5f8abfe645106854c201b2fb Signed-off-by: Steve Kondik <steve@cyngn.com>
* | SEEMP: Add more framework instrumentationWilliam Clark2015-10-061-0/+1
| | | | | | | | | | | | | | | | | | Instrument framework files to log events of interest. Conflicts: core/java/android/accounts/AccountManager.java Change-Id: Ia45651e6352586f910039b51cac2356f65f80010
* | wifi: Enhance WiFi Configuration to also include sim number.Sravanthi Palakonda2015-10-061-0/+17
| | | | | | | | | | | | | | | | | | For EAP SIM/AKA/AKA` authentication to happen on a specific SIM , the SIM number has to be also a part of Wi-Fi configuration . This commit ensures the same. Change-Id: I3239c534bd8d221dc0af0174304427491a1d586b CRs-Fixed: 905749
* | SOFTAP: implement SOFTAP new requirement in framework.Nalla Kartheek2015-10-062-0/+169
| | | | | | | | | | | | | | | | | | | | | | | | | | If framework recevied the STA (dis)connect message from netd, it will try to read device info from dnsmasq and broadcast an state change event via intent. Meanwhile, framework will maintain the conneted Sta list which can be access from upper layer Conflicts: core/res/res/values/symbols.xml Change-Id: I14972a7294e76ee97f9dce78a474b302227328f0
* | Wifi: Maintain configKey generation logic same in all APIsSravanthi Palakonda2015-10-061-11/+10
|/ | | | | | | | | | | AutoJoinController uses configKey to distinguish networks. It compares configKeys of saved network with recent ScanResult. WifiConfiguration has two different APIs to generate configKey based on input variables. Framework should use same logic to generate configkey even though input differs. This fix ensures the parity between configKey(boolean) and configKey(ScanResult) APIs. Change-Id: I0b0adacafaa656cbf96f24f178f99596162b155a
* Merge "Boot loop when SSID has non UTF-8 character in the name" into mnc-devxin He2015-08-052-5/+13
|\
| * Boot loop when SSID has non UTF-8 character in the namexinhe2015-07-312-5/+13
| | | | | | | | | | | | b/22773761 Change-Id: I44c8a19c11470ab16baf27eef252097690ef5d4a
* | Added logging in a few error paths for wifi config installation.Jan Nordqvist2015-07-311-0/+2
|/ | | | | Bug: 22790527 Change-Id: I71b298b98da098f647f52886c3c3a7456cb24d51
* Fixed a typoFyodor Kupolov2015-07-221-1/+1
| | | | Change-Id: I85d75429baed3263c04e747eb374c66177c064f5
* Add API to turn OFF "best network selection" featurexinhe2015-07-152-45/+19
| | | | | | b/14990268 Change-Id: I0231a9f0fae2baee50138e1cfa5416612ff41d6d
* 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
|\ \ | |/