Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/pm/
DShareTargetInfo.java129 ShortcutService.writeAttr(out, ATTR_TARGET_CLASS, mTargetClass); in saveToXml()
133 ShortcutService.writeAttr(out, ATTR_SCHEME, mTargetData[i].mScheme); in saveToXml()
134 ShortcutService.writeAttr(out, ATTR_HOST, mTargetData[i].mHost); in saveToXml()
135 ShortcutService.writeAttr(out, ATTR_PORT, mTargetData[i].mPort); in saveToXml()
136 ShortcutService.writeAttr(out, ATTR_PATH, mTargetData[i].mPath); in saveToXml()
137 ShortcutService.writeAttr(out, ATTR_PATH_PATTERN, mTargetData[i].mPathPattern); in saveToXml()
138 ShortcutService.writeAttr(out, ATTR_PATH_PREFIX, mTargetData[i].mPathPrefix); in saveToXml()
139 ShortcutService.writeAttr(out, ATTR_MIME_TYPE, mTargetData[i].mMimeType); in saveToXml()
145 ShortcutService.writeAttr(out, ATTR_NAME, mCategories[i]); in saveToXml()
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.java1465 ShortcutService.writeAttr(out, ATTR_NAME, getPackageName()); in saveToXml()
1466 ShortcutService.writeAttr(out, ATTR_CALL_COUNT, mApiCallCount); in saveToXml()
1467 ShortcutService.writeAttr(out, ATTR_LAST_RESET, mLastResetTime); in saveToXml()
1508 ShortcutService.writeAttr(out, ATTR_ID, si.getId()); in saveShortcut()
1510 ShortcutService.writeAttr(out, ATTR_ACTIVITY, si.getActivity()); in saveShortcut()
1512 ShortcutService.writeAttr(out, ATTR_TITLE, si.getTitle()); in saveShortcut()
1513 ShortcutService.writeAttr(out, ATTR_TITLE_RES_ID, si.getTitleResId()); in saveShortcut()
1514 ShortcutService.writeAttr(out, ATTR_TITLE_RES_NAME, si.getTitleResName()); in saveShortcut()
1515 ShortcutService.writeAttr(out, ATTR_TEXT, si.getText()); in saveShortcut()
1516 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.java343 ShortcutService.writeAttr(out, ATTR_KNOWN_LOCALES, mKnownLocales); in saveToXml()
344 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_TIME, in saveToXml()
346 ShortcutService.writeAttr(out, ATTR_LAST_APP_SCAN_OS_FINGERPRINT, in saveToXml()
348 ShortcutService.writeAttr(out, ATTR_RESTORE_SOURCE_FINGERPRINT, in saveToXml()
353 ShortcutService.writeAttr(out, ATTR_RESTORE_SOURCE_FINGERPRINT, in saveToXml()
DShortcutService.java848 static void writeAttr(XmlSerializer out, String name, CharSequence value) throws IOException { in writeAttr() method in ShortcutService
854 static void writeAttr(XmlSerializer out, String name, long value) throws IOException { in writeAttr() method in ShortcutService
855 writeAttr(out, name, String.valueOf(value)); in writeAttr()
858 static void writeAttr(XmlSerializer out, String name, boolean value) throws IOException { in writeAttr() method in ShortcutService
860 writeAttr(out, name, "1"); in writeAttr()
862 writeAttr(out, name, "0"); in writeAttr()
866 static void writeAttr(XmlSerializer out, String name, ComponentName comp) throws IOException { in writeAttr() method in ShortcutService
868 writeAttr(out, name, comp.flattenToString()); in writeAttr()
871 static void writeAttr(XmlSerializer out, String name, Intent intent) throws IOException { in writeAttr() method in ShortcutService
874 writeAttr(out, name, intent.toUri(/* flags =*/ 0)); in writeAttr()