question: private boolean isReadyToBeExecutedLocked ( JobStatus job ) { final boolean jobReady = job . isReady ( ) ; final boolean jobPending = mPendingJobs . contains ( job ) ; final boolean jobActive = isCurrentlyActiveLocked ( job ) ; final boolean userRunning = mStartedUsers . contains ( job . getUserId ( ) ) ; return userRunning && jobReady && ! jobPending && ! jobActive ; }
target:  Criteria for moving a job into the pending queue: - It's ready. - It's not pending. - It's not already running on a JSC. - The user that requested the job is running.