Searched refs:mJobScheduler (Results 1 – 7 of 7) sorted by relevance
39 mJobScheduler.schedule(oneTimeJob); in testScheduleOnce()51 mJobScheduler.schedule(periodicJob); in testSchedulePeriodic()63 mJobScheduler.schedule(cancelJob); in testCancel()65 mJobScheduler.cancel(CANCEL_JOB_ID); in testCancel()81 mJobScheduler.schedule(deadlineJob); in testJobParameters_expiredDeadline()101 mJobScheduler.schedule(deadlineJob); in testJobParameters_unexpiredDeadline()
40 JobScheduler mJobScheduler; field in ConstraintTest46 mJobScheduler = (JobScheduler) getContext().getSystemService(Context.JOB_SCHEDULER_SERVICE); in setUp()47 mJobScheduler.cancelAll(); in setUp()
98 mJobScheduler.schedule( in testUnmeteredConstraintExecutes_withWifi()119 mJobScheduler.schedule( in testConnectivityConstraintExecutes_withWifi()140 mJobScheduler.schedule( in testConnectivityConstraintExecutes_withMobile()167 mJobScheduler.schedule( in testUnmeteredConstraintFails_withMobile()
138 mJobScheduler.cancelAll(); in testIdleConstraintFails_notIdle()142 mJobScheduler.schedule( in testIdleConstraintFails_notIdle()159 mJobScheduler.cancelAll(); in testIdleConstraintExecutes_onIdle()163 mJobScheduler.schedule( in testIdleConstraintExecutes_onIdle()
42 mJobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate()100 mJobScheduler.schedule(runOnCharge); in testChargingConstraintFails_notCharging()128 mJobScheduler.schedule(delayConstraintAndUnexpiredDeadline); in testChargingConstraintExecutes_onCharging()
31 protected JobScheduler mJobScheduler; field in ConstraintTestActivity45 mJobScheduler = (JobScheduler) getSystemService(Context.JOB_SCHEDULER_SERVICE); in onCreate()
106 mJobScheduler.schedule(testJob1); in testNoConnectivityConstraintExecutes_noConnectivity()107 mJobScheduler.schedule(testJob2); in testNoConnectivityConstraintExecutes_noConnectivity()133 mJobScheduler.schedule(testJob); in testConnectivityConstraintFailsImpl()