Searched refs:CellularNetwork (Results 1 – 11 of 11) sorted by relevance
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetworkTest.java | 51 CellularNetwork.parse(ByteBuffer.allocate(0)); in parseBufferWithEmptyBuffer() 63 assertNull(CellularNetwork.parse(ByteBuffer.wrap(testData))); in parseBufferWithInvalidIEIType() 76 CellularNetwork.parse(ByteBuffer.wrap(testData, 0, testData.length - 1)); in parseBufferWithIncompleteData() 90 CellularNetwork.IEI_TYPE_PLMN_LIST, plmnsData, true); in parseBufferWithMismatchIEISizeAndPLMNCount() 91 CellularNetwork.parse(ByteBuffer.wrap(testData)); in parseBufferWithMismatchIEISizeAndPLMNCount() 109 CellularNetwork expected = new CellularNetwork(plmnList); in parseBufferWithTestData() 111 assertEquals(expected, CellularNetwork.parse(ByteBuffer.wrap(testData))); in parseBufferWithTestData()
|
H A D | ThreeGPPNetworkElementTest.java | 48 private static final CellularNetwork TEST_NETWORK1 = 49 new CellularNetwork(TEST_NETWORK1_PLMN_LIST); 59 private static final CellularNetwork TEST_NETWORK2 = 60 new CellularNetwork(TEST_NETWORK2_PLMN_LIST); 135 List<CellularNetwork> networkList = new ArrayList<>(); in parseBufferWithTestData()
|
H A D | CellularNetworkTestUtil.java | 34 return formatPLMNListIEI(CellularNetwork.IEI_TYPE_PLMN_LIST, plmnList); in formatPLMNListIEI() 72 stream.write((byte) ((plmnsSize + 1) & CellularNetwork.IEI_CONTENT_LENGTH_MASK)); in formatPLMNListIEI()
|
H A D | ANQPParserTest.java | 369 List<CellularNetwork> networkList = new ArrayList<>(); in parseThreeGPPNetworkElement() 370 networkList.add(new CellularNetwork(Arrays.asList(plmnList))); in parseThreeGPPNetworkElement()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
H A D | CellularNetwork.java | 37 public class CellularNetwork { class 67 public CellularNetwork(List<String> plmnList) { in CellularNetwork() method in CellularNetwork 79 public static CellularNetwork parse(ByteBuffer payload) throws ProtocolException { in parse() 107 return new CellularNetwork(plmnList); in parse() 119 if (!(thatObject instanceof CellularNetwork)) { in equals() 122 CellularNetwork that = (CellularNetwork) thatObject; in equals()
|
H A D | ThreeGPPNetworkElement.java | 47 private final List<CellularNetwork> mNetworks; 50 public ThreeGPPNetworkElement(List<CellularNetwork> networks) { in ThreeGPPNetworkElement() 79 List<CellularNetwork> networks = new ArrayList<>(); in parse() 81 CellularNetwork network = CellularNetwork.parse(payload); in parse() 89 public List<CellularNetwork> getNetworks() { in getNetworks()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
H A D | ANQPMatcherTest.java | 28 import com.android.server.wifi.hotspot2.anqp.CellularNetwork; 285 CellularNetwork network = new CellularNetwork(Arrays.asList(new String[] {"123456"})); in matchThreeGPPNetwork() 287 new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[] {network})); in matchThreeGPPNetwork() 304 CellularNetwork network = new CellularNetwork(Arrays.asList(new String[] {"12345"})); in matchThreeGPPNetworkWith5DigitsMccMnc() 306 new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[] {network})); in matchThreeGPPNetworkWith5DigitsMccMnc() 323 CellularNetwork network = new CellularNetwork(Arrays.asList(new String[] {"123457"})); in matchThreeGPPNetworkWithoutSimImsiMatch() 325 new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[] {network})); in matchThreeGPPNetworkWithoutSimImsiMatch() 342 CellularNetwork network = new CellularNetwork(Arrays.asList(new String[] {"123356"})); in matchThreeGPPNetworkWithImsiParamMismatch() 344 new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[] {network})); in matchThreeGPPNetworkWithImsiParamMismatch()
|
H A D | ANQPDataTest.java | 30 import com.android.server.wifi.hotspot2.anqp.CellularNetwork; 162 CellularNetwork cellularNetwork = in testDataLifetime() 163 new CellularNetwork(Arrays.asList(new String[]{"123456"})); in testDataLifetime() 165 new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[]{cellularNetwork})); in testDataLifetime()
|
H A D | PasspointProviderTest.java | 50 import com.android.server.wifi.hotspot2.anqp.CellularNetwork; 248 CellularNetwork network = new CellularNetwork(Arrays.asList(imsiList)); in createThreeGPPNetworkElement() 249 return new ThreeGPPNetworkElement(Arrays.asList(new CellularNetwork[]{network})); in createThreeGPPNetworkElement()
|
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | ANQPMatcher.java | 22 import com.android.server.wifi.hotspot2.anqp.CellularNetwork; 137 for (CellularNetwork network : element.getNetworks()) { in matchThreeGPPNetwork() 172 private static boolean matchCellularNetwork(CellularNetwork network, IMSIParameter imsiParam, in matchCellularNetwork()
|
/aosp12/packages/modules/Wifi/service/tests/wifitests/ |
H A D | Android.bp | 648 "com.android.server.wifi.hotspot2.anqp.CellularNetwork", 649 "com.android.server.wifi.hotspot2.anqp.CellularNetwork$*", 650 "com.android.server.wifi.hotspot2.anqp.CellularNetwork.**",
|