e43df4defbe26a2511d2d57dfda0460d8a22482b |
|
23-Feb-2018 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add target API check to the Responder to ANYONE config Responder to ANYONE was deprecated for API >= P. But the manager code did not check for target API - i.e. even older apps would have been rejected. Added the target API check to the manager code. Bug: 72175022 Test: unit test + integration tests Change-Id: I52e0c877e0af0756816b5b13e42f432504461e20
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
64dd7468f3027ddd8563b6f9d8ac3b13b5ff78b0 |
|
31-Jan-2018 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove ability to accept connections from ANYONE"
|
caf9b531f7a78353be575dcaa8bb7fe83c9988ad |
|
23-Jan-2018 |
Etan Cohen <etancohen@google.com> |
Update SmallTest library android.test.suitebuilder.annotation.SmallTest is deprecated and replaced by android.support.test.filters.SmallTest. Update all test files. No other change. Bug: 72324160 Test: all unit tests pass Change-Id: I02ec8419a3eac698077d46b0b95f1f695b0f1b9b
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
9b78f8254d31b03aaeb83d92be830dd2ba36787e |
|
20-Jan-2018 |
Etan Cohen <etancohen@google.com> |
[AWARE] Remove ability to accept connections from ANYONE Wi-Fi Aware data-path (NDP) setup requires an Initiator and a Responder. Both Initiator and a Responder are set up with the MAC address of the peer to which to connect to as well as a security configuration (Open, PMK, Passphrase). The original API (27) allowed a Responder to be configured to accept a connection from anyone (e.g. using a null MAC address). This creates ambiguous semantics when an NDP already exists. The second Responder request could refer to the previously setup NDP or to a new one to be created. We cannot tell the difference up-front. Remove the "Accept request from ANYONE" API for newer APIs. Bug: 72175022 Test: unit tests and integration tests Change-Id: I194cc15402c33c2f1c62834d64646f2489274c35
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
997dbef4eb17b7ac1b04517e35c3da2dbe78e781 |
|
19-Dec-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Check dynamic location permission Add check for dynamic location permission. Bug: 70499417 Test: unit tests, integration tests, CtsVerifier Change-Id: I293f21082c5a3d77362fb3d1db727130d7e41ec5
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
88aa12b88a8aab9b748573796255faf3dd640290 |
|
08-Nov-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add ranging API to discovery configuration Add mechanism to enable ranging as a condition for discovery: - Publisher: enable ranging - Subscriber: specify min and/or max range (which implicitly enables ranging) Add range (distance) information to the discovery message. Bug: 33821639 Test: unit tests and basic (non functioning integration tests) Change-Id: Ic50fb72a4a94e56c608ea47ec669f2b59354456f
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
f319fccd79e10836f785c19251fb1ca0bfffc7dd |
|
20-Sep-2017 |
Etan Cohen <etancohen@google.com> |
[RTT2] Remove Aware RTT code Original WIP Aware RTT API routed RTT through the Aware manager. This will be replaced by direct usage of the WifiRttManager API. First step is to remove the old code. Bug: 65015034 Test: unit tests pass Change-Id: I850d285d3f2a3dec6425d933614d18020745b9d4
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
486a4112240c11fc0971d2fe730c228aaaf643e2 |
|
07-Jun-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add validity check on PMK/Passphrase lengths Bug: 62376042 Test: unit tests + inegrated (sl4a) tests Change-Id: Ib6383a0ba9ef61114eb72b9a04cc683792b8e89d
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
a5028455a4b7592091f12c80d4b4d42c9c866d66 |
|
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). Bug: 36275276 Bug: 36053921 Test: unit tests and integration (sl4a) tests passing. Change-Id: I776fb348b15ec4830f890a8ac5c41f24594e12a7
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
a85dcbbd8e33852a8440a4b7f843cdadd90ee0ad |
|
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! (cherry-pick of commit afddcc3c9860fecfdb3ed72fafb09d73e8549411) Bug: 36680830 Test: unit tests now passing Merged-In: Ic210f20ce47ab19da25bd0835ae2ee5ae0f73011 Change-Id: Ic210f20ce47ab19da25bd0835ae2ee5ae0f73011
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
afddcc3c9860fecfdb3ed72fafb09d73e8549411 |
|
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: 36680830 Test: unit tests now passing Change-Id: Ic210f20ce47ab19da25bd0835ae2ee5ae0f73011
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
647f2e14931f857358ab1e6a7580c0358b03dd02 |
|
17-Feb-2017 |
Etan Cohen <etancohen@google.com> |
Merge "[AWARE] Remove enableUsage/disableUsage API"
|
6bb624a5322655c6b6ae01b0313d10600f9d5620 |
|
15-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Add discovery window period configuration Discovery window period configuration modifies the duty cycle of the Aware discovery session. Allowing trade-offs of discovery latency vs. power. Add the configuration. Note: the whole ConfigRequest object is not public (at this point) so by default so is the new configuration. Bug: 33552536 Test: unit tests and integration (sl4a) tests. Change-Id: I16f5c084dbc91431763a81de0a3adfe6f452e44c
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
416d6fba178a5d4745eeba910c2201725fd35d5e |
|
16-Feb-2017 |
Etan Cohen <etancohen@google.com> |
[AWARE] Remove enableUsage/disableUsage API The APIs (never public) were provided for indirect access to enable or disable Aware usage. No longer necessary. Bug: 35435032 Test: unit tests and integration (sl4a) tests Change-Id: Ia5c2b8aed8dd908f49b5e4f42a77feed3cda946c
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.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/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
1ddf6a6d3ab69e1c915e1e86892b3cedbc7b161d |
|
16-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Data-path creation roles hard-coded for discovery sessions Data-path roles (initiator & responder) are hard-coded for discovery session participants by the spec: subscriber <-> initiator and publisher <-> responder. Remove API parameter which allowed caller to specify role. (cherry-pick of commit 9c7483fec41db681a2d6de93a9061fb8764ecba5) Bug: 32883026 Test: unit-tests and integration (sl4a) tests passing. Change-Id: I889eacda9416d9ecd04caa0c72413f984611d40c
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|
b77b69545ea32f336a90ac9403ceb826d8798f1b |
|
17-Nov-2016 |
Etan Cohen <etancohen@google.com> |
[AWARE] Move manager tests from service to manager directory Move operation - no functional tests. Only editorial changes: - Remove (no longer) necessary import statements - Removed reference to a constant sitting on the service side. Replaced with locally defined constant. (cherry pick of commit 7ba5ad3c53dac62e56cd12dbe2054ce8374b6b92) Bug: 32954930 Test: unit-tests pass Change-Id: Ibe463fa73c27fc67996460eb91ea0222437927a6
/frameworks/base/wifi/tests/src/android/net/wifi/aware/WifiAwareManagerTest.java
|