Home
last modified time | relevance | path

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

12

/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/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.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.java140 public int getJobId() { in getJobId() method in JobParameters
287 return getCallback().dequeueWork(getJobId()); in dequeueWork()
311 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/usage/java/com/android/server/usage/
DUsageStatsIdleService.java105 if (userId == -1 && params.getJobId() != UPDATE_MAPPINGS_JOB_ID) { in onStartJob()
112 if (params.getJobId() == UPDATE_MAPPINGS_JOB_ID) { in onStartJob()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobServiceContext.java225 mParams = new JobParameters(mRunningCallback, job.getJobId(), ji.getExtras(), in executeRunnableJob()
281 JobProtoEnums.STOP_REASON_UNKNOWN, job.getStandbyBucket(), job.getJobId(), in executeRunnableJob()
354 && (!matchJobId || jobId == executing.getJobId())) { in timeoutIfExecutingLocked()
698 Slog.d(TAG, "Handling cancel for: " + mRunningJob.getJobId() + " " in handleCancelLocked()
798 mParams.getStopReason(), completedJob.getStandbyBucket(), completedJob.getJobId(), in closeAndCleanupJobLocked()
865 mParams.getJobId() + ", in " + (timeoutMillis / 1000) + " s"); in scheduleOpTimeOutLocked()
DJobConcurrencyManager.java439 if (map[i] != null && map[i].matches(jobStatus.getUid(), jobStatus.getJobId())) { in findJobContextIdFromMap()
465 .append(map[i] == null? -1: map[i].getJobId()) in printContextIdToJobMap()
DJobStore.java441 Slog.d(TAG, "Saving job " + jobStatus.getJobId());
485 out.attribute(null, "jobid", Integer.toString(jobStatus.getJobId()));
1185 if (job.getJobId() == jobId) { in get()
DJobPackageTracker.java477 job.getSourceUid(), job.getBatteryName(), job.getJobId(), 0, null); in noteActive()
490 job.getSourceUid(), job.getBatteryName(), job.getJobId(), stopReason, debugReason); in noteInactive()
DJobSchedulerService.java1126 jobStatus.getJobId(),
1175 if (job.getJobId() == jobId) {
1631 if (executing != null && executing.matches(job.getUid(), job.getJobId())) {
1648 if (running != null && running.matches(job.getUid(), job.getJobId())) {
3130 int id1 = o1.getJobId();
3131 int id2 = o2.getJobId();
/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.java615 if (params.getJobId() == JOB_POST_BOOT_UPDATE) { in onStartJob()
630 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/SettingsProvider/src/com/android/providers/settings/
DWriteFallbackSettingsFilesJobService.java38 switch (params.getJobId()) { in onStartJob()
/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/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DProvisionObserver.java48 switch (jobParameters.getJobId()) { in onStartJob()
/frameworks/base/startop/iorap/src/com/google/android/startop/iorap/
DJobScheduledEvent.java81 return new JobScheduledEvent(type, jobParams.getJobId(), SORT_IDLE_MAINTENANCE); in createIdleMaintenance()
DIorapForwardingService.java583 if (entry.getValue().getJobId() == params.getJobId()) {
/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()

12