Home
last modified time | relevance | path

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

/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java74 InputStream fileStream; in testNoTimestamp() local
75 fileStream = mTestResources.openRawResource( in testNoTimestamp()
77 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testNoTimestamp()
96 InputStream fileStream; in testMissedCall() local
97 fileStream = mTestResources.openRawResource( in testMissedCall()
99 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testMissedCall()
117 InputStream fileStream; in testUnknownCall() local
118 fileStream = mTestResources.openRawResource( in testUnknownCall()
120 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testUnknownCall()
140 InputStream fileStream; in testPullPhoneBook() local
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java129 InputStream fileStream = null; in onStartJob()
131 fileStream = new FileInputStream(parcelFd.getFileDescriptor()); in onStartJob()
132 lockBitmap = BitmapFactory.decodeStream(fileStream); in onStartJob()
137 if (fileStream != null) { in onStartJob()
139 fileStream.close(); in onStartJob()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperRefresher.java248 InputStream fileStream = null; in getLockWallpaperBitmap() local
250 fileStream = new FileInputStream(pfd.getFileDescriptor()); in getLockWallpaperBitmap()
251 lockBitmap = BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()
257 if (fileStream != null) { in getLockWallpaperBitmap()
259 fileStream.close(); in getLockWallpaperBitmap()
DDefaultWallpaperPersister.java805 InputStream fileStream = null; in saveLockWallpaperHashCode() local
807 fileStream = new FileInputStream(parcelFd.getFileDescriptor()); in saveLockWallpaperHashCode()
808 lockBitmap = BitmapFactory.decodeStream(fileStream); in saveLockWallpaperHashCode()
813 if (fileStream != null) { in saveLockWallpaperHashCode()
815 fileStream.close(); in saveLockWallpaperHashCode()
/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/modules/CaptivePortalLogin/tests/src/com/android/captiveportallogin/
DDownloadServiceTest.kt357 val fileStream = contentResolver.openInputStream(testFile) in onCreate() constant
359 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java564 InputStream fileStream = Files.newInputStream(Paths.get(filePathString)); in readHashFile() local
566 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()