c2d924a70f1e5167fe8aae729f79425661c31572 |
|
26-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add HAL 1.2 support for NDP channel info Update to support HAL 1.2 adding NDP channel information to the confirmation message and an additional indication called whenever the NDP channel is updated. Bug: 37007030 Test: integration and unit tests Change-Id: If29849c9d2d916355d437df9a6f794d2026a1fa7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
29ad45cb86b1d431cda152877b41a06925f88914 |
|
12-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Only create Aware HAL interface when needed Will only create the Aware HAL interface when needed (i.e. Aware is being enabled) and will release when Aware is shut-down. Previous implementation was to create the Aware HAL interface as soon as it became possible (i.e. no higher priority interface blocked its creation) - even if it wasn't necessary. The problem is that this would cause lower priority interfaces to never get a chance - even when it should be possible to use them. Specifically, the possible STA+STA feature where 2nd STA has lower priority than Aware. Bug: 69863101 Test: unit tests and integration tests (including stress tests) Change-Id: I77efd60cd7544a744bcb6ee52cb8a9c1dc3a25fd
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
776132d6c856d8869c026fc87e51366acf5225ae |
|
05-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[HDM] Interface availability semantics change to call on change Modify the interface availability listener semantics: WAS: call any time interface is available NOW: - Called on interface available or not available - Only called if that specific listener was not called before or called with a different value Bug: 69863101 Test: unit tests, integration time, manual test Change-Id: I152ce8d813194f4fb178a1e9b73cf9e1b6815cb7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
9340e8f34b979b06bb90f92852353957120abf41 |
|
14-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Configure DBG vs. VDBG Move some messages to normal DBG vs. VDBG to allow verbose run-time debugging. Bug: 69432628 Test: build, enable verbose & verify log Change-Id: I7162dca0daf728657fb946b36299bede35fa8a3b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
d187886254382d86f6884f593d851594575acd0c |
|
14-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Restructure debugging flags to enable dynamic updates Restructure the debugging flags to allow dynamic updates of the debug flag. Each class has a static VDBG and a dynamically updated mDbg. Note: there are no (or minimal changes) to the actual debugging - all of which is gated by VDBG. A subsequent CL will move some messages to the lower-level mDbg. Bug: 69432628 Test: builds, runs, toggle debug flag Change-Id: I61df2a0bb790832c7136aa1ad67a745eb388b1da
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
19c6781efe4ad552dec3423c858b2ab64f447d8e |
|
04-Dec-2017 |
Roshan Pius <rpius@google.com> |
WifiAwareNativeManager: Use handler for status callback The change of behavior in the HalDeviceManager callbacks causes the status changed callback to be invoked synchronously. This exposes a race condition between WifiService & WifiAwareService. The race condition is still present with the fix, but it's less likely to happen. Bug: 70163748 Test: Unit tests Test: Turn on softap Change-Id: I42da58846452b6b368e54c944166bd1d7d71c311
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
968a755132c525e5e1f1224a05eef7a58809fbd9 |
|
20-Nov-2017 |
Roshan Pius <rpius@google.com> |
HalDeviceManager: Send iface name in destroyed listener This will help clients managing mulitple ifaces to map the iface being destroyed. Bug: 69562278 Test: Unit tests Test: Device boots up and connects to wifi networks. Change-Id: I87b57b68c8df7402f7b31d5b855a778a0634807a
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
0d5a9d5c9f0914ad145926beb96fb72b39089e02 |
|
30-Oct-2017 |
Etan Cohen <etancohen@google.com> |
[HDM] Run Destroy notification immediately after creation Change priority of Destroy notifications to run as soon as possible - by running them in front of the queue. Requires changing the API to accept a Handler instead of a Looper. Bug: 68385222 Test: unit tests, manual test Change-Id: I9dffc43695e508a887b1f45a7810208991fa43d3
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
c7f423cc67f1efb697c7b22fd844d759da2ef23a |
|
23-Jun-2017 |
TreeHugger Robot <treehugger-gerrit@google.com> |
Merge changes I35d96419,I8ce5b2e6 into oc-dr1-dev * changes: [AWARE] Add debug hooks to obtain count of event callbacks [AWARE] Mask passphrase/pmk information
|
9572e8b6de6cb7912df530ae2376452bf1469b33 |
|
22-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add debug hooks to obtain count of event callbacks Count Aware event callbacks and provide a shell command to retrieve and reset data. While callbacks may be percolated up through the framework and detected - that is not always the case. Some of the callbacks are masked by the framework. It is still interesting to know when callbacks occur - to detect invalid wakeups of the host. Bug: 31940045 Test: manual shell cmd execution validates data Change-Id: I35d96419342c330f2d64a422b9b39369311aa09e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
9b37a65ec7b89ca58639443fd899824b28d04191 |
|
22-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Move initialization from main system server thread Finalize the move of all potentially blocking operations from the main system server thread to a delayed initialization on the Aware thread. Bug: 62890610 Test: unit tests, boot and verify Aware service up Change-Id: Iba45fa6ca170cfe79c896822992662ba7e5b6064
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
ef6de4b88b850e9df98a9ffe51c71ac493f6c51b |
|
15-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Fix NAN/P2P concurrency failure NAN doesn't register for an onAvailable listener if Wifi enabled at startup. Causes it to not receive callback later when p2p is enabled/disabled. Bug: 62632805 Test: integration non-concurrence test cases NonConcurrencyTest Change-Id: I1409e829ecdc1e6076faea81cabcb7bea846505e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
c760a66378bbd844eb421658799b4d55c76b98fa |
|
25-Apr-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Initial power optimization framework - hooks & config Create hooks in Wi-Fi Aware service to respond to power state change events: interactive on/off (aka screen on/off) and idle (doze). Initial implementation transitions to higher latency (assumed to be lower power) discovery duty cycles. Bug: 35457252 Test: unit tests Change-Id: I3a2a67db3e0b47ab982d7c67326e7fa20e429fad
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|
0b31edb987c0552b75667e05f0d589937a16f1ad |
|
24-Apr-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Fix race condition of Aware state machine & HAL The Wi-Fi Aware HAL was started before the Aware state machine was ready. In case where the HAL was able to obtain a handle on the NAN interface it would attempt to enable Aware through the state machine - resulting in an NPE. Added an explicit start method to the Aware HAL which is called in order. Bug: 37613363 Test: unit tests and integration (sl4a) test Change-Id: I66698bd926ca5d4bdb19b3025ed2f26c61028d21
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.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/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.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/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.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/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.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/service/java/com/android/server/wifi/aware/WifiAwareNativeManager.java
|