Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java73 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
88 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
102 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
120 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
138 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
156 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
174 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
192 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
210 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
227 boolean isDisabled = AppBackupUtils.appIsDisabled(applicationInfo, mPackageManagerStub); in appIsDisabled_stateEnabled_returnsFalse()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowAppBackupUtils.java23 import com.android.server.backup.utils.AppBackupUtils;
30 @Implements(AppBackupUtils.class)
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java41 public class AppBackupUtils { class
110 packageInfo, AppBackupUtils.appGetsFullBackup(packageInfo)); in appIsRunningAndEligibleForBackupWithTransport()
DRestoreUtils.java160 if (AppBackupUtils.signaturesMatch(sigs, pkg, pmi)) { in installApk()
DTarBackupReader.java416 if (AppBackupUtils.signaturesMatch(signatures, pkgInfo, pmi)) { in chooseRestorePolicy()
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/
DPerformAdbBackupTask.java41 import com.android.server.backup.utils.AppBackupUtils;
291 if (!AppBackupUtils.appIsEligibleForBackup(pkg.applicationInfo, pm) in run()
292 || AppBackupUtils.appIsStopped(pkg.applicationInfo)) { in run()
298 } else if (AppBackupUtils.appIsKeyValueOnly(pkg)) { in run()
DPerformFullTransportBackupTask.java56 import com.android.server.backup.utils.AppBackupUtils;
191 if (!AppBackupUtils.appIsEligibleForBackup(info.applicationInfo, pm)) { in PerformFullTransportBackupTask()
207 } else if (!AppBackupUtils.appGetsFullBackup(info)) { in PerformFullTransportBackupTask()
222 } else if (AppBackupUtils.appIsStopped(info.applicationInfo)) { in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DBackupManagerService.java124 import com.android.server.backup.utils.AppBackupUtils;
970 if (AppBackupUtils.appGetsFullBackup(pkg) in readFullBackupSchedule()
971 && AppBackupUtils.appIsEligibleForBackup( in readFullBackupSchedule()
991 if (AppBackupUtils.appGetsFullBackup(app) in readFullBackupSchedule()
992 && AppBackupUtils.appIsEligibleForBackup( in readFullBackupSchedule()
1018 if (AppBackupUtils.appGetsFullBackup(info) && AppBackupUtils.appIsEligibleForBackup( in readFullBackupSchedule()
1271 if (AppBackupUtils.appGetsFullBackup(app)
1272 && AppBackupUtils.appIsEligibleForBackup(
1649 if (!AppBackupUtils.appIsEligibleForBackup(packageInfo.applicationInfo, in requestBackup()
1655 if (AppBackupUtils.appGetsFullBackup(packageInfo)) { in requestBackup()
[all …]
DPackageManagerBackupAgent.java36 import com.android.server.backup.utils.AppBackupUtils;
164 if (!AppBackupUtils.appIsEligibleForBackup(pkg.applicationInfo, pm)) { in getStorableApplications()
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DPerformBackupTask.java69 import com.android.server.backup.utils.AppBackupUtils;
432 if (!AppBackupUtils.appIsEligibleForBackup(mCurrentPackage.applicationInfo, pm)) { in invokeNextAgent()
448 if (AppBackupUtils.appGetsFullBackup(mCurrentPackage)) { in invokeNextAgent()
465 if (AppBackupUtils.appIsStopped(mCurrentPackage.applicationInfo)) { in invokeNextAgent()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java69 import com.android.server.backup.utils.AppBackupUtils;
234 if (AppBackupUtils.appIsEligibleForBackup(info.applicationInfo, pm)) { in PerformUnifiedRestoreTask()