Searched refs:ois (Results 1 – 9 of 9) sorted by relevance
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | UtilsTest.java | 33 long[] ois = new long[]{1L, 2L, 1L << (63 - 40)}; in testRoamingConsortiumsToStringLong() local 35 String result = Utils.roamingConsortiumsToString(ois); in testRoamingConsortiumsToStringLong() 41 ArrayList<Long> ois = new ArrayList<>(); in testRoamingConsortiumsToStringCollection() local 42 assertEquals("", Utils.roamingConsortiumsToString(ois)); in testRoamingConsortiumsToStringCollection() 44 ois.add(1L); in testRoamingConsortiumsToStringCollection() 45 ois.add(2L); in testRoamingConsortiumsToStringCollection() 46 ois.add((1L << (63 - 40))); in testRoamingConsortiumsToStringCollection() 48 String result = Utils.roamingConsortiumsToString(ois); in testRoamingConsortiumsToStringCollection()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 147 public static String roamingConsortiumsToString(long[] ois) { in roamingConsortiumsToString() argument 148 if (ois == null) { in roamingConsortiumsToString() 151 List<Long> list = new ArrayList<Long>(ois.length); in roamingConsortiumsToString() 152 for (long oi : ois) { in roamingConsortiumsToString() 158 public static String roamingConsortiumsToString(Collection<Long> ois) { in roamingConsortiumsToString() argument 161 for (long oi : ois) { in roamingConsortiumsToString()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTests.java | 96 final List<OverlayInfo> ois = mImpl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget() local 97 assertEquals(ois.size(), 2); in testGetOverlayInfosForTarget() 98 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForTarget() 99 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForTarget() 123 final List<OverlayInfo> ois = everything.get(TARGET); in testGetOverlayInfosForUser() local 124 assertNotNull(ois); in testGetOverlayInfosForUser() 125 assertEquals(ois.size(), 2); in testGetOverlayInfosForUser() 126 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForUser() 127 assertTrue(ois.contains(mImpl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForUser()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ANQPParserTest.java | 84 private static byte[] getRoamingConsortiumPayload(Long[] ois, int[] oisLength) in getRoamingConsortiumPayload() argument 87 for (int i = 0; i < ois.length; i++) { in getRoamingConsortiumPayload() 91 stream.write((byte) ((ois[i].longValue() >> l * Byte.SIZE) & 0xFF)); in getRoamingConsortiumPayload() 330 Long[] ois = new Long[] {0x12345678L, 0x5678L}; in parseRoamingConsortium() local 332 RoamingConsortiumElement expected = new RoamingConsortiumElement(Arrays.asList(ois)); in parseRoamingConsortium() 334 ByteBuffer buffer = ByteBuffer.wrap(getRoamingConsortiumPayload(ois, oisLength)); in parseRoamingConsortium()
|
D | RoamingConsortiumElementTest.java | 68 private byte[] getTestData(List<Pair<Integer, Long>> ois) throws IOException { in getTestData() argument 70 for (Pair<Integer, Long> oi : ois) { in getTestData()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/anqp/ |
D | RoamingConsortiumElement.java | 37 public RoamingConsortiumElement(List<Long> ois) { in RoamingConsortiumElement() argument 39 mOIs = ois; in RoamingConsortiumElement()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | NinePatch_Delegate.java | 114 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in getChunk() argument 115 chunk = (NinePatchChunk) ois.readObject(); in getChunk()
|
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
D | RationalTest.java | 471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize() local 472 Object obj = ois.readObject(); in deserialize()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 3127 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable() local 3141 return (Serializable) ois.readObject(); in readSerializable()
|