/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutUser.java | 337 public void saveToXml(XmlSerializer out, boolean forBackup) in saveToXml() argument 341 if (!forBackup) { in saveToXml() 361 saveShortcutPackageItem(out, mLaunchers.valueAt(i), forBackup); in saveToXml() 367 saveShortcutPackageItem(out, mPackages.valueAt(i), forBackup); in saveToXml() 375 ShortcutPackageItem spi, boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument 376 if (forBackup) { in saveShortcutPackageItem() 381 spi.saveToXml(out, forBackup); in saveShortcutPackageItem()
|
D | ShortcutLauncher.java | 219 public void saveToXml(XmlSerializer out, boolean forBackup) in saveToXml() argument 221 if (forBackup && !getPackageInfo().isBackupAllowed()) { in saveToXml() 233 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 238 if (forBackup && (pu.userId != getOwnerUserId())) { in saveToXml()
|
D | ShortcutPackageItem.java | 142 public abstract void saveToXml(@NonNull XmlSerializer out, boolean forBackup) in saveToXml() argument
|
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 | 1454 public void saveToXml(@NonNull XmlSerializer out, boolean forBackup) in saveToXml() argument 1468 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 1471 saveShortcut(out, mShortcuts.valueAt(j), forBackup, in saveToXml() 1475 if (!forBackup) { in saveToXml() 1484 private void saveShortcut(XmlSerializer out, ShortcutInfo si, boolean forBackup, in saveShortcut() argument 1490 if (forBackup) { in saveShortcut() 1499 !forBackup // It's not backup in saveShortcut() 1532 if (forBackup) { in saveShortcut() 1568 if (!forBackup) { // Don't backup the persons field. in saveShortcut()
|
D | ShortcutService.java | 994 boolean forBackup) throws IOException, XmlPullParserException { in saveUserInternalLocked() argument 1003 getUserShortcutsLocked(userId).saveToXml(out, forBackup); in saveUserInternalLocked()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 786 private void writeXml(XmlSerializer out, boolean forBackup, @Nullable Context context) in writeXml() argument 788 Preconditions.checkArgument(!forBackup || context != null, in writeXml() 810 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 309 public void writeXml(XmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 314 if (forBackup) { in writeXml() 321 if (forBackup && approvedUserId != userId) { in writeXml() 339 if (!forBackup && isPrimary) { in writeXml()
|
D | PreferencesHelper.java | 390 public void writeXml(XmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 394 && (!forBackup || userId == UserHandle.USER_SYSTEM)) { in writeXml() 404 if (forBackup && UserHandle.getUserId(r.uid) != userId) { in writeXml() 436 if (!forBackup) { in writeXml() 460 if (forBackup) { in writeXml()
|
D | SnoozeHelper.java | 378 protected void writeXml(XmlSerializer out, boolean forBackup) throws IOException { in writeXml() argument
|
D | ZenModeHelper.java | 731 public void writeXml(XmlSerializer out, boolean forBackup, Integer version, int userId) in writeXml() argument 736 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml()
|
D | NotificationManagerService.java | 685 private void writePolicyXml(OutputStream stream, boolean forBackup, int userId) in writePolicyXml() argument 692 mZenModeHelper.writeXml(out, forBackup, null, userId); in writePolicyXml() 693 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 694 mListeners.writeXml(out, forBackup, userId); in writePolicyXml() 695 mAssistants.writeXml(out, forBackup, userId); in writePolicyXml() 696 mConditionProviders.writeXml(out, forBackup, userId); in writePolicyXml() 697 if (!forBackup || userId == UserHandle.USER_SYSTEM) { in writePolicyXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 183 String pkg, int uid, boolean forBackup, int userId, String... channelIds) in writeXmlAndPurge() argument 189 mHelper.writeXml(serializer, forBackup, userId); in writeXmlAndPurge()
|