Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java112 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemUid_nonSystemUser_notAllowedPackage_returnsFalse()
128 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemUid_nonSystemUser_allowedPackage_returnsTrue()
144 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemUid_profileUser_notAllowedPackage_returnsFalse()
160 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemUid_profileUser_allowedPackage_returnsTrue()
174 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
187 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
201 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
217 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
233 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
249 applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
[all …]
DTarBackupReaderTest.java331 packageInfo.applicationInfo.flags = ~ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_doesNotAllowsBackup_returnsIgnore()
356 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
385 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
422 ApplicationInfo.FLAG_ALLOW_BACKUP | ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
460 ApplicationInfo.FLAG_ALLOW_BACKUP | ApplicationInfo.FLAG_RESTORE_ANY_VERSION; in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
500 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
649 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
693 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
733 packageInfo.applicationInfo.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in createNonRestoreAnyVersionUPackage()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/testing/
DPackageData.java70 flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in flags()
/frameworks/base/core/java/com/android/internal/pm/parsing/
DAppInfoUtils.java34 | flag(pkg.isBackupAllowed(), ApplicationInfo.FLAG_ALLOW_BACKUP) in appInfoFlags()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DRestoreUtils.java157 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) in installApk()
DBackupEligibilityRules.java204 boolean allowBackup = (app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0; in isAppBackupAllowed()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DBaseShortcutManagerTest.java906 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp()
908 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in setUp()
1183 | ApplicationInfo.FLAG_ALLOW_BACKUP; in genPackage()
DShortcutManagerTest1.java4839 pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP; in checkCanRestoreTo()
4854 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testCanRestoreTo()
5995 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_publisherNoLongerBackupTarget()
6141 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherNoLongerBackupTarget()
6246 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherAndPackageNoLongerBackupTarget()
6249 pi -> pi.applicationInfo.flags &= ~ApplicationInfo.FLAG_ALLOW_BACKUP); in testBackupAndRestore_launcherAndPackageNoLongerBackupTarget()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java309 public static final int FLAG_ALLOW_BACKUP = 1<<15; field in ApplicationInfo
DPackageParser.java3444 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseBaseApplication()
/frameworks/base/services/core/java/com/android/server/pm/parsing/
DPackageInfoUtils.java938 | flag(pkg.isBackupAllowed(), ApplicationInfo.FLAG_ALLOW_BACKUP) in appInfoFlags()
/frameworks/base/services/core/java/com/android/server/pm/
DShortcutService.java4495 return isApplicationFlagSet(packageName, userId, ApplicationInfo.FLAG_ALLOW_BACKUP);
4499 return (pi.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0;
DSettings.java4878 ApplicationInfo.FLAG_ALLOW_BACKUP, "ALLOW_BACKUP",
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1569 if (((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) in allAgentPackages()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8364 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000
/frameworks/base/core/api/
Dcurrent.txt12178 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000