Home
last modified time | relevance | path

Searched refs:getJobId (Results 1 – 24 of 24) 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.java92 mTestJobStatus.jobId = params.getJobId();
97 mTestJobStatus.jobId = params.getJobId();
DJobStoreTest.java170 if (loaded1.getJobId() != 8) { in testWritingTwoFilesToDisk()
336 assertEquals("Wrong job persisted.", 43, jobStatus.getJobId()); in testNonPersistedTaskIsNotPersisted()
/frameworks/base/services/core/java/com/android/server/content/
DSyncJobService.java82 Slog.wtf(TAG, "Got invalid job " + params.getJobId()); in onStartJob()
88 sLogger.log("onStartJob() jobid=", params.getJobId(), " op=", op, in onStartJob()
102 final int jobId = params.getJobId(); in onStartJob()
121 Slog.v(TAG, "onStopJob called " + params.getJobId() + ", reason: " in onStopJob()
126 Slog.wtf(TAG, "Got invalid job " + params.getJobId()); in onStopJob()
136 final int jobId = params.getJobId(); in onStopJob()
206 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.java100 public int getJobId() { in getJobId() method in JobParameters
247 return getCallback().dequeueWork(getJobId()); in dequeueWork()
271 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/job/
DJobServiceContext.java224 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob()
279 job.getStandbyBucket(), job.getJobId()); in executeRunnableJob()
345 && (!matchJobId || jobId == executing.getJobId())) { in timeoutIfExecutingLocked()
689 Slog.d(TAG, "Handling cancel for: " + mRunningJob.getJobId() + " " in handleCancelLocked()
789 mRunningJob.getStandbyBucket(), mRunningJob.getJobId()); in closeAndCleanupJobLocked()
845 mParams.getJobId() + ", in " + (timeoutMillis / 1000) + " s"); in scheduleOpTimeOutLocked()
DJobConcurrencyManager.java438 if (map[i] != null && map[i].matches(jobStatus.getUid(), jobStatus.getJobId())) { in findJobContextIdFromMap()
464 .append(map[i] == null? -1: map[i].getJobId()) in printContextIdToJobMap()
DJobStore.java430 Slog.d(TAG, "Saving job " + jobStatus.getJobId());
474 out.attribute(null, "jobid", Integer.toString(jobStatus.getJobId()));
1182 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()
DJobSchedulerService.java1061 jobStatus.getJobId()); in scheduleAsPackage()
1102 if (job.getJobId() == jobId) { in getPendingJob()
1520 if (executing != null && executing.matches(job.getUid(), job.getJobId())) { in stopJobOnServiceContextLocked()
1537 if (running != null && running.matches(job.getUid(), job.getJobId())) { in isCurrentlyActiveLocked()
3232 int id1 = o1.getJobId(); in sortJobs()
3233 int id2 = o2.getJobId(); in sortJobs()
/frameworks/base/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java98 int jobId = params.getJobId(); in onStartJob()
119 int jobId = params.getJobId(); in onStopJob()
DBackgroundDexOptService.java607 if (params.getJobId() == JOB_POST_BOOT_UPDATE) { in onStartJob()
622 if (params.getJobId() == JOB_POST_BOOT_UPDATE) { 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/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java48 switch (jobParameters.getJobId()) { in onStartJob()
/frameworks/base/services/core/java/com/android/server/
DZramWriteback.java143 if (params.getJobId() == MARK_IDLE_JOB_ID) { in onStartJob()
/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.java679 public int getJobId() { in getJobId() method in JobStatus
/frameworks/base/config/
Dboot-image-profile.txt2773 HSPLandroid/app/job/JobParameters;->getJobId()I
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt5575 method public int getJobId();
/frameworks/base/non-updatable-api/
Dcurrent.txt7405 method public int getJobId();
/frameworks/base/api/
Dcurrent.txt7405 method public int getJobId();