/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/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 | 104 ByteArrayInputStream bais = new ByteArrayInputStream(encodedRules); in decodeRules() local 105 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 | 465 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePdu() local 466 DataInputStream dis = new DataInputStream(bais); in parsePdu() 535 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in parsePduFromEfRecord() local 536 DataInputStream dis = new DataInputStream(bais); in parsePduFromEfRecord() 658 bais.close(); in parsePduFromEfRecord()
|
/frameworks/base/wifi/tests/src/android/net/wifi/ |
D | WifiConfigurationTest.java | 285 ByteArrayInputStream bais = new ByteArrayInputStream(data); in testSoftApConfigBackupAndRestore() local 286 DataInputStream in = new DataInputStream(bais); in testSoftApConfigBackupAndRestore()
|
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/ |
D | GeneratedMessageTest.java | 729 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerialize() local 730 ObjectInputStream in = new ObjectInputStream(bais); in testSerialize() 745 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerializePartial() local 746 ObjectInputStream in = new ObjectInputStream(bais); in testSerializePartial()
|
/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/opt/gamesdk/third_party/protobuf-3.0.0/java/core/src/test/java/com/google/protobuf/ |
D | GeneratedMessageTest.java | 905 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerialize() local 906 ObjectInputStream in = new ObjectInputStream(bais); in testSerialize() 921 ByteArrayInputStream bais = new ByteArrayInputStream(baos.toByteArray()); in testSerializePartial() local 922 ObjectInputStream in = new ObjectInputStream(bais); in testSerializePartial()
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 696 ByteArrayInputStream bais = new ByteArrayInputStream(buffer, 0, nBytes); in restoreLockSettings() local 697 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 | 3118 ByteArrayInputStream bais = new ByteArrayInputStream(serializedData); in readSerializable() local 3120 ObjectInputStream ois = new ObjectInputStream(bais) { in readSerializable()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | RIL.java | 2984 ByteArrayInputStream bais = new ByteArrayInputStream(pdu); in constructCdmaSendSmsRilRequest() local 2985 DataInputStream dis = new DataInputStream(bais); in constructCdmaSendSmsRilRequest()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerService.java | 3718 final ByteArrayInputStream bais = new ByteArrayInputStream(payload); 3720 readPolicyXml(bais, true /*forRestore*/, user);
|