Home
last modified time | relevance | path

Searched refs:ois (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DUtilsTest.java33 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/
DUtils.java147 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/
DOverlayManagerServiceImplTests.java96 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/
DANQPParserTest.java84 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()
DRoamingConsortiumElementTest.java68 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/
DRoamingConsortiumElement.java37 public RoamingConsortiumElement(List<Long> ois) { in RoamingConsortiumElement() argument
39 mOIs = ois; in RoamingConsortiumElement()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/
DBoundedByteStringTest.java95 ObjectInputStream ois = new ObjectInputStream(in); in testJavaSerialization() local
96 Object o = ois.readObject(); in testJavaSerialization()
DRopeByteStringTest.java184 ObjectInputStream ois = new ObjectInputStream(in); in testJavaSerialization() local
185 Object o = ois.readObject(); in testJavaSerialization()
DLiteralByteStringTest.java540 ObjectInputStream ois = new ObjectInputStream(in); in testJavaSerialization() local
541 Object o = ois.readObject(); in testJavaSerialization()
DNioByteStringTest.java611 ObjectInputStream ois = new ObjectInputStream(in); in testJavaSerialization() local
612 Object o = ois.readObject(); in testJavaSerialization()
/frameworks/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java114 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in getChunk() argument
115 chunk = (NinePatchChunk) ois.readObject(); in getChunk()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DDataIntegrityChecker.java284 ObjectInputStream ois = new ObjectInputStream(fis)) { in readIntegrityData()
285 return (EncryptedData) ois.readObject(); in readIntegrityData()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize() local
472 Object obj = ois.readObject(); in deserialize()
/frameworks/base/core/java/android/os/
DParcel.java3120 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable() local
3134 return (Serializable) ois.readObject(); in readSerializable()