/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
H A D | WfaCertBuilder.java | 53 FileInputStream fis = new FileInputStream(certFile); 54 Certificate cert = certFactory.generateCertificate(fis); 58 fis.close();
|
/frameworks/support/room/migration/src/main/java/androidx/room/migration/bundle/ |
H A D | SchemaBundle.java | 73 public static SchemaBundle deserialize(InputStream fis) argument 75 InputStreamReader is = new InputStreamReader(fis, CHARSET); 80 safeClose(fis);
|
/frameworks/data-binding/gradlePlugin/src/main/java/android/databinding/tool/ |
H A D | DataBindingExcludeGeneratedTask.java | 111 FileInputStream fis = null; 113 fis = new FileInputStream(generatedClassListFile); 114 return IOUtils.readLines(fis); 122 IOUtils.closeQuietly(fis);
|
/frameworks/base/tests/net/java/android/net/ |
H A D | NetworkTest.java | 66 final FileInputStream fis = new FileInputStream(devNull); 67 assertTrue(null != fis.getFD()); 68 assertTrue(fis.getFD().valid()); 71 mNetwork.bindSocket(fis.getFD());
|
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/ |
H A D | DataBindingBuilder.java | 130 FileInputStream fis = null; 132 fis = new FileInputStream(generatedClassListFile); 133 return IOUtils.readLines(fis); 141 IOUtils.closeQuietly(fis);
|
/frameworks/support/compat/src/main/java/androidx/core/graphics/ |
H A D | TypefaceCompatUtil.java | 82 try (FileInputStream fis = new FileInputStream(file)) { 83 FileChannel channel = fis.getChannel(); 102 try (FileInputStream fis = new FileInputStream(pfd.getFileDescriptor())) { 103 FileChannel channel = fis.getChannel();
|
H A D | TypefaceCompatApi21Impl.java | 77 try (FileInputStream fis = new FileInputStream(pfd.getFileDescriptor())) { 78 return super.createFromInputStream(context, fis);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
H A D | SysuiTestCase.java | 97 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); 98 while (fis.read() != -1); 99 fis.close();
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
H A D | PackageStatusStorage.java | 129 try (FileInputStream fis = mPackageStatusFile.openRead()) { 130 XmlPullParser parser = parseToPackageStatusTag(fis); 254 try (FileInputStream fis = mPackageStatusFile.openRead()) { 255 XmlPullParser parser = parseToPackageStatusTag(fis); 265 private static XmlPullParser parseToPackageStatusTag(FileInputStream fis) argument 269 parser.setInput(fis, StandardCharsets.UTF_8.name());
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | AppWarnings.java | 513 FileInputStream fis = null; 516 fis = mConfigFile.openRead(); 519 parser.setInput(fis, StandardCharsets.UTF_8.name()); 560 if (fis != null) Slog.w(TAG, "Error reading package metadata", e); 562 if (fis != null) { 564 fis.close();
|
H A D | CompatModePackages.java | 88 FileInputStream fis = null; 90 fis = mFile.openRead(); 92 parser.setInput(fis, StandardCharsets.UTF_8.name()); 131 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e); 133 if (fis != null) { 135 fis.close();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
H A D | ProcessedPackagesJournalTest.java | 143 try (FileInputStream fis = new FileInputStream(journal); 144 DataInputStream dis = new DataInputStream(fis)) {
|
/frameworks/base/core/java/android/net/ |
H A D | LocalSocketImpl.java | 38 private SocketInputStream fis; field in class:LocalSocketImpl 356 if (fis == null) { 357 fis = new SocketInputStream(); 360 return fis;
|
/frameworks/base/core/java/com/android/internal/os/ |
H A D | TransferPipe.java | 249 final FileInputStream fis; 258 fis = new FileInputStream(readFd.getFileDescriptor()); 271 while ((size=fis.read(buffer)) > 0) {
|
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/migration/ |
H A D | JournalDbPostMigrationTest.java | 159 InputStream fis = InstrumentationRegistry.getContext().getAssets().open(path); 163 while ((length = fis.read(buffer)) > 0) { 167 fis.close();
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | BitmapFactory.java | 801 FileInputStream fis = new FileInputStream(fd); 803 bm = decodeStreamInternal(fis, outPadding, opts); 806 fis.close();
|
/frameworks/base/core/java/android/app/backup/ |
H A D | BlobBackupHelper.java | 93 FileInputStream fis = new FileInputStream(oldStateFd.getFileDescriptor()); 94 DataInputStream in = new DataInputStream(fis);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | SystemUpdateManagerService.java | 132 try (FileInputStream fis = mFile.openRead()) { 134 parser.setInput(fis, StandardCharsets.UTF_8.name());
|
/frameworks/base/core/java/android/widget/ |
H A D | ActivityChooserModel.java | 984 FileInputStream fis = null; 986 fis = mContext.openFileInput(mHistoryFileName); 995 parser.setInput(fis, StandardCharsets.UTF_8.name()); 1044 if (fis != null) { 1046 fis.close();
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ActivityChooserModel.java | 964 FileInputStream fis = null; 966 fis = mContext.openFileInput(mHistoryFileName); 975 parser.setInput(fis, "UTF-8"); 1024 if (fis != null) { 1026 fis.close();
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
H A D | IntentFirewall.java | 307 FileInputStream fis; 309 fis = new FileInputStream(rulesFile); 318 parser.setInput(fis, null); 362 fis.close();
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | FileRotator.java | 369 final FileInputStream fis = new FileInputStream(file); 370 final BufferedInputStream bis = new BufferedInputStream(fis);
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetManager.java | 219 final FileInputStream fis; 221 fis = new FileInputStream("/data/resource-cache/overlays.list"); 233 try (final BufferedReader br = new BufferedReader(new InputStreamReader(fis)); 234 final FileLock flock = fis.getChannel().lock(0, Long.MAX_VALUE, true /*shared*/)) { 243 IoUtils.closeQuietly(fis);
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
H A D | AppIdleHistory.java | 517 FileInputStream fis = null; 520 fis = appIdleFile.openRead(); 522 parser.setInput(fis, StandardCharsets.UTF_8.name()); 578 IoUtils.closeQuietly(fis);
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
H A D | UsbProfileGroupSettingsManager.java | 323 FileInputStream fis = null; 325 fis = new FileInputStream(sSingleUserSettingsFile); 327 parser.setInput(fis, StandardCharsets.UTF_8.name()); 341 IoUtils.closeQuietly(fis);
|