Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b8e311c2 authored by nharold's avatar nharold Committed by android-build-merger
Browse files

Merge changes from topics "cdma-null-island", "cdma-signal-strength"

am: c5d3256e

Change-Id: I35f3cb16d4a695637362998a6488bce8316925b6
parents f88dd6f3 c5d3256e
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -48,10 +48,21 @@ public class CellIdentityCdmaTest extends AndroidTestCase {

        assertEquals(NETWORK_ID, ci.getNetworkId());
        assertEquals(LATITUDE, ci.getLatitude());
        assertEquals(LONGITUDE, ci.getLongitude());
        assertEquals(ALPHA_LONG, ci.getOperatorAlphaLong());
        assertEquals(ALPHA_SHORT, ci.getOperatorAlphaShort());
    }

    @SmallTest
    public void testNullIsland() {
        CellIdentityCdma  ci =
                new CellIdentityCdma(NETWORK_ID, SYSTEM_ID, BASESTATION_ID, -1, 0,
                        ALPHA_LONG, ALPHA_SHORT);

        assertEquals(Integer.MAX_VALUE, ci.getLatitude());
        assertEquals(Integer.MAX_VALUE, ci.getLongitude());
    }

    @SmallTest
    public void testEquals() {
        CellIdentityCdma  ciA =