History log of /frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
159f2184beb39cfe0d786105cc69e54265747e56 01-Jun-2017 Etan Cohen <etancohen@google.com> [AWARE] Enforce permissions for Aware data-path PMK usage

The Aware data-path using PMK API is system-only. Add code to
actually enforce that restriction.

Add test coverage for PMK/Passphrase code path.

Bug: 62266163
Test: unit tests, integration tests
Change-Id: Id833cbf81518df67f0fec4c8d944767b8c46ab82
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java
910fdc720f0bf62b5529cb37a5f001ae585a5c59 26-Apr-2017 Etan Cohen <etancohen@google.com> [AWARE] Metrics framework

Plug-in to the Wi-Fi metrics framework. Metrics proto and hooks
created but not populated.

Bug: 26565416
Test: builds + unit-tests
Change-Id: I4a8eb76342c140767279aa46753d604b37af613e
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.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/WifiAwareServiceImpl.java
dc929704e04d634eff04dfd55024b18578be9717 28-Apr-2017 Etan Cohen <etancohen@google.com> [AWARE] Add wifiaware shell command interface

Add support for 'adb shell cmd wifiaware ...'. No commands are
added - just the framework.

Bug: 37780855
Test: builds, able to execute command
Change-Id: I8cd66c3522ba97d96808dfadce389de942ef4063
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java
93ed1748297b9bc66b28e25cd1cab8d41d3a712a 24-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Lock-down access to hidden sendMessage API

The sendMessage(..., retryCount) is removed (hidden).
Lock down the API on the server side.

Bug: 35755823
Test: unit-tests and integration (sl4a) tests
Change-Id: Id138d17fdeca5cede90671c9f15e871bcb6fa524
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java
29a32ed26636892cecc262f4f373d24b1edc210c 23-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Lock-down startRanging Aware API

The WifiAwareManager.startRanging method is WIP. Lock
it down (internal use only) until productized/opened -
possibly through the RTT API.

Bug: 35676064
Test: unit tests and integration (sl4a) tests
Change-Id: I66db9985215a76a3e619dca28afefc262735c9a7
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java
9951fc4c87fe3ee06ca7889e3e98f55024d49d97 16-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Remove public enableUsage/disableUsage API

The APIs were provided to the manager to provide an indirect
mechanism to enable/disable Aware. No longer needed - removing
dead code.

Bug: 35435032
Test: unit tests and integration (sl4a) tests.
Change-Id: I7f4cca982b250ee4d270a57e9cfdf355719cf11b
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.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/WifiAwareServiceImpl.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/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.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/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.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/service/java/com/android/server/wifi/aware/WifiAwareServiceImpl.java