Searched refs:FLAG_ALLOW_BACKUP (Results 1 – 16 of 16) sorted by relevance
86 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()
321 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()
70 flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in flags()
76 if ((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) { in appIsEligibleForBackup()
151 if ((pkg.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) in installApk()
404 if ((flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0) { in chooseRestorePolicy()
790 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()
4000 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()
262 public static final int FLAG_ALLOW_BACKUP = 1<<15; field in ApplicationInfo
3453 ai.flags |= ApplicationInfo.FLAG_ALLOW_BACKUP; in parseBaseApplication()
3574 return isApplicationFlagSet(packageName, userId, ApplicationInfo.FLAG_ALLOW_BACKUP); in shouldBackupApp()3578 return (pi.applicationInfo.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0; in shouldBackupApp()
4392 ApplicationInfo.FLAG_ALLOW_BACKUP, "ALLOW_BACKUP",
14642 && ((flags & ApplicationInfo.FLAG_ALLOW_BACKUP) != 0);
1371 if (((app.flags & ApplicationInfo.FLAG_ALLOW_BACKUP) == 0) in allAgentPackages()
8364 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000
11086 field public static final int FLAG_ALLOW_BACKUP = 32768; // 0x8000