Searched refs:eligibilityRules (Results 1 – 8 of 8) sorted by relevance
112 BackupEligibilityRules eligibilityRules = mRestoreSession.getBackupEligibilityRules( in testGetBackupEligibilityRules_skipRestoreFlagOn_skipsLaunchedAppRestore() local115 assertThat(eligibilityRules.isAppEligibleForRestore(mTestApp)).isFalse(); in testGetBackupEligibilityRules_skipRestoreFlagOn_skipsLaunchedAppRestore()129 BackupEligibilityRules eligibilityRules = mRestoreSession.getBackupEligibilityRules( in testGetBackupEligibilityRules_skipRestoreFlagOff_allowsAppRestore() local132 assertThat(eligibilityRules.isAppEligibleForRestore(mTestApp)).isTrue(); in testGetBackupEligibilityRules_skipRestoreFlagOff_allowsAppRestore()
39 BackupEligibilityRules eligibilityRules) { in AdbBackupParams() argument50 backupEligibilityRules = eligibilityRules; in AdbBackupParams()
50 BackupEligibilityRules eligibilityRules) { in createForSinglePackage() argument61 eligibilityRules); in createForSinglePackage()
300 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_backupNotAllowedAndInMigration_returnsTrue() local302 boolean isEligible = eligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_backupNotAllowedAndInMigration_returnsTrue()312 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_backupNotAllowedForSystemAppAndInMigration_returnsFalse() local314 boolean isEligible = eligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_backupNotAllowedForSystemAppAndInMigration_returnsFalse()325 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_adbBackupNotAllowed_returnsFalseForAdbBackup() local331 boolean isEligible = eligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_adbBackupNotAllowed_returnsFalseForAdbBackup()342 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_adbBackupAllowed_returnsTrueForAdbBackup() local348 boolean isEligible = eligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_adbBackupAllowed_returnsTrueForAdbBackup()359 BackupEligibilityRules eligibilityRules = getBackupEligibilityRules( in appIsEligibleForBackup_debuggableNonPrivilegedApp_returnsTrueForAdbBackup() local362 boolean isEligible = eligibilityRules.appIsEligibleForBackup(applicationInfo); in appIsEligibleForBackup_debuggableNonPrivilegedApp_returnsTrueForAdbBackup()[all …]
168 BackupEligibilityRules eligibilityRules = in installApk() local171 if (eligibilityRules.signaturesMatch(sigs, pkg)) { in installApk()
415 PackageManagerInternal pmi, int userId, BackupEligibilityRules eligibilityRules, in chooseRestorePolicy() argument428 if (eligibilityRules.isAppBackupAllowed(pkgInfo.applicationInfo)) { in chooseRestorePolicy()440 if (eligibilityRules.signaturesMatch(signatures, pkgInfo)) { in chooseRestorePolicy()
112 BackupEligibilityRules eligibilityRules = new BackupEligibilityRules( in run() local120 true, 0 /*unused*/, true, eligibilityRules); in run()
2867 BackupEligibilityRules eligibilityRules = getEligibilityRulesForOperation( in adbBackup() local2871 pkgList, eligibilityRules); in adbBackup()