Searched refs:bais (Results 1 – 11 of 11) sorted by relevance
48 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in cacheHeaderSerialization() local49 CacheHeader second = CacheHeader.readHeader(bais); in cacheHeaderSerialization()67 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeInt() local68 assertEquals(DiskBasedCache.readInt(bais), 0); in serializeInt()69 assertEquals(DiskBasedCache.readInt(bais), 19791214); in serializeInt()70 assertEquals(DiskBasedCache.readInt(bais), -20050711); in serializeInt()71 assertEquals(DiskBasedCache.readInt(bais), Integer.MIN_VALUE); in serializeInt()72 assertEquals(DiskBasedCache.readInt(bais), Integer.MAX_VALUE); in serializeInt()84 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeLong() local85 assertEquals(DiskBasedCache.readLong(bais), 0); in serializeLong()[all …]
324 ByteArrayInputStream bais; in testInputStream() local333 bais = new ByteArrayInputStream(encoded); in testInputStream()334 b64is = new Base64InputStream(bais, flags); in testInputStream()342 bais = new ByteArrayInputStream(encoded); in testInputStream()343 b64is = new Base64InputStream(bais, flags); in testInputStream()351 bais = new ByteArrayInputStream(encoded); in testInputStream()352 b64is = new Base64InputStream(bais, flags); in testInputStream()372 bais = new ByteArrayInputStream(plain); in testInputStream()373 b64is = new Base64InputStream(bais, flags, true); in testInputStream()381 bais = new ByteArrayInputStream(plain); in testInputStream()[all …]
117 ByteArrayInputStream bais = new ByteArrayInputStream(array); in getChunk() local120 ois = new ObjectInputStream(bais); in getChunk()
175 final ByteArrayInputStream bais = new ByteArrayInputStream(mSignature); in getPublicKey() local176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
514 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePdu() local515 DataInputStream dis = new DataInputStream(bais); in parsePdu()580 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePduFromEfRecord() local581 DataInputStream dis = new DataInputStream(bais); in parsePduFromEfRecord()697 bais.close(); in parsePduFromEfRecord()
470 ByteArrayInputStream bais = new ByteArrayInputStream(array); in deserialize() local471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize()
897 ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, nBytes); in restoreLockSettings() local898 DataInputStream in = new DataInputStream(bais); in restoreLockSettings()
2469 ByteArrayInputStream bais = new ByteArrayInputStream(serializedData); in readSerializable() local2471 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable()
1730 final ByteArrayInputStream bais = new ByteArrayInputStream(payload);1732 readPolicyXml(bais, true /*forRestore*/);
1341 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in constructCdmaSendSmsRilRequest() local1342 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest()
META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...