Searched refs:mJobScheduler (Results 1 – 8 of 8) sorted by relevance
39 mJobScheduler.schedule(oneTimeJob); in testScheduleOnce()51 mJobScheduler.schedule(cancelJob); in testCancel()53 mJobScheduler.cancel(CANCEL_JOB_ID); in testCancel()71 mJobScheduler.schedule(deadlineJob); in testJobParameters_expiredDeadline()90 mJobScheduler.schedule(deadlineJob); in testJobParameters_unexpiredDeadline()
44 JobScheduler mJobScheduler; field in ConstraintTest54 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp()55 mJobScheduler.cancelAll(); in setUp()
111 mJobScheduler.schedule( in testUnmeteredConstraintExecutes_withWifi()132 mJobScheduler.schedule( in testConnectivityConstraintExecutes_withWifi()153 mJobScheduler.schedule( in testConnectivityConstraintExecutes_withMobile()180 mJobScheduler.schedule( in testUnmeteredConstraintFails_withMobile()
248 mJobScheduler.schedule(triggerJob); in testDescendantsObserver()295 mJobScheduler.schedule(triggerJob); in testNonDescendantsObserver()336 mJobScheduler.schedule(triggerJob); in testPhotoAdded()377 mJobScheduler.schedule(triggerJob); in testPhotoAdded()
194 mJobScheduler.cancelAll(); in testIdleConstraintFails_notIdle()198 mJobScheduler.schedule( in testIdleConstraintFails_notIdle()219 mJobScheduler.cancelAll(); in testIdleConstraintExecutes_onIdle()223 mJobScheduler.schedule( in testIdleConstraintExecutes_onIdle()
25 protected JobScheduler mJobScheduler; field in ConstraintTestActivity39 mJobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate()
106 mJobScheduler.schedule(testJob1); in testNoConnectivityConstraintExecutes_noConnectivity()107 mJobScheduler.schedule(testJob2); in testNoConnectivityConstraintExecutes_noConnectivity()128 mJobScheduler.schedule(testJob); in testConnectivityConstraintFailsImpl()
73 mJobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate()149 mJobScheduler.schedule(runOnCharge); in testChargingConstraintFails_notCharging()172 mJobScheduler.schedule(delayConstraintAndUnexpiredDeadline); in testChargingConstraintExecutes_onCharging()