Home
last modified time | relevance | path

Searched refs:backupAgentName (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DAppBackupUtilsTest.java73 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
88 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
102 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
117 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
134 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
151 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
168 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
185 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
202 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
218 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsDisabled_stateDefaultManifestEnabled_returnsFalse()
[all …]
DTarBackupReaderTest.java348 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
377 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
414 packageInfo.applicationInfo.backupAgentName = "backup.agent"; in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
452 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
493 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
537 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
577 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DAppBackupUtils.java89 if (app.backupAgentName == null) { in appIsEligibleForBackup()
192 if (pkg.applicationInfo.backupAgentName != null) { in appGetsFullBackup()
DRestoreUtils.java166 && (pkg.applicationInfo.backupAgentName == null)) { in installApk()
DTarBackupReader.java408 || (pkgInfo.applicationInfo.backupAgentName != null)) { in chooseRestorePolicy()
/frameworks/base/services/core/java/com/android/server/am/
DBackupRecord.java52 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
DActivityManagerService.java14265 ? new ComponentName(app.packageName, app.backupAgentName) in bindBackupAgent()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java115 public String backupAgentName; field in ApplicationInfo
1588 backupAgentName = orig.backupAgentName; in ApplicationInfo()
1665 dest.writeString(backupAgentName); in writeToParcel()
1741 backupAgentName = source.readString(); in ApplicationInfo()
DPackageParser.java3520 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseBaseApplication()
3522 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseBaseApplication()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java354 if (mTargetApp.backupAgentName == null || forceClear) { in restoreOneFile()
363 + mTargetApp.backupAgentName + ") => no clear"); in restoreOneFile()
DPerformUnifiedRestoreTask.java611 if (mCurrentPackage.applicationInfo.backupAgentName == null in restoreKeyValue()
612 || "".equals(mCurrentPackage.applicationInfo.backupAgentName)) { in restoreKeyValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java420 assertEquals(a.backupAgentName, that.backupAgentName); in assertApplicationInfoEqual()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1441 || app.backupAgentName == null in allAgentPackages()
3578 pw.println(pkg.applicationInfo.backupAgentName); in dumpAgents()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2481 packageInfo.applicationInfo.backupAgentName = packageData.agentName; in getPackageInfo()
/frameworks/base/core/java/android/app/
DActivityThread.java710 + " backupAgent=" + appInfo.backupAgentName in toString()
3876 String classname = data.appInfo.backupAgentName; in handleCreateBackupAgent()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8392 field public java.lang.String backupAgentName;
/frameworks/base/non-updatable-api/
Dcurrent.txt11129 field public String backupAgentName;
/frameworks/base/api/
Dcurrent.txt11129 field public String backupAgentName;