Home
last modified time | relevance | path

Searched refs:FLAG_ALLOW_BACKUP (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java86 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
100 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
115 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
132 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
149 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
166 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
183 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
200 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
DTarBackupReaderTest.java321 packageInfo.applicationInfo.flags = ~ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
346 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
375 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
412 ApplicationInfo.FLAG_ALLOW_BACKUP | ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
450 ApplicationInfo.FLAG_ALLOW_BACKUP | ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
490 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
534 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
574 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DPackageData.java70 flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in flags()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java76 if ((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) { in appIsEligibleForBackup()
DRestoreUtils.java151 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) in installApk()
DTarBackupReader.java404 if ((flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0) { in chooseRestorePolicy()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java790 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp()
792 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp()
1055 | ApplicationInfo.FLAG_ALLOW_BACKUP; in genPackage()
DShortcutManagerTest1.java4000 pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP; in checkCanRestoreTo()
4015 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testCanRestoreTo()
5165 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_publisherNoLongerBackupTarget()
5311 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherNoLongerBackupTarget()
5416 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherAndPackageNoLongerBackupTarget()
5419 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherAndPackageNoLongerBackupTarget()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java262 public static final int FLAG_ALLOW_BACKUP = 1<<15; field in ApplicationInfo
DPackageParser.java3511 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseBaseApplication()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java3574 return isApplicationFlagSet(packageName, userId, ApplicationInfo.FLAG_ALLOW_BACKUP); in shouldBackupApp()
3578 return (pi.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0; in shouldBackupApp()
DSettings.java4393 ApplicationInfo.FLAG_ALLOW_BACKUP, "ALLOW_BACKUP",
DPackageManagerService.java14186 && ((flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0);
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1440 if (((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) in allAgentPackages()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8364 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000
/frameworks/base/non-updatable-api/
Dcurrent.txt11096 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000
/frameworks/base/api/
Dcurrent.txt11096 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000