9907358e1374c55440d8fcf5175633315678dbe5 |
|
17-Jul-2017 |
Steven Moreland <smoreland@google.com> |
Reference nativehelper/jni.h as jni.h nativehelper will no longer export nativehelper/jni.h so that everywhere can reference this file with the same name. Bug: 63762847 Change-Id: I888460930169e18c1f89f025b5477f24b812bb5b
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
b8b3fb8228a1f90106bad8c59ce006b81ef7921c |
|
09-Mar-2017 |
Roshan Pius <rpius@google.com> |
Remove all legacy HAL usage from framework WifiNative now just becomes a module to route calls into the appropriate native module: WifiVendorHal, WificondControl, SupplicantStaIfaceHal, SupplicantP2pIfaceHal. Changes in the CL: 1. Cleanup WifiNative to remove the legacy HAL usage. 2. Remove the |HIDL*| flags in WifiNative. 3. Remove static instance of WifiNative/WifiMonitor. 4. Remove WifiMonitor code parsing the string events from wpa_supplicant. 5. Remove all unused jni code used for legacy HAL interactions. 6. Remove dependency of libwifi-hal & libwifi-system from framework. Notes: a) We can now potentially split up WifiNative into separate chunks: WifiStaNative, WifiP2pNative, WifiRttNative, etc instead of having a monolithic WifiNative instance. b) We may have to add back the local log in WifiNative (b/36059665). Bug: 35702893 Bug: 34457880 Bug: 34884202 Bug: 35421721 Test: Compiles, existing unit tests pass. Test: Device boots up and connects to wifi networks. Test: Verified with wifi regression (b/36068282) Change-Id: I3e13522c912242af8023471e029edb1ce47fd3e9
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
0582f33392a7c37853d57bd636f2b3f37b44ce7b |
|
14-Dec-2016 |
Colin Cross <ccross@android.com> |
Remove unused AndroidRuntime.h include AndroidRuntime.h is not used, remove it. AndroidRuntime.h will not be available without a dependency on libandroid_runtime. Bug: 33630870 Test: m -j native Change-Id: If53dacaa4efcfa65ae5e6240159409b8b0453f67
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
6d02f49e05363e96776062d6979240472d0e6701 |
|
22-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Modify arguments from \"array, length\" to \"array\" am: 80a6988b53 Change-Id: Ife00dd5e7f2e10ceb849ac52740081147b529793
|
80a6988b532a1a63a164a6ff7f63ac88762bd633 |
|
16-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Modify arguments from "array, length" to "array" Arrays carry their own lengths. There's no need to provide mechanism to 'shave' the array - could be done explicitly by caller if needed. Bug: 29617160 Change-Id: I98ca3298b104c9ad4bc9933694d0aea55b7d633d
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
a2008c5029ef1099794d72dac8a2382dd1b28c47 |
|
13-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Service name usage: add validity check call & use byte[] am: 91a3f00bea Change-Id: I6c4416ea3cef39d7ff7b739d38d4f4ba3cc1c1f4
|
91a3f00bea170ed5a37566c12608b66755ddfa99 |
|
07-Jul-2016 |
Etan Cohen <etancohen@google.com> |
[NAN] Service name usage: add validity check call & use byte[] Validates service name per spec (see bug for details). Propagate through to HAL as a byte[] rather than a string. Bug: 30000106 Change-Id: I5af8dd10c65edac1aa5e742ca9fd152989e322e0
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
f8a283f4fc2f103fdf68062a50e516141d1e881d |
|
20-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Refactor header includes in jni code References to headers from libnativehelper have now been prefixed with nativehelper/. Use double quotes to include local headers, and <> for everything else. Sort includes and separate system libraries from C standard library headers. Change-Id: I55b60b208e015fe054730f4051fb47e7c3be9b21
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
189a1eff9eef200cab7a61e5bf6e9865bfa46ce4 |
|
15-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Wrap vendor provided HAL in libwifi-hal While here, fix the include paths so that we explicitly refer to the headers in hardware_legacy. Bug: 29396611 Test: Compiles, can associate to an AP on angler/bullhead Test: runtest frameworks-wifi continues to pass Change-Id: Ic76ce613b80eb9b3200699c5e1dd083a43e2b1c5
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
94a1844242a3725d9314f2e2dbcdf0ab58b0f1c1 |
|
15-Jun-2016 |
Christopher Wiley <wiley@google.com> |
Move wifi.c to libwifi-system This library will eventually contain only device independent wifi related code. For now, it still takes a few parameters from the build system to control #defines in a device specific way. Bug: 29321445 Change-Id: I6d0054a15b0e448019bb51728763d961132c5464 Test: Compiles, can associate to APs on bullhead, angler
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
3d29c7f6ea68aa2c799be7089cb279874af0f96d |
|
23-May-2016 |
Adam Buchbinder <abuchbinder@google.com> |
Add missing va_end() calls in some variadic functions. This addresses the following cppcheck reports: [frameworks/opt/net/wifi/service/jni/jni_helper.cpp:517]: (error) va_list 'params' was opened but not closed by va_end(). [frameworks/opt/net/wifi/service/jni/jni_helper.cpp:538]: (error) va_list 'params' was opened but not closed by va_end(). [frameworks/opt/net/wifi/service/jni/jni_helper.cpp:558]: (error) va_list 'params' was opened but not closed by va_end(). [frameworks/opt/net/wifi/service/jni/jni_helper.cpp:585]: (error) va_list 'params' was opened but not closed by va_end(). Change-Id: Ifdd26ba56cd2115884dcf903dc6f2d128ebd739c
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
3592af2adb0c30244a46db03164ca0f7e6d3b613 |
|
01-Apr-2016 |
mukesh agrawal <quiche@google.com> |
jni_helper: add createObjectWithArgs For the packet fate feature, we'd like to be able to call a constructor that requires arguments. Add createObjectWithArgs, to meet that need. While there: update the prototypes for set<Type>ArrayRegion(), to make it clear that the source values are not modified. BUG=27528124 TEST=compile Change-Id: If29939c9310c4b72098533efb9a785b325f9b2cf
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
956f54b391677d78379729dd14518edddf3c7660 |
|
29-Sep-2015 |
Etan Cohen <etancohen@google.com> |
NAN: initial service implementation for discovery Initial NAN service implementation. Supports: - Configuration - Publish/Subscribe = Discovery - Message passing - Notifications Bug: 26216681 Change-Id: I1f84a6006cec3c3ed9a4566a79b1b4f8dcecde08
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
7d519b6686ece717fd3890c0656b46155c22a377 |
|
05-Aug-2015 |
Vinit Deshpande <vinitd@google.com> |
Fix refcounting of objects and data in WifiNative Bug: 22857896 Change-Id: I552495f1b8561eb7917f6a94284f1716870491da
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
5cfd8d8b9f241dcad874125a1b5538ee0d6860fe |
|
29-Jul-2015 |
xinhe <xinhe@google.com> |
Boot loop when SSID has non UTF-8 character in the name b/22773761 Change-Id: I24e1579ff1aafde703d2090f93399fd5f299a75a
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
127f7244183786e6ccae09e81eeccdac31973e69 |
|
23-Jul-2015 |
xinhe <xinhe@google.com> |
Restart loop on MRA16G: Abort message: 'art/runtime/thread.cc:1320] No pending exception expected: java.lang.ArrayIndexOutOfBoundsException b/22591534 Change-Id: Ib8380b38fae8c3b0cb1e8980d397c9bfc98c9b81
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
9c86caa1a83f9d9c42faacc151341a09c5e538a4 |
|
08-Jul-2015 |
xinhe <xinhe@google.com> |
AUPT: NCs in system_server caused runtime restart b/22322272 Change-Id: If4eb9dd3fcefeef2ab26f991e8ee5dd8947a2837
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
dd490cf1df37b70a8625dc4ec8e712f740dd1e4a |
|
21-Mar-2015 |
Pierre Vandwalle <vandwalle@google.com> |
epno initial implementation Change-Id: I47ede001aa22089bab099072810d648999104091
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
c96feb800590f43b7be76d1000ab5d949e5c6790 |
|
02-Apr-2015 |
xinhe <xinhe@google.com> |
RTT framework interface update Bug:19917983 Change-Id: I3041ca5134dd1cb24f1ceab80cc79bdc5934424a
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
12cf388ecf3b2aa5ba66ed680b931fa356ab75b5 |
|
13-Mar-2015 |
xinhe <xinhe@google.com> |
Change rtt Framework interface Bug:19735392 Change-Id: Ie64e4609c9804c904836bb37255d4efe9211f39f
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
83a674a18c84ff4f01377bbfd8988699dec93bc2 |
|
31-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/opt/net/wifi/service/jni/jni_helper.cpp
|
51da80208c650a8271a18b0ca8681279ba060e1f |
|
23-Jul-2014 |
Vinit Deshpande <vinitd@google.com> |
Fix HalUtil for RTT test Added single shot scan functionality to start running RTT like test quickly (without waiting for buffers to be full), fixed RTT output to be more legible and also introduced rtt_tries parameter to allow for enhanced testing. Also fixed lots of formatting; although more needs to be done. This change also fixes another, unrelated JNI crash. Change-Id: I1517329fba4f20e572f24fa6d832ed6383d19635
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
b0b1d59786de7ff1fc98e31a16a7d710458bf549 |
|
30-May-2014 |
Vinit Deshpande <vinitd@google.com> |
Fix the stopping of scan after Wifi connection We have code that stops kitkat batch scan while we get a new IP address via DHCP; this exists because ARP multicast packets may be lost if the wifi radio is off channel for scanning. We need to do something similar for GScan as well - to avoid getting in the same problem. This change accomplishes that. This change also makes all HAL methods static, getting WifiNative closer to the 'SupplicantManager' role. cherry-picked from klp-wireless-dev SHA1 8f343d40a55bc638872a3bb3453b95062bf838ef Change-Id: Id2b500e37b71ea21a6bca162011abecbd41d90ec
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
aabe7a9f2f32915fd1f25416a6d2034a844005d6 |
|
10-May-2014 |
vandwalle <vandwalle@google.com> |
introducing link layer cherry-picked from klp-wireless-dev-mirror SHA1: eb8de645540caa6076c34854d8a4e7c22341783f Change-Id: I5c736c697d38ec17dcde81bdee638048fd688073
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
e4e3750390bec0a849a9153348b7c21b2cc8b843 |
|
05-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: I4fbb2cccbb15df21aae7a81f5d9b17fde2bda8c0
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|
7f9a15d554f69311a0db43347d6473a7c4c46e2e |
|
08-May-2014 |
Vinit Deshapnde <vinitd@google.com> |
More HAL functionality This change implements JNI plugs for delivering events to WifiNative in framework. Also introduces a test utility. Also has updated Gscan.h which is made up-to-date with the promised functionatliy. Change-Id: I12dd6d9f171e01e4b23ce4839b4022acd5e599cb Conflicts: service/Android.mk
/frameworks/opt/net/wifi/service/jni/jni_helper.cpp
|