Searched refs:FLAG_ALLOW_BACKUP (Results 1 – 17 of 17) sorted by relevance
112 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 …]
331 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()
70 flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in flags()
34 | flag(pkg.isBackupAllowed(), ApplicationInfo.FLAG_ALLOW_BACKUP) in appInfoFlags()
157 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) in installApk()
204 boolean allowBackup = (app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0; in isAppBackupAllowed()
906 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()
4839 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()
309 public static final int FLAG_ALLOW_BACKUP = 1<<15; field in ApplicationInfo
3444 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseBaseApplication()
938 | flag(pkg.isBackupAllowed(), ApplicationInfo.FLAG_ALLOW_BACKUP) in appInfoFlags()
4495 return isApplicationFlagSet(packageName, userId, ApplicationInfo.FLAG_ALLOW_BACKUP);4499 return (pi.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0;
4878 ApplicationInfo.FLAG_ALLOW_BACKUP, "ALLOW_BACKUP",
1569 if (((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) in allAgentPackages()
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
8364 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000
12178 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000