/frameworks/base/services/core/java/com/android/server/am/ |
D | CompatModePackages.java | 83 FileInputStream fis = null; in CompatModePackages() local 85 fis = mFile.openRead(); in CompatModePackages() 87 parser.setInput(fis, null); in CompatModePackages() 126 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e); in CompatModePackages() 128 if (fis != null) { in CompatModePackages() 130 fis.close(); in CompatModePackages()
|
D | ActivityManagerService.java | 7755 FileInputStream fis = null; in readGrantedUriPermissionsLocked() local 7757 fis = mGrantFile.openRead(); in readGrantedUriPermissionsLocked() 7759 in.setInput(fis, null); in readGrantedUriPermissionsLocked() 7815 IoUtils.closeQuietly(fis); in readGrantedUriPermissionsLocked() 11041 FileInputStream fis = null; 11043 fis = new FileInputStream(file); 11044 DataInputStream dis = new DataInputStream(new BufferedInputStream(fis, 2048)); 11066 if (fis != null) { 11068 fis.close();
|
/frameworks/base/services/core/java/com/android/server/lights/ |
D | LightsService.java | 136 FileInputStream fis = new FileInputStream(FLASHLIGHT_FILE); 137 int result = fis.read(); 138 fis.close();
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 35 private SocketInputStream fis; field in LocalSocketImpl 348 if (fis == null) { in getInputStream() 349 fis = new SocketInputStream(); in getInputStream() 352 return fis; in getInputStream()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 186 final FileInputStream fis; in run() local 195 fis = new FileInputStream(readFd.getFileDescriptor()); in run() 208 while ((size=fis.read(buffer)) > 0) { in run()
|
D | BatteryStatsHelper.java | 979 FileInputStream fis = new ParcelFileDescriptor.AutoCloseInputStream(pfd); in getStats() local 981 byte[] data = readFully(fis, MemoryFile.getSize(pfd.getFileDescriptor())); in getStats()
|
/frameworks/volley/src/com/android/volley/toolbox/ |
D | DiskBasedCache.java | 152 FileInputStream fis = null; in initialize() local 154 fis = new FileInputStream(file); in initialize() 155 CacheHeader entry = CacheHeader.readHeader(fis); in initialize() 164 if (fis != null) { in initialize() 165 fis.close(); in initialize()
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 674 FileInputStream fis = new FileInputStream(fd); in decodeFileDescriptor() local 676 bm = decodeStreamInternal(fis, outPadding, opts); in decodeFileDescriptor() 679 fis.close(); in decodeFileDescriptor()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 983 FileInputStream fis = null; in readHistoricalDataImpl() local 985 fis = mContext.openFileInput(mHistoryFileName); in readHistoricalDataImpl() 994 parser.setInput(fis, null); in readHistoricalDataImpl() 1043 if (fis != null) { in readHistoricalDataImpl() 1045 fis.close(); in readHistoricalDataImpl()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 964 FileInputStream fis = null; in readHistoricalDataImpl() local 966 fis = mContext.openFileInput(mHistoryFileName); in readHistoricalDataImpl() 975 parser.setInput(fis, null); in readHistoricalDataImpl() 1024 if (fis != null) { in readHistoricalDataImpl() 1026 fis.close(); in readHistoricalDataImpl()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 616 FileInputStream fis = null; in readUserListLocked() local 619 fis = userListFile.openRead(); in readUserListLocked() 621 parser.setInput(fis, null); in readUserListLocked() 679 if (fis != null) { in readUserListLocked() 681 fis.close(); in readUserListLocked() 919 FileInputStream fis = null; in readUserLocked() local 923 fis = userFile.openRead(); in readUserLocked() 925 parser.setInput(fis, null); in readUserLocked() 1011 if (fis != null) { in readUserLocked() 1013 fis.close(); in readUserLocked() [all …]
|
D | PackageInstallerService.java | 306 FileInputStream fis = null; in readSessionsLocked() local 308 fis = mSessionsFile.openRead(); in readSessionsLocked() 310 in.setInput(fis, null); in readSessionsLocked() 352 IoUtils.closeQuietly(fis); in readSessionsLocked()
|
/frameworks/base/services/core/java/com/android/server/job/ |
D | JobStore.java | 425 FileInputStream fis = mJobsFile.openRead(); in run() local 427 jobs = readJobMapImpl(fis); in run() 434 fis.close(); in run() 450 private List<JobStatus> readJobMapImpl(FileInputStream fis) in readJobMapImpl() argument 453 parser.setInput(fis, null); in readJobMapImpl()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 536 FileInputStream fis = null; in readPersistentServicesLocked() local 542 fis = mPersistentServicesFile.openRead(); in readPersistentServicesLocked() 544 parser.setInput(fis, null); in readPersistentServicesLocked() 574 if (fis != null) { in readPersistentServicesLocked() 576 fis.close(); in readPersistentServicesLocked()
|
/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/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/content/ |
D | SyncStorageEngine.java | 1807 FileInputStream fis = null; in readAccountInfoLocked() local 1809 fis = mAccountInfoFile.openRead(); in readAccountInfoLocked() 1814 parser.setInput(fis, null); in readAccountInfoLocked() 1886 if (fis == null) Log.i(TAG, "No initial accounts"); in readAccountInfoLocked() 1891 if (fis != null) { in readAccountInfoLocked() 1893 fis.close(); in readAccountInfoLocked() 2431 FileInputStream fis = null; in readPendingOperationsLocked() local 2439 fis = mPendingFile.openRead(); in readPendingOperationsLocked() 2445 parser.setInput(fis, null); in readPendingOperationsLocked() 2519 if (fis != null) { in readPendingOperationsLocked() [all …]
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | AppCacheTest.java | 185 FileInputStream fis = new FileInputStream(pFile); in openOutFileInAppFilesDir() local 186 fis.read(buffer, 0, count); in openOutFileInAppFilesDir() 187 fis.close(); in openOutFileInAppFilesDir()
|
/frameworks/base/services/usb/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 558 FileInputStream fis = null; in upgradeSingleUserLocked() local 560 fis = new FileInputStream(sSingleUserSettingsFile); in upgradeSingleUserLocked() 562 parser.setInput(fis, null); in upgradeSingleUserLocked() 578 IoUtils.closeQuietly(fis); in upgradeSingleUserLocked()
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 1765 FileInputStream fis = null; 1769 fis = new FileInputStream(f); 1772 Xml.parse(fis, Xml.findEncodingByName("UTF-8"), 1783 if (fis != null) 1784 fis.close();
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1241 FileInputStream fis = null; in readPolicyLocked() local 1243 fis = mPolicyFile.openRead(); in readPolicyLocked() 1245 in.setInput(fis, null); in readPolicyLocked() 1352 IoUtils.closeQuietly(fis); in readPolicyLocked()
|
/frameworks/base/services/core/java/com/android/server/ |
D | InputMethodManagerService.java | 3443 FileInputStream fis = null; in readAdditionalInputMethodSubtypes() local 3445 fis = subtypesFile.openRead(); in readAdditionalInputMethodSubtypes() 3447 parser.setInput(fis, null); in readAdditionalInputMethodSubtypes() 3510 if (fis != null) { in readAdditionalInputMethodSubtypes() 3512 fis.close(); in readAdditionalInputMethodSubtypes()
|