Home
last modified time | relevance | path

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

/frameworks/base/core/tests/overlaytests/device/src/com/android/overlaytest/
DTransactionTest.java81 List<OverlayInfo> ois = in testValidTransaction() local
83 assertEquals(ois.size(), 2); in testValidTransaction()
84 assertEquals(ois.get(0).getOverlayIdentifier(), APP_OVERLAY_ONE_PKG); in testValidTransaction()
85 assertEquals(ois.get(1).getOverlayIdentifier(), APP_OVERLAY_TWO_PKG); in testValidTransaction()
/frameworks/base/services/tests/servicestests/src/com/android/server/om/
DOverlayManagerServiceImplTests.java89 final List<OverlayInfo> ois = impl.getOverlayInfosForTarget(TARGET, USER); in testGetOverlayInfosForTarget() local
90 assertEquals(ois.size(), 2); in testGetOverlayInfosForTarget()
91 assertTrue(ois.contains(impl.getOverlayInfo(IDENTIFIER, USER))); in testGetOverlayInfosForTarget()
92 assertTrue(ois.contains(impl.getOverlayInfo(IDENTIFIER2, USER))); in testGetOverlayInfosForTarget()
122 final List<OverlayInfo> ois = everything.get(TARGET); in testGetOverlayInfosForUser() local
123 assertNotNull(ois); in testGetOverlayInfosForUser()
124 assertEquals(ois.size(), 2); in testGetOverlayInfosForUser()
125 assertTrue(ois.contains(impl.getOverlayInfo(IDENTIFIER, USER))); in testGetOverlayInfosForUser()
126 assertTrue(ois.contains(impl.getOverlayInfo(IDENTIFIER2, USER))); in testGetOverlayInfosForUser()
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/tasks/
DEncryptedKvRestoreTaskTest.java161 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/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java115 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/
DRationalTest.java471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize() local
472 Object obj = ois.readObject(); in deserialize()
/frameworks/base/telephony/java/android/telephony/
DSubscriptionManager.java2489 ObjectInputStream ois = new ObjectInputStream(bis); in getContactsFromSubscriptionProperty() local
2490 List<String> contacts = ArrayList.class.cast(ois.readObject()); in getContactsFromSubscriptionProperty()
/frameworks/base/core/java/android/os/
DParcel.java3493 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable() local
3507 return (Serializable) ois.readObject(); in readSerializable()