summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEtan Cohen <etancohen@google.com>2016-12-08 19:24:40 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-12-08 19:24:40 +0000
commit292c233f15684ca299aee6104ea2bf81f2ad5462 (patch)
treea387359ed92231982547423aca89022c2165884c
parentbb474466b43342d6179941d911c6ef9a10ebd9c2 (diff)
parent1f5ab9055d94f6d6cdc2aa2e4cf4526e6a50d276 (diff)
Merge "[AWARE] Fix data-path unit 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,