Home
last modified time | relevance | path

Searched refs:jobFg (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/controllers/
DBatteryControllerTest.java294 JobStatus jobFg = createJobStatus("testTopPowerConnectedExemption", SOURCE_PACKAGE, uid1, in testTopPowerConnectedExemption() local
327 trackJobs(jobFg, jobFgLow, jobBg, jobLateFg, jobLateFgLow); in testTopPowerConnectedExemption()
328 assertFalse(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()
336 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()
354 assertFalse(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()
362 assertFalse(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_CHARGING)); in testTopPowerConnectedExemption()
DQuotaControllerTest.java4611 JobStatus jobFg = createJobStatus("testTracking_OutOfQuota_ForegroundAndBackground", 5); in testTracking_OutOfQuota_ForegroundAndBackground() local
4612 setStandbyBucket(WORKING_INDEX, jobBg2, jobTop2, jobFg); in testTracking_OutOfQuota_ForegroundAndBackground()
4618 trackJobs(jobFg, jobTop); in testTracking_OutOfQuota_ForegroundAndBackground()
4623 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()
4630 assertTrue(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()
4640 assertFalse(jobFg.isConstraintSatisfied(JobStatus.CONSTRAINT_WITHIN_QUOTA)); in testTracking_OutOfQuota_ForegroundAndBackground()
6517 JobStatus jobFg = in testEJTracking_OutOfQuota_ForegroundAndBackground() local
6519 setStandbyBucket(WORKING_INDEX, jobBg2, jobTop2, jobFg); in testEJTracking_OutOfQuota_ForegroundAndBackground()
6526 trackJobs(jobTop2, jobFg); in testEJTracking_OutOfQuota_ForegroundAndBackground()
6531 assertTrue(jobFg.isExpeditedQuotaApproved()); in testEJTracking_OutOfQuota_ForegroundAndBackground()
[all …]