/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 | 114 ByteArrayInputStream bais = new ByteArrayInputStream(array); in getChunk() local 115 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 | 222 final ByteArrayInputStream bais = new ByteArrayInputStream(mSignature); in getPublicKey() local 223 final Certificate cert = certFactory.generateCertificate(bais); in getPublicKey()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/ |
D | SmsMessage.java | 467 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePdu() local 468 DataInputStream dis = new DataInputStream(bais); in parsePdu() 537 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePduFromEfRecord() local 538 DataInputStream dis = new DataInputStream(bais); in parsePduFromEfRecord() 666 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/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/services/usage/java/com/android/server/usage/ |
D | UsageStatsDatabase.java | 1426 ByteArrayInputStream bais = new ByteArrayInputStream(data); in deserializeIntervalStats() local 1427 DataInputStream in = new DataInputStream(bais); in deserializeIntervalStats()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 905 ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, nBytes); in restoreLockSettings() local 906 DataInputStream in = new DataInputStream(bais); in restoreLockSettings()
|
/frameworks/base/core/java/android/os/ |
D | Parcel.java | 3439 ByteArrayInputStream bais = new ByteArrayInputStream(serializedData); in readSerializable() local 3441 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 3476 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in constructCdmaSendSmsRilRequest() local 3477 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 4653 final ByteArrayInputStream bais = new ByteArrayInputStream(payload); 4655 readPolicyXml(bais, true /*forRestore*/, user);
|