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

Commit 800fafbc 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 am: b8e311c2

am: 7a782fda

Change-Id: I7facdd13a32197ff80f469d0377552c6775f554c
parents 941a4d75 7a782fda
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 =