Home
last modified time | relevance | path

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

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/utils/
DBackupEligibilityRulesTest.java98 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_backupNotAllowed_returnsFalse()
114 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemUid_nonSystemUser_notAllowedPackage_returnsFalse()
130 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemUid_nonSystemUser_allowedPackage_returnsTrue()
146 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemUid_profileUser_notAllowedPackage_returnsFalse()
162 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemUid_profileUser_allowedPackage_returnsTrue()
176 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_systemAppWithoutCustomBackupAgent_returnsFalse()
189 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_sharedStorageBackupPackage_returnsFalse()
203 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_systemAppWithCustomBackupAgentAndEnabled_returnsTrue()
219 applicationInfo.backupAgentName = null; in appIsEligibleForBackup_nonSystemAppWithoutCustomBackupAgentAndEnabled_returnsTrue()
235 applicationInfo.backupAgentName = CUSTOM_BACKUP_AGENT_NAME; in appIsEligibleForBackup_nonSystemAppWithCustomBackupAgentAndEnabled_returnsTrue()
[all …]
DTarBackupReaderTest.java358 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_systemAppWithNoAgent_returnsIgnore()
387 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_nonSystemAppSignaturesDoNotMatch_returnsIgnore()
424 packageInfo.applicationInfo.backupAgentName = "backup.agent"; in chooseRestorePolicy_systemAppWithBackupAgentAndRestoreAnyVersion_returnsAccept()
462 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_restoreAnyVersion_returnsAccept()
503 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionButVersionMatch_returnsAccept()
652 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchButAllowApksAndHasApk_returnsAcceptIfApk()
696 packageInfo.applicationInfo.backupAgentName = null; in chooseRestorePolicy_notRestoreAnyVersionAndVersionMismatchAndDoesNotAllowApks_returnsIgnore()
736 packageInfo.applicationInfo.backupAgentName = null; in createNonRestoreAnyVersionUPackage()
/frameworks/base/services/backup/java/com/android/server/backup/utils/
DBackupEligibilityRules.java177 if (app.backupAgentName == null) { in appIsEligibleForBackup()
314 if (app.backupAgentName != null) { in isAppEligibleForRestore()
363 if (pkg.applicationInfo.backupAgentName != null) { in appGetsFullBackup()
DRestoreUtils.java175 && (pkg.applicationInfo.backupAgentName == null)) { in installApk()
DTarBackupReader.java432 || (pkgInfo.applicationInfo.backupAgentName != null)) { in chooseRestorePolicy()
/frameworks/base/services/core/java/com/android/server/am/
DBackupRecord.java55 .append(' ').append(appInfo.backupAgentName).append('}'); in toString()
/frameworks/base/core/java/android/content/pm/
DApplicationInfo.java132 public String backupAgentName; field in ApplicationInfo
1996 backupAgentName = orig.backupAgentName; in ApplicationInfo()
2088 dest.writeString8(backupAgentName); in writeToParcel()
2191 backupAgentName = source.readString8(); in ApplicationInfo()
DPackageParser.java3453 ai.backupAgentName = buildClassName(pkgName, backupAgent, outError); in parseBaseApplication()
3455 Slog.v(TAG, "android:backupAgent = " + ai.backupAgentName in parseBaseApplication()
/frameworks/base/services/backup/java/com/android/server/backup/restore/
DFullRestoreEngine.java391 if (mTargetApp.backupAgentName == null || forceClear) { in restoreOneFile()
400 + mTargetApp.backupAgentName + ") => no clear"); in restoreOneFile()
DPerformUnifiedRestoreTask.java775 if (mCurrentPackage.applicationInfo.backupAgentName == null in restoreKeyValue()
776 || "".equals(mCurrentPackage.applicationInfo.backupAgentName)) { in restoreKeyValue()
/frameworks/base/core/java/com/android/internal/pm/parsing/pkg/
DPackageImpl.java334 private String backupAgentName; field in PackageImpl
899 return backupAgentName; in getBackupAgentName()
1920 public PackageImpl setBackupAgentName(@Nullable String backupAgentName) {
1921 this.backupAgentName = backupAgentName;
2590 appInfo.backupAgentName = backupAgentName;
3208 dest.writeString(this.backupAgentName);
3374 this.backupAgentName = in.readString();
/frameworks/base/core/java/com/android/internal/pm/pkg/parsing/
DParsingPackage.java257 ParsingPackage setBackupAgentName(String backupAgentName); in setBackupAgentName() argument
DParsingPackageUtils.java2031 String backupAgentName = ParsingUtils.buildClassName(pkgName, backupAgent);
2032 if (backupAgentName == null) {
2037 Slog.v(TAG, "android:backupAgent = " + backupAgentName
2041 pkg.setBackupAgentName(backupAgentName)
/frameworks/base/services/tests/PackageManagerServiceTests/server/src/com/android/server/pm/
DPackageParserTest.java1163 assertEquals(a.backupAgentName, that.backupAgentName); in assertApplicationInfoEqual()
/frameworks/base/services/backup/java/com/android/server/backup/
DUserBackupManagerService.java1570 || app.backupAgentName == null in allAgentPackages()
4229 pw.println(pkg.applicationInfo.backupAgentName); in dumpAgents()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java2659 packageInfo.applicationInfo.backupAgentName = packageData.agentName; in getPackageInfo()
/frameworks/base/core/java/android/app/
DActivityThread.java892 + " backupAgent=" + appInfo.backupAgentName in toString()
4890 String agentName = data.appInfo.backupAgentName; in getBackupAgentName()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8392 field public java.lang.String backupAgentName;
/frameworks/base/core/api/
Dcurrent.txt12224 field public String backupAgentName;