/packages/services/Car/tests/carservice_test/src/com/android/car/audio/ |
D | CarAudioFadeConfigurationHelperTest.java | 50 try (InputStream inputStream = mContext.getResources().openRawResource( in constructor() 69 try (InputStream inputStream = mContext.getResources().openRawResource( in constructor_withNoConfigs_fails() 82 try (InputStream inputStream = mContext.getResources().openRawResource( in constructor_configWithNoName_fails() 95 try (InputStream inputStream = mContext.getResources().openRawResource( in constructor_configWithEmptyName_fails()
|
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/ |
D | AggregateEncryptionKeyFetcherTest.java | 186 InputStream inputStream = new ByteArrayInputStream( in testInvalidResponseBodyJson() local 212 InputStream inputStream = new ByteArrayInputStream( in testMissingCacheControlHeader() local 229 InputStream inputStream = new ByteArrayInputStream( in testMissingAgeHeader() local 261 InputStream inputStream = new ByteArrayInputStream( in testBrokenAgeHeader() local 294 InputStream inputStream = new ByteArrayInputStream( in testCachedAgeGreaterThanMaxAge() local
|
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/topics/classifier/ |
D | ModelManager.java | 299 FileInputStream inputStream = in retrieveModel() local 346 InputStream inputStream = null; // InputStream.nullInputStream() is not available on S-. in retrieveLabels() local 366 @NonNull ImmutableList.Builder<Integer> labels, @NonNull InputStream inputStream) { in getLabelsList() 404 InputStream inputStream = null; in retrieveAppClassificationTopics() local 428 @NonNull InputStream inputStream) { in getAppsTopicMap() 503 InputStream inputStream = null; in retrieveClassifierAssetsMetadata() local 528 @NonNull InputStream inputStream) { in getAssetsMetadataMap() 631 InputStream inputStream = null; // InputStream.nullInputStream() is not available on S-. in retrieveClassifierInputConfig() local 648 private ClassifierInputConfig getClassifierInputConfig(@NonNull InputStream inputStream) { in getClassifierInputConfig() 711 InputStream inputStream = null; in readDownloadedFile() 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 | 38 val inputStream = context.resources.openRawResource(R.raw.config_valid) in validConfig_matchesExpected() constant
|
D | ParserConfigInvalidTest.kt | 48 val inputStream = context.resources.openRawResource(params.configResourceId) in toString() constant
|
/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 135 InputStream inputStream = openInputStream(); in decodeBitmap() local 291 InputStream inputStream = openInputStream(); in calculateRawDimensions() local 317 InputStream inputStream = null; in openBitmapRegionDecoder() local 340 private void closeInputStream(InputStream inputStream, String errorMessage) { in closeInputStream() 359 void onInputStreamOpened(@Nullable InputStream inputStream); in onInputStreamOpened()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/map/ |
D | BluetoothMapSmsPduTest.java | 124 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getSubmitPdus_withTypeGSM_whenMsgCountIsMoreThanOne() local 151 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getSubmitPdus_withTypeCDMA() local 178 InputStream inputStream = new ByteArrayInputStream(encodedMessageSms); in getDeliverPdus_withTypeGSM() local 207 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 102 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/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/ |
D | Compressor.java | 41 FileInputStream inputStream = new FileInputStream(source); in compress() local 63 ZipInputStream inputStream = new ZipInputStream(new FileInputStream(zip)); in decompress() local
|
/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 | 313 InputStream inputStream = SdkLevel.isAtLeastT() ? FileInputStream.nullInputStream() : null; in testRetrieveLabels_downloaded_emptyListReturnedOnException() local 755 InputStream inputStream = SdkLevel.isAtLeastT() ? FileInputStream.nullInputStream() : null; in testRetrieveClassifierInputConfig_downloaded_emptyConfigReturnedOnException() local 779 InputStream inputStream = in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigField() local 810 InputStream inputStream = in testRetrieveClassifierInputConfig_emptyConfigReturnedOnInvalidConfigFormat() local
|
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/ |
D | FileUtils.java | 73 try (BufferedInputStream inputStream = new BufferedInputStream(new FileInputStream(file))) { in readFileAsByteArray() 87 InputStream inputStream = new ParcelFileDescriptor.AutoCloseInputStream(fd); in readFileDescriptorAsByteArray() 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/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
|