Home
last modified time | relevance | path

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

12345

/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.java43 InputStream is = new LimitedLengthInputStream(mTestStream1, -1, TEST_STRING1.length); in testConstructor_NegativeOffset_Failure() local
53 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, -1); in testConstructor_NegativeLength_Failure() local
63 InputStream is = new LimitedLengthInputStream(null, 0, 1); in testConstructor_NullInputStream_Failure() local
73 InputStream is = new LimitedLengthInputStream(mTestStream1, Long.MAX_VALUE - 1, in testConstructor_OffsetLengthOverflow_Fail() local
89 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytesWithOffsetAndLength_WithString1() local
124 InputStream is = new LimitedLengthInputStream(mTestStream1, 0, TEST_STRING1.length + 10); in testReadBytesWithOffsetAndLength_ZeroOffset_PastEnd_Success() local
139 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkReadBytes_WithString1() local
169 InputStream is = new LimitedLengthInputStream(mTestStream1, offset, length); in checkSingleByteRead_WithString1() local
DMacAuthenticatedInputStreamTest.java76 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_Success() local
87 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_WrongTag_Failure() local
98 MacAuthenticatedInputStream is = new MacAuthenticatedInputStream(mTestStream1, mac); in testString1Authenticate_NullTag_Failure() local
109 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
55 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testRegisteredReceivePermissionDenied() local
63 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, in testLocalReceivePermissionGranted() local
82 PendingIntent is = PendingIntent.getBroadcast(getContext(), 0, intent, 0); in testLocalReceivePermissionDenied() local
/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_V30.java86 public void parse(InputStream is) throws IOException, VCardException { in parse()
91 public void parseOne(InputStream is) throws IOException, VCardException { in parseOne()
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_V21.java107 public void parse(InputStream is) throws IOException, VCardException { in parse()
112 public void parseOne(InputStream is) throws IOException, VCardException { in parseOne()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DPersistentDataStoreTest.java76 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testLoadingBrightnessConfigurations() local
109 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidCurveIsIgnored() local
128 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testBrightnessConfigWithInvalidFloatsIsIgnored() local
140 InputStream is = new ByteArrayInputStream(contents.getBytes(StandardCharsets.UTF_8)); in testEmptyBrightnessConfigurationsDoesntCrash() local
222 public void setReadStream(InputStream is) { in setReadStream()
/frameworks/av/media/libstagefright/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/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.java556 @Nullable InputStream is, @Nullable Rect pad, @Nullable Options opts) { in decodeResourceStream()
598 InputStream is = null; in decodeResource() local
747 public static Bitmap decodeStream(@Nullable InputStream is, @Nullable Rect outPadding, in decodeStream()
784 private static Bitmap decodeStreamInternal(@NonNull InputStream is, in decodeStreamInternal()
805 public static Bitmap decodeStream(InputStream is) { in decodeStream()
873 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/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/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/rs/tests/java_api/Refocus/src/com/android/rs/test/
DXmpDepthDecode.java55 public XmpDepthDecode(InputStream is) throws IOException { in XmpDepthDecode()
133 static XMPMeta read(InputStream is, boolean skipExtendedContent) { in read()
196 private static List<Section> parse(InputStream is, boolean readMetaOnly, in parse()
284 private static Section readSection(InputStream is, int length, in readSection()
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifModifier.java52 InputStream is = null; in ExifModifier() local
70 InputStream is = null; in commit() local
/frameworks/base/core/tests/coretests/src/android/graphics/
DFontFileUtilTest.java64 try (InputStream is = am.open(path)) { in mmap()
86 private static boolean copyToFile(File file, InputStream is) { in copyToFile()
/frameworks/base/core/tests/coretests/src/android/content/pm/dex/
DDexMetadataHelperTest.java88 try (InputStream is = context.getResources().openRawResource(apkResourceId)) { in copyApkToToTmpDir()
218 try (FileInputStream is = new FileInputStream(base)) { in testPackageSizeWithPartialPackageLite()
/frameworks/rs/script_api/
Drs_debug.spec36 This function is intended for debugging only and should not be used in shipping function

12345