/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | WfaCertBuilder.java | 53 FileInputStream fis = new FileInputStream(certFile); in loadCertsFromDisk() local 54 Certificate cert = certFactory.generateCertificate(fis); in loadCertsFromDisk() 58 fis.close(); in loadCertsFromDisk()
|
/frameworks/base/tests/net/common/java/android/net/ |
D | NetworkTest.java | 63 final FileInputStream fis = new FileInputStream(devNull); in testBindSocketOfNonSocketFdThrows() local 64 assertTrue(null != fis.getFD()); in testBindSocketOfNonSocketFdThrows() 65 assertTrue(fis.getFD().valid()); in testBindSocketOfNonSocketFdThrows() 68 mNetwork.bindSocket(fis.getFD()); in testBindSocketOfNonSocketFdThrows()
|
/frameworks/base/services/core/java/com/android/server/timezone/ |
D | PackageStatusStorage.java | 129 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getPackageStatusLocked() argument 130 XmlPullParser parser = parseToPackageStatusTag(fis); in getPackageStatusLocked() 254 try (FileInputStream fis = mPackageStatusFile.openRead()) { in getCurrentOptimisticLockId() argument 255 XmlPullParser parser = parseToPackageStatusTag(fis); in getCurrentOptimisticLockId() 265 private static XmlPullParser parseToPackageStatusTag(FileInputStream fis) in parseToPackageStatusTag() argument 269 parser.setInput(fis, StandardCharsets.UTF_8.name()); in parseToPackageStatusTag()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | SysuiTestCase.java | 100 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand() local 101 while (fis.read() != -1); in runShellCommand() 102 fis.close(); in runShellCommand()
|
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/ |
D | ShellHelper.java | 52 try(FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd)) { in runShellCommandRaw() argument 54 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommandRaw()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AppWarnings.java | 513 FileInputStream fis = null; in readConfigFromFileAmsThread() local 516 fis = mConfigFile.openRead(); in readConfigFromFileAmsThread() 519 parser.setInput(fis, StandardCharsets.UTF_8.name()); in readConfigFromFileAmsThread() 560 if (fis != null) Slog.w(TAG, "Error reading package metadata", e); in readConfigFromFileAmsThread() 562 if (fis != null) { in readConfigFromFileAmsThread() 564 fis.close(); in readConfigFromFileAmsThread()
|
D | CompatModePackages.java | 92 FileInputStream fis = null; in CompatModePackages() local 94 fis = mFile.openRead(); in CompatModePackages() 96 parser.setInput(fis, StandardCharsets.UTF_8.name()); in CompatModePackages() 135 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e); in CompatModePackages() 137 if (fis != null) { in CompatModePackages() 139 fis.close(); in CompatModePackages()
|
/frameworks/base/tests/BackgroundDexOptServiceIntegrationTests/src/com/android/server/pm/ |
D | BackgroundDexOptServiceIntegrationTests.java | 150 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in runShellCommand() local 152 while ((bytesRead = fis.read(buf)) != -1) { in runShellCommand() 155 fis.close(); in runShellCommand()
|
/frameworks/base/graphics/java/android/graphics/fonts/ |
D | Font.java | 111 try (FileInputStream fis = new FileInputStream(path)) { in Builder() argument 112 final FileChannel fc = fis.getChannel(); in Builder() 138 try (FileInputStream fis = new FileInputStream(fd.getFileDescriptor())) { in Builder() argument 139 final FileChannel fc = fis.getChannel(); in Builder()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 39 private SocketInputStream fis; field in LocalSocketImpl 326 if (fis == null) { in getInputStream() 327 fis = new SocketInputStream(); in getInputStream() 330 return fis; in getInputStream()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | PackageInstallerSessionTest.java | 220 FileInputStream fis = null; in restoreSessions() local 222 fis = mSessionsFile.openRead(); in restoreSessions() 224 in.setInput(fis, StandardCharsets.UTF_8.name()); in restoreSessions() 250 IoUtils.closeQuietly(fis); in restoreSessions()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 249 final FileInputStream fis; in run() local 258 fis = new FileInputStream(readFd.getFileDescriptor()); in run() 271 while ((size=fis.read(buffer)) > 0) { in run()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/backup/ |
D | ProcessedPackagesJournalTest.java | 144 try (FileInputStream fis = new FileInputStream(journal); in readJournalPackages() argument 145 DataInputStream dis = new DataInputStream(fis)) { in readJournalPackages()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 991 FileInputStream fis = null; in readHistoricalDataImpl() local 993 fis = mContext.openFileInput(mHistoryFileName); in readHistoricalDataImpl() 1002 parser.setInput(fis, StandardCharsets.UTF_8.name()); in readHistoricalDataImpl() 1051 if (fis != null) { in readHistoricalDataImpl() 1053 fis.close(); in readHistoricalDataImpl()
|
/frameworks/base/core/tests/coretests/src/android/graphics/ |
D | FontFileUtilTest.java | 78 try (FileInputStream fis = new FileInputStream(file)) { in mmap() argument 79 FileChannel channel = fis.getChannel(); in mmap()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 839 FileInputStream fis = new FileInputStream(fd); in decodeFileDescriptor() local 841 bm = decodeStreamInternal(fis, outPadding, opts); in decodeFileDescriptor() 844 fis.close(); in decodeFileDescriptor()
|
/frameworks/base/services/core/java/com/android/server/firewall/ |
D | IntentFirewall.java | 307 FileInputStream fis; in readRules() local 309 fis = new FileInputStream(rulesFile); in readRules() 318 parser.setInput(fis, null); in readRules() 362 fis.close(); in readRules()
|
/frameworks/base/services/core/java/com/android/server/ |
D | SystemUpdateManagerService.java | 132 try (FileInputStream fis = mFile.openRead()) { in loadSystemUpdateInfoLocked() argument 134 parser.setInput(fis, StandardCharsets.UTF_8.name()); in loadSystemUpdateInfoLocked()
|
/frameworks/base/core/java/android/app/backup/ |
D | BlobBackupHelper.java | 93 FileInputStream fis = new FileInputStream(oldStateFd.getFileDescriptor()); in readOldState() local 94 DataInputStream in = new DataInputStream(fis); in readOldState()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | AdditionalSubtypeUtils.java | 209 try (FileInputStream fis = subtypesFile.openRead()) { in load() argument 211 parser.setInput(fis, StandardCharsets.UTF_8.name()); in load()
|
/frameworks/base/services/usage/java/com/android/server/usage/ |
D | AppIdleHistory.java | 522 FileInputStream fis = null; in readAppIdleTimes() local 525 fis = appIdleFile.openRead(); in readAppIdleTimes() 527 parser.setInput(fis, StandardCharsets.UTF_8.name()); in readAppIdleTimes() 583 IoUtils.closeQuietly(fis); in readAppIdleTimes()
|
/frameworks/base/core/java/android/content/res/ |
D | AssetManager.java | 238 final FileInputStream fis; in loadStaticRuntimeOverlays() local 240 fis = new FileInputStream("/data/resource-cache/overlays.list"); in loadStaticRuntimeOverlays() 252 try (final BufferedReader br = new BufferedReader(new InputStreamReader(fis)); in loadStaticRuntimeOverlays() 253 final FileLock flock = fis.getChannel().lock(0, Long.MAX_VALUE, true /*shared*/)) { in loadStaticRuntimeOverlays() 262 IoUtils.closeQuietly(fis); in loadStaticRuntimeOverlays()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 369 final FileInputStream fis = new FileInputStream(file); in readFile() local 370 final BufferedInputStream bis = new BufferedInputStream(fis); in readFile()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 651 FileInputStream fis = mJobsFile.openRead(); in run() local 653 jobs = readJobMapImpl(fis, rtcGood); in run() 673 fis.close(); in run() 690 private List<JobStatus> readJobMapImpl(FileInputStream fis, boolean rtcIsGood) in readJobMapImpl() argument 693 parser.setInput(fis, StandardCharsets.UTF_8.name()); in readJobMapImpl()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbProfileGroupSettingsManager.java | 330 FileInputStream fis = null; in upgradeSingleUserLocked() local 332 fis = new FileInputStream(sSingleUserSettingsFile); in upgradeSingleUserLocked() 334 parser.setInput(fis, StandardCharsets.UTF_8.name()); in upgradeSingleUserLocked() 348 IoUtils.closeQuietly(fis); in upgradeSingleUserLocked()
|