Home
last modified time | relevance | path

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

/frameworks/base/core/tests/coretests/src/android/util/
DBase64Test.java331 ByteArrayInputStream bais; in testInputStream() local
340 bais = new ByteArrayInputStream(encoded); in testInputStream()
341 b64is = new Base64InputStream(bais, flags); in testInputStream()
349 bais = new ByteArrayInputStream(encoded); in testInputStream()
350 b64is = new Base64InputStream(bais, flags); in testInputStream()
358 bais = new ByteArrayInputStream(encoded); in testInputStream()
359 b64is = new Base64InputStream(bais, flags); in testInputStream()
379 bais = new ByteArrayInputStream(plain); in testInputStream()
380 b64is = new Base64InputStream(bais, flags, true); in testInputStream()
388 bais = new ByteArrayInputStream(plain); in testInputStream()
[all …]
/frameworks/base/services/core/java/com/android/server/timezone/
DCheckToken.java58 ByteArrayInputStream bais = new ByteArrayInputStream(tokenBytes); in fromByteArray() local
59 try (DataInputStream dis = new DataInputStream(bais)) { in fromByteArray()
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DXmlUtilsTest.java61 InputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testreadWriteXmlByteArrayValue() local
63 pullParser.setInput(bais, StandardCharsets.UTF_8.name()); in testreadWriteXmlByteArrayValue()
/frameworks/base/identity/java/android/security/identity/
DCredstoreIdentityCredential.java94 ByteArrayInputStream bais = new ByteArrayInputStream(pkcs12); in ensureEphemeralKeyPair() local
95 ks.load(bais, password); in ensureEphemeralKeyPair()
216 ByteArrayInputStream bais = new ByteArrayInputStream(certsBlob); in getCredentialKeyCertificateChain() local
221 certs = factory.generateCertificates(bais); in getCredentialKeyCertificateChain()
371 ByteArrayInputStream bais = new ByteArrayInputStream(authKeyParcel.x509cert); in getAuthKeysNeedingCertification() local
372 certs = factory.generateCertificates(bais); in getAuthKeysNeedingCertification()
DCredstoreWritableIdentityCredential.java54 ByteArrayInputStream bais = new ByteArrayInputStream(certsBlob); in getCredentialKeyCertificateChain() local
59 certs = factory.generateCertificates(bais); in getCredentialKeyCertificateChain()
/frameworks/layoutlib/bridge/src/android/graphics/
DNinePatch_Delegate.java113 ByteArrayInputStream bais = new ByteArrayInputStream(array); in getChunk() local
114 try (ObjectInputStream ois = new ObjectInputStream(bais)) { in getChunk()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java164 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testStoreAndReloadOfBrightnessConfigurations() local
165 newInjector.setReadStream(bais); in testStoreAndReloadOfBrightnessConfigurations()
/frameworks/base/telephony/java/android/telephony/
DUiccAccessRule.java109 ByteArrayInputStream bais = new ByteArrayInputStream(encodedRules); in decodeRules() local
110 try (DataInputStream input = new DataInputStream(bais)) { in decodeRules()
/frameworks/base/core/java/android/content/pm/
DSignature.java207 final ByteArrayInputStream bais = new ByteArrayInputStream(mSignature); in getPublicKey() local
208 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DSmsMessage.java459 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePdu() local
460 DataInputStream dis = new DataInputStream(bais); in parsePdu()
529 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePduFromEfRecord() local
530 DataInputStream dis = new DataInputStream(bais); in parsePduFromEfRecord()
658 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/wifi/tests/src/android/net/wifi/
DWifiConfigurationTest.java287 ByteArrayInputStream bais = new ByteArrayInputStream(data); in testSoftApConfigBackupAndRestore() local
288 DataInputStream in = new DataInputStream(bais); in testSoftApConfigBackupAndRestore()
/frameworks/base/services/core/java/com/android/server/slice/
DSliceManagerService.java322 final ByteArrayInputStream bais = new ByteArrayInputStream(payload); in applyRestore() local
325 parser.setInput(bais, Encoding.UTF_8.name()); in applyRestore()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DSettingsBackupAgent.java715 ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, nBytes); in restoreLockSettings() local
716 DataInputStream in = new DataInputStream(bais); in restoreLockSettings()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsDatabase.java1110 ByteArrayInputStream bais = new ByteArrayInputStream(data); in deserializeIntervalStats() local
1111 DataInputStream in = new DataInputStream(bais); in deserializeIntervalStats()
/frameworks/base/core/java/android/os/
DParcel.java3125 ByteArrayInputStream bais = new ByteArrayInputStream(serializedData); in readSerializable() local
3127 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DRIL.java3477 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in constructCdmaSendSmsRilRequest() local
3478 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerService.java3809 final ByteArrayInputStream bais = new ByteArrayInputStream(payload);
3811 readPolicyXml(bais, true /*forRestore*/, user);