Searched refs:backupTarget (Results 1 – 3 of 3) sorted by relevance
4249 final BackupRecord backupTarget = mBackupTargets.get(app.userId); in processStartTimedOutLocked() local4250 if (backupTarget != null && backupTarget.app.getPid() == pid) { in processStartTimedOutLocked()4411 final BackupRecord backupTarget = mBackupTargets.get(app.userId); in attachApplicationLocked() local4435 if (backupTarget != null && backupTarget.appInfo.packageName.equals(processName)) { in attachApplicationLocked()4436 isRestrictedBackupMode = backupTarget.appInfo.uid >= FIRST_APPLICATION_UID in attachApplicationLocked()4437 && ((backupTarget.backupMode == BackupRecord.RESTORE) in attachApplicationLocked()4438 || (backupTarget.backupMode == BackupRecord.RESTORE_FULL) in attachApplicationLocked()4439 || (backupTarget.backupMode == BackupRecord.BACKUP_FULL)); in attachApplicationLocked()4596 if (!badApp && backupTarget != null && backupTarget.app == app) { in attachApplicationLocked()4599 notifyPackageUse(backupTarget.appInfo.packageName, in attachApplicationLocked()[all …]
1850 final BackupRecord backupTarget = mService.mBackupTargets.get(app.userId); in computeOomAdjLSP() local1851 if (backupTarget != null && app == backupTarget.app) { in computeOomAdjLSP()
520 BackupRecord backupTarget = new BackupRecord(null, 0, 0, 0); in testUpdateOomAdj_DoOne_Backup() local521 backupTarget.app = app; in testUpdateOomAdj_DoOne_Backup()522 doReturn(backupTarget).when(sService.mBackupTargets).get(anyInt()); in testUpdateOomAdj_DoOne_Backup()824 BackupRecord backupTarget = new BackupRecord(null, 0, 0, 0); in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient() local825 backupTarget.app = client; in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient()826 doReturn(backupTarget).when(sService.mBackupTargets).get(anyInt()); in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient()