Searched refs:jobBg (Results 1 – 2 of 2) sorted by relevance
304 JobStatus jobBg = createJobStatus("testTopPowerConnectedExemption", in testTopPowerConnectedExemption() local327 trackJobs(jobFg, jobFgLow, jobBg, jobLateFg, jobLateFgLow); in testTopPowerConnectedExemption()330 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()338 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()357 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()365 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()
4560 JobStatus jobBg = createJobStatus("testTracking_OutOfQuota_ForegroundAndBackground", 1); in testTracking_OutOfQuota_ForegroundAndBackground() local4562 trackJobs(jobBg, jobTop); in testTracking_OutOfQuota_ForegroundAndBackground()4563 setStandbyBucket(WORKING_INDEX, jobTop, jobBg); // 2 hour window in testTracking_OutOfQuota_ForegroundAndBackground()4577 mQuotaController.prepareForExecutionLocked(jobBg); in testTracking_OutOfQuota_ForegroundAndBackground()4594 mQuotaController.getRemainingExecutionTimeLocked(jobBg)); in testTracking_OutOfQuota_ForegroundAndBackground()4605 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4624 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4631 assertTrue(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()4641 assertFalse(jobBg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()6455 JobStatus jobBg = in testEJTracking_OutOfQuota_ForegroundAndBackground() local[all …]