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/
DShortcutPackageInfo.java216 ShortcutService.writeAttr(out, ATTR_VERSION, mVersionCode); in saveToXml()
217 ShortcutService.writeAttr(out, ATTR_LAST_UPDATE_TIME, mLastUpdateTime); in saveToXml()
218 ShortcutService.writeAttr(out, ATTR_SHADOW, mIsShadow); in saveToXml()
219 ShortcutService.writeAttr(out, ATTR_BACKUP_ALLOWED, mBackupAllowed); in saveToXml()
223 ShortcutService.writeAttr(out, ATTR_BACKUP_ALLOWED_INITIALIZED, mBackupAllowedInitialized); in saveToXml()
225 ShortcutService.writeAttr(out, ATTR_BACKUP_SOURCE_VERSION, mBackupSourceVersionCode); in saveToXml()
226 ShortcutService.writeAttr(out, in saveToXml()
233 ShortcutService.writeAttr(out, ATTR_SIGNATURE_HASH, encoded); in saveToXml()
DShortcutPackage.java1348 ShortcutService.writeAttr(out, ATTR_NAME, getPackageName()); in saveToXml()
1349 ShortcutService.writeAttr(out, ATTR_CALL_COUNT, mApiCallCount); in saveToXml()
1350 ShortcutService.writeAttr(out, ATTR_LAST_RESET, mLastResetTime); in saveToXml()
1385 ShortcutService.writeAttr(out, ATTR_ID, si.getId()); in saveShortcut()
1387 ShortcutService.writeAttr(out, ATTR_ACTIVITY, si.getActivity()); in saveShortcut()
1389 ShortcutService.writeAttr(out, ATTR_TITLE, si.getTitle()); in saveShortcut()
1390 ShortcutService.writeAttr(out, ATTR_TITLE_RES_ID, si.getTitleResId()); in saveShortcut()
1391 ShortcutService.writeAttr(out, ATTR_TITLE_RES_NAME, si.getTitleResName()); in saveShortcut()
1392 ShortcutService.writeAttr(out, ATTR_TEXT, si.getText()); in saveShortcut()
1393 ShortcutService.writeAttr(out, ATTR_TEXT_RES_ID, si.getTextResId()); in saveShortcut()
[all …]
DShortcutLauncher.java231 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, getPackageName()); in saveToXml()
232 ShortcutService.writeAttr(out, ATTR_LAUNCHER_USER_ID, getPackageUserId()); in saveToXml()
243 ShortcutService.writeAttr(out, ATTR_PACKAGE_NAME, pu.packageName); in saveToXml()
244 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()
344 ShortcutService.writeAttr(out, ATTR_RESTORE_SOURCE_FINGERPRINT, in saveToXml()
349 ShortcutService.writeAttr(out, ATTR_RESTORE_SOURCE_FINGERPRINT, in saveToXml()
DShortcutService.java842 static void writeAttr(XmlSerializer out, String name, CharSequence value) throws IOException { in writeAttr() method in ShortcutService
848 static void writeAttr(XmlSerializer out, String name, long value) throws IOException { in writeAttr() method in ShortcutService
849 writeAttr(out, name, String.valueOf(value)); in writeAttr()
852 static void writeAttr(XmlSerializer out, String name, boolean value) throws IOException { in writeAttr() method in ShortcutService
854 writeAttr(out, name, "1"); in writeAttr()
856 writeAttr(out, name, "0"); in writeAttr()
860 static void writeAttr(XmlSerializer out, String name, ComponentName comp) throws IOException { in writeAttr() method in ShortcutService
862 writeAttr(out, name, comp.flattenToString()); in writeAttr()
865 static void writeAttr(XmlSerializer out, String name, Intent intent) throws IOException { in writeAttr() method in ShortcutService
868 writeAttr(out, name, intent.toUri(/* flags =*/ 0)); in writeAttr()