Home
last modified time | relevance | path

Searched refs:BackupEligibilityRules (Results 1 – 25 of 25) sorted by relevance

/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java26 import com.android.server.backup.utils.BackupEligibilityRules;
38 public final BackupEligibilityRules backupEligibilityRules;
50 BackupEligibilityRules eligibilityRules) { in createForSinglePackage()
75 BackupEligibilityRules backupEligibilityRules) { in createForRestoreAtInstall()
99 BackupEligibilityRules backupEligibilityRules) { in createForRestoreAll()
124 BackupEligibilityRules backupEligibilityRules) { in createForRestorePackages()
148 BackupEligibilityRules backupEligibilityRules) { in RestoreParams()
DAdbBackupParams.java21 import com.android.server.backup.utils.BackupEligibilityRules;
34 public BackupEligibilityRules backupEligibilityRules;
39 BackupEligibilityRules eligibilityRules) { in AdbBackupParams()
DBackupParams.java24 import com.android.server.backup.utils.BackupEligibilityRules;
39 public BackupEligibilityRules mBackupEligibilityRules;
44 boolean nonIncrementalBackup, BackupEligibilityRules backupEligibilityRules) { in BackupParams()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java81 private BackupEligibilityRules mBackupEligibilityRules;
294 @EnableCompatChanges({BackupEligibilityRules.IGNORE_ALLOW_BACKUP_IN_D2D})
300 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_backupNotAllowedAndInMigration_returnsTrue()
312 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_backupNotAllowedForSystemAppAndInMigration_returnsFalse()
320 @EnableCompatChanges({BackupEligibilityRules.RESTRICT_ADB_BACKUP})
325 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_adbBackupNotAllowed_returnsFalseForAdbBackup()
337 @EnableCompatChanges({BackupEligibilityRules.RESTRICT_ADB_BACKUP})
342 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_adbBackupAllowed_returnsTrueForAdbBackup()
354 @EnableCompatChanges({BackupEligibilityRules.RESTRICT_ADB_BACKUP})
359 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_debuggableNonPrivilegedApp_returnsTrueForAdbBackup()
[all …]
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java42 import com.android.server.backup.utils.BackupEligibilityRules;
62 private BackupEligibilityRules mBackupEligibilityRules;
112 BackupEligibilityRules eligibilityRules = mRestoreSession.getBackupEligibilityRules( in testGetBackupEligibilityRules_skipRestoreFlagOn_skipsLaunchedAppRestore()
129 BackupEligibilityRules eligibilityRules = mRestoreSession.getBackupEligibilityRules( in testGetBackupEligibilityRules_skipRestoreFlagOff_allowsAppRestore()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupEligibilityRules.java24 import com.android.server.backup.utils.BackupEligibilityRules;
33 @Implements(BackupEligibilityRules.class)
DShadowKeyValueBackupTask.java28 import com.android.server.backup.utils.BackupEligibilityRules;
70 BackupEligibilityRules backupEligibilityRules) { in __constructor__()
DShadowPerformUnifiedRestoreTask.java29 import com.android.server.backup.utils.BackupEligibilityRules;
71 BackupEligibilityRules backupEligibilityRules) { in __constructor__()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java60 public class BackupEligibilityRules { class
103 public static BackupEligibilityRules forBackup(PackageManager packageManager, in forBackup()
107 return new BackupEligibilityRules(packageManager, packageManagerInternal, userId, context, in forBackup()
111 public BackupEligibilityRules(PackageManager packageManager, in BackupEligibilityRules() method in BackupEligibilityRules
120 public BackupEligibilityRules(PackageManager packageManager, in BackupEligibilityRules() method in BackupEligibilityRules
DRestoreUtils.java168 BackupEligibilityRules eligibilityRules = in installApk()
169 BackupEligibilityRules.forBackup(packageManager, pmi, userId, in installApk()
DTarBackupReader.java399 BackupEligibilityRules.forBackup(packageManager, pmi, userId, context), context); in chooseRestorePolicy()
415 PackageManagerInternal pmi, int userId, BackupEligibilityRules eligibilityRules, in chooseRestorePolicy()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java51 import com.android.server.backup.utils.BackupEligibilityRules;
67 private final BackupEligibilityRules mBackupEligibilityRules;
77 BackupEligibilityRules backupEligibilityRules) { in ActiveRestoreSession()
305 BackupEligibilityRules getBackupEligibilityRules(RestoreSet restoreSet) { in getBackupEligibilityRules()
318 return new BackupEligibilityRules(mBackupManagerService.getPackageManager(), in getBackupEligibilityRules()
DPerformAdbRestoreTask.java38 import com.android.server.backup.utils.BackupEligibilityRules;
112 BackupEligibilityRules eligibilityRules = new BackupEligibilityRules( in run()
DFullRestoreEngine.java60 import com.android.server.backup.utils.BackupEligibilityRules;
144 private final BackupEligibilityRules mBackupEligibilityRules;
155 BackupEligibilityRules backupEligibilityRules) { in FullRestoreEngine()
DPerformUnifiedRestoreTask.java77 import com.android.server.backup.utils.BackupEligibilityRules;
182 private final BackupEligibilityRules mBackupEligibilityRules;
217 BackupEligibilityRules backupEligibilityRules) { in PerformUnifiedRestoreTask()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java44 import com.android.server.backup.utils.BackupEligibilityRules;
69 private final BackupEligibilityRules mBackupEligibilityRules;
198 BackupEligibilityRules backupEligibilityRules, in FullBackupEngine()
DPerformAdbBackupTask.java42 import com.android.server.backup.utils.BackupEligibilityRules;
89 private final BackupEligibilityRules mBackupEligibilityRules;
97 BackupEligibilityRules backupEligibilityRules) { in PerformAdbBackupTask()
DPerformFullTransportBackupTask.java56 import com.android.server.backup.utils.BackupEligibilityRules;
118 BackupEligibilityRules backupEligibilityRules) { in newWithCurrentTransport()
168 private final BackupEligibilityRules mBackupEligibilityRules;
178 boolean userInitiated, BackupEligibilityRules backupEligibilityRules) { in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java35 import com.android.server.backup.utils.BackupEligibilityRules;
138 PackageManager packageMgr, int userId, BackupEligibilityRules backupEligibilityRules) { in PackageManagerBackupAgent()
157 public void evaluateStorablePackages(BackupEligibilityRules backupEligibilityRules) { in evaluateStorablePackages()
163 PackageManager pm, int userId, BackupEligibilityRules backupEligibilityRules) { in getStorableApplications()
DUserBackupManagerService.java135 import com.android.server.backup.utils.BackupEligibilityRules;
334 private final BackupEligibilityRules mScheduledBackupEligibility;
917 BackupEligibilityRules backupEligibilityRules) { in makeMetadataAgentWithEligibilityRules()
1798 private BackupEligibilityRules getEligibilityRulesForRestoreAtInstall(long restoreToken) { in getEligibilityRulesForRestoreAtInstall()
1901 BackupEligibilityRules backupEligibilityRules = getEligibilityRulesForOperation( in requestBackup()
1913 IBackupManagerMonitor monitor, int flags, BackupEligibilityRules backupEligibilityRules, in getRequestBackupParams()
2867 BackupEligibilityRules eligibilityRules = getEligibilityRulesForOperation( in adbBackup()
4184 public BackupEligibilityRules getEligibilityRulesForOperation( in getEligibilityRulesForOperation()
4189 private static BackupEligibilityRules getEligibilityRules(PackageManager packageManager, in getEligibilityRules()
4191 return new BackupEligibilityRules(packageManager, in getEligibilityRules()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java64 import com.android.server.backup.utils.BackupEligibilityRules;
97 @Mock BackupEligibilityRules mBackupEligibilityRules;
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java70 import com.android.server.backup.utils.BackupEligibilityRules;
226 BackupEligibilityRules backupEligibilityRules) { in start()
268 private final BackupEligibilityRules mBackupEligibilityRules;
320 BackupEligibilityRules backupEligibilityRules) { in KeyValueBackupTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/restore/
DActiveRestoreSessionTest.java61 import com.android.server.backup.utils.BackupEligibilityRules;
102 @Mock private BackupEligibilityRules mBackupEligibilityRules;
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java124 import com.android.server.backup.utils.BackupEligibilityRules;
214 private BackupEligibilityRules mBackupEligibilityRules;
271 mBackupEligibilityRules = new BackupEligibilityRules(mPackageManager, in setUp()
3055 BackupEligibilityRules backupEligibilityRules) { in ThrowingPackageManagerBackupAgent()
/frameworks/base/services/
Dart-wear-profile8609 …roid/content/pm/PackageManager;ILcom/android/server/backup/utils/BackupEligibilityRules;)Ljava/uti…
8681 …PackageManager;ILandroid/content/Context;I)Lcom/android/server/backup/utils/BackupEligibilityRules;
8774 PLcom/android/server/backup/utils/BackupEligibilityRules;-><clinit>()V
8775 PLcom/android/server/backup/utils/BackupEligibilityRules;-><init>(Landroid/content/pm/PackageManage…
8776 PLcom/android/server/backup/utils/BackupEligibilityRules;-><init>(Landroid/content/pm/PackageManage…
8777 HPLcom/android/server/backup/utils/BackupEligibilityRules;->appGetsFullBackup(Landroid/content/pm/P…
8778 HPLcom/android/server/backup/utils/BackupEligibilityRules;->appIsDisabled(Landroid/content/pm/Appli…
8779 HPLcom/android/server/backup/utils/BackupEligibilityRules;->appIsEligibleForBackup(Landroid/content…
8780 HPLcom/android/server/backup/utils/BackupEligibilityRules;->isAppBackupAllowed(Landroid/content/pm/…