Home
last modified time | relevance | path

Searched defs:is (Results 1 – 25 of 148) sorted by relevance

123456

/frameworks/base/tools/powermodel/test/com/android/powermodel/
DCsvParserTest.java64 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 …]
DRawBatteryStatsTest.java48 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/
DLimitedLengthInputStreamTest.java45 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
DMacAuthenticatedInputStreamTest.java78 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/
DIntentSenderTest.java34 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testRegisteredReceivePermissionGranted() local
57 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/
DBinaryXmlTest.java70 final ByteArrayInputStream is = new ByteArrayInputStream(os.toByteArray()); in testLargeInterned_Binary() local
98 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/
DVCardParser.java43 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()
DVCardParser_V40.java74 public void parse(InputStream is) throws IOException, VCardException { in parse()
79 public void parseOne(InputStream is) throws IOException, VCardException { in parseOne()
DVCardParser_V30.java86 public void parse(InputStream is) throws IOException, VCardException { in parse()
91 public void parseOne(InputStream is) throws IOException, VCardException { in parseOne()
DVCardParser_V21.java107 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/
Dpvmp3_huffman_decoding.cpp123 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/
DFontListParserTest.java222 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/
DMovie.java60 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()
DBitmapFactory.java569 @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/
DAssetTest.java36 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/
DObexPacket.java39 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/
DTestWebServer.java435 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/
DPersistentDataStoreTest.java88 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testLoadBrightness() local
125 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/
DFastDataPerfTest.java102 final ByteArrayInputStream is = new ByteArrayInputStream(doWrite()); in timeRead_Upstream() local
118 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/
DMemoryFileTest.java90 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/
DBitmapRegionTileSource.java71 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/
DFileHandle.java44 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/
DPropertyNodesVerifier.java56 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/
DWindowTracingTest.java139 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/
DArtBinaryXmlPullParser.java36 protected FastDataInput obtainFastDataInput(@NonNull InputStream is) { in obtainFastDataInput()

123456