History log of /frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
116d2cabb134effcb2392eb2b1a11b11173f425e 19-May-2017 Etan Cohen <etancohen@google.com> [AWARE] Enhance debug logs

Add information to the debug message.

Bug: 31940045
Test: unit tests, integration (sl4a) tests
Change-Id: I076825164491a2025a8d04ebb5898a0e742af312
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
62dd9594ebed3f8ee70c54e5bb9e561847b230af 25-Apr-2017 Etan Cohen <etancohen@google.com> Merge "[AWARE] Remove match style API" into oc-dev am: 2be0a532bf
am: 1945f3ad2e

Change-Id: I94ddbb5eae5ff644b5b06b57633762b6bce8433f
8039e6d48d9f77e83f9aa3ccceed6315fd15ac0e 21-Apr-2017 Etan Cohen <etancohen@google.com> [AWARE] Add AutoCloseable interface/implementation

Make resource holding classes AutoCloseable. These are objects
which (already) require the client to call a destroy() method.

Note: the destroy() method was renamed to close() - no sense in
identical/duplicate methods.

(cherry-pick of commit 6a4572c89671d9320620eb0ef071dfe0a01de901)

Bug: 37514387
Test: unit tests and integration (sl4a) tests passing.
Change-Id: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
66a3b8c7c09c1b1f587afabd0a7d06801a52fc28 21-Apr-2017 Etan Cohen <etancohen@google.com> [AWARE] Remove match style API

Match style (ALL or FIRST) are not necessary - there is no use-case
for need to match any but the first time. Match style ALL also has
power implications.

Bug: 37547045
Test: unit tests + integration (sl4a) tests passing.
Change-Id: I6ae872711159f4ade4b2c7cfcd36cd2a0e64dd52
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
f6d243b6be463eccb59b2827bcd0b9ad02a9a246 20-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Remove Publish/Subscribe Count configuration

Simplify API: semantics of publish/subscribe count restrictions
aren't clear at the app level. They depend on DW configuration as
well as discovery session type - number of packets transmitted over
the air.

There's already an app-facing discovery session lifetime configuration -
the TTL. That has clearer semantics and is sufficient (for now).

(cherry-pick of commit 2cbaf22bba4da1b60c551112a97ccc7f2e7157fa)

Bug: 36446307
Test: unit tests and integration (sl4a) tests.
Merged-In: I9129975bd2e1a61b3d23a4b6acaae703b42216c7
Change-Id: I9129975bd2e1a61b3d23a4b6acaae703b42216c7
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
2cbaf22bba4da1b60c551112a97ccc7f2e7157fa 20-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Remove Publish/Subscribe Count configuration

Simplify API: semantics of publish/subscribe count restrictions
aren't clear at the app level. They depend on DW configuration as
well as discovery session type - number of packets transmitted over
the air.

There's already an app-facing discovery session lifetime configuration -
the TTL. That has clearer semantics and is sufficient (for now).

Bug: 36446307
Test: unit tests and integration (sl4a) tests.
Change-Id: I9129975bd2e1a61b3d23a4b6acaae703b42216c7
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
6a4b323f08cea4eb538883127ff07302c3b10c46 10-Jan-2017 Etan Cohen <etancohen@google.com> [AWARE] Unhide Wi-Fi Aware API (baseline)

Baseline Wi-Fi Aware API providing discovery and connectivity (data-path).

Bug: 30983968
Test: unit tests + integration (sl4a) tests passing.
Change-Id: Idd7c6a625f168717b083d5f13e291ce916571933
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
b84ad8062dc7e7e0cbc87e6a6769741b66dd4568 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: I85d417442e26a16d7f09d6d2d4cbb8ae7a9eba7e
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
3de35a5e5573828838bfa6359a1ac1bf22b19303 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: I38b8137c1730c8f40c482c6770caafcaeafd5c46
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
0ae58fa665af12a3f060c3eecf5cb331a975880a 02-Dec-2016 Etan Cohen <etancohen@google.com> [AWARE] Fix javadocs for match filter update

Javadocs update. Specifically, cannot contain generics (since
under-the-hood generics are just the undecorated class).

Bug: 32840891
Test: generated docs (no functional change)
Change-Id: I4bc2967a60ad27d137fd5a4dd3db18625343c910
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
1857b982c320311e10e109064c204e7894aa0730 23-Nov-2016 Etan Cohen <etancohen@google.com> AWARE: Abstract structure of match filters

Replace byte[] representation with a List<byte[]> representation
which abstracts the LV (TLV without a type field) structure of
the match filters.

Tlv utilities: remove tag indicating that will be made public API.
That is no longer expected (will be an internal utility) since the
match filter structure is now parsed when exposed to API.

Lv utilities: removed. Was a simple wrapper around Tlv utilities -
no longer needed since will not be exposed as API.

(cherry-pick of commit c9870d0d431471bf1362e46fc4f2f1bc6722896a)

Bug: 32840891
Test: unit-tests and integration (sl4a) tests passing
Change-Id: I6d792c4d7584ce002f6c11692e83e7654ef3e764
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
6831f93725f9efd9c13a278acac62a5d7dcf4a4d 16-Nov-2016 Etan Cohen <etancohen@google.com> [AWARE] Update API per review

- Move Handler to last position
- Peer ID changed from 'Object' -> opaque class
- Rename onMessageSent -> onMessageSendSucceeded

(cherry pick of commit 1fef08507aeb49bb2e4e7be4804a378ba2cf7770)

Bug: 31470256
Test: unit tests & integration (sl4a) tests pass
Change-Id: I5530d310e982ea16a63a5af1f704625fd24e436c
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java
0849ded00879dc05175c079011aa038c5ba0770a 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!

Remove android.net.wifi.nan.STATE_CHANGED from manifest:
redundant/remnant of an older configuration.

(cherry-pick of commit a61b9fb569153917a650f1d48efa20ba8846a9f3)

Bug: 32263750
Test: All unit tests and integration (sl4a) tests pass.
Merged-In: Ie4ff675fa61041e8fcf6a9bf9900ea835d0a7614
Change-Id: I4206d2fd722dc7dec9df4aee5c818101d7f9dccc
/frameworks/base/wifi/java/android/net/wifi/aware/SubscribeConfig.java