Home
last modified time | relevance | path

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

123

/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.java117 ByteArrayInputStream inputStream = new ByteArrayInputStream(imageData); in testUploadPictureAsStream() local
148 ByteArrayInputStream inputStream = new ByteArrayInputStream(paddedData); in testExcessivelyLargePictureAsStream() local
154 private UUID pictureUploadHelper(Path inputFile, InputStream inputStream, in pictureUploadHelper()
245 private static byte[] readBytes(InputStream inputStream) throws Exception { in readBytes()
/cts/tests/tests/security/src/android/security/cts/
DPersistableBundleTest.java42 ByteArrayInputStream inputStream = new ByteArrayInputStream(input.getBytes()); in testReadFromStream_invalidType() local
DMotionEventTest.java179 InputStream inputStream = new FileInputStream(pfd.getFileDescriptor()); in enableAppOps() local
/cts/tests/tests/content/src/android/content/res/cts/
DAssetManagerTest.java75 InputStream inputStream = mAssets.open(fileName); in testAssetOperations() local
208 private void assertContextEquals(final String expect, final InputStream inputStream) in assertContextEquals()
DAssetFileDescriptor_AutoCloseOutputStreamTest.java86 FileInputStream inputStream = mAssetFileDes.createInputStream(); in testAutoCloseOutputStream() local
/cts/tests/tests/os/src/android/os/cts/
DPersistableBundleTest.java57 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/tests/tests/media/common/src/android/media/cts/
DUtils.java74 try (InputStream inputStream = in setAppOps()
94 try (InputStream inputStream = in setAppOps()
/cts/common/device-side/bedstead/nene/src/main/java/com/android/bedstead/nene/utils/
DXmlTest.java70 InputStreamReader inputStream = new InputStreamReader( in serializeAndDeserialize()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DCallLogTest.java463 try (InputStream inputStream = in testCallComposerImageStorage()
467 inputStream, in testCallComposerImageStorage() local
503 InputStream inputStream = context.getResources().openRawResource(id); in readResourceDrawable() local
507 private byte[] readBytes(InputStream inputStream) throws Exception { in readBytes()
/cts/tests/signature/lib/common/src/android/signature/cts/
DDexApiDocumentParser.java85 public Stream<DexMember> parseAsStream(InputStream inputStream) { in parseAsStream()
/cts/common/device-side/bedstead/queryable/src/main/java/com/android/queryable/util/
DSerializableParcelWrapper.java66 private void readObject(ObjectInputStream inputStream) throws ClassNotFoundException, in readObject()
/cts/hostsidetests/incrementalinstall/appvalidator/src/android/incrementalinstall/inrementaltestappvalidation/
DAppValidationTest.java107 try (InputStream inputStream = new FileInputStream(file)) { in readFullFile()
/cts/tests/tests/content/src/android/content/pm/cts/
DPackageManagerShellCommandIncrementalTest.java1229 try (InputStream inputStream = executeShellCommandStream( in installSplit()
1288 try (InputStream inputStream = executeShellCommandStream(command)) { in executeShellCommand()
1306 try (InputStream inputStream = executeShellCommandRw(command, inputs, expected)) { in executeShellCommand()
1322 try (FileInputStream inputStream = new FileInputStream(inputs[i])) { in executeShellCommandRw()
1330 static String readFullStream(InputStream inputStream, long expected) in readFullStream()
1337 static String readFullStream(InputStream inputStream) throws IOException { in readFullStream()
1341 static void writeFullStream(InputStream inputStream, OutputStream outputStream, in writeFullStream()
/cts/tests/mediapc/src/android/mediapc/cts/
DPost.java109 try (BufferedInputStream inputStream = connection.getResponseCode() < 400 in send()
/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContacts_PeopleTest.java254 InputStream inputStream = context.getResources().openRawResource( in testAccessPhotoData() local
/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/tests/tests/car/src/android/car/cts/
DAbstractCarTestCase.java154 try (InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(stdout)) { in executeShellCommand()
/cts/common/device-side/bedstead/testapp/src/library/main/java/com/android/bedstead/testapp/
DTestAppProvider.java111 try (InputStream inputStream = sContext.getResources().openRawResource(indexId)) { in initTestApps()
DTestApp.java176 try (InputStream inputStream = apkStream()) { in apkBytes()
/cts/tests/tests/telephony/current/src/android/telephony/ims/cts/
DImsUtils.java229 ByteArrayInputStream inputStream = new ByteArrayInputStream(data); in decompressGzip() local
/cts/libs/kernelinfo/src/com/android/cts/kernelinfo/
DKernelInfo.kt92 val inputStream: InputStream = ParcelFileDescriptor.AutoCloseInputStream(stdout) constant
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DDrawableTest.java218 FileInputStream inputStream = null; in testCreateFromStream() local
264 FileInputStream inputStream = null; in testCreateFromStream2() local
296 FileInputStream inputStream = null; in testCreateFromResourceStream1() local
343 FileInputStream inputStream = null; in testCreateFromResourceStream2() local

123