Home
last modified time | relevance | path

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

/frameworks/base/services/backup/java/com/android/server/backup/params/
DRestoreParams.java38 public final BackupEligibilityRules backupEligibilityRules; field in RestoreParams
75 BackupEligibilityRules backupEligibilityRules) { in createForRestoreAtInstall() argument
87 backupEligibilityRules); in createForRestoreAtInstall()
99 BackupEligibilityRules backupEligibilityRules) { in createForRestoreAll() argument
110 backupEligibilityRules); in createForRestoreAll()
124 BackupEligibilityRules backupEligibilityRules) { in createForRestorePackages() argument
135 backupEligibilityRules); in createForRestorePackages()
148 BackupEligibilityRules backupEligibilityRules) { in RestoreParams() argument
158 this.backupEligibilityRules = backupEligibilityRules; in RestoreParams()
DAdbBackupParams.java34 public BackupEligibilityRules backupEligibilityRules; field in AdbBackupParams
50 backupEligibilityRules = eligibilityRules; in AdbBackupParams()
DBackupParams.java44 boolean nonIncrementalBackup, BackupEligibilityRules backupEligibilityRules) { in BackupParams() argument
54 this.mBackupEligibilityRules = backupEligibilityRules; in BackupParams()
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java138 PackageManager packageMgr, int userId, BackupEligibilityRules backupEligibilityRules) { in PackageManagerBackupAgent() argument
141 evaluateStorablePackages(backupEligibilityRules); in PackageManagerBackupAgent()
157 public void evaluateStorablePackages(BackupEligibilityRules backupEligibilityRules) { in evaluateStorablePackages() argument
158 mAllPackages = getStorableApplications(mPackageManager, mUserId, backupEligibilityRules); in evaluateStorablePackages()
163 PackageManager pm, int userId, BackupEligibilityRules backupEligibilityRules) { in getStorableApplications() argument
169 if (!backupEligibilityRules.appIsEligibleForBackup(pkg.applicationInfo)) { in getStorableApplications()
DUserBackupManagerService.java917 BackupEligibilityRules backupEligibilityRules) { in makeMetadataAgentWithEligibilityRules() argument
919 backupEligibilityRules); in makeMetadataAgentWithEligibilityRules()
1901 BackupEligibilityRules backupEligibilityRules = getEligibilityRulesForOperation( in requestBackup() local
1905 msg.obj = getRequestBackupParams(packages, observer, monitor, flags, backupEligibilityRules, in requestBackup()
1913 IBackupManagerMonitor monitor, int flags, BackupEligibilityRules backupEligibilityRules, in getRequestBackupParams() argument
1926 if (!backupEligibilityRules.appIsEligibleForBackup(packageInfo.applicationInfo)) { in getRequestBackupParams()
1931 if (backupEligibilityRules.appGetsFullBackup(packageInfo)) { in getRequestBackupParams()
1962 backupEligibilityRules); in getRequestBackupParams()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java869 BackupEligibilityRules backupEligibilityRules = new BackupEligibilityRules(mPackageManager, in isAppEligibleForRestore_hasBeenLaunched_returnsFalse() local
873 boolean isEligible = backupEligibilityRules.isAppEligibleForRestore(applicationInfo); in isAppEligibleForRestore_hasBeenLaunched_returnsFalse()
884 BackupEligibilityRules backupEligibilityRules = new BackupEligibilityRules(mPackageManager, in isAppEligibleForRestore_hasNotBeenLaunched_returnsTrue() local
888 boolean isEligible = backupEligibilityRules.isAppEligibleForRestore(applicationInfo); in isAppEligibleForRestore_hasNotBeenLaunched_returnsTrue()
899 BackupEligibilityRules backupEligibilityRules = new BackupEligibilityRules(mPackageManager, in isAppEligibleForRestore_launchedButHasBackupAgent_returnsTrue() local
903 boolean isEligible = backupEligibilityRules.isAppEligibleForRestore(applicationInfo); in isAppEligibleForRestore_launchedButHasBackupAgent_returnsTrue()
914 BackupEligibilityRules backupEligibilityRules = new BackupEligibilityRules(mPackageManager, in isAppEligibleForRestore_doNotSkipRestoreForLaunched_returnsTrue() local
918 boolean isEligible = backupEligibilityRules.isAppEligibleForRestore(applicationInfo); in isAppEligibleForRestore_doNotSkipRestoreForLaunched_returnsTrue()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupTask.java70 BackupEligibilityRules backupEligibilityRules) { in __constructor__() argument
DShadowPerformUnifiedRestoreTask.java71 BackupEligibilityRules backupEligibilityRules) { in __constructor__() argument
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DFullBackupEngine.java198 BackupEligibilityRules backupEligibilityRules, in FullBackupEngine() argument
213 mBackupEligibilityRules = backupEligibilityRules; in FullBackupEngine()
DPerformFullTransportBackupTask.java118 BackupEligibilityRules backupEligibilityRules) { in newWithCurrentTransport() argument
142 backupEligibilityRules); in newWithCurrentTransport()
178 boolean userInitiated, BackupEligibilityRules backupEligibilityRules) { in PerformFullTransportBackupTask() argument
198 mBackupEligibilityRules = backupEligibilityRules; in PerformFullTransportBackupTask()
DPerformAdbBackupTask.java97 BackupEligibilityRules backupEligibilityRules) { in PerformAdbBackupTask() argument
129 mBackupEligibilityRules = backupEligibilityRules; in PerformAdbBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DActiveRestoreSession.java77 BackupEligibilityRules backupEligibilityRules) { in ActiveRestoreSession() argument
83 mBackupEligibilityRules = backupEligibilityRules; in ActiveRestoreSession()
DPerformUnifiedRestoreTask.java217 BackupEligibilityRules backupEligibilityRules) { in PerformUnifiedRestoreTask() argument
240 mBackupEligibilityRules = backupEligibilityRules; in PerformUnifiedRestoreTask()
254 backupEligibilityRules); in PerformUnifiedRestoreTask()
282 if (backupEligibilityRules.appIsEligibleForBackup(applicationInfo)) { in PerformUnifiedRestoreTask()
284 && !backupEligibilityRules.isAppEligibleForRestore( in PerformUnifiedRestoreTask()
DFullRestoreEngine.java155 BackupEligibilityRules backupEligibilityRules) { in FullRestoreEngine() argument
170 mBackupEligibilityRules = backupEligibilityRules; in FullRestoreEngine()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DBackupHandler.java301 params.backupEligibilityRules); in handleMessage()
323 params.backupEligibilityRules); in handleMessage()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java226 BackupEligibilityRules backupEligibilityRules) { in start() argument
243 backupEligibilityRules); in start()
320 BackupEligibilityRules backupEligibilityRules) { in KeyValueBackupTask() argument
344 mBackupEligibilityRules = backupEligibilityRules; in KeyValueBackupTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java3055 BackupEligibilityRules backupEligibilityRules) { in ThrowingPackageManagerBackupAgent() argument
3056 super(packageManager, USER_ID, backupEligibilityRules); in ThrowingPackageManagerBackupAgent()