Home
last modified time | relevance | path

Searched defs:inputStream (Results 1 – 25 of 32) sorted by relevance

12

/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java84 FileInputStream inputStream = new FileInputStream(privateFile); in testAccessPrivateData() local
111 FileInputStream inputStream = new FileInputStream(publicFile); in testAccessPublicData() local
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java73 InputStream inputStream = mAssets.open(fileName); in testAssetOperations() local
206 private void assertContextEquals(final String expect, final InputStream inputStream) in assertContextEquals()
DAssetFileDescriptor_AutoCloseOutputStreamTest.java71 FileInputStream inputStream = mAssetFileDes.createInputStream(); in testAutoCloseOutputStream() local
/cts/libs/input/src/com/android/cts/input/
DHidJsonParser.java104 InputStream inputStream = mContext.getResources().openRawResource(id); in readRawResource() local
129 private String readFully(InputStream inputStream) throws IOException { in readFully()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java75 public Stream<DexMember> parseAsStream(InputStream inputStream) { in parseAsStream()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java94 try (InputStream inputStream = new FileInputStream(fd.getFileDescriptor())) { in execShellCommand()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContacts_PeopleTest.java254 InputStream inputStream = context.getResources().openRawResource( in testAccessPhotoData() local
/cts/tests/tests/display/src/android/display/cts/
DDisplayTest.java130 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java99 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFile)); in accessPublicData() local
/cts/tests/signature/lib/android/src/android/signature/cts/
DApiDocumentParser.java77 public Stream<JDiffClassDescription> parseAsStream(InputStream inputStream) in parseAsStream()
/cts/tests/tests/text/src/android/text/method/cts/
DPasswordTransformationMethodTest.java143 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java181 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/tests/tests/media/src/android/media/cts/
DHeifWriterTest.java107 InputStream inputStream = null; in setUp() local
437 FileInputStream inputStream = null; in doTest() local
542 @Nullable FileInputStream inputStream) throws IOException { in fillYuvBuffer()
DUtils.java103 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in setAppOps() local
DMediaExtractorTest.java433 MediaCodecTest.ByteBufferStream inputStream) throws Exception { in MediaExtractorStream()
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTest.java218 FileInputStream inputStream = null; in testCreateFromStream() local
263 FileInputStream inputStream = null; in testCreateFromStream2() local
295 FileInputStream inputStream = null; in testCreateFromResourceStream1() local
342 FileInputStream inputStream = null; in testCreateFromResourceStream2() local
/cts/tests/app/src/android/app/cts/
DDownloadManagerTestBase.java150 try (InputStream inputStream = context.getContentResolver().openInputStream(uri)) { in readContentsFromUri()
225 private static String readFromInputStream(InputStream inputStream) throws Exception { in readFromInputStream()
/cts/common/device-side/util/src/com/android/compatibility/common/util/
DFileUtils.java109 public static boolean copyToFile(InputStream inputStream, File destFile) { in copyToFile()
/cts/common/device-side/util-axt/src/com/android/compatibility/common/util/
DFileUtils.java109 public static boolean copyToFile(InputStream inputStream, File destFile) { in copyToFile()
/cts/tests/tests/text/src/android/text/format/cts/
DDateFormatTest.java115 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/hostsidetests/theme/src/android/theme/cts/
DThemeHostTest.java176 InputStreamSource inputStream = new FileInputStreamSource(comparison.second); in testThemes() local
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DHardwareBitmapTests.java170 InputStream inputStream = mRes.openRawResource(R.drawable.robot); in testBitmapRegionDecode() local
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DTriggerContentTest.java148 public static void copyToFileOrThrow(InputStream inputStream, File destFile) in copyToFileOrThrow()
/cts/tests/tests/util/src/android/util/cts/
DStrictJarFileTest.java357 private static String readUtf8String(InputStream inputStream) throws IOException { in readUtf8String()
/cts/hostsidetests/compilation/src/android/compilation/cts/
DAdbRootDependentCompilationTest.java97 InputStream inputStream = getClass().getResourceAsStream("/CtsCompilationApp.apk"); in setUp() local

12