Home
last modified time | relevance | path

Searched refs:backupAgentName (Results 1 – 21 of 21) 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/core/java/com/android/server/am/
DBackupRecord.java52 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
DActivityManagerService.java15285 ? new ComponentName(app.packageName, app.backupAgentName) in bindBackupAgent()
/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/core/java/android/content/pm/
DApplicationInfo.java114 public String backupAgentName; field in ApplicationInfo
1669 backupAgentName = orig.backupAgentName; in ApplicationInfo()
1751 dest.writeString8(backupAgentName); in writeToParcel()
1832 backupAgentName = source.readString8(); in ApplicationInfo()
DPackageParser.java3386 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseBaseApplication()
3388 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseBaseApplication()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java315 private String backupAgentName; field in ParsingPackageImpl
864 appInfo.backupAgentName = backupAgentName;
1030 dest.writeString(this.backupAgentName);
1192 this.backupAgentName = in.readString();
1690 return backupAgentName;
2592 public ParsingPackageImpl setBackupAgentName(@Nullable String backupAgentName) {
2593 this.backupAgentName = backupAgentName;
DParsingPackage.java226 ParsingPackage setBackupAgentName(String backupAgentName); in setBackupAgentName() argument
DParsingPackageUtils.java1670 String backupAgentName = ParsingUtils.buildClassName(pkgName, backupAgent); in parseBaseApplication() local
1671 if (backupAgentName == null) { in parseBaseApplication()
1676 Slog.v(TAG, "android:backupAgent = " + backupAgentName in parseBaseApplication()
1680 pkg.setBackupAgentName(backupAgentName) in parseBaseApplication()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java343 if (mTargetApp.backupAgentName == null || forceClear) { in restoreOneFile()
352 + mTargetApp.backupAgentName + ") => no clear"); in restoreOneFile()
DPerformUnifiedRestoreTask.java626 if (mCurrentPackage.applicationInfo.backupAgentName == null in restoreKeyValue()
627 || "".equals(mCurrentPackage.applicationInfo.backupAgentName)) { in restoreKeyValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java555 assertEquals(a.backupAgentName, that.backupAgentName); in assertApplicationInfoEqual()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1526 || app.backupAgentName == null in allAgentPackages()
4122 pw.println(pkg.applicationInfo.backupAgentName); in dumpAgents()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2562 packageInfo.applicationInfo.backupAgentName = packageData.agentName; in getPackageInfo()
/frameworks/base/core/java/android/app/
DActivityThread.java744 + " backupAgent=" + appInfo.backupAgentName in toString()
4080 String classname = data.appInfo.backupAgentName; in handleCreateBackupAgent()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8392 field public java.lang.String backupAgentName;
/frameworks/base/api/
Dcurrent.txt11495 field public String backupAgentName;