/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | CsvParserTest.java | 64 final InputStream is = new ByteArrayInputStream(text.getBytes(StandardCharsets.UTF_8)); in testEmpty() local 76 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() local 69 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() local 55 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() local 89 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() local 55 …PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, PendingIntent.FLAG_MUTABLE_… in testRegisteredReceivePermissionDenied() local 63 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted() local 82 …PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, PendingIntent.FLAG_MUTABLE_… in testLocalReceivePermissionDenied() local
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | BinaryXmlTest.java | 67 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in testLargeInterned_Binary() local 95 final ByteArrayInputStream is = new ByteArrayInputStream(firstRaw); in doTranscode() local 116 try (InputStream is = new FileInputStream(file)) { in testResolve_File() 127 try (InputStream is = new FileInputStream(file)) { in testResolve_File() 143 try (InputStream is = new ByteArrayInputStream(data) { in testResolve_Memory() 160 try (InputStream is = new ByteArrayInputStream(data) { in testResolve_Memory()
|
D | XmlTest.java | 90 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in doLargeValues() local 180 final ByteArrayInputStream is = new ByteArrayInputStream(raw); in doPersistableBundleRead() local 222 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in doVerify() local
|
/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_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_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_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/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 | 226 try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) { in invalidXml_unpaired_family() 243 try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) { in invalidXml_unpaired_font() 262 try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) { in invalidXml_unpaired_axis() 279 try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) { in invalidXml_unclosed_family() 296 try (InputStream is = new ByteArrayInputStream(xml.getBytes(StandardCharsets.UTF_8))) { in invalidXml_unclosed_font() 315 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 | 557 @Nullable InputStream is, @Nullable Rect pad, @Nullable Options opts) { in decodeResourceStream() 599 InputStream is = null; in decodeResource() local 748 public static Bitmap decodeStream(@Nullable InputStream is, @Nullable Rect outPadding, in decodeStream() 785 private static Bitmap decodeStreamInternal(@NonNull InputStream is, in decodeStreamInternal() 806 public static Bitmap decodeStream(InputStream is) { in decodeStream() 874 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/core/tests/coretests/src/android/os/ |
D | MemoryFileTest.java | 90 InputStream is = file.getInputStream(); in testRun() local 130 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/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/servicestests/src/com/android/server/display/ |
D | PersistentDataStoreTest.java | 84 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testLoadingBrightnessConfigurations() local 117 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidCurveIsIgnored() local 136 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidFloatsIsIgnored() local 148 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testEmptyBrightnessConfigurationsDoesntCrash() local 441 public void setReadStream(InputStream is) { in setReadStream()
|
/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/apct-tests/perftests/core/src/com/android/internal/util/ |
D | FastDataPerfTest.java | 79 final ByteArrayInputStream is = new ByteArrayInputStream(doWrite()); in timeRead_Upstream() local 91 final ByteArrayInputStream is = new ByteArrayInputStream(doWrite()); in timeRead_Local() local
|
/frameworks/base/tests/Internal/src/com/android/internal/protolog/ |
D | ProtoLogImplTest.java | 127 try (InputStream is = new FileInputStream(mFile)) { in logFile_startsWithMagicHeader() 349 try (InputStream is = new FileInputStream(mFile)) { in log_protoEnabled() 374 try (InputStream is = new FileInputStream(mFile)) { in log_invalidParamsMask() 396 try (InputStream is = new FileInputStream(mFile)) { in log_protoDisabled()
|