Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java76 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
91 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
105 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
122 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
139 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
156 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
173 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
190 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
207 boolean isEligible = AppBackupUtils.appIsEligibleForBackup(applicationInfo, in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
225 AppBackupUtils.appIsDisabled(applicationInfo, mMockPackageManagerInternal, mUserId); in appIsDisabled_stateDefaultManifestEnabled_returnsFalse()
[all …]
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowAppBackupUtils.java25 import com.android.server.backup.utils.AppBackupUtils;
34 @Implements(AppBackupUtils.class)
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java49 public class AppBackupUtils { class
137 packageInfo, AppBackupUtils.appGetsFullBackup(packageInfo)); in appIsRunningAndEligibleForBackupWithTransport()
DRestoreUtils.java162 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;
289 if (!AppBackupUtils.appIsEligibleForBackup(pkg.applicationInfo, in run()
291 || AppBackupUtils.appIsStopped(pkg.applicationInfo)) { in run()
297 } else if (AppBackupUtils.appIsKeyValueOnly(pkg)) { in run()
DPerformFullTransportBackupTask.java57 import com.android.server.backup.utils.AppBackupUtils;
195 if (!AppBackupUtils.appIsEligibleForBackup(info.applicationInfo, mUserId)) { in PerformFullTransportBackupTask()
211 } else if (!AppBackupUtils.appGetsFullBackup(info)) { in PerformFullTransportBackupTask()
226 } else if (AppBackupUtils.appIsStopped(info.applicationInfo)) { in PerformFullTransportBackupTask()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java130 import com.android.server.backup.utils.AppBackupUtils;
983 if (AppBackupUtils.appGetsFullBackup(pkg) in readFullBackupSchedule()
984 && AppBackupUtils.appIsEligibleForBackup(pkg.applicationInfo, in readFullBackupSchedule()
1004 if (AppBackupUtils.appGetsFullBackup(app) in readFullBackupSchedule()
1005 && AppBackupUtils.appIsEligibleForBackup(app.applicationInfo, in readFullBackupSchedule()
1031 if (AppBackupUtils.appGetsFullBackup(info) && AppBackupUtils.appIsEligibleForBackup( in readFullBackupSchedule()
1305 if (AppBackupUtils.appGetsFullBackup(app)
1306 && AppBackupUtils.appIsEligibleForBackup(app.applicationInfo,
1739 if (!AppBackupUtils.appIsEligibleForBackup(packageInfo.applicationInfo, mUserId)) { in requestBackup()
1744 if (AppBackupUtils.appGetsFullBackup(packageInfo)) { in requestBackup()
[all …]
DPackageManagerBackupAgent.java36 import com.android.server.backup.utils.AppBackupUtils;
167 if (!AppBackupUtils.appIsEligibleForBackup(pkg.applicationInfo, userId)) { in getStorableApplications()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java69 import com.android.server.backup.utils.AppBackupUtils;
492 if (!AppBackupUtils.appIsEligibleForBackup(applicationInfo, mUserId)) { in getPackageForBackup()
496 if (AppBackupUtils.appGetsFullBackup(packageInfo)) { in getPackageForBackup()
500 if (AppBackupUtils.appIsStopped(applicationInfo)) { in getPackageForBackup()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DPerformUnifiedRestoreTask.java68 import com.android.server.backup.utils.AppBackupUtils;
235 if (AppBackupUtils.appIsEligibleForBackup(info.applicationInfo, mUserId)) { in PerformUnifiedRestoreTask()
/frameworks/base/services/
Dart-profile5091 HSPLcom/android/server/backup/utils/AppBackupUtils;->appIsDisabled(Landroid/content/pm/ApplicationI…
5092 HSPLcom/android/server/backup/utils/AppBackupUtils;->appIsEligibleForBackup(Landroid/content/pm/App…
5093 PLcom/android/server/backup/utils/AppBackupUtils;->appIsRunningAndEligibleForBackupWithTransport(Lc…