History log of /frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
98ad88811c76f7334c285cc970a4107f7a716b5a 01-Jun-2016 Gina Dimino <gdimino@google.com> Docs: Suppress errors in SystemApi Build
Bug: 28427390

Change-Id: Ifea85bf7b1fcdd30a3d7f61bd17d0efba6368aa4
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
0ed524dee8a22c18f9617a314ac6e65ac1e94380 14-Apr-2016 Mitchell Wills <mwills@google.com> Connect WifiScanner synchronously without sync barrier

This allows the WifiScanner constructor to be called from the Looper
that is associated with the provided handler instead of relying on the
provided looper to execute initialization async.

Bug: 27695292
Change-Id: Id30dbb8d181971035a0b3f76dd485875e9d03ca3
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
91312c7cb2df952424b16dc563bfe455661ceada 07-Apr-2016 Mitchell Wills <mwills@google.com> Make WifiScanner state not static and use ConnectivityThread

Bug: 27432949
Change-Id: I3fa14b75ee6a48aea2bfb8fed662c37b678e3cf0
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
37aeb4700b26bf78491a786108fa5fc86c8bc62f 07-Apr-2016 Roshan Pius <rpius@google.com> WifiScanner: Remove pnosetting stopPno API (1/2)

BUG: 27532350
Change-Id: I6df3df56e66c7bbb8443c038cd8345989cf2d57e
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
ad95b6a6eab43a6d5520780fd7af7e8d722f65b2 29-Mar-2016 Mitchell Wills <mwills@google.com> Send WorkSource for scan requests so the origin can be overridden

Bug: 27903217
Change-Id: I37b24c0f5b8e9408a9f25e4479cdbb71235757a6
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
d24427fabda5ff0fda6fea40bed588680573388f 29-Mar-2016 Mitchell Wills <mwills@google.com> Add WifiScanner API that accepts a WorkSource for scans

Bug: 27903217
Change-Id: I2303a2b91a4914e6cacc3108d29697f7a2dad056
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
d1f33cc95009397056669bfc0ef4f8885fc62e12 26-Mar-2016 Mitchell Wills <mwills@google.com> Add accessor for buckets scanned in ScanData

Bug: 27506257
Change-Id: I9f7ae27ef8416de5e1b00dc63ee458e9e2ba69ab
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
0d193b44538a282e9000e455e566f516b5068c24 22-Mar-2016 Mitchell Wills <mwills@google.com> Add bucketsScanned to ScanData

Bug: 27506257
Change-Id: I3ac7c2030188798ba3398de1a1253195475116f8
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
49b6f19dedbe4a2a40f715d6d7d6c52eacff104a 05-Mar-2016 Roshan Pius <rpius@google.com> WifiScanner: Add hidden networkIds in scan setting

Add the hidden networkId list in scan settings to be used for
connectivity scans.

BUG: 27503786
Change-Id: Ibe7eaccd84d03a7b48728e3ea1d98ccc974377ec
TEST: Compiles & unit-test passes
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
e4fd150962e07dbcb0646d556bf372be0cc15f1f 01-Mar-2016 Roshan Pius <rpius@google.com> WifiScanner: Add PNO public API

Add the public interface for starting/stopping PNO scan.

This is the internal flow that is going to be used for PNO scan:
1. Set Pno list
2. Start background scan

This flow will not work as is for supplicant, since background scan is
done manually today. So, we'll need a flag to indicate that this
background scan is targetted for PNO.

BUG: 27167559
Change-Id: I3f6921c5d03f7d9e8ad1847e57e12fb38df6c9c9
TEST: Compiles & unit-test passes
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
3c0d65de0bbd7889f340aca4a45e55972de5896f 23-Feb-2016 Wei Wang <weiwa@google.com> Merge "Disallow duplicate listeners for WifiScanner." into mm-wireless-dev
3cf4da988640cd80cdf087c4c4b5c9534be3b308 17-Feb-2016 Wei Wang <weiwa@google.com> Disallow duplicate listeners for WifiScanner.

Bug:26663377

Change-Id: I2eea0fd3532c45f493aad7c0d5c28bda07f5bfed
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
5a982939d22b7fd3cb2a6ba107119b18f4904ca6 10-Feb-2016 Mitchell Wills <mwills@google.com> Remove REPORT_EVENT_CONTEXT_HUB gscan option

Since all scan results will now be reported to the context hub this flag
is no longer needed.

Change-Id: I21c157a31fe26169606f6f53e8e0ce44d57c5ca5
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
c90855d7a9f3ebd300de4dad9842cd6771ff27d1 19-Dec-2015 Mitchell Wills <mwills@google.com> Updates for gscan HAL updates in N

