Home
last modified time | relevance | path

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

1234

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImage.java34 public BipImage(String imageHandle, InputStream inputStream) { in BipImage()
44 private void parse(InputStream inputStream) { in parse()
DBipImageDescriptor.java188 public BipImageDescriptor(InputStream inputStream) { in BipImageDescriptor()
192 private void parse(InputStream inputStream) { in parse()
/packages/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java42 InputStream inputStream = in createCertFromPemFile() local
52 InputStream inputStream = in createRsaPrivateKeyFromKeyFile() local
/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/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()
274 InputStream inputStream = openInputStream(); in doInBackground() local
DExifInterfaceCompat.java29 public ExifInterfaceCompat(InputStream inputStream) throws IOException { in ExifInterfaceCompat()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java195 public static Uri persistContentToScratchSpace(final InputStream inputStream) { in persistContentToScratchSpace()
208 InputStream inputStream = null; in persistContentToScratchSpace() local
241 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
265 InputStream inputStream = null; in persistContent() local
294 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 try (final InputStream inputStream = cr.openInputStream(mUri)) { in recodeImage()
891 final InputStream inputStream = cr.openInputStream(imageUri); in decodeImageBounds() local
/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/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifReader.java38 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, IOException { in read()
/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/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/util/exif/
DExifReader.java45 protected ExifData read(InputStream inputStream) throws ExifInvalidFormatException, in read()
/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/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