Searched refs:fileStream (Results 1 – 7 of 7) sorted by relevance
69 InputStream fileStream; in testNoTimestamp() local70 fileStream = mTestResources.openRawResource( in testNoTimestamp()72 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testNoTimestamp()91 InputStream fileStream; in testMissedCall() local92 fileStream = mTestResources.openRawResource( in testMissedCall()94 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testMissedCall()112 InputStream fileStream; in testUnknownCall() local113 fileStream = mTestResources.openRawResource( in testUnknownCall()115 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testUnknownCall()135 InputStream fileStream; in testPullPhoneBook() local[all …]
136 InputStream fileStream = null; in onStartJob()138 fileStream = new FileInputStream(parcelFd.getFileDescriptor()); in onStartJob()139 lockBitmap = BitmapFactory.decodeStream(fileStream); in onStartJob()144 if (fileStream != null) { in onStartJob()146 fileStream.close(); in onStartJob()
273 InputStream fileStream = null; in getLockWallpaperBitmap() local275 fileStream = new FileInputStream(pfd.getFileDescriptor()); in getLockWallpaperBitmap()276 lockBitmap = BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()282 if (fileStream != null) { in getLockWallpaperBitmap()284 fileStream.close(); in getLockWallpaperBitmap()
869 try (InputStream fileStream = new FileInputStream(parcelFd.getFileDescriptor())) { in getLockWallpaperBitmap() argument870 return BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()
51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES); in init() local53 sProperties.load(fileStream); in init()54 fileStream.close(); in init()
534 val fileStream = contentResolver.openInputStream(testFile) in onCreate() constant536 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
551 InputStream fileStream = Files.newInputStream(Paths.get(filePathString)); in readHashFile() local552 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()