Home
last modified time | relevance | path

Searched refs:KeyValueBackupJob (Results 1 – 12 of 12) sorted by relevance

/frameworks/base/services/robotests/backup/src/com/android/server/backup/
DKeyValueBackupJobTest.java70 KeyValueBackupJob.cancel(mUserOneId, mContext); in tearDown()
71 KeyValueBackupJob.cancel(mUserTwoId, mContext); in tearDown()
77 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testSchedule_isNoopIfDisabled()
79 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testSchedule_isNoopIfDisabled()
85 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testSchedule_schedulesJobIfEnabled()
87 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testSchedule_schedulesJobIfEnabled()
92 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()
93 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse()
98 KeyValueBackupJob.schedule(mUserOneId, mContext, mUserBackupManagerService); in testIsScheduled_afterScheduling_returnsTrue()
99 KeyValueBackupJob.schedule(mUserTwoId, mContext, mUserBackupManagerService); in testIsScheduled_afterScheduling_returnsTrue()
[all …]
DUserBackupManagerServiceTest.java1377 @Implements(KeyValueBackupJob.class)
/frameworks/base/services/backup/java/com/android/server/backup/
DKeyValueBackupJob.java44 public class KeyValueBackupJob extends JobService { class
47 new ComponentName(PLATFORM_PACKAGE_NAME, KeyValueBackupJob.class.getName());
74 synchronized (KeyValueBackupJob.class) { in schedule()
119 synchronized (KeyValueBackupJob.class) { in cancel()
129 synchronized (KeyValueBackupJob.class) { in nextScheduled()
136 synchronized (KeyValueBackupJob.class) { in isScheduled()
145 synchronized (KeyValueBackupJob.class) { in onStartJob()
DUserBackupManagerService.java1982 KeyValueBackupJob.schedule(mUserId, mContext, BUSY_BACKOFF_MIN_MILLIS, in cancelBackups()
2524 KeyValueBackupJob.schedule(mUserId, mContext, in dataChangedImpl()
2760 KeyValueBackupJob.schedule(mUserId, mContext, in backupNow()
2802 KeyValueBackupJob.cancel(mUserId, mContext); in backupNow()
3266 KeyValueBackupJob.cancel(mUserId, mContext); in setFrameworkSchedulingEnabled()
3269 KeyValueBackupJob.schedule(mUserId, mContext, /* userBackupManagerService */ this); in setFrameworkSchedulingEnabled()
3290 KeyValueBackupJob.schedule(mUserId, mContext, /* userBackupManagerService */ this); in updateStateOnBackupEnabled()
3298 KeyValueBackupJob.cancel(mUserId, mContext); in updateStateOnBackupEnabled()
4277 pw.println(" next scheduled: " + KeyValueBackupJob.nextScheduled(mUserId)); in dumpInternal()
DBackupManagerService.java414 KeyValueBackupJob.cancel(userId, mContext); in stopServiceForUser()
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/
DShadowKeyValueBackupJob.java23 import com.android.server.backup.KeyValueBackupJob;
29 @Implements(KeyValueBackupJob.class)
/frameworks/base/services/backup/java/com/android/server/backup/internal/
DSetupObserver.java28 import com.android.server.backup.KeyValueBackupJob;
79 KeyValueBackupJob.schedule(mUserBackupManagerService.getUserId(), mContext, in onChange()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/
DSetupObserverTest.java30 import com.android.server.backup.KeyValueBackupJob;
144 KeyValueBackupJob.MIN_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup()
145 KeyValueBackupJob.MAX_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/backup/
DUserBackupManagerServiceTest.java146 matchesJobWithId(KeyValueBackupJob.getJobIdForUserId( in testSetFrameworkSchedulingEnabled_enablesAndSchedulesBackups()
166 verify(mJobScheduler).cancel(KeyValueBackupJob.getJobIdForUserId(USER_ID)); in testSetFrameworkSchedulingEnabled_disablesAndCancelBackups()
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/
DKeyValueBackupTask.java57 import com.android.server.backup.KeyValueBackupJob;
1250 KeyValueBackupJob.schedule(mBackupManagerService.getUserId(), in revertTask()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/
DKeyValueBackupTaskTest.java112 import com.android.server.backup.KeyValueBackupJob;
2940 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()
/frameworks/base/services/
Dart-wear-profile8603 PLcom/android/server/backup/KeyValueBackupJob;-><clinit>()V
8604 PLcom/android/server/backup/KeyValueBackupJob;->cancel(ILandroid/content/Context;)V
8605 PLcom/android/server/backup/KeyValueBackupJob;->clearScheduledForUserId(I)V
8606 PLcom/android/server/backup/KeyValueBackupJob;->getJobIdForUserId(I)I
8607 HPLcom/android/server/backup/KeyValueBackupJob;->schedule(ILandroid/content/Context;JLcom/android/s…
8608 PLcom/android/server/backup/KeyValueBackupJob;->schedule(ILandroid/content/Context;Lcom/android/ser…