This will compile, but all new functionality may not work

Change-Id: I88f27f375121c6b27377b075e9fd6bfad7b05aa4
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
8c79fe5dc446be817aff439b49b64ef20a60bdcd 17-Dec-2015 Randy Pan <zpan@google.com> Correct WiFi exponential back off scan

Correct the comments for exponential back off scan. Only binary
exponential back off scan is supported.

Updated the API doc. A couple of un-related fields which were
not updated get updated as well.

Bug: 26236392
Change-Id: I5668092f393b564aa40904ed609a51aa16890614
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
075698c35f2bf8bb4b3c3060b67514b72fd1b862 16-Nov-2015 Mitchell Wills <mwills@google.com> DO NOT MERGE Expose gscan exponential backoff API

Will be ignored until scan scheduling supports it

Cherry-picked from 2564d9a4efb2f3a44dac5ae1e5e437e5355d19cf
Change-Id: I9d392080e6ec8dfa9a998f6c04ec37f9c6dad0b2
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
5374e36bb5ad5ffbe80f1a05e00356ee949c4d2e 25-Aug-2015 Mitchell Wills <mwills@google.com> DO NOT MERGE Add missing ap threshold config for hotlists

Cherry-picked from ff4fdceafe4646998629587248fff22400f44765
Change-Id: I9e31e72560840ea57ab191e820acf8e3faf00c36
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
f2c01041fe1a5e8b51970774c4ac6f04eb5967f0 31-Jul-2015 xinhe <xinhe@google.com> Boot loop when SSID has non UTF-8 character in the name

b/22773761

Change-Id: I44c8a19c11470ab16baf27eef252097690ef5d4a
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
ed10e29cfbd62a2925177684d94c212dfb2a620c 04-Jun-2015 Vinit Deshpande <vinitd@google.com> 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
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
597492c963725366b320678786d241e7f654e347 27-May-2015 Soonil Nagarkar <sooniln@google.com> Add NO_BATCH flag to WifiScanner

Change-Id: Idd521f724684986ff84306327d42b810f7b30245
(cherry picked from commit b9e6d98c6c0a05ebfc73a14d1ac2a47d58290241)
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
85607190c958d89999edad95c765ce6b2d4449c8 22-Apr-2015 Vinit Deshpande <vinitd@google.com> Turn of WifiScanner's debug logging

Bug: 20416721
Change-Id: I48051dbc0bb6e58279ea5ca5dce90d837f1df4e6
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
6e58424f5b052531a724a54629f00915ad3edada 02-Mar-2015 xinhe <xinhe@google.com> add 2 side RTT support on scan

Bug:19533713
Change-Id: I6b7a32aae1a038eb2941f5564d03a4a0286d5bf3
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
ab325cbcc88311a4d38348b7efda8961d399d26b 12-Aug-2014 Vinit Deshpande <vinitd@google.com> Introduce onLost event on bssid hotlist [DO NOT MERGE]

Change-Id: I84c3174398fea9a1456fb007586c2c559dd3fe4d
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
f45acfe0960f1182ed9d38d2acd78188de25b720 30-Oct-2014 Vinit Deshpande <vinitd@google.com> New Additions to WifiScanner APIs [DO NOT MERGE]

Added single shot scan, and maxScansToCache. Also fixed getScanResults()
to report scan results to listeners.

Bug: 18087596
Bug: 17694040
Bug: 18059273

Change-Id: Id623ab9ee2ab89c86a35082279331fa609016347
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
a0000c6c3c0cccb99c86a41df02ea5770db70a21 10-Sep-2014 Vinit Deshpande <vinitd@google.com> Merge "Secure access to WifiScanner" into lmp-dev
4b9975671f148e05830704f54e6fdc2f1d1d9d2e 09-Sep-2014 Vinit Deshpande <vinitd@google.com> Secure access to WifiScanner

This change implements access control for WifiScanner. It is now
available to only those apps that have CONNECTIVITY_INTERNAL permissions.

Bug: 15088601
Change-Id: I6acc13079b6dac6f190644b6d1a270c271cc679f
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
15f89078784d44006f7ed0c0f34a5e3fbc3d840c 06-Sep-2014 Vinit Deshpande <vinitd@google.com> Implement getAvailableChannels

This API allows finding channels by band, so scanning services
can find out which channels to use.

Bug: 16652660
Change-Id: I690825333988a336efa3fc8886297e5b8baf8e1d
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
db0c15dd67c4a5491348d1417b38a427b9fec1f3 08-Aug-2014 Vinit Deshpande <vinitd@google.com> Read/Write numBssidsPerScan in ParcelableScanResults

