Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pbapclient/
DPbapParserTest.java69 InputStream fileStream; in testNoTimestamp() local
70 fileStream = mTestResources.openRawResource( in testNoTimestamp()
72 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testNoTimestamp()
91 InputStream fileStream; in testMissedCall() local
92 fileStream = mTestResources.openRawResource( in testMissedCall()
94 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testMissedCall()
112 InputStream fileStream; in testUnknownCall() local
113 fileStream = mTestResources.openRawResource( in testUnknownCall()
115 BluetoothPbapVcardList pbapVCardList = new BluetoothPbapVcardList(mAccount, fileStream, in testUnknownCall()
135 InputStream fileStream; in testPullPhoneBook() local
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/backup/
DMissingHashCodeGeneratorJobService.java136 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()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperRefresher.java273 InputStream fileStream = null; in getLockWallpaperBitmap() local
275 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()
DDefaultWallpaperPersister.java869 try (InputStream fileStream = new FileInputStream(parcelFd.getFileDescriptor())) { in getLockWallpaperBitmap() argument
870 return BitmapFactory.decodeStream(fileStream); in getLockWallpaperBitmap()
/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.kt534 val fileStream = contentResolver.openInputStream(testFile) in onCreate() constant
536 val contents = InputStreamReader(fileStream, StandardCharsets.UTF_8).use { in onCreate()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/btservice/bluetoothKeystore/
DBluetoothKeystoreService.java551 InputStream fileStream = Files.newInputStream(Paths.get(filePathString)); in readHashFile() local
552 while ((bytesRead = fileStream.read(dataBuffer)) != -1) { in readHashFile()