/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyFetcherTest.java | 107 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/ |
D | StreamUtils.java | 36 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/ |
D | ParserConfigOverlayTest.kt | 39 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
|
D | ParserConfigValidTest.kt | 37 val inputStream = context.resources.openRawResource(R.raw.config_valid) in validConfig_matchesExpected() constant
|
D | ParserConfigInvalidTest.kt | 47 val inputStream = context.resources.openRawResource(params.configResourceId) in toString() constant
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | ModelManager.java | 274 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
|
D | CommonClassifierHelper.java | 76 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/ |
D | IoUtils.java | 40 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/ |
D | StreamableAsset.java | 108 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/ |
D | BluetoothMapSmsPduTest.java | 121 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
|
D | BluetoothMapbMessageEmailTest.java | 53 InputStream inputStream = new ByteArrayInputStream(encodedMessageEmail); in encodeToByteArray_thenCreateByParsing() local 70 InputStream inputStream = new ByteArrayInputStream(encodedMessageEmail); in encodeToByteArray_withEmptyBody_thenCreateByParsing() local
|
D | BluetoothMapbMessageSmsTest.java | 85 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/ |
D | IconFactory.java | 87 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/ |
D | BipImage.java | 34 public BipImage(String imageHandle, InputStream inputStream) { in BipImage() 44 private void parse(InputStream inputStream) { in parse()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | UriUtil.java | 200 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()
|
D | ImageUtils.java | 268 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/ |
D | CertUtils.java | 45 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/ |
D | ModelManagerTest.java | 305 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/ |
D | ArchiveHandleTest.java | 338 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
|
D | ArchiveFileTestRule.java | 122 try (InputStream inputStream = InstrumentationRegistry.getInstrumentation() in dumpAssetFile() 164 public static String getStringFromInputStream(InputStream inputStream) throws IOException { in getStringFromInputStream()
|
D | WriteableArchiveTest.java | 262 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/ |
D | PickerThumbnailFetcher.java | 81 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/ |
D | PasspointXmlUtilsTest.java | 219 final ByteArrayInputStream inputStream = in serializeAndDeserializePasspointConfiguration() local 273 final ByteArrayInputStream inputStream = in deserializePasspointConfigurationWithUnknownTag() local
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/ |
D | ImageRequest.java | 156 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/ |
D | IpConfigStore.java | 70 InputStream inputStream) { in readIpAndProxyConfigurations() 87 InputStream inputStream) { in readIpConfigurations()
|