Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/servicestests/src/com/android/server/job/
DMockBiasJobService.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()
DPendingJobQueueTest.java418 expectedPureOrder[idx].getJobId(), job.getJobId()); in testPendingJobSorting()
430 expectedOptimizedOrder[idx].getJobId(), job.getJobId()); in testPendingJobSorting()
504 expectedPureOrder[idx].getJobId(), job.getJobId()); in testPendingJobSorting_namespacing()
516 expectedOptimizedOrder[idx].getJobId(), job.getJobId()); in testPendingJobSorting_namespacing()
788 return "testJob " + job.getSourceUid() + "/" + job.getNamespace() + "/" + job.getJobId()
DJobStoreTest.java654 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()
208 return "job:#" + params.getJobId() + ":" in jobParametersToString()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataMaintenanceService.java45 int jobId = getJobId(userId); in scheduleJob()
59 jobScheduler.cancel(getJobId(userId)); in cancelJob()
66 int userId = getUserId(params.getJobId()); in onStartJob()
85 private static int getJobId(@UserIdInt int userId) { in getJobId() method in DataMaintenanceService
/frameworks/base/apex/jobscheduler/framework/java/android/app/job/
DJobServiceEngine.java171 Log.e(TAG, "Error while executing job: " + params.getJobId()); in handleMessage()
193 callback.jobFinished(params.getJobId(), needsReschedule); in handleMessage()
237 callback.updateTransferredNetworkBytes(params.getJobId(), in handleMessage()
255 callback.updateEstimatedNetworkBytes(params.getJobId(), in handleMessage()
275 callback.setNotification(params.getJobId(), in handleMessage()
291 Log.e(TAG, "Error while executing job: " + params.getJobId()); in handleMessage()
305 final int jobId = params.getJobId(); in ackGetTransferredDownloadBytesMessage()
321 final int jobId = params.getJobId(); in ackGetTransferredUploadBytesMessage()
336 final int jobId = params.getJobId(); in ackStartMessage()
352 final int jobId = params.getJobId(); in ackStopMessage()
DJobParameters.java334 public int getJobId() { in getJobId() method in JobParameters
536 return getCallback().dequeueWork(getJobId()); in dequeueWork()
560 if (!getCallback().completeWork(getJobId(), work.getWorkId())) { in completeWork()
DUserVisibleJobSummary.java71 public int getJobId() { in getJobId() method in UserVisibleJobSummary
/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/core/java/com/android/server/selinux/
DSelinuxAuditLogsService.java100 if (params.getJobId() != SELINUX_AUDIT_JOB_ID) { in onStartJob()
115 if (params.getJobId() != SELINUX_AUDIT_JOB_ID) { 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/companion/java/com/android/server/companion/association/
DInactiveAssociationsRemovalService.java58 Slog.i(TAG, "Association removal job stopped; id=" + params.getJobId() in onStopJob()
/frameworks/base/services/core/java/com/android/server/pm/
DDynamicCodeLoggingService.java103 int jobId = params.getJobId(); in onStartJob()
124 int jobId = params.getJobId(); in onStopJob()
/frameworks/base/apex/blobstore/service/java/com/android/server/blob/
DBlobStoreIdleJobService.java50 Slog.d(TAG, "Idle maintenance job is stopped; id=" + params.getJobId() in onStopJob()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DWriteFallbackSettingsFilesJobService.java40 || params.getJobId() != WRITE_FALLBACK_SETTINGS_FILES_JOB_ID) { in onStartJob()
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java48 switch (jobParameters.getJobId()) { in onStartJob()
/frameworks/base/services/tests/selinux/src/com/android/server/selinux/
DSelinuxAuditLogsJobTest.java127 when(jobParameters.getJobId()).thenReturn(jobId); in createJobParameters()
/frameworks/base/services/core/java/com/android/server/
DZramWriteback.java143 if (params.getJobId() == MARK_IDLE_JOB_ID) { in onStartJob()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java369 mParams = new JobParameters(mRunningCallback, job.getNamespace(), job.getJobId(), in executeRunnableJob()
548 job.getJobId()); in executeRunnableJob()
720 && (!matchJobId || jobId == executing.getJobId())) { in stopIfExecutingLocked()
1301 Slog.d(TAG, "Handling cancel for: " + mRunningJob.getJobId() + " " in handleCancelLocked()
1601 JobSchedulerService.TRACE_TRACK_NAME, completedJob.getJobId()); in closeAndCleanupJobLocked()
1693 mParams.getJobId() + ", in " + (timeoutMillis / 1000) + " s"); in scheduleOpTimeOutLocked()
DJobPackageTracker.java490 job.getSourceUid(), job.getBatteryName(), job.getJobId(), 0, null); in noteActive()
503 job.getSourceUid(), job.getBatteryName(), job.getJobId(), stopReason, debugReason); in noteInactive()
DJobStore.java802 Slog.d(TAG, "Saving job " + jobStatus.getJobId());
846 out.attribute(null, "jobid", Integer.toString(jobStatus.getJobId()));
1153 js.getUid(), js.getNamespace(), js.getJobId()); in run()
1915 if (job.getJobId() == jobId && Objects.equals(namespace, job.getNamespace())) { in get()
DJobSchedulerService.java2044 return getPendingJobReason(job.getUid(), job.getNamespace(), job.getJobId());
2149 if (job.getJobId() == jobId && Objects.equals(namespace, job.getNamespace())) {
2191 jobIdToReason.put(job.getJobId(), JobScheduler.PENDING_JOB_REASON_USER);
2889 reasonCache.delete(jobStatus.getJobId());
2921 reasons.delete(jobStatus.getJobId());
3262 jobStatus.getUid(), jobStatus.getNamespace(), jobStatus.getJobId());
3896 reasons.put(job.getJobId(),
5808 int id1 = o1.getJobId();
5809 int id2 = o2.getJobId();
DJobConcurrencyManager.java709 if (job.matches(js.getUid(), js.getNamespace(), js.getJobId())) { in isSimilarJobRunningLocked()
2027 s.append(job.getJobId()).append("/").append(job.getUid()); in printAssignments()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java183 mParamsTextView.setText("Executing: " + params.getJobId() + " " + params.getExtras()); in onReceivedStartJob()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/controllers/
DJobStatus.java1049 public int getJobId() { in getJobId() method in JobStatus
1091 traceTag.append("#").append(getJobId()); in computeSystemTraceTagInner()
1768 getNamespace(), getJobId()); in getUserVisibleJobSummary()

12