/frameworks/base/services/tests/servicestests/src/com/android/server/integrity/parser/ |
D | BinaryFileOperationsTest.java | 56 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
|
D | RuleIndexingControllerTest.java | 47 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/ |
D | TarBackupReaderTest.java | 104 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/ |
D | PerformAdbRestoreTaskTest.java | 53 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/ |
D | VCardParserTests.java | 94 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/ |
D | ContentDefinedChunkerTest.java | 123 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/ |
D | WriterUtility.cpp | 25 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/ |
D | FrameTimingStats.java | 68 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/ |
D | PasspointXmlUtilsTest.java | 197 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/ |
D | DiffScriptProcessor.java | 136 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/ |
D | pvmp3_decode_header.cpp | 115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, in pvmp3_decode_header()
|
D | pvmp3_get_side_info.cpp | 114 ERROR_CODE pvmp3_get_side_info(tmp3Bits *inputStream, in pvmp3_get_side_info()
|
D | pvmp3_crc.cpp | 123 uint32 getbits_crc(tmp3Bits *inputStream, /* bit stream structure */ in getbits_crc()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/tasks/ |
D | EncryptedFullBackupTask.java | 86 InputStream inputStream) in newInstance() 120 InputStream inputStream, in EncryptedFullBackupTask()
|
/frameworks/base/packages/BackupEncryption/src/com/android/server/backup/encryption/chunking/ |
D | Chunker.java | 33 void chunkify(InputStream inputStream, ChunkConsumer chunkConsumer) in chunkify()
|
/frameworks/base/services/core/java/com/android/server/integrity/parser/ |
D | RuleBinaryParser.java | 86 BitInputStream inputStream = in parseAllRules() local 105 BitInputStream inputStream = in parseIndexedRules() local
|
D | RuleMetadataParser.java | 39 public static RuleMetadata parse(InputStream inputStream) in parse()
|
/frameworks/base/services/core/java/com/android/server/ |
D | PersistentDataBlockService.java | 240 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/ |
D | XmlUtilTest.java | 541 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/ |
D | ExifReader.java | 44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
|
/frameworks/base/core/tests/utiltests/src/android/util/ |
D | AtomicFileTest.java | 252 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/ |
D | IpConfigStore.java | 70 InputStream inputStream) { in readIpAndProxyConfigurations() 87 InputStream inputStream) { in readIpConfigurations()
|
/frameworks/base/services/core/java/com/android/server/integrity/model/ |
D | BitInputStream.java | 35 public BitInputStream(InputStream inputStream) { in BitInputStream()
|
/frameworks/base/services/core/java/com/android/server/integrity/ |
D | IntegrityFileManager.java | 102 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/ |
D | KeyChainSnapshotDeserializer.java | 76 public static KeyChainSnapshot deserialize(InputStream inputStream) in deserialize() 85 private static KeyChainSnapshot deserializeInternal(InputStream inputStream) throws IOException, in deserializeInternal()
|