private Intent createIntentForEventType(JobParameters job, int eventType) {
    return new Intent(ACTION_JOBSERVICE_EVENT)
        .putExtra(EXTRA_EVENT_TYPE, eventType)
        .putExtra(EXTRA_BUNDLE_EXTRAS, job.getExtras())
        .putExtra(EXTRA_BUNDLE_TAG, job.getTag())
        .setPackage(getPackageName());
  }
A JobService that's configured via the manifest to run in a different process.
jobdispatcher/src/testLib/com/firebase/jobdispatcher/WorkerProcessTestJobService.java