Home
last modified time | relevance | path

Searched defs:inputStream (Results 1 – 25 of 124) sorted by relevance

12345

/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/
DBinaryFileOperationsTest.java56 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(stringBytes)); in testGetStringValue() local
70 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetHashedStringValue() local
82 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetStringValue_withSizeAndHashingInfo() local
94 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetIntValue() local
103 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetBooleanValue_true() local
112 BitInputStream inputStream = new BitInputStream(new ByteArrayInputStream(ruleBytes)); in testGetBooleanValue_false() local
DRuleIndexingControllerTest.java47 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect() local
69 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_multipleAppCertificates() local
92 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_keysInFirstAndLastBlock() local
114 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_keysMatchWithValues() local
146 InputStream inputStream = new ByteArrayInputStream(rule.array()); in verifyIndexRangeSearchIsCorrect_noIndexesAvailable() local
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DTarBackupReaderTest.java104 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupEncrypted_correctlyParsesFileMetadata() local
121 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyParsesFileMetadata() local
139 InputStream inputStream = mContext.getResources().openRawResource( in readTarHeaders_backupNotEncrypted_correctlyReadsPaxHeader() local
178 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupEncrypted_correctlyParsesAppManifest() local
199 InputStream inputStream = mContext.getResources().openRawResource( in readAppManifest_backupNotEncrypted_correctlyParsesAppManifest() local
220 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_signaturesIsNull_returnsIgnore() local
238 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndHasApk_returnsAcceptIfApk() local
263 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndAllowApksAndDoesNotHaveApk_returnsAcceptIfApkLogsCannotRestore() local
291 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_packageDoesNotExistAndDoesNotAllowApks_returnsIgnore() local
312 InputStream inputStream = mContext.getResources().openRawResource( in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/restore/
DPerformAdbRestoreTaskTest.java53 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupNotEncrypted_returnsNonNull() local
65 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordProvided_returnsNonNull() local
77 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndPasswordNotProvided_returnsNull() local
89 InputStream inputStream = mContext.getResources().openRawResource( in parseBackupFileAndReturnTarStream_backupEncryptedAndIncorrectPassword_returnsNull() local
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardParserTests.java94 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_simple_1); in testSimple() local
112 InputStream inputStream = getContext().getResources().openRawResource(R.raw.v21_nest); in testNest() local
146 …InputStream inputStream = getContext().getResources().openRawResource(R.raw.v30_ios_613_multiline); in testIosMultiline() local
177 InputStream inputStream = in testParseOne() local
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/chunking/cdc/
DContentDefinedChunkerTest.java123 ByteArrayInputStream inputStream = new ByteArrayInputStream(input); in chunkify_withLargeChunks_splitsIntoChunksAcrossBoundaries() local
138 ByteArrayInputStream inputStream = new ByteArrayInputStream(input); in chunkify_withSmallChunks_combinesChunksUntilMinSize() local
154 ByteArrayInputStream inputStream = new ByteArrayInputStream(largeInput); in chunkify_doesNotProduceChunksLargerThanMaxSize() local
200 ByteArrayInputStream inputStream = new ByteArrayInputStream(new byte[] {1}); in chunkify_whenConsumerThrowsException_rethrowsException() local
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp25 int32_t sendBuffersToWriter(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in sendBuffersToWriter()
76 int32_t writeHeaderBuffers(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in writeHeaderBuffers()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DFrameTimingStats.java68 public FrameTimingStats(DataInputStream inputStream) throws IOException { in FrameTimingStats()
73 public void update(DataInputStream inputStream) throws IOException { in update()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java197 final ByteArrayInputStream inputStream = in serializeAndDeserializePasspointConfiguration() local
239 final ByteArrayInputStream inputStream = in deserializePasspointConfigurationWithUnknownTag() local
/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/testing/
DDiffScriptProcessor.java136 private static Optional<String> readCommand(InputStream inputStream) throws IOException { in readCommand()
169 private static long copyBytes(InputStream inputStream, OutputStream outputStream, long n) in copyBytes()
186 InputStream inputStream, OutputStream outputStream, byte[] buffer, int size) in copyBlock()
/frameworks/av/media/libstagefright/codecs/mp3dec/src/
Dpvmp3_decode_header.cpp115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, in pvmp3_decode_header()
Dpvmp3_get_side_info.cpp114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, in pvmp3_get_side_info()
Dpvmp3_crc.cpp123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ in getbits_crc()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/
DEncryptedFullBackupTask.java86 InputStream inputStream) in newInstance()
120 InputStream inputStream, in EncryptedFullBackupTask()
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/
DChunker.java33 void chunkify(InputStream inputStream, ChunkConsumer chunkConsumer) in chunkify()
/frameworks/base/services/core/java/com/android/server/integrity/parser/
DRuleBinaryParser.java86 BitInputStream inputStream = in parseAllRules() local
105 BitInputStream inputStream = in parseIndexedRules() local
DRuleMetadataParser.java39 public static RuleMetadata parse(InputStream inputStream) in parse()
/frameworks/base/services/core/java/com/android/server/
DPersistentDataBlockService.java240 private int getTotalDataSizeLocked(DataInputStream inputStream) throws IOException { in getTotalDataSizeLocked()
315 DataInputStream inputStream; in computeDigestLocked() local
411 DataInputStream inputStream; in doGetOemUnlockEnabled() local
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/util/
DXmlUtilTest.java541 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeWifiConfiguration() local
609 ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray()); in serializeDeserializeIpConfiguration() local
632 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeNetworkSelectionStatus() local
664 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in deserializeWifiEnterpriseConfig() local
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifReader.java44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/frameworks/base/core/tests/utiltests/src/android/util/
DAtomicFileTest.java252 try (FileInputStream inputStream = atomicFile.openRead()) { in testAtomicFile()
268 private static byte[] readAllBytes(@NonNull InputStream inputStream) throws IOException { in readAllBytes()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java70 InputStream inputStream) { in readIpAndProxyConfigurations()
87 InputStream inputStream) { in readIpConfigurations()
/frameworks/base/services/core/java/com/android/server/integrity/model/
DBitInputStream.java35 public BitInputStream(InputStream inputStream) { in BitInputStream()
/frameworks/base/services/core/java/com/android/server/integrity/
DIntegrityFileManager.java102 try (FileInputStream inputStream = new FileInputStream(metadataFile)) { in IntegrityFileManager()
200 try (FileInputStream inputStream = new FileInputStream(ruleIndexingFile)) { in updateRuleIndexingController()
/frameworks/base/services/core/java/com/android/server/locksettings/recoverablekeystore/serialization/
DKeyChainSnapshotDeserializer.java76 public static KeyChainSnapshot deserialize(InputStream inputStream) in deserialize()
85 private static KeyChainSnapshot deserializeInternal(InputStream inputStream) throws IOException, in deserializeInternal()

12345