Home
last modified time | relevance | path

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

1234

/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DIoUtils.java38 InputStream inputStream = new FileInputStream(file); in readFromFile() local
46 public static @NonNull byte[] readFromStream(@NonNull InputStream inputStream) in readFromStream()
/packages/apps/Dialer/java/com/android/dialer/shortcuts/
DIconFactory.java87 InputStream inputStream = in create() local
98 @NonNull String displayName, @NonNull String lookupKey, @Nullable InputStream inputStream) { in createAdaptiveIcon()
122 @NonNull String displayName, @NonNull String lookupKey, @Nullable InputStream inputStream) { in createFlatIcon()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java182 public static Uri persistContentToScratchSpace(final InputStream inputStream) { in persistContentToScratchSpace()
195 InputStream inputStream = null; in persistContentToScratchSpace() local
228 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
252 InputStream inputStream = null; in persistContent() local
281 final Context context, final InputStream inputStream, final Uri targetUri) { in copyContent()
DImageUtils.java268 public static int getOrientation(final InputStream inputStream) { in getOrientation()
305 InputStream inputStream = contentResolver.openInputStream(contentUri); in isGif() local
319 public static boolean isGif(InputStream inputStream) { in isGif()
569 InputStream inputStream = null; in ensureImageSizeSet() local
685 final InputStream inputStream = cr.openInputStream(mUri); in recodeImage() local
888 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds() local
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java111 protected void onPostExecute(InputStream inputStream) { in fetchInputStream()
165 InputStream inputStream = openInputStream(); in calculateRawDimensions() local
191 InputStream inputStream = null; in openBitmapRegionDecoder() local
214 private void closeInputStream(InputStream inputStream, String errorMessage) { in closeInputStream()
233 void onInputStreamOpened(@Nullable InputStream inputStream); in onInputStreamOpened()
263 InputStream inputStream = openInputStream(); in doInBackground() local
DExifInterfaceCompat.java29 public ExifInterfaceCompat(InputStream inputStream) throws IOException { in ExifInterfaceCompat()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/util/
DPositionInputStream.java28 private final InputStream inputStream; field in PositionInputStream
32 public PositionInputStream(InputStream inputStream) { in PositionInputStream()
DPartialInputStream.java29 … public PartialInputStream(InputStream inputStream, long offset, long length) throws IOException { in PartialInputStream()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/input/
DClassLoaderObjectInputStream.java49 ClassLoader classLoader, InputStream inputStream) in ClassLoaderObjectInputStream()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifReader.java38 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, IOException { in read()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/instrumentation/
DSettingsIntelligenceLogWriterTest.java63 final DataInputStream inputStream = new DataInputStream(bin); in serialize_hasSizeOne_returnCorrectData() local
/packages/services/Telephony/tests/src/com/android/phone/ecc/
DEccDataTest.java73 private static byte[] readInputStreamToByteArray(InputStream inputStream) throws IOException { in readInputStreamToByteArray()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/archives/
DArchiveFileTestRule.java122 try (InputStream inputStream = InstrumentationRegistry.getInstrumentation() in dumpAssetFile()
164 public static String getStringFromInputStream(InputStream inputStream) throws IOException { in getStringFromInputStream()
DWriteableArchiveTest.java263 final InputStream inputStream = zip.getInputStream(entry); in testAddFile() local
292 final InputStream inputStream = zip.getInputStream(entry); in testAddFile_empty() local
DArchiveHandleTest.java342 InputStream inputStream = archiveHandle.getInputStream( in closeInputStream_zipFile_shouldBeSuccess() local
377 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_zipFile_shouldHaveTheSameContent() local
463 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_sevenZFile_shouldHaveTheSameContent() local
482 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_tarGzFile_shouldHaveTheSameContent() local
542 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_tarBrotliFile_shouldHaveTheSameContent() local
DTestUtils.java71 final InputStream inputStream = in getSeekableDescriptor()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifReader.java44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifReader.java45 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifReader.java44 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DNetworkUriImageRequest.java86 InputStream inputStream = null; in loadBitmapInternal() local
DImageRequest.java156 final InputStream inputStream = getInputStreamForResource(); in loadBitmapInternal() local
193 final InputStream inputStream = getInputStreamForResource(); in loadBitmapInternal() local
DGifImageResource.java40 public static GifImageResource createGifImageResource(String key, InputStream inputStream) { in createGifImageResource()
/packages/apps/Car/Cluster/src/android/car/cluster/
DSocketThread.java42 SocketThread(Handler handler, ServerSocket serverSocket, InputStream inputStream, in SocketThread()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/
DCopyAndResizeImageWorker.java65 try (InputStream inputStream = context.getContentResolver().openInputStream(input)) { in doInBackground()
/packages/apps/DocumentsUI/src/com/android/documentsui/archives/
DReadableArchive.java230 final ParcelFileDescriptor.AutoCloseInputStream inputStream = in createForParcelFileDescriptor()
304 InputStream inputStream = null; in openDocumentThumbnail() local

1234