Home
last modified time | relevance | path

Searched refs:getJobId (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DMockPriorityJobService.java38 Log.i(TAG, "Test job executing: " + params.getJobId()); in onStartJob()
40 new TestEnvironment.Event(TestEnvironment.EVENT_START_JOB, params.getJobId())); in onStartJob()
46 Log.i(TAG, "Test job stop executing: " + params.getJobId()); in onStopJob()
52 Log.d(TAG, "preempted " + String.valueOf(params.getJobId())); in onStopJob()
55 .add(new TestEnvironment.Event(event, params.getJobId())); in onStopJob()
DBackgroundRestrictionsTest.java91 mTestJobStatus.jobId = params.getJobId();
96 mTestJobStatus.jobId = params.getJobId();
DJobStoreTest.java172 if (loaded1.getJobId() != 8) { in testWritingTwoFilesToDisk()
338 assertEquals("Wrong job persisted.", 43, jobStatus.getJobId()); in testNonPersistedTaskIsNotPersisted()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java88 final int jobId = params.getJobId(); in onStartJob()
98 mLogger.log("onStartJob() jobid=", params.getJobId(), " op=", op); in onStartJob()
101 Slog.e(TAG, "Got invalid job " + params.getJobId()); in onStartJob()
115 Slog.v(TAG, "onStopJob called " + params.getJobId() + ", reason: " in onStopJob()
123 final int jobId = params.getJobId(); in onStopJob()
200 return "job:#" + params.getJobId() + ":" in jobParametersToString()
/frameworks/base/core/java/android/app/job/
DJobServiceEngine.java111 Log.e(TAG, "Error while executing job: " + params.getJobId()); in handleMessage()
129 callback.jobFinished(params.getJobId(), needsReschedule); in handleMessage()
146 final int jobId = params.getJobId(); in ackStartMessage()
162 final int jobId = params.getJobId(); in ackStopMessage()
DJobParameters.java96 public int getJobId() { in getJobId() method in JobParameters
243 return getCallback().dequeueWork(getJobId()); in dequeueWork()
267 if (!getCallback().completeWork(getJobId(), work.getWorkId())) { in completeWork()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/service/
DTestJobService.java84 Log.i(TAG, "on start job: " + params.getJobId() in onStartJob()
94 this, "On start job: '" + params.getJobId() + "' deadline exceeded: " + in onStartJob()
104 Log.i(TAG, "on stop job: " + params.getJobId()); in onStopJob()
/frameworks/base/services/tests/servicestests/test-apps/JobTestApp/src/com/android/servicestests/apps/jobtestapp/
DTestJobService.java35 Log.i(TAG, "Test job executing: " + params.getJobId()); in onStartJob()
44 Log.i(TAG, "Test job stopped executing: " + params.getJobId()); in onStopJob()
/frameworks/base/services/core/java/com/android/server/net/watchlist/
DReportWatchlistJobService.java45 if (jobParameters.getJobId() != REPORT_WATCHLIST_RECORDS_JOB_ID) { in onStartJob()
/frameworks/base/services/core/java/com/android/server/job/
DJobServiceContext.java224 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob()
333 && (!matchJobId || jobId == executing.getJobId())) { in timeoutIfExecutingLocked()
677 Slog.d(TAG, "Handling cancel for: " + mRunningJob.getJobId() + " " in handleCancelLocked()
832 mParams.getJobId() + ", in " + (timeoutMillis / 1000) + " s"); in scheduleOpTimeOutLocked()
DJobSchedulerService.java929 if (job.getJobId() == jobId) { in getPendingJob()
1310 if (executing != null && executing.matches(job.getUid(), job.getJobId())) { in stopJobOnServiceContextLocked()
1327 if (running != null && running.matches(job.getUid(), job.getJobId())) { in isCurrentlyActiveLocked()
2221 if (map[i] != null && map[i].matches(jobStatus.getUid(), jobStatus.getJobId())) { in findJobContextIdFromMap()
2980 .append(map[i] == null? -1: map[i].getJobId()) in printContextIdToJobMap()
3015 int id1 = o1.getJobId(); in sortJobs()
3016 int id2 = o2.getJobId(); in sortJobs()
DJobStore.java378 Slog.d(TAG, "Saving job " + jobStatus.getJobId());
423 out.attribute(null, "jobid", Integer.toString(jobStatus.getJobId()));
1143 if (job.getJobId() == jobId) { in get()
DJobPackageTracker.java476 job.getSourceUid(), job.getBatteryName(), job.getJobId(), 0, null); in noteActive()
489 job.getSourceUid(), job.getBatteryName(), job.getJobId(), stopReason, debugReason); in noteInactive()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java49 switch (jobParameters.getJobId()) { in onStartJob()
/frameworks/base/services/core/java/com/android/server/pm/
DBackgroundDexOptService.java458 if (params.getJobId() == JOB_POST_BOOT_UPDATE) { in onStartJob()
473 if (params.getJobId() == JOB_POST_BOOT_UPDATE) { in onStopJob()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java183 mParamsTextView.setText("Executing: " + params.getJobId() + " " + params.getExtras()); in onReceivedStartJob()
/frameworks/base/services/core/java/com/android/server/job/controllers/
DJobStatus.java604 public int getJobId() { in getJobId() method in JobStatus
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5575 method public int getJobId();
/frameworks/base/config/
Dhiddenapi-public-dex.txt3224 Landroid/app/job/JobParameters;->getJobId()I
Dboot-image-profile.txt16040 HSPLandroid/app/job/JobParameters;->getJobId()I
/frameworks/base/api/
Dcurrent.txt7150 method public int getJobId();