| /frameworks/base/tools/powermodel/test/com/android/powermodel/ | 
| D | CsvParserTest.java | 64         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEmpty()  local76         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testOnlyNewline()  local
 88         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testTwoLines()  local
 103         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEscapedEmpty()  local
 116         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEscapedText()  local
 129         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEscapedQuotes()  local
 142         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEscapedCommas()  local
 155         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testEscapedQuotesAndCommas()  local
 168         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testNoNewline()  local
 181         final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8));  in testNoNewlineWithCommas()  local
 [all …]
 
 | 
| D | RawBatteryStatsTest.java | 48         final InputStream is = makeCsv();  in testVersion()  local69         final InputStream is = makeCsv("9,0,i,uid,1000,com.example.app");  in testUid()  local
 80         final InputStream is = makeCsv("9,0,i,gmcd,1,2,3,4,5,6,7");  in testVarargs()  local
 
 | 
| /frameworks/base/core/tests/coretests/src/android/content/pm/ | 
| D | LimitedLengthInputStreamTest.java | 45             InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length);  in testConstructor_NegativeOffset_Failure()  local55             InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1);  in testConstructor_NegativeLength_Failure()  local
 65             InputStream is = new LimitedLengthInputStream(null, 0, 1);  in testConstructor_NullInputStream_Failure()  local
 75         InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1,  in testConstructor_OffsetLengthOverflow_Fail()  local
 91         InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length);  in checkReadBytesWithOffsetAndLength_WithString1()  local
 126         InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10);  in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success()  local
 141         InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length);  in checkReadBytes_WithString1()  local
 171         InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length);  in checkSingleByteRead_WithString1()  local
 
 | 
| D | MacAuthenticatedInputStreamTest.java | 78         MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);  in testString1Authenticate_Success()  local89         MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);  in testString1Authenticate_WrongTag_Failure()  local
 100         MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);  in testString1Authenticate_NullTag_Failure()  local
 111         MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac);  in testString1Authenticate_ReadSingleByte_Success()  local
 
 | 
