HomeSort by relevance Sort by last modified time
    Searched refs:kTestEnvironment (Results 1 - 14 of 14) sorted by null

  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
StorageConstraintTest.java 77 kTestEnvironment.setExpectedExecutions(1);
78 kTestEnvironment.setExpectedWaitForRun();
81 kTestEnvironment.readyToRun();
84 kTestEnvironment.awaitExecution());
97 kTestEnvironment.setExpectedExecutions(0);
98 kTestEnvironment.setExpectedWaitForRun();
102 kTestEnvironment.readyToRun();
105 kTestEnvironment.awaitExecution(250));
108 kTestEnvironment.setExpectedExecutions(1);
109 kTestEnvironment.setExpectedWaitForRun()
    [all...]
TimingConstraintsTest.java 39 kTestEnvironment.setExpectedExecutions(1);
41 final boolean executed = kTestEnvironment.awaitExecution();
52 kTestEnvironment.setExpectedExecutions(0);
57 kTestEnvironment.awaitTimeout());
66 kTestEnvironment.setExpectedExecutions(1);
68 final boolean executed = kTestEnvironment.awaitExecution();
70 kTestEnvironment.awaitExecution());
85 kTestEnvironment.setExpectedExecutions(1);
87 assertTrue("Failed to execute deadline job", kTestEnvironment.awaitExecution());
89 kTestEnvironment.getLastJobParameters().isOverrideDeadlineExpired())
    [all...]
BatteryConstraintTest.java 186 kTestEnvironment.setExpectedExecutions(1);
187 kTestEnvironment.setExpectedWaitForRun();
190 kTestEnvironment.readyToRun();
193 kTestEnvironment.awaitExecution());
206 kTestEnvironment.setExpectedExecutions(1);
207 kTestEnvironment.setExpectedWaitForRun();
210 kTestEnvironment.readyToRun();
213 kTestEnvironment.awaitExecution());
231 kTestEnvironment.setExpectedExecutions(1);
232 kTestEnvironment.setExpectedWaitForRun()
    [all...]
ConnectivityConstraintTest.java 124 kTestEnvironment.setExpectedExecutions(1);
132 kTestEnvironment.awaitExecution());
145 kTestEnvironment.setExpectedExecutions(1);
153 kTestEnvironment.awaitExecution());
168 kTestEnvironment.setExpectedExecutions(1);
176 kTestEnvironment.awaitExecution());
189 kTestEnvironment.setExpectedExecutions(1);
197 kTestEnvironment.awaitExecution());
215 kTestEnvironment.setExpectedExecutions(1);
216 kTestEnvironment.setExpectedStopped()
    [all...]
DeviceStatesTest.java 108 kTestEnvironment.setExpectedExecutions(1);
109 kTestEnvironment.setExpectedWaitForRun();
112 kTestEnvironment.readyToRun();
115 kTestEnvironment.awaitExecution());
123 kTestEnvironment.setExpectedExecutions(0);
124 kTestEnvironment.setExpectedWaitForRun();
128 kTestEnvironment.readyToRun();
131 kTestEnvironment.awaitExecution(250));
ConstraintTest.java 45 static MockJobService.TestEnvironment kTestEnvironment =
104 kTestEnvironment.setUp();
  /cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/cts/shareduidtests/
EnqueueJobWorkTest.java 111 kTestEnvironment.setExpectedExecutions(1);
112 kTestEnvironment.setExpectedWork(work);
114 kTestEnvironment.readyToWork();
116 kTestEnvironment.awaitExecution());
117 compareWork(work, kTestEnvironment.getLastReceivedWork());
118 if (kTestEnvironment.getLastErrorMessage() != null) {
119 fail(kTestEnvironment.getLastErrorMessage());
139 kTestEnvironment.setExpectedExecutions(1);
140 kTestEnvironment.setExpectedWork(work);
150 kTestEnvironment.readyToWork()
    [all...]
ClipDataJobTest.java 74 kTestEnvironment.setExpectedExecutions(1);
91 kTestEnvironment.awaitExecution());
94 assertEquals(PackageManager.PERMISSION_GRANTED, kTestEnvironment.getLastPermCheckRead());
95 assertEquals(PackageManager.PERMISSION_GRANTED, kTestEnvironment.getLastPermCheckWrite());
132 kTestEnvironment.setExpectedExecutions(1);
151 kTestEnvironment.awaitExecution());
154 assertEquals(PackageManager.PERMISSION_GRANTED, kTestEnvironment.getLastPermCheckRead());
155 assertEquals(PackageManager.PERMISSION_GRANTED, kTestEnvironment.getLastPermCheckWrite());
ConstraintTest.java 49 static MockJobService.TestEnvironment kTestEnvironment =
108 kTestEnvironment.setUp();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraContentJobService.java 66 private static TestEnvironment kTestEnvironment;
73 if (kTestEnvironment == null) {
74 kTestEnvironment = new TestEnvironment();
76 return kTestEnvironment;
  /cts/tests/JobScheduler/src/android/jobscheduler/
TriggerContentJobService.java 107 private static TestEnvironment kTestEnvironment;
120 if (kTestEnvironment == null) {
121 kTestEnvironment = new TestEnvironment();
123 return kTestEnvironment;
MockJobService.java 367 private static TestEnvironment kTestEnvironment;
384 if (kTestEnvironment == null) {
385 kTestEnvironment = new TestEnvironment();
387 return kTestEnvironment;
  /cts/tests/JobSchedulerSharedUid/src/android/jobscheduler/
TriggerContentJobService.java 107 private static TestEnvironment kTestEnvironment;
120 if (kTestEnvironment == null) {
121 kTestEnvironment = new TestEnvironment();
123 return kTestEnvironment;
MockJobService.java 367 private static TestEnvironment kTestEnvironment;
384 if (kTestEnvironment == null) {
385 kTestEnvironment = new TestEnvironment();
387 return kTestEnvironment;

Completed in 1359 milliseconds