Home
last modified time | relevance | path

Searched refs:backupTarget (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerService.java4249 final BackupRecord backupTarget = mBackupTargets.get(app.userId); in processStartTimedOutLocked() local
4250 if (backupTarget != null && backupTarget.app.getPid() == pid) { in processStartTimedOutLocked()
4411 final BackupRecord backupTarget = mBackupTargets.get(app.userId); in attachApplicationLocked() local
4435 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 …]
DOomAdjuster.java1850 final BackupRecord backupTarget = mService.mBackupTargets.get(app.userId); in computeOomAdjLSP() local
1851 if (backupTarget != null && app == backupTarget.app) { in computeOomAdjLSP()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DMockingOomAdjusterTests.java520 BackupRecord backupTarget = new BackupRecord(null, 0, 0, 0); in testUpdateOomAdj_DoOne_Backup() local
521 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() local
825 backupTarget.app = client; in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient()
826 doReturn(backupTarget).when(sService.mBackupTargets).get(anyInt()); in testUpdateOomAdj_DoOne_Service_BoundByBackup_AboveClient()