Home
last modified time | relevance | path

Searched refs:appIsEligibleForBackup (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java101 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
117 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemUid_nonSystemUser_notAllowedPackage_returnsFalse()
133 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemUid_nonSystemUser_allowedPackage_returnsTrue()
149 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemUid_profileUser_notAllowedPackage_returnsFalse()
165 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemUid_profileUser_allowedPackage_returnsTrue()
179 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
192 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
208 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
224 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
240 boolean isEligible = mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowBackupEligibilityRules.java62 protected boolean appIsEligibleForBackup(ApplicationInfo app) { in appIsEligibleForBackup() method in ShadowBackupEligibilityRules
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java187 when(mBackupEligibilityRules.appIsEligibleForBackup(any())).thenReturn(true); in getRequestBackupParams_appIsEligibleForFullBackup()
203 when(mBackupEligibilityRules.appIsEligibleForBackup(any())).thenReturn(true); in getRequestBackupParams_appIsEligibleForKeyValueBackup()
219 when(mBackupEligibilityRules.appIsEligibleForBackup(any())).thenReturn(false); in getRequestBackupParams_appIsNotEligibleForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java154 public boolean appIsEligibleForBackup(ApplicationInfo app) { in appIsEligibleForBackup() method in BackupEligibilityRules
278 if (!appIsEligibleForBackup(applicationInfo) in appIsRunningAndEligibleForBackupWithTransport()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java297 if (!mBackupEligibilityRules.appIsEligibleForBackup(pkg.applicationInfo) in run()
DPerformFullTransportBackupTask.java214 if (!mBackupEligibilityRules.appIsEligibleForBackup(info.applicationInfo)) { in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1034 && mScheduledBackupEligibility.appIsEligibleForBackup( in readFullBackupSchedule()
1055 && mScheduledBackupEligibility.appIsEligibleForBackup( in readFullBackupSchedule()
1088 && mScheduledBackupEligibility.appIsEligibleForBackup( in readFullBackupSchedule()
1397 && mScheduledBackupEligibility.appIsEligibleForBackup(
1926 if (!backupEligibilityRules.appIsEligibleForBackup(packageInfo.applicationInfo)) { in getRequestBackupParams()
DPackageManagerBackupAgent.java169 if (!backupEligibilityRules.appIsEligibleForBackup(pkg.applicationInfo)) { in getStorableApplications()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java724 if (!mBackupEligibilityRules.appIsEligibleForBackup(applicationInfo)) { in getPackageForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java282 if (backupEligibilityRules.appIsEligibleForBackup(applicationInfo)) { in PerformUnifiedRestoreTask()
/frameworks/base/services/
Dart-wear-profile8779 HPLcom/android/server/backup/utils/BackupEligibilityRules;->appIsEligibleForBackup(Landroid/content…