Home
last modified time | relevance | path

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

/frameworks/base/tools/locked_region_code_injection/src/lockedregioncodeinjection/
DMain.java78 BufferedInputStream bis = new BufferedInputStream(zipSrc.getInputStream(entry)); in main() local
81 convert(bis, zos, targets); in main()
83 while (bis.available() > 0) { in main()
84 zos.write(bis.read()); in main()
87 bis.close(); in main()
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
DPasspointProvisioningTestUtil.java134 ByteArrayInputStream bis = new ByteArrayInputStream( in getOsuCertsForTest() local
136 Certificate cert = certFactory.generateCertificate(bis); in getOsuCertsForTest()
/frameworks/base/core/tests/bandwidthtests/src/com/android/bandwidthtest/util/
DBandwidthTestUtil.java102 BufferedInputStream bis = new BufferedInputStream(is); in DownloadFromUrl() local
105 while ((current = bis.read()) != -1) { in DownloadFromUrl()
/frameworks/base/packages/StatementService/src/com/android/statementservice/retriever/
DURLFetcher.java140 BufferedInputStream bis = new BufferedInputStream(inputStream); in inputStreamToString() local
143 while ((len = bis.read(buffer)) != -1) { in inputStreamToString()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java370 final BufferedInputStream bis = new BufferedInputStream(fis); in readFile() local
372 reader.read(bis); in readFile()
374 IoUtils.closeQuietly(bis); in readFile()
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/
DWallpaperCropActivity.java281 BufferedInputStream bis = null; in getRotationFromExifHelper() local
287 bis = new BufferedInputStream(is); in getRotationFromExifHelper()
288 ei.readExif(bis); in getRotationFromExifHelper()
291 bis = new BufferedInputStream(is); in getRotationFromExifHelper()
292 ei.readExif(bis); in getRotationFromExifHelper()
304 Utils.closeSilently(bis); in getRotationFromExifHelper()
/frameworks/base/core/java/android/app/backup/
DBlobBackupHelper.java222 ByteArrayInputStream bis = new ByteArrayInputStream(buffer); in checksum() local
225 while ((nRead = bis.read(buf)) >= 0) { in checksum()
/frameworks/base/core/java/android/os/
DFileUtils.java618 BufferedInputStream bis = new BufferedInputStream(input); in readTextFile() local
624 int length = bis.read(data); in readTextFile()
638 len = bis.read(data); in readTextFile()
655 len = bis.read(data); in readTextFile()
661 bis.close(); in readTextFile()
/frameworks/base/packages/ExternalStorageProvider/src/com/android/externalstorage/
DTestDocumentsProvider.java335 final ByteArrayInputStream bis = new ByteArrayInputStream(bos.toByteArray()); in openDocumentThumbnail() local
343 Streams.copy(bis, fos); in openDocumentThumbnail()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java1051 final BufferedInputStream bis = new BufferedInputStream(is); in loadUserInternal() local
1055 parser.setInput(bis, StandardCharsets.UTF_8.name()); in loadUserInternal()