Searched refs:fileStream (Results 1 – 7 of 7) sorted by relevance
74 InputStream fileStream; in testNoTimestamp() local75 fileStream = mTestResources.openRawResource( in testNoTimestamp()77 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testNoTimestamp()96 InputStream fileStream; in testMissedCall() local97 fileStream = mTestResources.openRawResource( in testMissedCall()99 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testMissedCall()117 InputStream fileStream; in testUnknownCall() local118 fileStream = mTestResources.openRawResource( in testUnknownCall()120 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testUnknownCall()140 InputStream fileStream; in testPullPhoneBook() local[all …]
129 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()
248 InputStream fileStream = null; in getLockWallpaperBitmap() local250 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()
805 InputStream fileStream = null; in saveLockWallpaperHashCode() local807 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()
51 final InputStream fileStream = context.getAssets().open(EXTENSIONS_PROPERTIES); in init() local53 sProperties.load(fileStream); in init()54 fileStream.close(); in init()
343 val fileStream = contentResolver.openInputStream(testFile) in onCreate() constant345 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
564 InputStream fileStream = Files.newInputStream(Paths.get(filePathString)); in readHashFile() local566 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()