History log of /frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
eb7eaf9747051e75519bd12c93c40bca866c456c 25-Apr-2017 Etan Cohen <etancohen@google.com> [AWARE] Fix broken unit test due to init mod to NativeManager

Initialization of WifiAwareNativeManager was changed to prevent
a race condition: moved from constructor to a separate (lazy init)
start() method.

The unit-test was not modified to call this new method and so was
failing.

Bug: 37660993
Test: unit tests now pass
Change-Id: If0714fb57e959307fa40bc71327e108795b795cc
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.java
331184d17817a25263e2e731f87a3bc68bc831ef 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!

Bug: 36658906
Bug: 36658964
Bug: 36658672
Bug: 36658428
Test: unit tests now passing
Change-Id: I2a500859608789301c17133d521089944b0d1fb2
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.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/WifiAwareNativeManagerTest.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/WifiAwareNativeManagerTest.java
448a7b6b7b16cf39ed25729ceaf61edb30368567 27-Jan-2017 Etan Cohen <etancohen@google.com> [HAL Device Manager] Available for request API + STA/STA request bug

Updated available for request API:
- Simple register/unregister API
- Will be called immediately on registration (if valid)
- Will be registered until unregistered
- Only a single copy is kept (duplicates detected)

Fixed issue whereby the requested interface wasn't counted toward
the total of required interfaces. So with only one STA allowed, a
second STA would have been allowed.

Bug: 34474043
Test: unit tests pass (with new unit tests added)
Change-Id: Ic19731b66a609b828cda07f8065ef27ead077b2d
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.java
3145bb4d3359647cccd9b4aba1734066f36bb2e6 26-Jan-2017 Etan Cohen <etancohen@google.com> [Wi-Fi HAL Device Manager] Status callback semantics change

Change behavior of status callback/API:
- Listener provides a status change only (onStatusChange)
- Triggered when Wi-Fi is started or stopped
- Triggered when Wi-Fi HAL service dies or restarts
- API for
- isStarted(): indicates if Wi-Fi is started or stopped
- isReady(): indicates if Wi-Fi HAL service is alive

Bug: 34474043
Test: unit tests
Change-Id: I8babb00ea8a2c8c485d1661255644434f0787d8e
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.java
64ce9f185eb6097c1c358c44710be6e1ca7c7055 21-Jan-2017 Etan Cohen <etancohen@google.com> Wi-Fi HAL device manager: add interface API

Added interface management API and infrastructure.
The create API does not function.

Bug: 34474043
Test: builds - no unit tests
Change-Id: I71983d7d6c4ca941689112f0112d692e06574b3a
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareNativeManagerTest.java