/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 148 public abstract void saveToXml(@NonNull TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 151 public void saveToFile(File path, boolean forBackup) { in saveToFile() argument 159 if (forBackup) { in saveToFile() 167 saveToXml(itemOut, forBackup); in saveToFile()
|
D | ShortcutUser.java | 352 public void saveToXml(TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 356 if (!forBackup) { in saveToXml() 370 if (!forBackup) { in saveToXml() 381 saveShortcutPackageItem(out, mLaunchers.valueAt(i), forBackup); in saveToXml() 387 saveShortcutPackageItem(out, mPackages.valueAt(i), forBackup); in saveToXml() 395 boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument 396 if (forBackup) { in saveShortcutPackageItem() 400 spi.saveToXml(out, forBackup); in saveShortcutPackageItem() 409 spi.saveToFile(path, forBackup); in saveShortcutPackageItem()
|
D | ShortcutLauncher.java | 227 public void saveToXml(TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 229 if (forBackup && !getPackageInfo().isBackupAllowed()) { in saveToXml() 241 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 246 if (forBackup && (pu.userId != getOwnerUserId())) { in saveToXml()
|
D | ShortcutPackageInfo.java | 209 public void saveToXml(ShortcutService s, TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 211 if (forBackup && !mBackupAllowedInitialized) { in saveToXml()
|
D | ShortcutPackage.java | 1733 public void saveToXml(@NonNull TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 1747 if (!forBackup) { in saveToXml() 1756 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 1759 saveShortcut(out, mShortcuts.valueAt(j), forBackup, getPackageInfo().isBackupAllowed()); in saveToXml() 1762 if (!forBackup) { in saveToXml() 1771 private void saveShortcut(TypedXmlSerializer out, ShortcutInfo si, boolean forBackup, in saveShortcut() argument 1777 if (forBackup) { in saveShortcut() 1786 !forBackup // It's not backup in saveShortcut() 1820 if (forBackup) { in saveShortcut() 1858 if (!forBackup) { // Don't backup the persons field. in saveShortcut()
|
D | ShortcutService.java | 1072 boolean forBackup) throws IOException, XmlPullParserException { in saveUserInternalLocked() argument 1076 if (forBackup) { in saveUserInternalLocked() 1084 getUserShortcutsLocked(userId).saveToXml(out, forBackup); in saveUserInternalLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 163 BackupEligibilityRules.forBackup(packageManager, pmi, userId); in installApk()
|
D | BackupEligibilityRules.java | 84 public static BackupEligibilityRules forBackup(PackageManager packageManager, in forBackup() method in BackupEligibilityRules
|
D | TarBackupReader.java | 393 BackupEligibilityRules.forBackup(packageManager, pmi, userId)); in chooseRestorePolicy()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 1048 private void writeXml(TypedXmlSerializer out, boolean forBackup, @Nullable Context context) in writeXml() argument 1050 Preconditions.checkArgument(!forBackup || context != null, in writeXml() 1069 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | ManagedServices.java | 482 public void writeXml(TypedXmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 489 if (forBackup) { in writeXml() 497 if (forBackup && approvedUserId != userId) { in writeXml() 526 if (!forBackup && isPrimary) { in writeXml()
|
D | PreferencesHelper.java | 525 public void writeXml(TypedXmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 529 && (!forBackup || userId == UserHandle.USER_SYSTEM)) { in writeXml() 539 if (forBackup && UserHandle.getUserId(r.uid) != userId) { in writeXml() 580 if (!forBackup) { in writeXml() 603 if (forBackup) { in writeXml()
|
D | ZenModeHelper.java | 783 public void writeXml(TypedXmlSerializer out, boolean forBackup, Integer version, int userId) in writeXml() argument 788 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml()
|
D | NotificationManagerService.java | 1067 private void writePolicyXml(OutputStream stream, boolean forBackup, int userId) in writePolicyXml() argument 1070 if (forBackup) { in writePolicyXml() 1079 mZenModeHelper.writeXml(out, forBackup, null, userId); in writePolicyXml() 1080 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 1081 mListeners.writeXml(out, forBackup, userId); in writePolicyXml() 1082 mAssistants.writeXml(out, forBackup, userId); in writePolicyXml() 1084 mConditionProviders.writeXml(out, forBackup, userId); in writePolicyXml() 1085 if (!forBackup || userId == UserHandle.USER_SYSTEM) { in writePolicyXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 283 String pkg, int uid, boolean forBackup, int userId, String... channelIds) in writeXmlAndPurge() argument 289 mHelper.writeXml(serializer, forBackup, userId); in writeXmlAndPurge()
|