Home
last modified time | relevance | path

Searched refs:pnnIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DIccRecordsTest.java257 int pnnIndex = 2; in testOperatorPlmnInfo() local
259 OperatorPlmnInfo opi = new OperatorPlmnInfo(plmn, lacTacStart, lacTacEnd, pnnIndex); in testOperatorPlmnInfo()
260 assertEquals(opi.getPnnIdx(plmn, lacTacStart), pnnIndex - 1); in testOperatorPlmnInfo()
261 assertEquals(opi.getPnnIdx(plmn, lacTacEnd), pnnIndex - 1); in testOperatorPlmnInfo()
262 assertEquals(opi.getPnnIdx(plmn, 0xFFFF), pnnIndex - 1); in testOperatorPlmnInfo()
268 opi = new OperatorPlmnInfo(plmn, lacTacStart, lacTacEnd, pnnIndex); in testOperatorPlmnInfo()
269 assertEquals(opi.getPnnIdx(plmn, 2), pnnIndex - 1); in testOperatorPlmnInfo()
274 opi = new OperatorPlmnInfo(plmn, lacTacStart, lacTacEnd, pnnIndex); in testOperatorPlmnInfo()
275 assertEquals(opi.getPnnIdx("123123", lacTacStart), pnnIndex - 1); in testOperatorPlmnInfo()
298 int pnnIndex = 1; in testGetNetworkNameForPlmn() local
[all …]
DSIMRecordsTest.java340 int pnnIndex = 0; in testGetEfOpl() local
342 rawOpl.add(encodeOpl(plmn, lacTacStart, lacTacEnd, pnnIndex)); in testGetEfOpl()
343 targetOpl.add(new OperatorPlmnInfo(plmn, lacTacStart, lacTacEnd, pnnIndex)); in testGetEfOpl()
356 pnnIndex = 123; in testGetEfOpl()
358 rawOpl.add(encodeOpl(plmn, lacTacStart, lacTacEnd, pnnIndex)); in testGetEfOpl()
359 targetOpl.add(new OperatorPlmnInfo(plmn, lacTacStart, lacTacEnd, pnnIndex)); in testGetEfOpl()
372 pnnIndex = 123; in testGetEfOpl()
374 rawOpl.add(encodeOpl(plmn, lacTacStart, lacTacEnd, pnnIndex)); in testGetEfOpl()
384 private byte[] encodeOpl(String plmn, int lacTacStart, int lacTacEnd, int pnnIndex) { in encodeOpl() argument
398 data[7] = (byte) pnnIndex; in encodeOpl()