Home
last modified time | relevance | path

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

12345678

/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateEncryptionKeyFetcherTest.java107 InputStream inputStream = new ByteArrayInputStream( in testInvalidResponseBodyJson() local
123 InputStream inputStream = new ByteArrayInputStream( in testMissingCacheControlHeader() local
138 InputStream inputStream = new ByteArrayInputStream( in testMissingAgeHeader() local
168 InputStream inputStream = new ByteArrayInputStream( in testBrokenAgeHeader() local
199 InputStream inputStream = new ByteArrayInputStream( in testCachedAgeGreaterThanMaxAge() local
/packages/modules/Wifi/service/java/com/android/server/wifi/entitlement/http/
DStreamUtils.java36 public static String inputStreamToString(@Nullable InputStream inputStream) throws IOException { in inputStreamToString()
52 public static String inputStreamToStringSafe(@Nullable InputStream inputStream) { in inputStreamToStringSafe()
61 public static String inputStreamToGunzipString(InputStream inputStream) throws IOException { in inputStreamToGunzipString()
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigOverlayTest.kt39 val inputStream = context.resources.openRawResource(R.raw.config_valid_not_overlayable) in <lambda>() constant
73 val inputStream = context.resources.openRawResource(R.raw.config_valid_overlayable) in <lambda>() constant
104 val inputStream = in <lambda>() constant
DParserConfigValidTest.kt37 val inputStream = context.resources.openRawResource(R.raw.config_valid) in validConfig_matchesExpected() constant
DParserConfigInvalidTest.kt47 val inputStream = context.resources.openRawResource(params.configResourceId) in toString() constant
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/
DModelManager.java274 FileInputStream inputStream = in retrieveModel() local
313 InputStream inputStream = null; // InputStream.nullInputStream() is not available on S-. in retrieveLabels() local
329 @NonNull ImmutableList.Builder<Integer> labels, @NonNull InputStream inputStream) { in getLabelsList()
363 InputStream inputStream = null; in retrieveAppClassificationTopics() local
383 @NonNull InputStream inputStream) { in getAppsTopicMap()
451 InputStream inputStream = null; in retrieveClassifierAssetsMetadata() local
472 @NonNull InputStream inputStream) { in getAssetsMetadataMap()
562 InputStream inputStream = null; // InputStream.nullInputStream() is not available on S-. in retrieveClassifierInputConfig() local
579 private ClassifierInputConfig getClassifierInputConfig(@NonNull InputStream inputStream) { in getClassifierInputConfig()
642 InputStream inputStream = null; in readDownloadedFile() local
DCommonClassifierHelper.java76 try (InputStream inputStream = assetManager.open(classifierAssetsMetadataPath)) { in computeClassifierAssetChecksum()
245 InputStream inputStream = null; // InputStream.nullInputStream() is not available on S-. in getBundledModelBuildId() local
/packages/apps/UniversalMediaPlayer/java/com/android/pump/util/
DIoUtils.java40 InputStream inputStream = new FileInputStream(file); in readFromFile() local
50 InputStream inputStream = assetFileDescriptor.createInputStream(); in readFromAssetFileDescriptor() local
58 public static @NonNull byte[] readFromStream(@NonNull InputStream inputStream) in readFromStream()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/asset/
DStreamableAsset.java108 InputStream inputStream = openInputStream(); in decodeBitmap() local
130 InputStream inputStream = openInputStream(); in decodeBitmap() local
283 InputStream inputStream = openInputStream(); in calculateRawDimensions() local
309 InputStream inputStream = null; in openBitmapRegionDecoder() local
332 private void closeInputStream(InputStream inputStream, String errorMessage) { in closeInputStream()
351 void onInputStreamOpened(@Nullable InputStream inputStream); in onInputStreamOpened()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/
DBluetoothMapSmsPduTest.java121 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getSubmitPdus_withTypeGSM_whenMsgCountIsMoreThanOne() local
148 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getSubmitPdus_withTypeCDMA() local
181 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getDeliverPdus_withTypeGSM() local
206 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getDeliverPdus_withTypeCDMA() local
DBluetoothMapbMessageEmailTest.java53 InputStream inputStream = new ByteArrayInputStream(encodedMessageEmail); in encodeToByteArray_thenCreateByParsing() local
70 InputStream inputStream = new ByteArrayInputStream(encodedMessageEmail); in encodeToByteArray_withEmptyBody_thenCreateByParsing() local
DBluetoothMapbMessageSmsTest.java85 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in encodeToByteArray_thenAddByParsing() local
109 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in encodeToByteArray_withEmptyMessage_thenAddByParsing() local
/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/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/bip/
DBipImage.java34 public BipImage(String imageHandle, InputStream inputStream) { in BipImage()
44 private void parse(InputStream inputStream) { in parse()
/packages/apps/Messaging/src/com/android/messaging/util/
DUriUtil.java200 public static Uri persistContentToScratchSpace(final InputStream inputStream) { in persistContentToScratchSpace()
213 InputStream inputStream = null; in persistContentToScratchSpace() local
264 final InputStream inputStream, final File outputDir, final String contentType) { in persistContent()
288 InputStream inputStream = null; in persistContent() local
318 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/modules/IPsec/tests/iketests/src/java/com/android/internal/net/ipsec/ike/testutils/
DCertUtils.java45 InputStream inputStream = in createCertFromPemFile() local
55 InputStream inputStream = in createRsaPrivateKeyFromKeyFile() local
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/topics/classifier/
DModelManagerTest.java305 InputStream inputStream = SdkLevel.isAtLeastT() ? FileInputStream.nullInputStream() : null; in testRetrieveLabels_downloaded_emptyListReturnedOnException() local
718 InputStream inputStream = SdkLevel.isAtLeastT() ? FileInputStream.nullInputStream() : null; in testRetrieveClassifierInputConfig_downloaded_emptyConfigReturnedOnException() local
742 InputStream inputStream = in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigField() local
773 InputStream inputStream = in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigFormat() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DArchiveHandleTest.java338 InputStream inputStream = archiveHandle.getInputStream( in closeInputStream_zipFile_shouldBeSuccess() local
373 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_zipFile_shouldHaveTheSameContent() local
459 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_sevenZFile_shouldHaveTheSameContent() local
478 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_tarGzFile_shouldHaveTheSameContent() local
538 InputStream inputStream = archiveHandle.getInputStream( in getInputStream_tarBrotliFile_shouldHaveTheSameContent() local
DArchiveFileTestRule.java122 try (InputStream inputStream = InstrumentationRegistry.getInstrumentation() in dumpAssetFile()
164 public static String getStringFromInputStream(InputStream inputStream) throws IOException { in getStringFromInputStream()
DWriteableArchiveTest.java262 final InputStream inputStream = zip.getInputStream(entry); in testAddFile() local
291 final InputStream inputStream = zip.getInputStream(entry); in testAddFile_empty() local
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/data/glide/
DPickerThumbnailFetcher.java81 final InputStream inputStream; in loadData() local
96 InputStream inputStream = afd.createInputStream(); in getOrientationInputStream() local
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointXmlUtilsTest.java219 final ByteArrayInputStream inputStream = in serializeAndDeserializePasspointConfiguration() local
273 final ByteArrayInputStream inputStream = in deserializePasspointConfigurationWithUnknownTag() local
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DImageRequest.java156 final InputStream inputStream = getInputStreamForResource(); in loadBitmapInternal() local
193 final InputStream inputStream = getInputStreamForResource(); in loadBitmapInternal() local
/packages/modules/Wifi/service/java/com/android/server/wifi/util/
DIpConfigStore.java70 InputStream inputStream) { in readIpAndProxyConfigurations()
87 InputStream inputStream) { in readIpConfigurations()

12345678