Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java90 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
104 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
117 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
131 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
147 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
163 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
179 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndDisabled_returnsFalse()
195 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndDisabled_returnsFalse()
211 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndDisbled_returnsFalse()
328 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.java56 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
DActivityManagerService.java12098 ? new ComponentName(app.packageName, app.backupAgentName) in bindBackupAgent()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java134 if (app.backupAgentName == null) { in appIsEligibleForBackup()
298 if (pkg.applicationInfo.backupAgentName != null) { in appGetsFullBackup()
DRestoreUtils.java168 && (pkg.applicationInfo.backupAgentName == null)) { in installApk()
DTarBackupReader.java425 || (pkgInfo.applicationInfo.backupAgentName != null)) { in chooseRestorePolicy()
/frameworks/base/core/java/android/content/pm/parsing/
DParsingPackageImpl.java333 private String backupAgentName; field in ParsingPackageImpl
1028 appInfo.backupAgentName = backupAgentName;
1187 dest.writeString(this.backupAgentName);
1311 this.backupAgentName = in.readString();
1805 return backupAgentName;
2729 public ParsingPackageImpl setBackupAgentName(@Nullable String backupAgentName) {
2730 this.backupAgentName = backupAgentName;
DParsingPackage.java241 ParsingPackage setBackupAgentName(String backupAgentName); in setBackupAgentName() argument
DParsingPackageUtils.java1897 String backupAgentName = ParsingUtils.buildClassName(pkgName, backupAgent); in parseBaseApplication() local
1898 if (backupAgentName == null) { in parseBaseApplication()
1903 Slog.v(TAG, "android:backupAgent = " + backupAgentName in parseBaseApplication()
1907 pkg.setBackupAgentName(backupAgentName) in parseBaseApplication()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java118 public String backupAgentName; field in ApplicationInfo
1849 backupAgentName = orig.backupAgentName; in ApplicationInfo()
1937 dest.writeString8(backupAgentName); in writeToParcel()
2024 backupAgentName = source.readString8(); in ApplicationInfo()
DPackageParser.java3397 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseBaseApplication()
3399 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseBaseApplication()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java348 if (mTargetApp.backupAgentName == null || forceClear) { in restoreOneFile()
357 + mTargetApp.backupAgentName + ") => no clear"); in restoreOneFile()
DPerformUnifiedRestoreTask.java634 if (mCurrentPackage.applicationInfo.backupAgentName == null in restoreKeyValue()
635 || "".equals(mCurrentPackage.applicationInfo.backupAgentName)) { in restoreKeyValue()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DPackageParserTest.java809 assertEquals(a.backupAgentName, that.backupAgentName); in assertApplicationInfoEqual()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1586 || app.backupAgentName == null in allAgentPackages()
4263 pw.println(pkg.applicationInfo.backupAgentName); in dumpAgents()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2618 packageInfo.applicationInfo.backupAgentName = packageData.agentName; in getPackageInfo()
/frameworks/base/core/java/android/app/
DActivityThread.java799 + " backupAgent=" + appInfo.backupAgentName in toString()
4413 String agentName = data.appInfo.backupAgentName; in getBackupAgentName()
/frameworks/base/core/api/
Dcurrent.txt12005 field public String backupAgentName;
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8392 field public java.lang.String backupAgentName;