History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c5f4b2597df6284d35d2f3af8fb35f72e140c5a7 13-May-2017 Glen Kuhne <kuh@google.com> P2P: Fix onServiceDiscovery callback param parsing

onServiceDiscovery was incorrectly constructing a legacy style
supplicant ctrl-iface event string to pass to
WifiP2pServiceResponse.newInstance.
Modified newInstance to just receive the raw HIDL parameters, and skip
the string construction and deconstruction.

Bug: 38174469
Test: CtsVerifier Service Discovery Requester & unit test
Change-Id: I7872d3575f44e8a29b43dffd8fb083022a5a415f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java
88d77863cb2caeb3a994f7931a08bded96efa71b 12-May-2017 TreeHugger Robot <treehugger-gerrit@google.com> Merge "P2P: handle null p2p_dev_address sta auth/deauth" into oc-dev
7e9eafab778c3920732a965ca9a0b330c6c676d6 04-May-2017 Glen Kuhne <kuh@google.com> P2P: handle null p2p_dev_address sta auth/deauth

This fixes an issue introduced with the HIDL interface, legacy STA
devices have a null p2p device address, and only use a src address.
The pre-HIDL behaviour was to use the srcAddress if the p2pDeviceAddress
was unavailable, this CL restores that.

Bug: 37961262
Test: Manual verification with LINKS app, added unit test
Change-Id: Ib270228e8a2d1f90423c7057052623115f586f64
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java
5a843c0d793abf48de2c77e0b1a54fded88bb018 05-May-2017 Glen Kuhne <kuh@google.com> Fix P2P provision discovery config method

Fixes some more bugs introduced with HIDL. When using a PIN for
provision discovery, the target config method should be the opposite of
the role (KEYPAD or DISPLAY) that the sender is using.
This flips the role for the target config method when sending the
request, and sends the correct broadcast when completing the
provisioning on both devices.

Bug: 38002403
Test: Manually tested via Links app, CTS GO Negotiation Test (PIN),
updated unit test
Change-Id: Ic6f775030c6dd1476f56677fb79c895d59bb25b4
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java
d5a56317c4697aab6fc8c277ba33dbce6542db79 13-Apr-2017 Roshan Pius <rpius@google.com> SupplicantP2pIfaceCallback: Remove quotes around network name

This is needed to maintain backward compatibility with previous
releases.

Bug: 37286961
Test: Unit tests
Change-Id: Ie40bfecfbb302cb4f5e93695d9a2e60f8c405c56
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java
7f7b374b3e75a929ab0d46426daf9a5e92c2d85b 31-Mar-2017 Roshan Pius <rpius@google.com> SupplicantP2pIfaceHal: Fixed the usage of the wrong enum

The enum used to compare the onProvisionDiscoveryCompleted callback's
configMethods mask was wrong. It should be the WpsConfigMethods enum
values.

Bug: 36805671
Test: Unit tests
Change-Id: I48ff9b9872db45dfa54d27553f6de34191e0a50f
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/SupplicantP2pIfaceCallbackTest.java