Home
last modified time | relevance | path

Searched refs:writeAttr (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/pm/
DShortcutPackage.java1254 ShortcutService.writeAttr(out, ATTR_NAME, getPackageName()); in saveToXml()
1255 ShortcutService.writeAttr(out, ATTR_CALL_COUNT, mApiCallCount); in saveToXml()
1256 ShortcutService.writeAttr(out, ATTR_LAST_RESET, mLastResetTime); in saveToXml()
1282 ShortcutService.writeAttr(out, ATTR_ID, si.getId()); in saveShortcut()
1284 ShortcutService.writeAttr(out, ATTR_ACTIVITY, si.getActivity()); in saveShortcut()
1286 ShortcutService.writeAttr(out, ATTR_TITLE, si.getTitle()); in saveShortcut()
1287 ShortcutService.writeAttr(out, ATTR_TITLE_RES_ID, si.getTitleResId()); in saveShortcut()
1288 ShortcutService.writeAttr(out, ATTR_TITLE_RES_NAME, si.getTitleResName()); in saveShortcut()
1289 ShortcutService.writeAttr(out, ATTR_TEXT, si.getText()); in saveShortcut()
1290 ShortcutService.writeAttr(out, ATTR_TEXT_RES_ID, si.getTextResId()); in saveShortcut()
[all …]
DShortcutPackageInfo.java158 ShortcutService.writeAttr(out, ATTR_VERSION, mVersionCode); in saveToXml()
159 ShortcutService.writeAttr(out, ATTR_LAST_UPDATE_TIME, mLastUpdateTime); in saveToXml()
160 ShortcutService.writeAttr(out, ATTR_SHADOW, mIsShadow); in saveToXml()
165 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, encoded); in saveToXml()
DShortcutLauncher.java209 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, getPackageName()); in saveToXml()
210 ShortcutService.writeAttr(out, ATTR_LAUNCHER_USER_ID, getPackageUserId()); in saveToXml()
221 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, pu.packageName); in saveToXml()
222 ShortcutService.writeAttr(out, ATTR_PACKAGE_USER_ID, pu.userId); in saveToXml()
DShortcutUser.java339 ShortcutService.writeAttr(out, ATTR_KNOWN_LOCALES, mKnownLocales); in saveToXml()
340 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_TIME, in saveToXml()
342 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_OS_FINGERPRINT, in saveToXml()
DShortcutService.java816 static void writeAttr(XmlSerializer out, String name, CharSequence value) throws IOException { in writeAttr() method in ShortcutService
822 static void writeAttr(XmlSerializer out, String name, long value) throws IOException { in writeAttr() method in ShortcutService
823 writeAttr(out, name, String.valueOf(value)); in writeAttr()
826 static void writeAttr(XmlSerializer out, String name, boolean value) throws IOException { in writeAttr() method in ShortcutService
828 writeAttr(out, name, "1"); in writeAttr()
832 static void writeAttr(XmlSerializer out, String name, ComponentName comp) throws IOException { in writeAttr() method in ShortcutService
834 writeAttr(out, name, comp.flattenToString()); in writeAttr()
837 static void writeAttr(XmlSerializer out, String name, Intent intent) throws IOException { in writeAttr() method in ShortcutService
840 writeAttr(out, name, intent.toUri(/* flags =*/ 0)); in writeAttr()