HomeSort by relevance Sort by last modified time
    Searched refs:TestEnvironment (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/base/services/tests/servicestests/src/com/android/server/job/
MockPriorityJobService.java 39 TestEnvironment.getTestEnvironment().executedEvents.add(
40 new TestEnvironment.Event(TestEnvironment.EVENT_START_JOB, params.getJobId()));
48 int event = TestEnvironment.EVENT_STOP_JOB;
51 event = TestEnvironment.EVENT_PREEMPT_JOB;
54 TestEnvironment.getTestEnvironment().executedEvents
55 .add(new TestEnvironment.Event(event, params.getJobId()));
59 public static class TestEnvironment {
65 private static TestEnvironment kTestEnvironment;
69 public static TestEnvironment getTestEnvironment()
    [all...]
PrioritySchedulingTest.java 25 import com.android.server.job.MockPriorityJobService.TestEnvironment;
26 import com.android.server.job.MockPriorityJobService.TestEnvironment.Event;
33 static TestEnvironment kTestEnvironment = TestEnvironment.getTestEnvironment();
77 Event job4Execution = new Event(TestEnvironment.EVENT_START_JOB, 444);
82 if (event.event == TestEnvironment.EVENT_PREEMPT_JOB) {
115 Event job4Execution = new Event(TestEnvironment.EVENT_START_JOB, 444);
  /external/vogar/src/vogar/target/
TestEnvironmentRunListener.java 26 private final TestEnvironment testEnvironment;
28 public TestEnvironmentRunListener(TestEnvironment testEnvironment) {
29 this.testEnvironment = testEnvironment;
34 testEnvironment.reset();
RunnerFactory.java 34 AtomicReference<String> skipPastReference, TestEnvironment testEnvironment,
MainRunnerFactory.java 31 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile,
CaliperRunnerFactory.java 54 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile,
TestRunner.java 181 TestEnvironment testEnvironment = new TestEnvironment();
182 testEnvironment.reset();
229 skipPastReference, testEnvironment, timeoutSeconds, profile, args);
277 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile, String[] args) {
280 skipPastReference, testEnvironment, timeoutSeconds, profile, args);
TestEnvironment.java 43 public final class TestEnvironment {
70 public TestEnvironment() {
  /external/libmojo/mojo/android/javatests/
mojo_test_case.cc 23 struct TestEnvironment {
24 TestEnvironment() : message_loop(mojo::common::MessagePumpMojo::Create()) {}
41 return reinterpret_cast<intptr_t>(new TestEnvironment());
47 delete reinterpret_cast<TestEnvironment*>(test_environment);
  /cts/tests/JobScheduler/src/android/jobscheduler/
TriggerContentJobService.java 34 * {@link TestEnvironment}.
77 int mode = TestEnvironment.getTestEnvironment().getMode();
78 mRunningJobInfo = TestEnvironment.getTestEnvironment().getModeJobInfo();
79 TestEnvironment.getTestEnvironment().setMode(TestEnvironment.MODE_ONESHOT, null);
80 TestEnvironment.getTestEnvironment().notifyExecution(params);
82 if (mode == TestEnvironment.MODE_ONE_REPEAT_RESCHEDULE) {
86 } else if (mode == TestEnvironment.MODE_ONE_REPEAT_FINISH_TRUE) {
103 * {@link TestEnvironment#setUp()}.
105 public static final class TestEnvironment {
    [all...]
MockJobService.java 42 * {@link TestEnvironment}.
61 if (TestEnvironment.getTestEnvironment().getExpectedWork() != null) {
62 TestEnvironment.getTestEnvironment().notifyExecution(mParams, 0, 0, mReceivedWork,
88 TestWorkItem[] expectedWork = TestEnvironment.getTestEnvironment().getExpectedWork();
91 if (!TestEnvironment.getTestEnvironment().awaitDoWork()) {
92 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead,
97 TestEnvironment.getTestEnvironment().notifyExecution(params, permCheckRead,
117 TestEnvironment.getTestEnvironment().notifyExecution(params,
130 TestEnvironment.getTestEnvironment().notifyExecution(params,
149 TestEnvironment.getTestEnvironment().notifyExecution(params
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/intents/
CameraContentJobService.java 32 * {@link TestEnvironment}.
50 TestEnvironment.getTestEnvironment().notifyExecution(params);
62 * {@link TestEnvironment#setUp()}.
64 public static final class TestEnvironment {
66 private static TestEnvironment kTestEnvironment;
72 public static TestEnvironment getTestEnvironment() {
74 kTestEnvironment = new TestEnvironment();
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/jobscheduler/
MockJobService.java 30 * {@link TestEnvironment}.
49 TestEnvironment.getTestEnvironment().notifyExecution(params.getJobId());
61 * {@link TestEnvironment#setUp()}.
63 public static final class TestEnvironment {
65 private static TestEnvironment kTestEnvironment;
71 public static TestEnvironment getTestEnvironment() {
73 kTestEnvironment = new TestEnvironment();
ConstraintTestActivity.java 24 protected MockJobService.TestEnvironment mTestEnvironment;
41 mTestEnvironment = MockJobService.TestEnvironment.getTestEnvironment();
  /external/vogar/src/vogar/target/junit/
JUnitRunnerFactory.java 23 import vogar.target.TestEnvironment;
33 TestEnvironment testEnvironment, int timeoutSeconds, boolean profile,
36 return new JUnitTargetRunner(monitor, skipPastReference, testEnvironment,
JUnitTargetRunner.java 31 import vogar.target.TestEnvironment;
45 private final TestEnvironment testEnvironment;
50 TestEnvironment testEnvironment,
55 this.testEnvironment = testEnvironment;
86 core.addListener(new TestEnvironmentRunListener(testEnvironment));
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/dirlist/
ModelBackedDocumentsAdapterTest.java 47 DocumentsAdapter.Environment env = new TestEnvironment(testContext);
59 private final class TestEnvironment implements DocumentsAdapter.Environment {
70 private TestEnvironment(Context testContext) {
DirectoryAddonsAdapterTest.java 51 DocumentsAdapter.Environment env = new TestEnvironment(testContext);
131 private final class TestEnvironment implements DocumentsAdapter.Environment {
134 private TestEnvironment(Context testContext) {
  /external/vulkan-validation-layers/tests/
vktestframeworkandroid.h 51 class TestEnvironment : public ::testing::Environment {
vktestframeworkandroid.cpp 48 void TestEnvironment::SetUp() { vk_testing::set_error_callback(test_error_callback); }
50 void TestEnvironment::TearDown() {}
vktestframework.h 95 class TestEnvironment : public ::testing::Environment {
  /cts/tests/JobScheduler/src/android/jobscheduler/cts/
ConstraintTest.java 49 static MockJobService.TestEnvironment kTestEnvironment =
50 MockJobService.TestEnvironment.getTestEnvironment();
51 static TriggerContentJobService.TestEnvironment kTriggerTestEnvironment =
52 TriggerContentJobService.TestEnvironment.getTestEnvironment();
TriggerContentTest.java 247 TriggerContentJobService.TestEnvironment.MODE_ONE_REPEAT_RESCHEDULE, triggerJob);
294 TriggerContentJobService.TestEnvironment.MODE_ONE_REPEAT_RESCHEDULE, triggerJob);
335 TriggerContentJobService.TestEnvironment.MODE_ONE_REPEAT_RESCHEDULE, triggerJob);
375 kTriggerTestEnvironment.setMode(TriggerContentJobService.TestEnvironment.MODE_ONESHOT,
401 TriggerContentJobService.TestEnvironment.MODE_ONE_REPEAT_FINISH_TRUE, triggerJob);
441 kTriggerTestEnvironment.setMode(TriggerContentJobService.TestEnvironment.MODE_ONESHOT,
  /cts/tests/core/runner/src/com/android/cts/runner/
CtsTestRunListener.java 64 private TestEnvironment mEnvironment;
69 mEnvironment = new TestEnvironment(getInstrumentation().getTargetContext());
190 // http://code.google.com/p/vogar/source/browse/trunk/src/vogar/target/TestEnvironment.java
191 static class TestEnvironment {
209 TestEnvironment(Context context) {
  /packages/apps/DocumentsUI/tests/unit/com/android/documentsui/selection/
BandController_GridModelTest.java 42 private TestEnvironment env;
59 env = new TestEnvironment(numChildren, numColumns);
254 for (TestEnvironment.Item item: env.items) {
283 private static final class TestEnvironment implements BandController.SelectionEnvironment {
294 public TestEnvironment(int numChildren, int numColumns) {

Completed in 639 milliseconds

1 2