summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2017-04-20 15:55:15 -0700
committerEtan Cohen <etancohen@google.com>2017-04-20 17:12:36 -0700
commit49f29f155e729fd02eeae18b98cfc6ee4910ad3f (patch)
treec4bfda48cb1456176c3daf77fb7024ec1581177b /tests
parent59870df7cfc1c2af89e3de31a1ebbb0419f59c0c (diff)
[AWARE] Specify a match of only the first discovery
Configure all subscriber service discovery to wake up the host only on the first match. Reduce power. Bug: 37547045 Test: unit tests and integration (sl4a) tests passing. Change-Id: If94462579244f87e624534e75e1707474588eda0
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
index 0ffb04bd2..b5e12d29c 100644
--- a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareServiceImplTest.java
@@ -601,8 +601,7 @@ public class WifiAwareServiceImplTest {
// caught by the Builder. Want to test whether service side will catch invalidly
// constructed configs.
SubscribeConfig subscribeConfig = new SubscribeConfig(serviceName.getBytes(), ssi,
- matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0,
- SubscribeConfig.MATCH_STYLE_ALL, true);
+ matchFilter, SubscribeConfig.SUBSCRIBE_TYPE_PASSIVE, 0, true);
int clientId = doConnect();
IWifiAwareDiscoverySessionCallback mockCallback = mock(
IWifiAwareDiscoverySessionCallback.class);