/frameworks/base/services/java/com/android/server/am/ |
D | CompatModePackages.java | 61 FileInputStream fis = null; in CompatModePackages() local 63 fis = mFile.openRead(); in CompatModePackages() 65 parser.setInput(fis, null); in CompatModePackages() 99 if (fis != null) Slog.w(TAG, "Error reading compat-packages", e); in CompatModePackages() 101 if (fis != null) { in CompatModePackages() 103 fis.close(); in CompatModePackages()
|
D | UsageStatsService.java | 393 FileInputStream fis = null; in readHistoryStatsFLOCK() local 395 fis = mHistoryFile.openRead(); in readHistoryStatsFLOCK() 397 parser.setInput(fis, null); in readHistoryStatsFLOCK() 442 if (fis != null) { in readHistoryStatsFLOCK() 444 fis.close(); in readHistoryStatsFLOCK()
|
D | ActivityManagerService.java | 6502 FileInputStream fis = null; in readGrantedUriPermissionsLocked() local 6504 fis = mGrantFile.openRead(); in readGrantedUriPermissionsLocked() 6506 in.setInput(fis, null); in readGrantedUriPermissionsLocked() 6549 IoUtils.closeQuietly(fis); in readGrantedUriPermissionsLocked() 9125 FileInputStream fis = null; 9127 fis = new FileInputStream(file); 9128 DataInputStream dis = new DataInputStream(new BufferedInputStream(fis, 2048)); 9150 if (fis != null) { 9152 fis.close();
|
/frameworks/base/services/java/com/android/server/ |
D | LightsService.java | 146 FileInputStream fis = new FileInputStream(FLASHLIGHT_FILE); 147 int result = fis.read(); 148 fis.close();
|
D | InputMethodManagerService.java | 3426 FileInputStream fis = null; in readAdditionalInputMethodSubtypes() local 3428 fis = subtypesFile.openRead(); in readAdditionalInputMethodSubtypes() 3430 parser.setInput(fis, null); in readAdditionalInputMethodSubtypes() 3488 if (fis != null) { in readAdditionalInputMethodSubtypes() 3490 fis.close(); in readAdditionalInputMethodSubtypes()
|
/frameworks/base/core/java/android/net/ |
D | LocalSocketImpl.java | 35 private SocketInputStream fis; field in LocalSocketImpl 345 if (fis == null) { in getInputStream() 346 fis = new SocketInputStream(); in getInputStream() 349 return fis; in getInputStream()
|
/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/services/java/com/android/server/pm/ |
D | UserManagerService.java | 498 FileInputStream fis = null; in readUserListLocked() local 501 fis = userListFile.openRead(); in readUserListLocked() 503 parser.setInput(fis, null); in readUserListLocked() 551 if (fis != null) { in readUserListLocked() 553 fis.close(); in readUserListLocked() 752 FileInputStream fis = null; in readUserLocked() local 756 fis = userFile.openRead(); in readUserLocked() 758 parser.setInput(fis, null); in readUserLocked() 840 if (fis != null) { in readUserLocked() 842 fis.close(); in readUserLocked() [all …]
|
/frameworks/base/graphics/java/android/graphics/ |
D | BitmapFactory.java | 659 FileInputStream fis = new FileInputStream(fd); in decodeFileDescriptor() local 661 bm = decodeStreamInternal(fis, outPadding, opts); in decodeFileDescriptor() 664 fis.close(); in decodeFileDescriptor()
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
D | ActivityChooserModel.java | 976 FileInputStream fis = null; in readHistoricalDataImpl() local 978 fis = mContext.openFileInput(mHistoryFileName); in readHistoricalDataImpl() 987 parser.setInput(fis, null); in readHistoricalDataImpl() 1036 if (fis != null) { in readHistoricalDataImpl() 1038 fis.close(); in readHistoricalDataImpl()
|
/frameworks/base/core/java/android/content/pm/ |
D | RegisteredServicesCache.java | 481 FileInputStream fis = null; in readPersistentServicesLocked() local 487 fis = mPersistentServicesFile.openRead(); in readPersistentServicesLocked() 489 parser.setInput(fis, null); in readPersistentServicesLocked() 519 if (fis != null) { in readPersistentServicesLocked() 521 fis.close(); in readPersistentServicesLocked()
|
/frameworks/base/core/java/android/widget/ |
D | ActivityChooserModel.java | 986 FileInputStream fis = null; in readHistoricalDataImpl() local 988 fis = mContext.openFileInput(mHistoryFileName); in readHistoricalDataImpl() 997 parser.setInput(fis, null); in readHistoricalDataImpl() 1046 if (fis != null) { in readHistoricalDataImpl() 1048 fis.close(); in readHistoricalDataImpl()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | TransferPipe.java | 184 final FileInputStream fis = new FileInputStream(getReadFd().getFileDescriptor()); in run() local 196 while ((size=fis.read(buffer)) > 0) { in run()
|
/frameworks/base/services/java/com/android/server/firewall/ |
D | IntentFirewall.java | 302 FileInputStream fis; in readRules() local 304 fis = new FileInputStream(rulesFile); in readRules() 313 parser.setInput(fis, null); in readRules() 357 fis.close(); in readRules()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | FileRotator.java | 364 final FileInputStream fis = new FileInputStream(file); in readFile() local 365 final BufferedInputStream bis = new BufferedInputStream(fis); in readFile()
|
/frameworks/base/services/java/com/android/server/content/ |
D | SyncStorageEngine.java | 1691 FileInputStream fis = null; in readAccountInfoLocked() local 1693 fis = mAccountInfoFile.openRead(); in readAccountInfoLocked() 1698 parser.setInput(fis, null); in readAccountInfoLocked() 1764 if (fis == null) Log.i(TAG, "No initial accounts"); in readAccountInfoLocked() 1769 if (fis != null) { in readAccountInfoLocked() 1771 fis.close(); in readAccountInfoLocked() 2278 FileInputStream fis = null; in readPendingOperationsLocked() local 2286 fis = mPendingFile.openRead(); in readPendingOperationsLocked() 2289 parser.setInput(fis, null); in readPendingOperationsLocked() 2366 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/java/com/android/server/usb/ |
D | UsbSettingsManager.java | 438 FileInputStream fis = null; in upgradeSingleUserLocked() local 440 fis = new FileInputStream(sSingleUserSettingsFile); in upgradeSingleUserLocked() 442 parser.setInput(fis, null); in upgradeSingleUserLocked() 458 IoUtils.closeQuietly(fis); in upgradeSingleUserLocked()
|
/frameworks/base/media/java/android/media/ |
D | MediaScanner.java | 1717 FileInputStream fis = null; 1721 fis = new FileInputStream(f); 1724 Xml.parse(fis, Xml.findEncodingByName("UTF-8"), 1735 if (fis != null) 1736 fis.close();
|
/frameworks/base/media/java/android/media/videoeditor/ |
D | VideoEditorImpl.java | 970 final FileInputStream fis = new FileInputStream(file); in load() local 975 parser.setInput(fis, "UTF-8"); in load() 1107 if (fis != null) { in load() 1108 fis.close(); in load()
|
/frameworks/base/services/java/com/android/server/net/ |
D | NetworkPolicyManagerService.java | 1145 FileInputStream fis = null; in readPolicyLocked() local 1147 fis = mPolicyFile.openRead(); in readPolicyLocked() 1149 in.setInput(fis, null); in readPolicyLocked() 1256 IoUtils.closeQuietly(fis); in readPolicyLocked()
|