Searched refs:FullBackupJob (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | FullBackupJobTest.java | 19 import static com.android.server.backup.FullBackupJob.getJobIdForUserId; 81 FullBackupJob.cancel(mUserOneId, mContext); in tearDown() 82 FullBackupJob.cancel(mUserTwoId, mContext); in tearDown() 87 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_afterScheduling_jobExists() 88 FullBackupJob.schedule(mUserTwoId, mContext, 0, mUserBackupManagerService); in testSchedule_afterScheduling_jobExists() 98 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_notWatch_requiresDeviceIdle() 107 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testSchedule_isWatch_doesNotRequireDeviceIdle() 115 FullBackupJob.schedule(mUserOneId, mContext, 0, mUserBackupManagerService); in testCancel_afterCancelling_jobDoesntExist() 116 FullBackupJob.schedule(mUserTwoId, mContext, 0, mUserBackupManagerService); in testCancel_afterCancelling_jobDoesntExist() 117 FullBackupJob.cancel(mUserOneId, mContext); in testCancel_afterCancelling_jobDoesntExist() [all …]
|
D | BackupManagerServiceRoboTest.java | 1011 FullBackupJob job = new FullBackupJob(); in testBeginFullBackup_onRegisteredUser_callsMethodForUser() 1022 FullBackupJob job = new FullBackupJob(); in testBeginFullBackup_onUnknownUser_doesNotPropagateCall()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
D | SetupObserverTest.java | 28 import com.android.server.backup.FullBackupJob; 151 FullBackupJob.MIN_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup() 152 FullBackupJob.MAX_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FullBackupJob.java | 34 public class FullBackupJob extends JobService { class 43 new ComponentName(PLATFORM_PACKAGE_NAME, FullBackupJob.class.getName());
|
D | UserBackupManagerService.java | 1984 FullBackupJob.schedule(mUserId, mContext, 2 * BUSY_BACKOFF_MIN_MILLIS, in cancelBackups() 2114 FullBackupJob.schedule(mUserId, mContext, latency, in scheduleNextFullBackupJob() 2220 public boolean beginFullBackup(FullBackupJob scheduledJob) { in beginFullBackup() 2253 FullBackupJob.schedule(mUserId, mContext, keyValueBackupInterval, in beginFullBackup() 2420 FullBackupJob.schedule(mUserId, mContext, deferTime, in beginFullBackup() 3267 FullBackupJob.cancel(mUserId, mContext); in setFrameworkSchedulingEnabled()
|
D | BackupManagerService.java | 415 FullBackupJob.cancel(userId, mContext); in stopServiceForUser() 1589 public boolean beginFullBackup(@UserIdInt int userId, FullBackupJob scheduledJob) { in beginFullBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/fullbackup/ |
D | PerformFullTransportBackupTask.java | 45 import com.android.server.backup.FullBackupJob; 112 FullBackupJob runningJob, in newWithCurrentTransport() 154 FullBackupJob mJob; // if a scheduled job needs to be finished afterwards 176 FullBackupJob runningJob, CountDownLatch latch, IBackupObserver backupObserver, in PerformFullTransportBackupTask()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/ |
D | UserBackupManagerServiceTest.java | 149 matchesJobWithId(FullBackupJob.getJobIdForUserId( in testSetFrameworkSchedulingEnabled_enablesAndSchedulesBackups() 165 verify(mJobScheduler).cancel(FullBackupJob.getJobIdForUserId(USER_ID)); in testSetFrameworkSchedulingEnabled_disablesAndCancelBackups()
|