/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/ |
D | UtilsTest.java | 35 long[] ois = new long[]{1L, 2L, 1L << (63 - 40)}; in testRoamingConsortiumsToStringLong() local 37 String result = Utils.roamingConsortiumsToString(ois); in testRoamingConsortiumsToStringLong() 43 ArrayList<Long> ois = new ArrayList<>(); in testRoamingConsortiumsToStringCollection() local 44 assertEquals("", Utils.roamingConsortiumsToString(ois)); in testRoamingConsortiumsToStringCollection() 46 ois.add(1L); in testRoamingConsortiumsToStringCollection() 47 ois.add(2L); in testRoamingConsortiumsToStringCollection() 48 ois.add((1L << (63 - 40))); in testRoamingConsortiumsToStringCollection() 50 String result = Utils.roamingConsortiumsToString(ois); in testRoamingConsortiumsToStringCollection()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/om/ |
D | OverlayManagerServiceImplTests.java | 71 final List<OverlayInfo> ois = impl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget() local 72 assertEquals(ois.size(), 2); in testGetOverlayInfosForTarget() 73 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForTarget() 74 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForTarget() 100 final List<OverlayInfo> ois = everything.get(TARGET); in testGetOverlayInfosForUser() local 101 assertNotNull(ois); in testGetOverlayInfosForUser() 102 assertEquals(ois.size(), 2); in testGetOverlayInfosForUser() 103 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY, USER))); in testGetOverlayInfosForUser() 104 assertTrue(ois.contains(impl.getOverlayInfo(OVERLAY2, USER))); in testGetOverlayInfosForUser()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | Utils.java | 104 public static String roamingConsortiumsToString(long[] ois) { in roamingConsortiumsToString() argument 105 if (ois == null) { in roamingConsortiumsToString() 108 List<Long> list = new ArrayList<Long>(ois.length); in roamingConsortiumsToString() 109 for (long oi : ois) { in roamingConsortiumsToString() 115 public static String roamingConsortiumsToString(Collection<Long> ois) { in roamingConsortiumsToString() argument 118 for (long oi : ois) { in roamingConsortiumsToString()
|
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedKvRestoreTaskTest.java | 161 try (ObjectInputStream ois = new ObjectInputStream(new FileInputStream(file)); in readPairsFromFile() argument 163 Set<byte[]> pairs = readPairs(ois); in readPairsFromFile() 177 private static Set<byte[]> readPairs(ObjectInputStream ois) in readPairs() argument 179 return (Set<byte[]>) ois.readObject(); in readPairs()
|
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/anqp/ |
D | ANQPParserTest.java | 86 private static byte[] getRoamingConsortiumPayload(Long[] ois, int[] oisLength) in getRoamingConsortiumPayload() argument 89 for (int i = 0; i < ois.length; i++) { in getRoamingConsortiumPayload() 93 stream.write((byte) ((ois[i].longValue() >> l * Byte.SIZE) & 0xFF)); in getRoamingConsortiumPayload() 332 Long[] ois = new Long[] {0x12345678L, 0x5678L}; in parseRoamingConsortium() local 334 RoamingConsortiumElement expected = new RoamingConsortiumElement(Arrays.asList(ois)); in parseRoamingConsortium() 336 ByteBuffer buffer = ByteBuffer.wrap(getRoamingConsortiumPayload(ois, oisLength)); in parseRoamingConsortium()
|
D | RoamingConsortiumElementTest.java | 70 private byte[] getTestData(List<Pair<Integer, Long>> ois) throws IOException { in getTestData() argument 72 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 | 115 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in getChunk() argument 116 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 | 3441 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable() local 3455 return (Serializable) ois.readObject(); in readSerializable()
|