/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 | 49 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect() local 71 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_multipleAppCertificates() local 94 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_keysInFirstAndLastBlock() local 116 InputStream inputStream = obtainDefaultIndexingMapForTest(); in verifyIndexRangeSearchIsCorrect_keysMatchWithValues() local 148 InputStream inputStream = new ByteArrayInputStream(rule.array()); in verifyIndexRangeSearchIsCorrect_noIndexesAvailable() local 178 InputStream inputStream = new ByteArrayInputStream(rule.array()); in verifyIndexingFileIsCorrupt() 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/libs/service_entitlement/tests/src/com/android/libraries/entitlement/utils/ |
D | StreamUtilsTest.java | 42 InputStream inputStream = new ByteArrayInputStream(expectedString.getBytes(UTF_8)); in inputStreamToString() local 56 InputStream inputStream = mock(InputStream.class); in inputStreamToString_readThrowsIOException_shouldThrowException() local 65 InputStream inputStream = new ByteArrayInputStream(expectedString.getBytes(UTF_8)); in inputStreamToStringSafe() local 81 InputStream inputStream = mock(InputStream.class); in inputStreamToStringSafe_readThrowsIOException_shouldReturnEmpty() 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/libs/service_entitlement/java/com/android/libraries/entitlement/utils/ |
D | StreamUtils.java | 35 public static String inputStreamToString(@Nullable InputStream inputStream) throws IOException { in inputStreamToString() 51 public static String inputStreamToStringSafe(@Nullable InputStream inputStream) { in inputStreamToStringSafe()
|
/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/av/media/libstagefright/tests/writer/ |
D | WriterUtility.cpp | 25 int32_t sendBuffersToWriter(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in sendBuffersToWriter() 83 int32_t writeHeaderBuffers(ifstream &inputStream, vector<BufferInfo> &bufferInfo, in writeHeaderBuffers()
|
/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/codecs/mp3dec/src/ |
D | pvmp3_decode_header.cpp | 115 ERROR_CODE pvmp3_decode_header(tmp3Bits *inputStream, in pvmp3_decode_header()
|
D | pvmp3_getbits.h | 107 static inline bool bitsAvailable(tmp3Bits *inputStream, uint32 neededBits) in bitsAvailable()
|
D | pvmp3_get_side_info.cpp | 115 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 | 250 private int getTotalDataSizeLocked(DataInputStream inputStream) throws IOException { in getTotalDataSizeLocked() 333 DataInputStream inputStream; in computeDigestLocked() local 442 DataInputStream inputStream; in doGetOemUnlockEnabled() 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/services/core/java/com/android/server/integrity/model/ |
D | BitInputStream.java | 35 public BitInputStream(InputStream inputStream) { in BitInputStream()
|
/frameworks/base/core/tests/batterystatstests/BatteryStatsLoadTests/src/com/android/frameworks/core/batterystatsloadtests/ |
D | WiFiLoadTest.java | 51 try (InputStream inputStream = url.openStream()) { in test()
|
/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/base/services/backup/java/com/android/server/backup/restore/ |
D | FullRestoreEngineThread.java | 28 FullRestoreEngineThread(FullRestoreEngine engine, InputStream inputStream) { in FullRestoreEngineThread()
|