History log of /frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a1d90d9e9fbe62561d3a77b2733b5fce3b92d17a 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.

Bug: 37514387
Test: unit tests and integration (sl4a) tests passing.
Merged-In: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c
Change-Id: Ia14065ab9dcd92481412532bfdb198f2e8d9f83c
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
68507288184a94ff3607b7f5c87af54c7343e0ff 30-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Implement custom Wi-Fi Aware network specifier

Convert Wi-Fi Aware connectivity requests to use a custom
network specifier (as opposed to a string). Aside from
simplifying code, allows for more control of information
printed out, and of additional information to be packaged
and used in network decisions (uid - TBD).

(cherry-pick of commit a5028455a4b7592091f12c80d4b4d42c9c866d66)

Bug: 36275276
Bug: 36053921
Test: unit tests and integration (sl4a) tests passing.
Merged-In: I776fb348b15ec4830f890a8ac5c41f24594e12a7
Change-Id: I776fb348b15ec4830f890a8ac5c41f24594e12a7
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
3a764c19d1fc7bbe72231c212dfbae1ef40f83f6 08-Mar-2017 Etan Cohen <etancohen@google.com> [AWARE] Update network API: make open/encrypted explicit

Replace the older (implicitly) open network with 3 network
creation APIs:
- Open
- Passphrase-based
- PMK (SystemApi only)

Bug: 26564544
Bug: 35702875
Test: unit tests and integration (sl4a) tests
Change-Id: I29a1d668d245853755cd2dfaaa6c65fbb43989f7
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
62a2f9f6ab3e00e2fc1885a01dd3b5a153fc3ae7 21-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Add data-path security configuration (Passphrase)

Add API to optionally provide a passphrase to
configure security on a data-path.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: Ie011345348a3918a412957e38610cabe147c35fa
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
954111a2522677ce2954910553762fd0379e6d4d 21-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Add data-path security configuration (PMK)

Add API to optionally provide a pairwise master key (PMK)
to configure security on a data-path.

Clarify the default API to mean open (unencrypted) data-path.

Bug: 33552694
Test: unit tests and integration (sl4a) tests
Change-Id: I43fe704547f2921b3207f215e42d253837aa04e9
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.java
7c9c4785fcade9f36fd0a30bcab0efe838592f23 24-Feb-2017 Etan Cohen <etancohen@google.com> [AWARE] Remove (hide) sendMessage with retryCount API

Remove the sendMessage(..., retryCount) API (the version
without retryCount) remains. Baseline API already retries
transmissions (at the PHY/MAC layers) - no reason to add
framework-layer retries.

Bug: 35755823
Test: unit tests and integration (sl4a) tests
Change-Id: I49d8bd1e836c09d56f3a9343313f5647eac5c32d
/frameworks/base/wifi/java/android/net/wifi/aware/DiscoverySession.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/DiscoverySession.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/DiscoverySession.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/DiscoverySession.java