diff options
author | Nathan Harold <nharold@google.com> | 2020-01-21 16:48:25 -0800 |
---|---|---|
committer | Sarah Chin <sarahchin@google.com> | 2020-01-26 19:21:34 +0000 |
commit | 61b3923456589bd256868e01751cd6792cf7ae65 (patch) | |
tree | 5408bfbd1281f7f6232777d58d85ebee36837741 | |
parent | 7191a0f3aca354898d538e0581ed2be8aca72b58 (diff) |
Update Constructors for CellIdentity(Gsm|Lte)
Update the constructors for CellIdentity to pass
dummy additionalPlmns and CsgInfo parameters.
Bug: 135921133
Test: atest NetworkStackNextTests
Change-Id: I55ad431ace6466e785db6ba4eb4c9e612d49e2ff
Merged-In: I55ad431ace6466e785db6ba4eb4c9e612d49e2ff
-rw-r--r-- | tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java index 7289ab4..7a34c59 100644 --- a/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java +++ b/tests/unit/src/com/android/server/connectivity/NetworkMonitorTest.java @@ -129,6 +129,7 @@ import java.net.URL; import java.net.UnknownHostException; import java.util.ArrayList; import java.util.Arrays; +import java.util.Collections; import java.util.HashSet; import java.util.List; import java.util.Random; @@ -542,9 +543,10 @@ public class NetworkMonitorTest { final CellInfoGsm cellInfoGsm2 = new CellInfoGsm(); final CellInfoLte cellInfoLte = new CellInfoLte(); final CellIdentityGsm cellIdentityGsm = - new CellIdentityGsm(0, 0, 0, 0, "460", "01", "", ""); + new CellIdentityGsm(0, 0, 0, 0, "460", "01", "", "", Collections.emptyList()); final CellIdentityLte cellIdentityLte = - new CellIdentityLte(0, 0, 0, 0, 0, "466", "01", "", ""); + new CellIdentityLte(0, 0, 0, 0, 0, "466", "01", "", "", + Collections.emptyList(), null); cellInfoGsm1.setCellIdentity(cellIdentityGsm); cellInfoGsm2.setCellIdentity(cellIdentityGsm); cellInfoLte.setCellIdentity(cellIdentityLte); |