/frameworks/base/services/core/java/com/android/server/pm/ |
D | ShortcutPackageItem.java | 157 public abstract void saveToXml(@NonNull TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 161 public void saveToFileLocked(File path, boolean forBackup) { in saveToFileLocked() argument 169 if (forBackup) { in saveToFileLocked() 177 saveToXml(itemOut, forBackup); in saveToFileLocked()
|
D | ShortcutUser.java | 321 public void saveToXml(TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 325 if (!forBackup) { in saveToXml() 339 if (!forBackup) { in saveToXml() 350 saveShortcutPackageItem(out, mLaunchers.valueAt(i), forBackup); in saveToXml() 356 saveShortcutPackageItem(out, mPackages.valueAt(i), forBackup); in saveToXml() 364 boolean forBackup) throws IOException, XmlPullParserException { in saveShortcutPackageItem() argument 365 if (forBackup) { in saveShortcutPackageItem() 370 spi.saveToXml(out, forBackup); in saveShortcutPackageItem()
|
D | ShortcutLauncher.java | 249 public void saveToXml(TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 251 if (forBackup && !getPackageInfo().isBackupAllowed()) { in saveToXml() 267 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 272 if (forBackup && (up.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 | 1832 public void saveToXml(@NonNull TypedXmlSerializer out, boolean forBackup) in saveToXml() argument 1847 if (!forBackup) { in saveToXml() 1851 getPackageInfo().saveToXml(mShortcutUser.mService, out, forBackup); in saveToXml() 1855 out, mShortcuts.valueAt(j), forBackup, getPackageInfo().isBackupAllowed()); in saveToXml() 1858 if (!forBackup) { in saveToXml() 1868 private void saveShortcut(TypedXmlSerializer out, ShortcutInfo si, boolean forBackup, in saveShortcut() argument 1874 if (forBackup) { in saveShortcut() 1883 !forBackup // It's not backup in saveShortcut() 1917 if (forBackup) { in saveShortcut() 1955 if (!forBackup) { // Don't backup the persons field. in saveShortcut()
|
D | ShortcutService.java | 1126 boolean forBackup) throws IOException, XmlPullParserException { in saveUserInternalLocked() argument 1130 if (forBackup) { in saveUserInternalLocked() 1138 getUserShortcutsLocked(userId).saveToXml(out, forBackup); in saveUserInternalLocked()
|
/frameworks/base/services/backup/java/com/android/server/backup/utils/ |
D | RestoreUtils.java | 169 BackupEligibilityRules.forBackup(packageManager, pmi, userId, in installApk()
|
D | BackupEligibilityRules.java | 103 public static BackupEligibilityRules forBackup(PackageManager packageManager, in forBackup() method in BackupEligibilityRules
|
D | TarBackupReader.java | 399 BackupEligibilityRules.forBackup(packageManager, pmi, userId, context), context); in chooseRestorePolicy()
|
/frameworks/base/core/java/android/app/ |
D | NotificationChannel.java | 1291 private void writeXml(TypedXmlSerializer out, boolean forBackup, @Nullable Context context) in writeXml() argument 1293 Preconditions.checkArgument(!forBackup || context != null, in writeXml() 1312 Uri sound = forBackup ? getSoundForBackup(context) : getSound(); in writeXml()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 610 public void writeXml(TypedXmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 619 if (forBackup) { in writeXml() 627 if (forBackup && UserHandle.getUserId(r.uid) != userId) { in writeXml() 630 writePackageXml(r, out, notifPermissions, forBackup); in writeXml() 633 if (Flags.persistIncompleteRestoreData() && !forBackup) { in writeXml() 656 boolean forBackup) throws in writePackageXml() argument 697 if (!forBackup) { in writePackageXml() 717 if (forBackup) { in writePackageXml()
|
D | ManagedServices.java | 514 public void writeXml(TypedXmlSerializer out, boolean forBackup, int userId) throws IOException { in writeXml() argument 521 if (forBackup) { in writeXml() 529 if (forBackup && approvedUserId != userId) { in writeXml() 558 if (!forBackup && isPrimary) { in writeXml()
|
D | ZenModeHelper.java | 1733 public void writeXml(TypedXmlSerializer out, boolean forBackup, Integer version, int userId) in writeXml() argument 1738 if (forBackup && mConfigs.keyAt(i) != userId) { in writeXml() 1741 mConfigs.valueAt(i).writeXml(out, version, forBackup); in writeXml()
|
D | NotificationManagerService.java | 1208 private void writePolicyXml(OutputStream stream, boolean forBackup, int userId) in writePolicyXml() argument 1211 if (forBackup) { in writePolicyXml() 1220 mZenModeHelper.writeXml(out, forBackup, null, userId); in writePolicyXml() 1221 mPreferencesHelper.writeXml(out, forBackup, userId); in writePolicyXml() 1222 mListeners.writeXml(out, forBackup, userId); in writePolicyXml() 1223 mAssistants.writeXml(out, forBackup, userId); in writePolicyXml() 1225 mConditionProviders.writeXml(out, forBackup, userId); in writePolicyXml() 1226 if (!forBackup || userId == USER_SYSTEM) { in writePolicyXml()
|
/frameworks/base/core/java/android/service/notification/ |
D | ZenModeConfig.java | 1065 public void writeXml(TypedXmlSerializer out, Integer version, boolean forBackup) in writeXml() argument 1111 if (Flags.modesApi() && !forBackup) { in writeXml()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 386 String pkg, int uid, boolean forBackup, int userId, String... channelIds) in writeXmlAndPurge() argument 392 mHelper.writeXml(serializer, forBackup, userId); in writeXmlAndPurge()
|