Home
last modified time | relevance | path

Searched refs:EXTRA_JOB_NAME_KEY (Results 1 – 7 of 7) sorted by relevance

/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/backuprestore/
DBackupRestoreTest.java28 …ndroid.server.healthconnect.backuprestore.BackupRestore.BackupRestoreJobService.EXTRA_JOB_NAME_KEY;
238 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testSetDataDownloadState_downloadStarted_schedulesDownloadTimeoutJob()
258 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testSetDataDownloadState_downloadRetry_schedulesDownloadTimeoutJob()
278 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testSetInternalRestoreState_waitingForStaging_schedulesStagingTimeoutJob()
298 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testSetInternalRestoreState_stagingInProgress_schedulesStagingTimeoutJob()
319 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testSetInternalRestoreState_mergingInProgress_schedulesMergingTimeoutJob()
337 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testScheduleAllPendingJobs_downloadStarted_schedulesDownloadTimeoutJob()
355 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testScheduleAllPendingJobs_downloadRetry_schedulesDownloadTimeoutJob()
376 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testDownloadTimeoutJob_downloadLatencyNotElapsed_usesDefaultLatency()
401 assertThat(jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)) in testDownloadTimeoutJob_downloadLatencyElapsed_usesMinimumLatency()
[all …]
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/
DHealthConnectDailyService.java49 public static final String EXTRA_JOB_NAME_KEY = "job_name"; field in HealthConnectDailyService
62 String jobName = params.getExtras().getString(EXTRA_JOB_NAME_KEY); in onStartJob()
134 + jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)); in schedule()
139 + jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)); in schedule()
DHealthConnectDailyJobs.java21 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_JOB_NAME_KEY;
51 extras.putString(EXTRA_JOB_NAME_KEY, HC_DAILY_JOB); in schedule()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/migration/
DMigrationStateChangeJob.java24 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_JOB_NAME_KEY;
64 extras.putString(EXTRA_JOB_NAME_KEY, MIGRATION_COMPLETE_JOB_NAME); in scheduleMigrationCompletionJob()
86 extras.putString(EXTRA_JOB_NAME_KEY, MIGRATION_PAUSE_JOB_NAME); in scheduleMigrationPauseJob()
194 if (jobName.equals(job.getExtras().getString(EXTRA_JOB_NAME_KEY))) { in existsAStateChangeJob()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/backuprestore/
DBackupRestore.java33 …ndroid.server.healthconnect.backuprestore.BackupRestore.BackupRestoreJobService.EXTRA_JOB_NAME_KEY;
544 String jobName = extras.getString(EXTRA_JOB_NAME_KEY); in handleJob()
720 extras.putString(EXTRA_JOB_NAME_KEY, DATA_DOWNLOAD_TIMEOUT_KEY); in scheduleDownloadStateTimeoutJob()
778 extras.putString(EXTRA_JOB_NAME_KEY, DATA_STAGING_TIMEOUT_KEY); in scheduleStagingTimeoutJob()
833 extras.putString(EXTRA_JOB_NAME_KEY, DATA_MERGING_TIMEOUT_KEY); in scheduleMergingTimeoutJob()
878 extras.putString(EXTRA_JOB_NAME_KEY, DATA_MERGING_RETRY_KEY); in scheduleRetryMergingJob()
1005 public static final String EXTRA_JOB_NAME_KEY = "job_name"; field in BackupRestore.BackupRestoreJobService
1024 String jobName = params.getExtras().getString(EXTRA_JOB_NAME_KEY); in onStartJob()
1055 + jobInfo.getExtras().getString(EXTRA_JOB_NAME_KEY)); in schedule()
/packages/modules/HealthFitness/tests/unittests/src/com/android/server/healthconnect/migration/
DMigrationStateChangeJobTest.java27 import static com.android.server.healthconnect.HealthConnectDailyService.EXTRA_JOB_NAME_KEY;
466 when(mPersistableBundle.getString(eq(EXTRA_JOB_NAME_KEY))) in configureExistsAMigrationPauseJob()
475 when(mPersistableBundle.getString(eq(EXTRA_JOB_NAME_KEY))) in configureExistsAMigrationCompleteJob()
499 && Objects.equals(job.getExtras().getString(EXTRA_JOB_NAME_KEY), name); in hasCorrectName()
/packages/modules/HealthFitness/service/java/com/android/server/healthconnect/exportimport/
DExportImportJobs.java57 extras.putString(HealthConnectDailyService.EXTRA_JOB_NAME_KEY, PERIODIC_EXPORT_JOB_NAME); in schedulePeriodicExportJob()