| /frameworks/base/core/tests/coretests/src/android/app/activity/ | 
| D | IntentSenderTest.java | 34         PendingIntent is = PendingIntent.getBroadcast(getContext(), 0,  in testRegisteredReceivePermissionGranted()  local57         PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent,  in testRegisteredReceivePermissionDenied()  local
 66         PendingIntent is = PendingIntent.getBroadcast(getContext(), 0,  in testLocalReceivePermissionGranted()  local
 87         PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent,  in testLocalReceivePermissionDenied()  local
 
 | 
| /frameworks/base/core/tests/coretests/src/android/util/ | 
| D | BinaryXmlTest.java | 70         final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray());  in testLargeInterned_Binary()  local98         final ByteArrayInputStream is = new ByteArrayInputStream(firstRaw);  in doTranscode()  local
 119             try (InputStream is = new FileInputStream(file)) {  in testResolve_File()
 130             try (InputStream is = new FileInputStream(file)) {  in testResolve_File()
 146             try (InputStream is = new ByteArrayInputStream(data) {  in testResolve_Memory()
 163             try (InputStream is = new ByteArrayInputStream(data) {  in testResolve_Memory()
 
 | 
| /frameworks/opt/vcard/java/com/android/vcard/ | 
| D | VCardParser.java | 43     public abstract void parse(InputStream is) throws IOException, VCardException;  in parse()74     public abstract void parseOne(InputStream is) throws IOException, VCardException;  in parseOne()
 81     public void parse(InputStream is, VCardInterpreter interpreter)  in parse()
 
 | 
| D | VCardParser_V40.java | 74     public void parse(InputStream is) throws IOException, VCardException {  in parse()79     public void parseOne(InputStream is) throws IOException, VCardException {  in parseOne()
 
 | 
| D | VCardParser_V30.java | 86     public void parse(InputStream is) throws IOException, VCardException {  in parse()91     public void parseOne(InputStream is) throws IOException, VCardException {  in parseOne()
 
 | 
| D | VCardParser_V21.java | 107     public void parse(InputStream is) throws IOException, VCardException {  in parse()112     public void parseOne(InputStream is) throws IOException, VCardException {  in parseOne()
 
 | 
| /frameworks/av/media/module/codecs/mp3dec/src/ | 
| D | pvmp3_huffman_decoding.cpp | 123                                  int32 *is,  in pvmp3_huffman_quad_decoding()190                                  int32 *is,  in pvmp3_huffman_pair_decoding()
 245         int32 *is,  in pvmp3_huffman_pair_decoding_linbits()
 
 | 
| /frameworks/base/core/tests/coretests/src/android/graphics/ | 
| D | FontListParserTest.java | 222         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unpaired_family()239         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unpaired_font()
 258         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unpaired_axis()
 275         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unclosed_family()
 292         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unclosed_font()
 311         try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) {  in invalidXml_unclosed_axis()
 
 | 
| /frameworks/base/graphics/java/android/graphics/ | 
| D | Movie.java | 60     public static Movie decodeStream(InputStream is) {  in decodeStream()73     private static native Movie nativeDecodeStream(InputStream is);  in nativeDecodeStream()
 80         InputStream is;  in decodeFile()  local
 100     private static Movie decodeTempStream(InputStream is) {  in decodeTempStream()
 
 | 
| D | BitmapFactory.java | 569             @Nullable InputStream is, @Nullable Rect pad, @Nullable Options opts) {  in decodeResourceStream()611         InputStream is = null;   in decodeResource()  local
 760     public static Bitmap decodeStream(@Nullable InputStream is, @Nullable Rect outPadding,  in decodeStream()
 797     private static Bitmap decodeStreamInternal(@NonNull InputStream is,  in decodeStreamInternal()
 818     public static Bitmap decodeStream(InputStream is) {  in decodeStream()
 886     private static native Bitmap nativeDecodeStream(InputStream is, byte[] storage,  in nativeDecodeStream()
 
 | 
| /frameworks/base/core/tests/coretests/src/android/content/ | 
| D | AssetTest.java | 36     public static void verifyTextAsset(InputStream is) throws IOException {  in verifyTextAsset()65         InputStream is = mAssets.open("text.txt");  in testReadToEnd()  local
 
 | 
| /frameworks/base/obex/javax/obex/ | 
| D | ObexPacket.java | 39     public static ObexPacket read(InputStream is) throws IOException {  in read()51     public static ObexPacket read(int headerId, InputStream is) throws IOException {  in read()
 
 | 
| /frameworks/base/tests/CoreTests/android/core/ | 
| D | TestWebServer.java | 435         private int readOneLine(InputStream is) {  in readOneLine()473         private int readData(InputStream is, int length) {  in readData()
 497         private int parseStatusLine(InputStream is) {  in parseStatusLine()
 567         private int parseHeader(InputStream is) {  in parseHeader()
 605         private int readHeaders(InputStream is) {  in readHeaders()
 626         private int readContent(InputStream is) {  in readContent()
 641             InputStream is = new BufferedInputStream(s.getInputStream());  in handleClient()  local
 
 | 
| /frameworks/base/services/tests/displayservicetests/src/com/android/server/display/ | 
| D | PersistentDataStoreTest.java | 88         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testLoadBrightness()  local125         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testSetBrightness_brightnessTagWithNoUserId_updatesToBrightnessTagWithUserId()  local
 192         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testLoadingBrightnessConfigurations()  local
 225         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testBrightnessConfigWithInvalidCurveIsIgnored()  local
 244         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testBrightnessConfigWithInvalidFloatsIsIgnored()  local
 256         InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8));  in testEmptyBrightnessConfigurationsDoesntCrash()  local
 549         public void setReadStream(InputStream is) {  in setReadStream()
 
 | 
| /frameworks/base/apct-tests/perftests/core/src/com/android/internal/util/ | 
| D | FastDataPerfTest.java | 102         final ByteArrayInputStream is = new ByteArrayInputStream(doWrite());  in timeRead_Upstream()  local118         final ByteArrayInputStream is = new ByteArrayInputStream(doWrite());  in timeRead_LocalUsing4ByteSequences()  local
 133         final ByteArrayInputStream is = new ByteArrayInputStream(doWrite());  in timeRead_LocalUsing3ByteSequences()  local
 
 | 
| /frameworks/base/core/tests/coretests/src/android/os/ | 
| D | MemoryFileTest.java | 90         InputStream is = file.getInputStream();  in testRun()  local130             InputStream is = file.getInputStream();  in readIndexOutOfBoundsException()  local
 175             InputStream is = file.getInputStream();  in testReadEOF()  local
 
 | 
| /frameworks/base/packages/WallpaperCropper/src/com/android/photos/ | 
| D | BitmapRegionTileSource.java | 71             InputStream is, boolean isShareable) {  in newInstance()108     public static DumbBitmapRegionDecoder newInstance(InputStream is) {  in newInstance()
 267             InputStream is = mContext.getContentResolver().openInputStream(mUri);  in regenerateInputStream()  local
 273                 InputStream is = regenerateInputStream();  in loadBitmapRegionDecoder()  local
 291                 InputStream is = regenerateInputStream();  in loadPreviewBitmap()  local
 302             InputStream is = null;  in readExif()  local
 332             InputStream is = mRes.openRawResource(mResId);  in regenerateInputStream()  local
 337             InputStream is = regenerateInputStream();  in loadBitmapRegionDecoder()  local
 355                 InputStream is = regenerateInputStream();  in readExif()  local
 
 | 
| /frameworks/libs/net/common/device/com/android/net/module/util/async/ | 
| D | FileHandle.java | 44             Closeable closeable, InputStream is, OutputStream os) {  in fromBlockingStream()52             InputStream is, OutputStream os) {  in FileHandle()
 
 | 
| /frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ | 
| D | PropertyNodesVerifier.java | 56     public void verify(InputStream is, int vcardType) throws IOException, VCardException {  in verify()61     public void verify(InputStream is, int vcardType, final VCardParser parser)  in verify()
 
 | 
| /frameworks/base/services/tests/wmtests/src/com/android/server/wm/ | 
| D | WindowTracingTest.java | 139         try (InputStream is = new FileInputStream(mFile)) {  in traceFile_startsWithMagicHeader()161         try (InputStream is = new FileInputStream(mFile)) {  in tracing_endsUpInFile()
 
 | 
| /frameworks/base/core/java/com/android/internal/util/ | 
| D | ArtBinaryXmlPullParser.java | 36     protected FastDataInput obtainFastDataInput(@NonNull InputStream is) {  in obtainFastDataInput()
 |