Commit Graph

1171 Commits

Author SHA1 Message Date
Paul Stewart
b3ff6b4437 Fix string equality comparison am: 1033c6fdbc am: fdd4fe53cf am: 3fbe9280a4 am: bf4f010a5b am: 700c72d01d am: 5d60d2f772 am: 6245774994
am: f8d4c187a3

Change-Id: If6d30364da0246233415bc15a1dda7c297f7bf6b
2016-07-20 01:19:46 +00:00
Paul Stewart
f8d4c187a3 Fix string equality comparison am: 1033c6fdbc am: fdd4fe53cf am: 3fbe9280a4 am: bf4f010a5b am: 700c72d01d am: 5d60d2f772
am: 6245774994

Change-Id: Ib82209c5c6b71f3c47feaa17c346f853288b0131
2016-07-20 01:12:11 +00:00
Paul Stewart
c77f18b2a3 WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646 am: fa4bbf4ad6 am: df93deccf9 am: 141477b103 am: e2a03026c4 am: e41e0064ee am: 701a6c1ed6
am: d78a14531e

Change-Id: Id37927594f47a5a32b05b15c8e09df0fa4ea9569
2016-07-20 01:11:49 +00:00
Paul Stewart
d78a14531e WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646 am: fa4bbf4ad6 am: df93deccf9 am: 141477b103 am: e2a03026c4 am: e41e0064ee
am: 701a6c1ed6

Change-Id: I34acfe2e2ab1da2615f5a7107a9879e7491b0857
2016-07-20 01:01:15 +00:00
Paul Stewart
6245774994 Fix string equality comparison am: 1033c6fdbc am: fdd4fe53cf am: 3fbe9280a4 am: bf4f010a5b am: 700c72d01d
am: 5d60d2f772

Change-Id: I1a0651d22571a4dec3b4b6ca97f6b62b930f1cc7
2016-07-20 00:54:27 +00:00
Paul Stewart
701a6c1ed6 WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646 am: fa4bbf4ad6 am: df93deccf9 am: 141477b103 am: e2a03026c4
am: e41e0064ee

Change-Id: I9582c9327b859c981cb75d6aad52bb5dd1fafe20
2016-07-20 00:54:20 +00:00
Paul Stewart
700c72d01d Fix string equality comparison am: 1033c6fdbc am: fdd4fe53cf am: 3fbe9280a4
am: bf4f010a5b

Change-Id: I7e57c484be20197748c40c80acd987802b43a734
2016-07-20 00:37:50 +00:00
Paul Stewart
e2a03026c4 WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646 am: fa4bbf4ad6 am: df93deccf9
am: 141477b103

Change-Id: Ie4c9d06d225a2b99ebb4411e4282ea792c67d26b
2016-07-20 00:37:44 +00:00
Paul Stewart
bf4f010a5b Fix string equality comparison am: 1033c6fdbc am: fdd4fe53cf
am: 3fbe9280a4

Change-Id: Ib3bea7489d319bb94a41f3c8cb0d8ec7e40b14b7
2016-07-20 00:31:22 +00:00
Paul Stewart
141477b103 WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646 am: fa4bbf4ad6
am: df93deccf9

Change-Id: Iaeae846189a8f5fa38c5da988eec7879300f8ab5
2016-07-20 00:31:15 +00:00
Paul Stewart
3fbe9280a4 Fix string equality comparison am: 1033c6fdbc
am: fdd4fe53cf

Change-Id: Id179c734fc503abea1216e7c6057d4903a17f340
2016-07-20 00:25:17 +00:00
Paul Stewart
df93deccf9 WifiEnterpriseConfiguration: Do not print credentials in toString am: cc00f4d646
am: fa4bbf4ad6

Change-Id: I3ec1ff70fdfc2fd2aabf22ad1b7b3dad27ad4674
2016-07-20 00:25:14 +00:00
Paul Stewart
1033c6fdbc Fix string equality comparison
Don't use "==" to compare strings.

