OSDN Git Service

WifiScanner: Add PNO public API
authorRoshan Pius <rpius@google.com>
Tue, 1 Mar 2016 21:18:41 +0000 (13:18 -0800)
committerRoshan Pius <rpius@google.com>
Fri, 4 Mar 2016 21:37:48 +0000 (13:37 -0800)
commite4fd150962e07dbcb0646d556bf372be0cc15f1f
tree5afa6445fca942b94934de25e1839f3d6a9b10d3
parentcf2f48e26bf50a6549d8c0c562cce0734565d978
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
wifi/java/android/net/wifi/WifiScanner.java