/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 149 public abstract void saveToXml(@NonNull XmlSerializer out, boolean forBackup) in saveToXml() argument 152 public void saveToFile(File path, boolean forBackup) { in saveToFile() argument 164 saveToXml(itemOut, forBackup); in saveToFile()
|
D | ShortcutUser.java | 340 public void saveToXml(XmlSerializer out, boolean forBackup) in saveToXml() argument 344 if (!forBackup) { in saveToXml() 360 if (!forBackup) { in saveToXml() 371 saveShortcutPackageItem(out, mLaunchers.valueAt(i), forBackup); in saveToXml() 377 saveShortcutPackageItem(out, mPackages.valueAt(i), forBackup); in saveToXml() 385 boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument 386 if (forBackup) { in saveShortcutPackageItem() 390 spi.saveToXml(out, forBackup); in saveShortcutPackageItem() 399 spi.saveToFile(path, forBackup); in saveShortcutPackageItem()
|
D | ShortcutLauncher.java | 228 public void saveToXml(XmlSerializer out, boolean forBackup) in saveToXml() argument 230 if (forBackup && !getPackageInfo().isBackupAllowed()) { in saveToXml() 242 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 247 if (forBackup && (pu.userId != getOwnerUserId())) { in saveToXml()
|
D | ShortcutPackageInfo.java | 208 public void saveToXml(ShortcutService s, XmlSerializer out, boolean forBackup) in saveToXml() argument 210 if (forBackup && !mBackupAllowedInitialized) { in saveToXml()
|
D | ShortcutPackage.java | 1574 public void saveToXml(@NonNull XmlSerializer out, boolean forBackup) in saveToXml() argument 1588 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 1591 saveShortcut(out, mShortcuts.valueAt(j), forBackup, in saveToXml() 1595 if (!forBackup) { in saveToXml() 1604 private void saveShortcut(XmlSerializer out, ShortcutInfo si, boolean forBackup, in saveShortcut() argument 1610 if (forBackup) { in saveShortcut() 1619 !forBackup // It's not backup in saveShortcut() 1652 if (forBackup) { in saveShortcut() 1690 if (!forBackup) { // Don't backup the persons field. in saveShortcut()
|
D | ShortcutService.java | 1013 boolean forBackup) throws IOException, XmlPullParserException { in saveUserInternalLocked() argument 1022 getUserShortcutsLocked(userId).saveToXml(out, forBackup); in saveUserInternalLocked()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 961 private void writeXml(XmlSerializer out, boolean forBackup, @Nullable Context context) in writeXml() argument 963 Preconditions.checkArgument(!forBackup || context != null, in writeXml() 985 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 444 public void writeXml(XmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 451 if (forBackup) { in writeXml() 459 if (forBackup && approvedUserId != userId) { in writeXml() 477 if (!forBackup && isPrimary) { in writeXml()
|
D | PreferencesHelper.java | 486 public void writeXml(XmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 490 && (!forBackup || userId == UserHandle.USER_SYSTEM)) { in writeXml() 500 if (forBackup && UserHandle.getUserId(r.uid) != userId) { in writeXml() 541 if (!forBackup) { in writeXml() 565 if (forBackup) { in writeXml()
|
D | ZenModeHelper.java | 759 public void writeXml(XmlSerializer out, boolean forBackup, Integer version, int userId) in writeXml() argument 764 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml()
|
D | NotificationManagerService.java | 829 private void writePolicyXml(OutputStream stream, boolean forBackup, int userId) in writePolicyXml() argument 836 mZenModeHelper.writeXml(out, forBackup, null, userId); in writePolicyXml() 837 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 838 mListeners.writeXml(out, forBackup, userId); in writePolicyXml() 839 mAssistants.writeXml(out, forBackup, userId); in writePolicyXml() 841 mConditionProviders.writeXml(out, forBackup, userId); in writePolicyXml() 842 if (!forBackup || userId == UserHandle.USER_SYSTEM) { in writePolicyXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 226 String pkg, int uid, boolean forBackup, int userId, String... channelIds) in writeXmlAndPurge() argument 232 mHelper.writeXml(serializer, forBackup, userId); in writeXmlAndPurge()
|