Home
last modified time | relevance | path

Searched refs:fileStream (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java66 InputStream fileStream; in testNoTimestamp() local
67 fileStream = in testNoTimestamp()
72 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30); in testNoTimestamp()
93 InputStream fileStream; in testMissedCall() local
94 fileStream = in testMissedCall()
99 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30); in testMissedCall()
119 InputStream fileStream; in testUnknownCall() local
120 fileStream = in testUnknownCall()
125 mAccount, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30); in testUnknownCall()
147 InputStream fileStream; in testPullPhoneBook() local
[all …]
DBluetoothPbapVcardListTest.java95 InputStream fileStream = in test30ParserWith21Vcard_parsingSucceeds() local
99 ACCOUNT, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30); in test30ParserWith21Vcard_parsingSucceeds()
105 InputStream fileStream = in test21ParserWith30Vcard_parsingSucceeds() local
109 ACCOUNT, fileStream, PbapClientConnectionHandler.VCARD_TYPE_21); in test21ParserWith30Vcard_parsingSucceeds()
115 InputStream fileStream = in test30ParserWithUnsupportedVcardVersion_parsingFails() local
120 ACCOUNT, fileStream, PbapClientConnectionHandler.VCARD_TYPE_30); in test30ParserWithUnsupportedVcardVersion_parsingFails()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java125 InputStream fileStream = null; in onStartJob()
127 fileStream = new FileInputStream(parcelFd.getFileDescriptor()); in onStartJob()
128 lockBitmap = BitmapFactory.decodeStream(fileStream); in onStartJob()
133 if (fileStream != null) { in onStartJob()
135 fileStream.close(); in onStartJob()
/packages/apps/Contacts/src/com/android/contacts/extensions/
DExtensionsFactory.java51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES); in init() local
53 sProperties.load(fileStream); in init()
54 fileStream.close(); in init()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperRefresher.java296 InputStream fileStream = null; in getLockWallpaperBitmap() local
298 fileStream = new FileInputStream(pfd.getFileDescriptor()); in getLockWallpaperBitmap()
299 lockBitmap = BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()
305 if (fileStream != null) { in getLockWallpaperBitmap()
307 fileStream.close(); in getLockWallpaperBitmap()
DDefaultWallpaperPersister.java793 try (InputStream fileStream = new FileInputStream(parcelFd.getFileDescriptor())) { in getLockWallpaperBitmap() argument
794 return BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()
/packages/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt565 val fileStream = contentResolver.openInputStream(testFile) in onCreate() constant
567 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java460 InputStream fileStream = Files.newInputStream(Paths.get(filePathString)); in readHashFile() local
461 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()
/packages/services/Car/service/src/com/android/car/
DICarImpl.java1021 try (FileOutputStream fileStream = new FileOutputStream(fd)) { in dumpServiceProto() argument
1022 ProtoOutputStream proto = new ProtoOutputStream(fileStream); in dumpServiceProto()
/packages/services/Car/service/src/com/android/car/audio/
DCarAudioService.java1844 try (InputStream fileStream = new FileInputStream(mCarAudioConfigurationPath);
1845 InputStream inputStream = new BufferedInputStream(fileStream)) {
1871 try (InputStream fileStream = new FileInputStream(mCarAudioFadeConfigurationPath);
1872 InputStream inputStream = new BufferedInputStream(fileStream)) {