Home
last modified time | relevance | path

Searched refs:getTestEnvironment (Results 1 – 8 of 8) sorted by relevance

/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
DMockJobService.java63 if (TestEnvironment.getTestEnvironment().getExpectedWork() != null) { in onDestroy()
64 TestEnvironment.getTestEnvironment().notifyExecution(mParams, 0, 0, mReceivedWork, in onDestroy()
90 TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork(); in onStartJob()
93 if (!TestEnvironment.getTestEnvironment().awaitDoWork()) { in onStartJob()
94 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob()
99 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob()
121 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
134 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
153 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
166 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
[all …]
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob()
78 mRunningJobInfo = TestEnvironment.getTestEnvironment().getModeJobInfo(); in onStartJob()
79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob()
80 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob()
119 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in TriggerContentJobService.TestEnvironment
/cts/tests/JobScheduler/src/android/jobscheduler/
DMockJobService.java63 if (TestEnvironment.getTestEnvironment().getExpectedWork() != null) { in onDestroy()
64 TestEnvironment.getTestEnvironment().notifyExecution(mParams, 0, 0, mReceivedWork, in onDestroy()
90 TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork(); in onStartJob()
93 if (!TestEnvironment.getTestEnvironment().awaitDoWork()) { in onStartJob()
94 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob()
99 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead, in onStartJob()
121 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
134 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
153 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
166 TestEnvironment.getTestEnvironment().notifyExecution(params, in onStartJob()
[all …]
DTriggerContentJobService.java77 int mode = TestEnvironment.getTestEnvironment().getMode(); in onStartJob()
78 mRunningJobInfo = TestEnvironment.getTestEnvironment().getModeJobInfo(); in onStartJob()
79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null); in onStartJob()
80 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob()
119 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in TriggerContentJobService.TestEnvironment
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
DCameraContentJobService.java50 TestEnvironment.getTestEnvironment().notifyExecution(params); in onStartJob()
72 public static TestEnvironment getTestEnvironment() { in getTestEnvironment() method in CameraContentJobService.TestEnvironment
DCameraIntentsActivity.java605 mTestEnv = CameraContentJobService.TestEnvironment.getTestEnvironment(); in onClick()
/cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
DConstraintTest.java50 MockJobService.TestEnvironment.getTestEnvironment();
52 TriggerContentJobService.TestEnvironment.getTestEnvironment();
/cts/tests/JobScheduler/src/android/jobscheduler/cts/
DConstraintTest.java46 MockJobService.TestEnvironment.getTestEnvironment();
48 TriggerContentJobService.TestEnvironment.getTestEnvironment();