Home
last modified time | relevance | path

Searched refs:FullBackupJob (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DFullBackupJobTest.java19 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 …]
DBackupManagerServiceRoboTest.java1011 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/
DSetupObserverTest.java28 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/
DFullBackupJob.java34 public class FullBackupJob extends JobService { class
43 new ComponentName(PLATFORM_PACKAGE_NAME, FullBackupJob.class.getName());
DUserBackupManagerService.java1984 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()
DBackupManagerService.java415 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/
DPerformFullTransportBackupTask.java45 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/
DUserBackupManagerServiceTest.java149 matchesJobWithId(FullBackupJob.getJobIdForUserId( in testSetFrameworkSchedulingEnabled_enablesAndSchedulesBackups()
165 verify(mJobScheduler).cancel(FullBackupJob.getJobIdForUserId(USER_ID)); in testSetFrameworkSchedulingEnabled_disablesAndCancelBackups()