History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/NativeUtilTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d19743b66ba214a8c4a5166d1fe7d938f97a3f03 14-Mar-2017 Roshan Pius <rpius@google.com> SupplicantHal: Fix Wps PBC/Display setup

For Wps PBC/Display the app can choose to send a null bssid to indicate
that we want to indicate wildcard. So, add support for it.

Change NativeUtil.macAddressToByteArray to allow null/empty strings
which would return all zero'ed bssid.

Bug: 34714021
Test: Unit tests
Test: WPS setup can now be initiated via settings app.
Change-Id: I223eb9666163a0f02fe6b68480b1a05895563803
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/NativeUtilTest.java
67bbcdc2c81824ff671a5a1d8475a598199e342e 22-Feb-2017 Roshan Pius <rpius@google.com> SupplicantStaNetworkHal: Remove enclosing quotes from psk

The settings app seems to be quoting psk passphrase. So, remove those
when we add it to wpa_supplicant.

Bug: 33383725
Test: Unit tests
Test: Able to connect to psk networks now.
Change-Id: I68e9d377a97d7ad1393e14e6e5371ef9f9fab439
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/NativeUtilTest.java
82c5c5f2ee520a1066cf5d6421885bb53bbfe269 17-Feb-2017 Roshan Pius <rpius@google.com> SupplicantStaIfaceHal: Handle state change callbacks

This should invoke associated/connected broadcasts along with the state
change broadcast depending on the state.

While there,
Change NativeUtil to return lower case hex string since that is what is
being used everywhere else.

Bug: 33383725
Test: Unit tests
Change-Id: I87cbd33819ec05bc529af76d17a3e1be84a304da
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/NativeUtilTest.java
99ee64591d5d0ac986b1dbd676382b8a1409a36f 09-Feb-2017 Roshan Pius <rpius@google.com> NativeUtil: Create utility for native modules

This class will contains helper functions for converting data format for
modules interacting with native daemons (WifiVendorHal,
SupplicantStaIfaceHal, WifiCondControl).

SSID is encoded/decoded differently based on whether it represents an
ASCII string or not.

Bug: 35154749
Test: Unit tests
Change-Id: I466ca7bc1fe14720a922715d31376a1ca7d6c988
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/NativeUtilTest.java