Bug: 25624963
Change-Id: Id25696e4fdcbcf4d48ec74e8ed65c1a33716b30c
2016-06-30 11:58:38 -07:00
Paul Stewart
cc00f4d646 WifiEnterpriseConfiguration: Do not print credentials in toString
BUG:25624963
Change-Id: I939a12a27d6b915d8a9cc8b142f645fba0ee42ec
2016-06-30 11:57:20 -07:00
xinhe
2452e54de6 [DO NOT MERGE] EAP-TLS PMKID mismatch error
b/24253154

Change-Id: I45c770dc4769e74b668385dbc3a618d31a40dc7e
2015-10-23 12:56:25 -07:00
xin He
54cea23479 Merge "Boot loop when SSID has non UTF-8 character in the name" into mnc-dev 2015-08-05 01:10:34 +00:00
Jan Nordqvist
f6d3d148d5 Added logging in a few error paths for wifi config installation.
Bug: 22790527
Change-Id: I71b298b98da098f647f52886c3c3a7456cb24d51
2015-07-31 17:19:49 -07:00
xinhe
f2c01041fe Boot loop when SSID has non UTF-8 character in the name
b/22773761

Change-Id: I44c8a19c11470ab16baf27eef252097690ef5d4a
2015-07-31 12:50:55 -07:00
Fyodor Kupolov
959991b957 Fixed a typo
Change-Id: I85d75429baed3263c04e747eb374c66177c064f5
2015-07-22 15:25:55 -07:00
xinhe
e8de06d2fe Add API to turn OFF "best network selection" feature
b/14990268

Change-Id: I0231a9f0fae2baee50138e1cfa5416612ff41d6d
2015-07-15 10:40:55 -07:00
xinhe
e0ec6ba9cb Need to disable 5GHz bands for WiFi tethering in Japan
b/22396383

Change-Id: I61efef1babaab756425e6958843dfb9ad47b46cd
2015-07-13 17:44:40 -07:00
Fyodor Kupolov
cb13aebfec Check location permission/appop in getScanResults
Return an empty list if the calling process has no location permission/appop

Bug: 21852542
Change-Id: Ifb9c5eb06c3fc7136a7f8251ac152234585f5b67
2015-07-07 18:47:00 -07:00
Vinit Deshpande
dd14bad82d Merge "correctly print wificonfiguration creation and update time" into mnc-dev 2015-07-01 20:06:29 +00:00
Pierre Vandwalle
edbedd28b6 correctly print wificonfiguration creation and update time
Change-Id: I1c4abf9bed86cddea3592f0604def1a7727b73fc
2015-07-01 12:48:26 -07:00
Vinit Deshpande
7226c8f95b More API review feedback
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
2015-06-30 15:44:00 -07:00
Shirish Kalele
c7a38ef840 Mark a connection as a Wifi Assistant connection based on the
ephemeral flag in WifiInfo.
Add this private field to WifiInfo.

Change-Id: Ic815b87a24e8272faa6e9e820b8fa55224af882a
2015-06-26 13:05:22 -07:00
Vinit Deshpande
a0d929e505 Address API review comments
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
2015-06-22 19:09:38 -07:00
Pierre Vandwalle
d258d7a86e make sure wifi link stats are reset
Change-Id: I8687594eccea1e3d8b99450da5230442cdbd1a86
(cherry picked from commit 5fc9e14077)
2015-06-22 16:28:54 -07:00
Pierre Vandwalle
ced1a65990 add creation/update time to WifiConfiguration
Change-Id: Iaace83e752c8aa7d740a3dfad42cd8bba80a7a08
2015-06-16 16:56:29 -07:00
Adam Lesinski
8a35137388 Bluetooth energy: fix overflow in calculation
Use longs instead of ints, because the energy values can get pretty
high.

