summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2016-12-07 14:05:52 -0800
committerEtan Cohen <etancohen@google.com>2016-12-08 09:34:48 -0800
commit1f5ab9055d94f6d6cdc2aa2e4cf4526e6a50d276 (patch)
tree9ab392a0d07ff004fac08086019415cf368a60ea /tests
parentc8328efc2e99d4c3d54f3c6b04aed56141bfbf59 (diff)
[AWARE] Fix data-path unit tests
Build broken due to mismatch with aosp projects. Bug: 26562610 Test: build & unit tests pass Change-Id: I4e05562ac5d4d0b0d5018705cd162a78d608dfa2
Diffstat (limited to 'tests')
-rw-r--r--tests/wifitests/src/com/android/server/wifi/aware/WifiAwareDataPathStateManagerTest.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareDataPathStateManagerTest.java b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareDataPathStateManagerTest.java
index 43d760d11..110c42b16 100644
--- a/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareDataPathStateManagerTest.java
+++ b/tests/wifitests/src/com/android/server/wifi/aware/WifiAwareDataPathStateManagerTest.java
@@ -720,7 +720,7 @@ public class WifiAwareDataPathStateManagerTest {
nc.setLinkDownstreamBandwidthKbps(1);
nc.setSignalStrength(1);
- return new NetworkRequest(nc, 0, 0);
+ return new NetworkRequest(nc, 0, 0, NetworkRequest.Type.NONE);
}
private NetworkRequest getDirectNetworkRequest(int clientId, int role, byte[] peer,
@@ -754,7 +754,7 @@ public class WifiAwareDataPathStateManagerTest {
nc.setLinkDownstreamBandwidthKbps(1);
nc.setSignalStrength(1);
- return new NetworkRequest(nc, 0, 0);
+ return new NetworkRequest(nc, 0, 0, NetworkRequest.Type.REQUEST);
}
private Pair<Integer, Messenger> initDataPathEndPoint(int clientId, int pubSubId,