summaryrefslogtreecommitdiffstats
path: root/wifi/java/android/net/wifi/WifiManager.java
Commit message (Collapse)AuthorAgeFilesLines
* 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
* 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-261-0/+13
| | | | | | | * 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
* 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-151-39/+16
| | | | | | 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
* Address API review commentsVinit Deshpande2015-06-221-3/+5
| | | | | | | | | | | | | 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
* 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
* hal based pno and lazy roam implementationPierre Vandwalle2015-05-181-3/+51
| | | | | | | 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
* Adding "Connected, no Internet" string in Wifi nw summary.Sanket Padawe2015-05-011-0/+13
| | | | | Bug: 17380953 Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
* 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
* Move factoryReset to service and protect.Stuart Scott2015-04-201-12/+3
| | | | | bug:16161518 Change-Id: I02d1bbae1887c62ee426e6f03e8bc1f18c6666bf
* Pin a process to wifi when it calls enableNetwork(..., true)Lorenzo Colitti2015-04-171-2/+129
| | | | | Bug: 20081183 Change-Id: I12bbda1061bbebeb4d0844d0b0d7f51237645958
* Merge commit 'e593d0a' into merge_workPrerepa Viswanadham2015-04-101-0/+28
|\ | | | | | | Change-Id: I4f8ae40fc446cd9cda4d5c6ec99469a98dda595b
| * API for config app.Jan Nordqvist2015-04-071-0/+14
| | | | | | | | Change-Id: Icda0ac1b081a08f438645ccf3667b5b81cb5e244
| * Implement 'Available via Passpoint' featureVinit Deshpande2015-04-031-0/+14
| | | | | | | | | | | | | | | | 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 changes from topic 'mwd-merge-040115'Etan Cohen2015-04-021-1/+9
|\ \ | | | | | | | | | | | | | | | | | | | | | * 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-011-1/+9
| |\ \ | | |/
| | * add wifi config for power calculationPierre Vandwalle2015-03-241-1/+9
| | | | | | | | | | | | Change-Id: Ic312ffeb299d199547cc75bc6977140f8e6e5f7b
* | | Move reset network settings into framework.Stuart Scott2015-03-301-0/+21
|/ / | | | | | | | | bug: 16161518 Change-Id: Ic3b537ebd09d1b9723feff9dcc96e20fda05a94f
* | Merge remote-tracking branch 'goog/mirror-m-wireless-internal-release' into ↵Prerepa Viswanadham2015-03-241-0/+21
|\ \ | |/ | | | | | | | | master_merge Change-Id: I49aab437af220f1139cfd2d0a9c362acce31074e
| * Merge "export API to disable autojoin scan initial implementation" into ↵Pierre Vandwalle2015-03-191-0/+21
| |\ | | | | | | | | | | | | | | | | | | | | | | | | lmp-mr1-wfc-dev automerge: 7c39808 * commit '7c398083319bbd1ad51d23cb307cfc3ac9091c3a': export API to disable autojoin scan initial implementation
| | * export API to disable autojoin scan initial implementationPierre Vandwalle2015-03-131-0/+21
| | | | | | | | | | | | Change-Id: I28e268dd8b859a3a22c3d6f699216bbd7124af26
* | | am "Do not provide 5GHz option for softap if there is no country code available"Vinit Deshpande2015-03-151-0/+15
|\ \ \ | |/ / | | | | | | | | | merged from goog/mirror-m-wireless-internal-release b938c0e Do not provide 5GHz option for softap if there is no country code available
| * | Do not provide 5GHz option for softap if there is no country code availablexinhe2015-02-231-0/+15
| |/ | | | | | | | | Bug:19414134 Change-Id: I88da5c3d547522263394403c97147baabae45394
* | am 820ba1f9: am 401ef259: am a4144563: Merge "add disable Ephemeral Network ↵Jeff Davidson2014-12-091-1/+14
|\ \ | |/ | | | | | | | | | | API Bug:18525241" into lmp-mr1-dev * commit '820ba1f96f5917db98df5b5d36cf5f4b32f50f59': add disable Ephemeral Network API Bug:18525241
| * add disable Ephemeral Network APIvandwalle2014-12-051-1/+14
| | | | | | | | | | | | Bug:18525241 Change-Id: I954c53c55c39f6c376b2bae3c7ac4d28246a7f5a
* | am f12fc2e1: am b6c9cbc5: am 47772ac8: Merge "make startScan with worksource ↵vandwalle2014-11-261-0/+16
|\ \ | |/ | | | | | | | | | | specific to location scans" into lmp-mr1-dev * commit 'f12fc2e14ebcf14745de03963a621e36bda11232': make startScan with worksource specific to location scans
| * make startScan with worksource specific to location scansvandwalle2014-11-251-0/+16
| | | | | | | | Change-Id: Ia09dae3e334ef6fd11f2b468e78ad7c2c3cf55e9
* | am 77fe4c96: am a34f3d30: am 800bf3ae: Merge "Fix WPS docs for LABEL method" ↵Vinit Deshpande2014-11-191-1/+1
|\ \ | |/ | | | | | | | | | | into lmp-mr1-dev * commit '77fe4c96b75550e5d22a294314b05beabd55e97a': Fix WPS docs for LABEL method
| * Fix WPS docs for LABEL methodVinit Deshpande2014-11-181-1/+1
| | | | | | | | | | | | | | | | | | Since we don't support LABEL method in startWps, document it explicitly. Bug: 18298388 Change-Id: I5d4c2475a68f1b41e5fc449c911b7b01b3b82fc4
* | am 1fc17b58: am d3a78eff: am 36b0eac4: Merge "Add @SystemApi annotations to ↵David Christie2014-09-041-0/+3
|\ \ | |/ | | | | | | | | | | methods used by GmsCore. -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69" into lmp-dev * commit '1fc17b58efa68b7128fd5b1cfa3355c353aaff4e': Add @SystemApi annotations to methods used by GmsCore. -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69
| * Merge "Add @SystemApi annotations to methods used by GmsCore. -Currently ↵David Christie2014-09-041-0/+3
| |\ | | | | | | | | | these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69" into lmp-dev
| | * Add @SystemApi annotations to methods used by GmsCore.David Christie2014-09-041-0/+3
| | | | | | | | | | | | | | | | | | -Currently these methods are called using reflection for location. Bug: 17371392 Change-Id: I6546f5b485415beff69164ba0d526757ee831f69
* | | am 21790061: am f4b970e5: am 2705b859: Merge "Address API Council feedback ↵Vinit Deshpande2014-09-031-30/+209
|\ \ \ | |/ / | | | | | | | | | | | | | | | for WifiAdapter/WPS APIs" into lmp-dev * commit '217900618fedda7ddc447b2fb861d0458cf8ed0e': Address API Council feedback for WifiAdapter/WPS APIs
| * | Address API Council feedback for WifiAdapter/WPS APIsVinit Deshpande2014-08-291-30/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change addresses concerns from the API review. Things that are fixed are - 1. WifiAdapter is removed, until we have 'real' support for it 2. All the methods from WifiAdapter are moved to WifiManager 3. Changed WPSListener API names to be onFailed/onSucceeded et al 4. Removed ActionListener from WPS APIs, they now take WpsListener Bug: 16403303 Bug: 17115004 Change-Id: Ia721dd95041acb3e50d16690319e3320fe550ff5
* | | am 362448d4: am dbf54ec2: am b2139607: Merge "add radio stats to link layer" ↵vandwalle2014-08-261-1/+5
|\ \ \ | |/ / | | | | | | | | | | | | | | | into lmp-dev * commit '362448d4b91704503340e9f751d26b88706c2057': add radio stats to link layer
| * | add radio stats to link layervandwalle2014-08-261-1/+5
| | | | | | | | | | | | | | | Bug:15563188 Change-Id: I3d2a230b0362520b9f1b2bc3792260116971e106
* | | am de1bc6cb: am f654d5b2: am 2954d35a: Merge "Revert "Annotate @SystemApi on ↵Wenchao Tong2014-08-211-5/+0
|\ \ \ | |/ / | | | | | | | | | | | | | | | some WifiManager methods."" into lmp-dev * commit 'de1bc6cb3ecdfab5e7f42bc9f865f39a1ef0c01e': Revert "Annotate @SystemApi on some WifiManager methods."
| * | Revert "Annotate @SystemApi on some WifiManager methods."Wenchao Tong2014-08-201-5/+0
| |/ | | | | | | | | | | This reverts commit 041bcc22bd21f84358e5b2102e3a919bcdd99b81. Bug: 17134034 Change-Id: I1ebcdd9b4c56e5c93fd5667699c8971e8c6e5452
* | am 143817b4: am 3e76a3aa: am 3ddfe1ce: Merge "Annotate @SystemApi on some ↵Wenchao Tong2014-08-201-0/+5
|\ \ | |/ | | | | | | | | | | WifiManager methods." into lmp-dev * commit '143817b4302baa8f42f2f2a489a75b429735a3eb': Annotate @SystemApi on some WifiManager methods.
| * Annotate @SystemApi on some WifiManager methods.Wenchao Tong2014-08-191-0/+5
| | | | | | | | | | Bug: 17112931 Change-Id: I5980bc46bc1f16316caecd7fcc6cd771b8ca6cdf
| * Revert "Changes in framework for WIFI_CREDENTIAL_CHANGE broadcast. [DO NOT ↵Chelsea Derrick2014-08-111-22/+0
|/ | | | | | | | | MERGE]" This reverts commit 41158d90a69cae2a9c4ced0e04f235e8cfef5259. Bug: 16871063 Change-Id: I93623be92f2de41789b16827867f3f95bf0480c5