History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0b74b795587b6aada97c7c63f0febf94c76633e2 20-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Restrict publish/subscribe count configuration API

Public API access to publish/subscribe count removed. Enforce
restriction on service side.

(cherry-pick of commit 16b00750e1d3c41ce9b4ccae9f07e0586e8ca2d0)

Bug: 36446307
Test: unit tests and integration (sl4a) tests
Merged-In: I28edd79dcf3aa1e34f921a35c388dc0b056831d0
Change-Id: I28edd79dcf3aa1e34f921a35c388dc0b056831d0
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
9fdded9b33d8b519b713d682ca63dffc8a2191bc 28-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Fix unit tests

Update to reflect new mockito semantics.

No functional change, no change to test semantics!

(cherry-pick of commit 331184d17817a25263e2e731f87a3bc68bc831ef)

Bug: 36658906
Bug: 36658964
Bug: 36658672
Bug: 36658428
Test: unit tests now passing
Merged-In: I2a500859608789301c17133d521089944b0d1fb2
Change-Id: I2a500859608789301c17133d521089944b0d1fb2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
da7d73da44a47933cfc99660c2d247c24fd72544 24-Mar-2017 mukesh agrawal <quiche@google.com> disable failing tests

Disable failing unit tests, except for the ones where
a) we already have fixes up for review, or
b) the test was failing before the Mockito update

The tests are disabled via a new annotation, so that
we can more easily track progress on updating the
tests to work with the new version of Mockito.

Bug: 36407367
Test: runtests.sh -e notClass com.android.server.wifi.WifiVendorHalTest,com.android.server.wifi.hotspot2.PasspointManagerTest,com.android.server.wifi.WifiConfigManagerTest,com.android.server.wifi.p2p.SupplicantP2pIfaceHalTest#testCancelServiceDiscovery_exception

Change-Id: Idca42fe735821a29a6dc0ca975bf5d39909ec508
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
49a847941e08faec5901d4824040a522b773ef83 15-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Pipe discovery window period configuration to HAL

Discovery window period configuration was added to ConfigRequest.
Pipe the information to the HAL (HIDL) API.

Bug: 33552536
Test: integration (sl4a) tests
Change-Id: I1570f98650cc5dbb51d9e722088f9f13931474cd
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
75bb2a1c3f5c513cde140a8cec417c67423465d2 10-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Update capabilities

Add extended service specific info and remove vendor-specific
attributes.

Bug: 35193235
Bug: 35193423
Test: unit tests and integration (sl4a) tests
Change-Id: I905c0bf4d06162fb55ff33a314634f9a2f1f8c59
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
26f57d4921a2390f90d4bf474cb76ec3761d6c69 04-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Send message: error code handling

Send message operates by queueing messages to the firmware
and then reacting to the status of the queue and the actual
over-the-air transmission.

Added:
- Code to handle immediate queueing failure (need to be more
concerned with transition to HIDL - likelihood of immediate
errors increased, e.g. due to service failure).
- Code to differentiate QUEUE FULL error code from other firmware
errors.
- More robust testing framework: including a model of the device
and randomized responses.

Bug: 29061728
Bug: 29459286
Test: unit tests + integration (sl4a) tests
Change-Id: I218ec9b9107fae0efc7299341ad02e19034d2f09
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
5254a256676974e9db86fcb86b2f41af7d4a59f5 01-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Handle HAL failure correctly

HAL calls may fail asynchronously or synchronously. The frameworks finds
out about async failures through notification callbacks - already handled.
The synchronous failures happen immediately on HAL API calls. These are
rarer and have not been handled until now. Add code to handle the sync
failures - by calling appropriate failure callbacks. Add unit tests.

Bug: 29061728
Test: unit tests + integration (sl4a) tests pass.
Change-Id: I7ad35c989aa146f74eaad4eaa781d2e628586846
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
db3c9d35a7f08de03beec81e801d917a5375f63e 30-Jan-2017 Etan Cohen <etancohen@google.com> [AWARE] Wi-Fi Aware HAL: move to HIDL

Transition from JNI-based HAL to HIDL-based HAL.

Bug: 32315992
Test: unit tests + integration (sl4a) tests passing
Change-Id: I8deeaa501b90b1b2a92c3f57a7e0251f21cc40ff
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
cecebde8ef6445860c111f252c9dbb02e15e42d7 24-Dec-2016 Etan Cohen <etancohen@google.com> [AWARE] Remove reason from discovery session terminate callback

Only valid reason is per request (destroy or timeout/count).

Bug: 32670068
Test: unit tests & integration tests (sl4a) passing
Change-Id: I2d773beffe590456a302b682f2861007315d1619
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
66c17d08de5b28134f172317c87132d1818f30f0 20-Dec-2016 Etan Cohen <etancohen@google.com> [AWARE] Simplify Wi-Fi Aware API namespace

Simplify Wi-fi Aware API namespace. Rely on project and remove WifiAware
prefix from most classes.

(pure rename operation: no functional changes)

Bug: 31470256
Test: unit-tests + integration (sl4a) tests.
Change-Id: I2a3de693ba0945300f973ab66fec195077568d79
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
d45abba86c33bd93863fc9d8f7c84ca28deb17b2 14-Dec-2016 Etan Cohen <etancohen@google.com> [AWARE] Use WifiInjector in WifiAware library

Convert the WifiAware library to use the WifiInjector.
- Reduces use of reflection to configure unit tests
- Lays the ground work for merging all Wi-Fi handler threads

Bug: 27924886
Test: boots & unit tests passing
Change-Id: I43f1896182a64bc89249e49b6e2bbce238f68f82
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
69689c0657d0b6c7a2616ff9a55ecae15d1f084d 10-Nov-2016 Etan Cohen <etancohen@google.com> [AWARE] Update framework code for simplified HAL error codes

HAL error codes have been simplified (fewer) and a description
string (vendor-specific) added. Update framework code to use the
new error codes and log the description string.

(cherry-pick of commit 53007ea43c28fb700e37ba1fa74dc51953d5be71)

Bug: 27914592
Test: unit tests + integration tests passing
Change-Id: Ifb8d1c694e4ca72ecc0c4fe60c180b8a189f43d7
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java
c29acea6ceda3aa4ee537c05ce7d05dac2655cf9 26-Oct-2016 Etan Cohen <etancohen@google.com> [NAN-AWARE] Rename NAN to Aware

Rename only (and any reformatting needed to pass lint) - no
functional changes!

(cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3)

Bug: 32263750
Test: All unit tests and integration (sl4a) tests pass.
Merged-In: Idd8d0ad8d1fa1058c1bcd0de169a02e1fad9d070
Change-Id: I761b8f5b588d74eea66d7150a2f9a1e1ac5c1dfd
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareStateManagerTest.java