Home
last modified time | relevance | path

Searched refs:MIN_JOB_ID (Results 1 – 4 of 4) sorted by relevance

/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportImportJobs.java41 private static final int MIN_JOB_ID = ExportImportJobs.class.hashCode(); field in ExportImportJobs
59 new JobInfo.Builder(MIN_JOB_ID + userId, componentName) in schedulePeriodicExportJob()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDailyJobs.java43 private static final int MIN_JOB_ID = HealthConnectDailyJobs.class.hashCode(); field in HealthConnectDailyJobs
53 new JobInfo.Builder(MIN_JOB_ID + userId, componentName) in schedule()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateChangeJob.java53 static final int MIN_JOB_ID = MigrationStateChangeJob.class.hashCode(); field in MigrationStateChangeJob
66 new JobInfo.Builder(MIN_JOB_ID + userId, componentName) in scheduleMigrationCompletionJob()
88 new JobInfo.Builder(MIN_JOB_ID + userId, componentName) in scheduleMigrationPauseJob()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateChangeJobTest.java33 import static com.android.server.healthconnect.migration.MigrationStateChangeJob.MIN_JOB_ID;
457 when(mJobInfo.getId()).thenReturn(MIN_JOB_ID); in testCancelAllJobs()
460 verify(mJobScheduler).cancel(eq(MIN_JOB_ID)); in testCancelAllJobs()
509 return job.getId() == MIN_JOB_ID + DEFAULT_USER_HANDLE.getIdentifier(); in isJobIdSet()