Home | History | Annotate | Download | only in scheduling

Lines Matching defs:context

19 import android.content.Context;
34 * {@link #createIntent(Context, Class)} from the target {@link Task}
37 public static Task createTask(Context context, Bundle extras) {
40 extras.setClassLoader(context.getClassLoader());
48 task.onCreate(context, extras);
57 * #createTask(Context, Bundle)}
66 * Create an intent that when called with {@link Context#startService(Intent)}, will queue the
70 public static Intent createIntent(Context context, Class<? extends Task> task) {
71 Intent intent = new Intent(context, TaskReceiver.class);
72 intent.setPackage(context.getPackageName());