/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
D | CellIdentityGsmTest.java | 41 private static final String MCC_STR = "120"; field in CellIdentityGsmTest 50 new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, MNC_STR, in testDefaultConstructor() 60 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor() 62 assertEquals(MCC_STR + MNC_STR, ci.getMobileNetworkOperator()); in testDefaultConstructor() 66 String globalCi = MCC_STR + MNC_STR + Integer.toString(LAC, 16) in testDefaultConstructor() 75 new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, mncWithThreeDigit, in testConstructorWithThreeDigitMnc() 80 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithThreeDigitMnc() 82 assertEquals(MCC_STR + mncWithThreeDigit, ci.getMobileNetworkOperator()); in testConstructorWithThreeDigitMnc() 84 String globalCi = MCC_STR + mncWithThreeDigit + Integer.toString(LAC, 16) in testConstructorWithThreeDigitMnc() 93 new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, mncWithTwoDigit, in testConstructorWithTwoDigitMnc() [all …]
|
D | CellIdentityWcdmaTest.java | 42 private static final String MCC_STR = "120"; field in CellIdentityWcdmaTest 50 new CellIdentityWcdma(LAC, CID, PSC, UARFCN, MCC_STR, MNC_STR, in testDefaultConstructor() 60 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor() 62 assertEquals(MCC_STR + MNC_STR, ci.getMobileNetworkOperator()); in testDefaultConstructor() 71 new CellIdentityWcdma(LAC, CID, PSC, UARFCN, MCC_STR, mncWithThreeDigit, in testConstructorWithThreeDigitMnc() 76 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithThreeDigitMnc() 78 assertEquals(MCC_STR + mncWithThreeDigit, ci.getMobileNetworkOperator()); in testConstructorWithThreeDigitMnc() 80 String globalCi = MCC_STR + mncWithThreeDigit + Integer.toString(LAC, 16) in testConstructorWithThreeDigitMnc() 89 new CellIdentityWcdma(LAC, CID, PSC, UARFCN, MCC_STR, mncWithTwoDigit, in testConstructorWithTwoDigitMnc() 94 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithTwoDigitMnc() [all …]
|
D | CellIdentityTest.java | 50 private static final String MCC_STR = "120"; field in CellIdentityTest 111 CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, ALPHA_SHORT, in testEquals() 114 CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, ALPHA_SHORT, in testEquals() 126 ciA = new CellIdentityLte(CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, null, in testEquals() 136 CellIdentity ci = new CellIdentityLte(CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, in testParcel() 173 curCi, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, in testIsSameCell() 176 curCi, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, in testIsSameCell() 182 -1, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, ALPHA_SHORT, in testIsSameCell() 190 new CellIdentityNr(PCI, TAC, EARFCN, BANDS, MCC_STR, MNC_STR, curCi, ALPHA_LONG, in testIsSameCell() 200 MCC_STR, MNC_STR, null, null, Collections.emptyList()); in testGetMccMncString() [all …]
|
D | CellIdentityLteTest.java | 48 private static final String MCC_STR = "120"; field in CellIdentityLteTest 56 new CellIdentityLte(CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, MNC_STR, in testDefaultConstructor() 67 assertEquals(MCC_STR, ci.getMccString()); in testDefaultConstructor() 69 assertEquals(MCC_STR + MNC_STR, ci.getMobileNetworkOperator()); in testDefaultConstructor() 73 String globalCi = MCC_STR + MNC_STR + Integer.toString(CI, 16); in testDefaultConstructor() 81 new CellIdentityLte(CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, in testConstructorWithThreeDigitMnc() 86 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithThreeDigitMnc() 88 assertEquals(MCC_STR + mncWithThreeDigit, ci.getMobileNetworkOperator()); in testConstructorWithThreeDigitMnc() 95 new CellIdentityLte(CI, PCI, TAC, EARFCN, BANDS, BANDWIDTH, MCC_STR, in testConstructorWithTwoDigitMnc() 100 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithTwoDigitMnc() [all …]
|
D | CellIdentityTdscdmaTest.java | 43 private static final String MCC_STR = "120"; field in CellIdentityTdscdmaTest 75 MCC_STR, MNC_STR, LAC, CID, CPID, UARFCN, ALPHA_LONG, ALPHA_SHORT, in testConstructor() 78 assertEquals(MCC_STR, ci.getMccString()); in testConstructor() 88 String globalCi = MCC_STR + MNC_STR + Integer.toString(LAC, 16) + Integer.toString(CID, 16); in testConstructor() 100 ci = new CellIdentityTdscdma(MCC_STR, null, LAC, CID, CPID, UARFCN, "", "", in testConstructorWithEmptyMccMnc() 103 assertEquals(MCC_STR, ci.getMccString()); in testConstructorWithEmptyMccMnc() 122 MCC_STR, MNC_STR, LAC, CID, UARFCN, CPID, ALPHA_LONG, ALPHA_SHORT, in testParcel()
|
D | RILTest.java | 253 private static final String MCC_STR = "120"; field in RILTest 1562 cellIdentity0.mcc = MCC_STR; in getCellIdentityLte_1_2() 1626 BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, ALPHA_SHORT, Collections.emptyList(), in testConvertHalCellInfoList_1_4ForLte() 1687 BANDS.stream().mapToInt(i -> i).toArray(), BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, in testConvertHalCellInfoList_1_5ForLte() 1727 BANDS.stream().mapToInt(i -> i).toArray(), BANDWIDTH, MCC_STR, MNC_STR, ALPHA_LONG, in testConvertHalCellInfoList_1_6ForLte() 1739 cellIdentity0.mcc = MCC_STR; in getCellIdentityGsm_1_2() 1785 CellIdentityGsm cellIdentityGsm = new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, in testConvertHalCellInfoList_1_4ForGsm() 1826 CellIdentityGsm cellIdentityGsm = new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, in testConvertHalCellInfoList_1_5ForGsm() 1853 CellIdentityGsm cellIdentityGsm = new CellIdentityGsm(LAC, CID, ARFCN, BSIC, MCC_STR, in testConvertHalCellInfoList_1_6ForGsm() 1865 cellIdentity0.mcc = MCC_STR; in getCellIdentityWcdma_1_2() [all …]
|