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

Commit 7a782fda 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

Change-Id: I889b0a18b4d6479a0b1b486cdbf84a44e49b698f
parents 4b7dda25 b8e311c2
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 =