Home
last modified time | relevance | path

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

12

/cts/hostsidetests/calllog/app/src/android/provider/cts/contacts/testapp/
DCallLogDirectBootTest.java64 try (InputStream inputStream = in testShadowCallComposerPicture()
68 inputStream, in testShadowCallComposerPicture() local
118 InputStream inputStream = context.getResources().openRawResource(id); in readResourceDrawable() local
122 private static byte[] readBytes(InputStream inputStream) throws Exception { in readBytes()
/cts/tests/tests/telephony/current/src/android/telephony/cts/
DCallComposerTest.java103 ByteArrayInputStream inputStream = new ByteArrayInputStream(imageData); in testUploadPictureAsStream() local
128 ByteArrayInputStream inputStream = new ByteArrayInputStream(paddedData); in testExcessivelyLargePictureAsStream() local
134 private UUID pictureUploadHelper(Path inputFile, InputStream inputStream, in pictureUploadHelper()
225 private static byte[] readBytes(InputStream inputStream) throws Exception { in readBytes()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java169 try (InputStream inputStream = in testCallComposerImageStorage()
173 inputStream, in testCallComposerImageStorage() local
209 InputStream inputStream = context.getResources().openRawResource(id); in readResourceDrawable() local
213 private byte[] readBytes(InputStream inputStream) throws Exception { in readBytes()
/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/tests/tests/os/src/android/os/cts/
DPersistableBundleTest.java49 ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray()); in testWriteToStreamAndReadFromStream() local
/cts/hostsidetests/appsecurity/test-apps/AppAccessData/src/com/android/cts/appaccessdata/
DAccessPrivateDataTest.java97 FileInputStream inputStream = new FileInputStream(privateFile); in testAccessPrivateData() local
115 FileInputStream inputStream = new FileInputStream(publicFile); in testAccessPublicData() local
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/util/
DSerializableParcelWrapper.java62 private void readObject(ObjectInputStream inputStream) throws ClassNotFoundException, in readObject()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandTest.java108 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
126 try (FileInputStream inputStream = new FileInputStream(input)) { in executeShellCommand()
131 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
136 private static String readFullStream(InputStream inputStream) throws IOException { in readFullStream()
142 private static void writeFullStream(InputStream inputStream, OutputStream outputStream, in writeFullStream()
DPackageManagerShellCommandIncrementalTest.java997 try (InputStream inputStream = executeShellCommandStream( in installSplit()
1057 try (InputStream inputStream = executeShellCommandStream(command)) { in executeShellCommand()
1075 try (InputStream inputStream = executeShellCommandRw(command, inputs, expected)) { in executeShellCommand()
1091 try (FileInputStream inputStream = new FileInputStream(inputs[i])) { in executeShellCommandRw()
1099 static String readFullStream(InputStream inputStream, long expected) in readFullStream()
1106 static String readFullStream(InputStream inputStream) throws IOException { in readFullStream()
1110 static void writeFullStream(InputStream inputStream, OutputStream outputStream, in writeFullStream()
DIncrementalDeviceConnection.java235 private static String readFullStreamOrError(InputStream inputStream) { in readFullStreamOrError()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java75 public Stream<DexMember> parseAsStream(InputStream inputStream) { in parseAsStream()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java71 try (InputStream inputStream = sContext.getResources().openRawResource(indexId)) { in initTestApps()
DTestApp.java147 try (InputStream inputStream = in apkBytes()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_PeopleTest.java254 InputStream inputStream = context.getResources().openRawResource( in testAccessPhotoData() local
/cts/tests/tests/car/src/android/car/cts/
DCarApiTestBase.java127 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
/cts/tests/accessibility/common/src/android/accessibility/cts/common/
DShellCommandBuilder.java115 try (InputStream inputStream = new FileInputStream(fd.getFileDescriptor())) { in execShellCommand()
/cts/hostsidetests/appsecurity/test-apps/AppWithData/src/com/android/cts/appwithdata/
DCreatePrivateDataTest.java99 DataInputStream inputStream = new DataInputStream(new FileInputStream(publicFile)); in accessPublicData() local
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/packages/
DPackages.java462 try (InputStream inputStream = in install()
481 try (InputStream inputStream = in install()
/cts/tests/tests/text/src/android/text/method/cts/
DPasswordTransformationMethodTest.java143 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java208 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in decompressGzip() local
/cts/tests/tests/security/src/android/security/cts/
DMotionEventTest.java183 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/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/tests/display/src/android/display/cts/
DDisplayTest.java252 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/tests/tests/media/src/android/media/cts/
DUtils.java104 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in setAppOps() local

12