Home
last modified time | relevance | path

Searched refs:bais (Results 1 – 11 of 11) sorted by relevance

/frameworks/volley/src/test/java/com/android/volley/toolbox/
DDiskBasedCacheTest.java48 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in cacheHeaderSerialization() local
49 CacheHeader second = CacheHeader.readHeader(bais); in cacheHeaderSerialization()
67 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in serializeInt() local
68 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() local
85 assertEquals(DiskBasedCache.readLong(bais), 0); in serializeLong()
[all …]
/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java324 ByteArrayInputStream bais; in testInputStream() local
333 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 …]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java117 ByteArrayInputStream bais = new ByteArrayInputStream(array); in getChunk() local
120 ois = new ObjectInputStream(bais); in getChunk()
/frameworks/base/core/java/android/content/pm/
DSignature.java175 final ByteArrayInputStream bais = new ByteArrayInputStream(mSignature); in getPublicKey() local
176 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSmsMessage.java514 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePdu() local
515 DataInputStream dis = new DataInputStream(bais); in parsePdu()
580 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePduFromEfRecord() local
581 DataInputStream dis = new DataInputStream(bais); in parsePduFromEfRecord()
697 bais.close(); in parsePduFromEfRecord()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DRationalTest.java470 ByteArrayInputStream bais = new ByteArrayInputStream(array); in deserialize() local
471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java897 ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, nBytes); in restoreLockSettings() local
898 DataInputStream in = new DataInputStream(bais); in restoreLockSettings()
/frameworks/base/core/java/android/os/
DParcel.java2469 ByteArrayInputStream bais = new ByteArrayInputStream(serializedData); in readSerializable() local
2471 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java1730 final ByteArrayInputStream bais = new ByteArrayInputStream(payload);
1732 readPolicyXml(bais, true /*forRestore*/);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java1341 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in constructCdmaSendSmsRilRequest() local
1342 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest()
/frameworks/data-binding/prebuilds/1.0-rc0/
Ddatabinding-studio-bundle.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/ ...