Home
last modified time | relevance | path

Searched refs:fstr (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/core/java/com/android/internal/content/
DPackageHelper.java248 final FileOutputStream fstr; in extractPublicFiles() local
252 fstr = null; in extractPublicFiles()
255 fstr = new FileOutputStream(publicZipFile); in extractPublicFiles()
256 publicZipOutStream = new ZipOutputStream(fstr); in extractPublicFiles()
284 FileUtils.sync(fstr); in extractPublicFiles()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java1297 final FileOutputStream fstr = new FileOutputStream(userPackagesStateFile); in writePackageRestrictionsLPr() local
1298 final BufferedOutputStream str = new BufferedOutputStream(fstr); in writePackageRestrictionsLPr()
1379 FileUtils.sync(fstr); in writePackageRestrictionsLPr()
1537 FileOutputStream fstr = new FileOutputStream(mSettingsFilename); in writeLPr() local
1538 BufferedOutputStream str = new BufferedOutputStream(fstr); in writeLPr()
1635 FileUtils.sync(fstr); in writeLPr()
1651 fstr = new FileOutputStream(writeTarget); in writeLPr()
1652 str = new BufferedOutputStream(fstr); in writeLPr()
1654 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID); in writeLPr()
1711 FileUtils.sync(fstr); in writeLPr()