commit | 395a2115d15d11c9eabbbdfefd0909d32f6cfca0 | [log] [tgz] |
---|---|---|
author | Navtej Singh Mann <navtejsingh@google.com> | Tue Jan 27 14:12:16 2015 -0800 |
committer | Navtej Singh Mann <navtejsingh@google.com> | Wed Mar 04 17:32:48 2015 -0800 |
tree | 000563482164ea86cb341d60b19d04cfdc7c9a52 | |
parent | f344f036d4ea624fb24d3576e6fbff2465436d40 [diff] |
Added Wifi Scanner automation test Change-Id: Ib4aa4397d33834687171d09dafed26dc6f23c1f0
diff --git a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiScannerFacade.java b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiScannerFacade.java index 587f929..a6cb004 100644 --- a/Common/src/com/googlecode/android_scripting/facade/wifi/WifiScannerFacade.java +++ b/Common/src/com/googlecode/android_scripting/facade/wifi/WifiScannerFacade.java
@@ -352,6 +352,15 @@ return mListener.mIndex; } + /** + * Get currently available scan results on appropriate listeners + * @return true if all scan results were reported correctly + * @throws JSONException + */ + @Rpc(description = "Get currently available scan results on appropriate listeners") + public Boolean getScanResults() throws JSONException { + return mScan.getScanResults(); + } /** * Stops a WifiScanner scan