Home
last modified time | relevance | path

Searched refs:JobInfo (Results 1 – 6 of 6) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/content/
DMediaContentJob.java19 import android.app.job.JobInfo;
53 JobInfo.Builder builder = new JobInfo.Builder(JobIds.MEDIA_CONTENT_JOB, in scheduleJob()
55 builder.addTriggerContentUri(new JobInfo.TriggerContentUri(MEDIA_URI, in scheduleJob()
56 JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS)); in scheduleJob()
63 List<JobInfo> jobs = js.getAllPendingJobs(); in isScheduled()
DPhotosContentJob.java22 import android.app.job.JobInfo;
62 static final JobInfo JOB_INFO;
65 JobInfo.Builder builder = new JobInfo.Builder(JobIds.PHOTOS_CONTENT_JOB,
68 builder.addTriggerContentUri(new JobInfo.TriggerContentUri( in builder.addTriggerContentUri()
70 JobInfo.TriggerContentUri.FLAG_NOTIFY_FOR_DESCENDANTS)); in builder.addTriggerContentUri()
72 builder.addTriggerContentUri(new JobInfo.TriggerContentUri(MEDIA_URI, 0)); in builder.addTriggerContentUri()
97 List<JobInfo> jobs = js.getAllPendingJobs(); in isScheduled()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DJobWorkServiceActivity.java20 import android.app.job.JobInfo;
37 JobInfo mJobInfo;
44 mJobInfo = new JobInfo.Builder(R.string.job_service_created, in onCreate()
/development/samples/browseable/JobScheduler/src/com.example.android.jobscheduler/
DMainActivity.java20 import android.app.job.JobInfo;
124 JobInfo.Builder builder = new JobInfo.Builder(mJobId++, mServiceComponent); in scheduleJob()
137 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_UNMETERED); in scheduleJob()
139 builder.setRequiredNetworkType(JobInfo.NETWORK_TYPE_ANY); in scheduleJob()
174 List<JobInfo> allPendingJobs = jobScheduler.getAllPendingJobs(); in finishJob()
/development/tools/otagui/
Dota_interface.py12 class JobInfo: class
186 status = JobInfo(*row)
202 statuses = [JobInfo(*row) for row in rows]
292 job_info = JobInfo(id,
Dtest_ota_interface.py2 from ota_interface import JobInfo, ProcessesManagement
20 job_info = JobInfo(id=self.test_id,