Searched refs:KeyValueBackupJob (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/services/robotests/backup/src/com/android/server/backup/ |
D | KeyValueBackupJobTest.java | 56 KeyValueBackupJob.cancel(mUserOneId, mContext); in tearDown() 57 KeyValueBackupJob.cancel(mUserTwoId, mContext); in tearDown() 62 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse() 63 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isFalse(); in testIsScheduled_beforeScheduling_returnsFalse() 68 KeyValueBackupJob.schedule(mUserOneId, mContext, mConstants); in testIsScheduled_afterScheduling_returnsTrue() 69 KeyValueBackupJob.schedule(mUserTwoId, mContext, mConstants); in testIsScheduled_afterScheduling_returnsTrue() 71 assertThat(KeyValueBackupJob.isScheduled(mUserOneId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue() 72 assertThat(KeyValueBackupJob.isScheduled(mUserTwoId)).isTrue(); in testIsScheduled_afterScheduling_returnsTrue() 77 KeyValueBackupJob.schedule(mUserOneId, mContext, mConstants); in testIsScheduled_afterCancelling_returnsFalse() 78 KeyValueBackupJob.schedule(mUserTwoId, mContext, mConstants); in testIsScheduled_afterCancelling_returnsFalse() [all …]
|
D | UserBackupManagerServiceTest.java | 1246 @Implements(KeyValueBackupJob.class)
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueBackupJob.java | 43 public class KeyValueBackupJob extends JobService { class 46 new ComponentName("android", KeyValueBackupJob.class.getName()); 72 synchronized (KeyValueBackupJob.class) { in schedule() 115 synchronized (KeyValueBackupJob.class) { in cancel() 125 synchronized (KeyValueBackupJob.class) { in nextScheduled() 132 synchronized (KeyValueBackupJob.class) { in isScheduled() 141 synchronized (KeyValueBackupJob.class) { in onStartJob()
|
D | UserBackupManagerService.java | 1794 KeyValueBackupJob.schedule(mUserId, mContext, BUSY_BACKOFF_MIN_MILLIS, mConstants); in cancelBackups() 2360 KeyValueBackupJob.schedule(mUserId, mContext, mConstants); in dataChangedImpl() 2542 KeyValueBackupJob.schedule(mUserId, mContext, mConstants); in backupNow() 2555 KeyValueBackupJob.cancel(mUserId, mContext); in backupNow() 2878 KeyValueBackupJob.schedule(mUserId, mContext, mConstants); in setBackupEnabled() 2884 KeyValueBackupJob.cancel(mUserId, mContext); in setBackupEnabled() 3592 pw.println(" next scheduled: " + KeyValueBackupJob.nextScheduled(mUserId)); in dumpInternal()
|
D | BackupManagerService.java | 196 KeyValueBackupJob.cancel(userId, mContext); in stopServiceForUser()
|
/frameworks/base/services/robotests/src/com/android/server/testing/shadows/ |
D | ShadowKeyValueBackupJob.java | 23 import com.android.server.backup.KeyValueBackupJob; 28 @Implements(KeyValueBackupJob.class)
|
/frameworks/base/services/backup/java/com/android/server/backup/internal/ |
D | SetupObserver.java | 29 import com.android.server.backup.KeyValueBackupJob; 80 KeyValueBackupJob.schedule(mUserBackupManagerService.getUserId(), mContext, in onChange()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/internal/ |
D | SetupObserverTest.java | 30 import com.android.server.backup.KeyValueBackupJob; 136 KeyValueBackupJob.MIN_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup() 137 KeyValueBackupJob.MAX_JOB_ID, in testOnChange_whenNewlySetup_schedulesBackup()
|
/frameworks/base/services/backup/java/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTask.java | 59 import com.android.server.backup.KeyValueBackupJob; 1011 KeyValueBackupJob.schedule(mBackupManagerService.getUserId(), in revertTask()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/keyvalue/ |
D | KeyValueBackupTaskTest.java | 106 import com.android.server.backup.KeyValueBackupJob; 2736 assertThat(KeyValueBackupJob.isScheduled(mBackupManagerService.getUserId())).isTrue(); in assertTaskReverted()
|
/frameworks/base/services/ |
D | art-profile | 4775 PLcom/android/server/backup/KeyValueBackupJob;-><init>()V 4776 HSPLcom/android/server/backup/KeyValueBackupJob;->cancel(ILandroid/content/Context;)V 4777 HSPLcom/android/server/backup/KeyValueBackupJob;->getJobIdForUserId(I)I 4778 PLcom/android/server/backup/KeyValueBackupJob;->nextScheduled(I)J 4779 PLcom/android/server/backup/KeyValueBackupJob;->onStartJob(Landroid/app/job/JobParameters;)Z 4780 HSPLcom/android/server/backup/KeyValueBackupJob;->schedule(ILandroid/content/Context;JLcom/android/…
|