Setting the value has no effect because it was lost in marshalling
across binder interface.

Bug: 16826305
Change-Id: I5b308441608e0b7fc159fc249a16aec3728bac82
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
ea676a0e51504aa53dff9cbe64085658987703b2 30-Jul-2014 Vinit Deshpande <vinitd@google.com> Rename HotspotListener to BssidListener

And other usage of term Hotspot. This is to be technically correct
with the name usage, should the API become public later.

This change also fixes few outstanding requests from GScan API.These
include

a. An event with scan results when REPORT_AFTER_EACH_SCAN is set.
b. ScanSettings now takes in number of APs as an argument.
c. Removed single shot scan API (since it is not implemented anyway)

Change-Id: Id160f9f14193a37cce5f3ab8d6ea528344b788a0
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
7686c061b7c5c981c79e566e3b31f68b9e21c730 01-Jul-2014 Vinit Deshpande <vinitd@google.com> Introduce RTT Manager

Change-Id: Ic9a16d587897b272f85cdb2b8c52b51bca060d18
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
19024b6d82aa80327f0f90303ef681938012fbe7 27-Jun-2014 Vinit Deshpande <vinitd@google.com> Lower minimum scanning period in WifiScanner

Change-Id: I4af8200a23c2b61b2505424a3832ca47d390fd80
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
35d552f7adf0ccffbd78c4220862188a198dda7d 09-Jul-2014 Wei Wang <weiwa@google.com> Make WifiScanner System API

Change-Id: I0e2ebae998165abbb48a8cee0a3723ace2ca99e5
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
daf215cf95fe5464d67465d9a6540c6296ca90bd 10-Jun-2014 Vinit Deshpande <vinitd@google.com> Support scanning using band specification instead of channels

This change enables scanning with band specification instead of channels,
this should ease app development.

Also includes a bug fix for parcel serialization/deserialization.

Change-Id: Idbffce4805b403bf8fe1efae999cb828e09c2420
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
e344cb226885b071c0aad5dd034518fca5002841 04-Jun-2014 Vinit Deshpande <vinitd@google.com> Fix an NPE in WifiScanner while reporting description

Change-Id: Ie9d12e19e0b8ca98c6ec4c6fa5222a2f28983e64
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
55027bb7b87ddcb05d65892677a2e0fe42f66ba2 30-May-2014 Vinit Deshpande <vinitd@google.com> Accomoditing API Review feedback for WifiScanner

cherry-picked from klp-wireless-dev
SHA1 8217e22356a8828a725ba7654cf25b05a49108fb

Main changes include

- hiding the API for LMP preview
- moved information elements to ScanResult object
- removed objects from events
- changed API names to be more consistent

Bug: 15191968
Change-Id: Ibe3907366aee85f7d56021a536ae0f9f9fb28b38
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
c101b1c90b5c2e649c7f4b14c9c40c570a3ece05 20-May-2014 Vinit Deshpande <vinitd@google.com> Implement onPeriodChanged and multiple scans of same channels

This change fixes multiple scans of same channels; and it generates
onPeriodChanged event.

cherry-picked from partner:klp-wireless-dev
SHA1 950564a305865cc0ae2bc528479ea6922efbb898

Bug: 15000051
Change-Id: I06a4ecc9d45eda4984de50b97b39f623dd0b26d1
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
8ca0339ddb698b2e85ba625ca73256233189ec3b 14-May-2014 Vinit Deshapnde <vinitd@google.com> Enable more features on WifiScanner

This change enables full scan results and allows overriding wifichange
configuration. There are also minor API changes take relavent parameters.

Change-Id: I6ebcb49f64bd8bc9e5e0c88c3b56eb634783524e
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
1ab9cc8029f723cc6198c013d9df1477fad2d3f9 10-May-2014 Vinit Deshapnde <vinitd@google.com> Unhide the WifiScanner API

This change also adds java docs where needed.

Change-Id: I1b7e56e31d460bc773dab9603fbebacf7c439e60
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java
011e1b35a64180d6f0234af8a3c2b70777eb9f39 08-May-2014 Vinit Deshapnde <vinitd@google.com> Initial implementation of WifiScanner

This change implements basic functionality of WifiScanner. Following
functionality is enabled

1. Scanning - specify a list of channels to scan
2. Significant change detection
3. AP hotlist

Change-Id: Ieef75b96bdbbd3c7d9b9e698bd16e64d3b465254
/frameworks/base/wifi/java/android/net/wifi/WifiScanner.java