/frameworks/base/core/tests/coretests/src/android/util/ |
D | Base64Test.java | 331 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/ |
D | CheckToken.java | 58 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/ |
D | XmlUtilsTest.java | 61 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/ |
D | CredstoreIdentityCredential.java | 94 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()
|
D | CredstoreWritableIdentityCredential.java | 54 ByteArrayInputStream bais = new ByteArrayInputStream(certsBlob); in getCredentialKeyCertificateChain() local 59 certs = factory.generateCertificates(bais); in getCredentialKeyCertificateChain()
|
/frameworks/layoutlib/bridge/src/android/graphics/ |
D | NinePatch_Delegate.java | 113 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/ |
D | PersistentDataStoreTest.java | 164 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testStoreAndReloadOfBrightnessConfigurations() local 165 newInjector.setReadStream(bais); in testStoreAndReloadOfBrightnessConfigurations()
|
/frameworks/base/telephony/java/android/telephony/ |
D | UiccAccessRule.java | 109 ByteArrayInputStream bais = new ByteArrayInputStream(encodedRules); in decodeRules() local 110 try (DataInputStream input = new DataInputStream(bais)) { in decodeRules()
|
/frameworks/base/core/java/android/content/pm/ |
D | Signature.java | 207 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/ |
D | SmsMessage.java | 459 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/ |
D | RationalTest.java | 470 ByteArrayInputStream bais = new ByteArrayInputStream(array); in deserialize() local 471 ObjectInputStream ois = new ObjectInputStream(bais); in deserialize()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 287 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/ |
D | SliceManagerService.java | 322 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/ |
D | SettingsBackupAgent.java | 715 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/ |
D | UsageStatsDatabase.java | 1110 ByteArrayInputStream bais = new ByteArrayInputStream(data); in deserializeIntervalStats() local 1111 DataInputStream in = new DataInputStream(bais); in deserializeIntervalStats()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 3125 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/ |
D | RIL.java | 3477 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/ |
D | NotificationManagerService.java | 3809 final ByteArrayInputStream bais = new ByteArrayInputStream(payload); 3811 readPolicyXml(bais, true /*forRestore*/, user);
|