Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/app/
DGameManagerSettings.java153 FileOutputStream fstr = null; in writePersistentDataLocked() local
155 fstr = mSettingsFile.startWrite(); in writePersistentDataLocked()
157 final TypedXmlSerializer serializer = Xml.resolveSerializer(fstr); in writePersistentDataLocked()
177 mSettingsFile.finishWrite(fstr); in writePersistentDataLocked()
185 mSettingsFile.failWrite(fstr); in writePersistentDataLocked()
/frameworks/base/services/core/java/com/android/server/pm/
DSettings.java3008 FileOutputStream fstr;
3011 fstr = new FileOutputStream(writeTarget);
3012 writer = new BufferedWriter(new OutputStreamWriter(fstr, Charset.defaultCharset()));
3013 FileUtils.setPermissions(fstr.getFD(), 0640, SYSTEM_UID, PACKAGE_INFO_GID);
3104 FileUtils.sync(fstr);