Change-Id: I43e696ad9e5965c2e616b11920db5bfae5db1671
2015-06-15 17:19:07 -07:00
Wei Wang
3e9a1775d6 Fail sanity check when BSSID is empty in RTT request
Bug:21636405
Change-Id: I33a8e7e42dd428c1ff598bef3aed44060c6dd396
2015-06-05 15:37:51 -07:00
Vinit Deshpande
ed10e29cfb Remove trivial GScan logs
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
2015-06-03 18:49:58 -07:00
Jan Nordqvist
d492883529 Cleaned out "isValid" from WifiConfig.
Change-Id: I028615e55700aa92889670297f1130397eba650f
(cherry picked from commit c50315e014)
2015-06-03 05:18:12 +00:00
Soonil Nagarkar
597492c963 Add NO_BATCH flag to WifiScanner
Change-Id: Idd521f724684986ff84306327d42b810f7b30245
(cherry picked from commit b9e6d98c6c)
2015-06-03 05:17:57 +00:00
Pierre Vandwalle
5ddc65b986 fix annoying typo
Change-Id: Ic8411d622755ee168da6495d2e86201fb3c1154f
(cherry picked from commit c4ea0369dd)
2015-06-02 13:31:40 -07:00
xinhe
81815e0858 Rename HandlerThread name in RttManager
The sHandlerThread name in RttManager is called "WifiScanner".
    It should be changed to RTTManager

Bug:21299667
Change-Id: I545d0810544295fb39d95b5c3d8fe89c3b8fc073
(cherry picked from commit 4451685c7f)
2015-06-02 13:30:19 -07:00
Vinit Deshpande
29ad7c7000 Indicate failed scans with EXTRA_RESULTS_UPDATED
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
2015-05-21 13:17:03 -07:00
Svet Ganov
f7b541ff74 Merge "Do not report WiFi and Bluetooth MAC addresses - framework." into mnc-dev 2015-05-19 00:13:22 +00:00
Svet Ganov
408abf7f1b Do not report WiFi and Bluetooth MAC addresses - framework.
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
2015-05-18 15:14:24 -07:00
Pierre Vandwalle
358673e275 hal based pno and lazy roam implementation
cherry-picked from mirror-m-wireless-internal-release 
3655257 - hal based pno and lazy roam implementation

Change-Id: Ib58d40796c896a6d0dad856e0cb86c716c7aee7f
2015-05-18 22:10:20 +00:00
Vinit Deshpande
a3b9a2240e Merge "fix null pointer crash" into mnc-dev 2015-05-14 03:40:04 +00:00
Pierre Vandwalle
20903b392b fix null pointer crash
(cherry-picked from mirror-m-wireless-internal-release
216d8c3 fix null pointer crash)

Bug: 20232584

Change-Id: I7c46e372bc8f3a54b0428ef56c034eb2c79133ea
2015-05-13 19:16:09 -07:00
Lorenzo Colitti
976f044b2b Only activate the wifi alternate reality hack for KK and lower
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
2015-05-13 13:35:57 +09:00
Prerepa Viswanadham
d1808401ca Merge changes from topic 'mwd-merge-050415' into mnc-dev
* 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
2015-05-05 01:06:38 +00:00
Sanket Padawe
7094d22022 Adding "Connected, no Internet" string in Wifi nw summary.
Bug: 17380953
Change-Id: I9664bcbf33832fe722e7d2b3125939287ee98098
2015-05-01 16:55:00 -07:00
Prerepa Viswanadham
b6f9da0b7f Merge commit '17455a3' into master_merge 2015-05-01 10:12:11 -07:00
Jan Nordqvist
e20b8ad4c4 Changed logging tag.
Change-Id: I9a916305910c65425ffe7ea8d5a29dba0ee9a8da
2015-04-27 22:15:53 +00:00
xinhe
ebc5ced56e No Permission check for WiFi RTT
Bug:19918231
Change-Id: I98aea756cc15683596096e46da48efe0737ae1d1
2015-04-24 22:17:48 +00:00
Etan Cohen
f9465fb6d2 Merge commit '7e5e791' into merge2
Change-Id: Ie4889e3448b905afe5c0df453da96df0735e60d7
2015-04-24 14:05:29 -07:00
Etan Cohen
644f41368f Merge commit '4cb5d80' into merge2 2015-04-24 14:03:28 -07:00