Searched refs:TestContext (Results 1 - 12 of 12) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
H A DTestContext.cpp17 #include "tests/common/TestContext.h"
56 TestContext::TestContext() { function in class:android::uirenderer::test::TestContext
63 TestContext::~TestContext() {}
65 sp<Surface> TestContext::surface() {
72 void TestContext::createSurface() {
80 void TestContext::createWindowSurface() {
91 void TestContext::createOffscreenSurface() {
102 void TestContext
[all...]
H A DTestContext.h41 class TestContext { class in namespace:android::uirenderer::test
43 TestContext();
44 ~TestContext();
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
H A DLinkSpanTest.java39 final TestContext context = new TestContext(application);
61 final TestContext context = new TestContext(application);
71 private static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in class:LinkSpanTest
75 TestContext(Context base) { method in class:LinkSpanTest.TestContext
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
H A DTestContext.java24 public class TestContext extends ContextWrapper { class in inherits:ContextWrapper
30 public TestContext(Context base) { method in class:TestContext
H A DCarrierDefaultActivityTestCase.java33 protected TestContext mContext;
45 mContext = new TestContext(getInstrumentation().getTargetContext());
H A DCarrierDefaultReceiverTest.java56 private TestContext mContext;
69 mContext = new TestContext(getInstrumentation().getTargetContext());
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
H A DSyncStorageEngineTest.java81 new TestContext(mockResolver, getContext()));
98 new TestContext(mockResolver, getContext()));
156 final TestContext testContext = new TestContext(mockResolver, getContext());
185 final TestContext testContext = new TestContext(mockResolver, getContext());
229 final TestContext testContext = new TestContext(mockResolver, getContext());
312 class TestContext extends ContextWrapper { class in inherits:ContextWrapper
318 public TestContext(ContentResolve method in class:TestContext
[all...]
/frameworks/base/core/tests/coretests/src/android/provider/
H A DTestDocumentsProvider.java50 context = new TestContext(context);
105 private static class TestContext extends ContextWrapper { class in class:TestDocumentsProvider
107 private TestContext(Context context) { method in class:TestDocumentsProvider.TestContext
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A DRichTextViewTest.java102 TestContext context = spy(new TestContext(InstrumentationRegistry.getTargetContext()));
175 public static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in class:RichTextViewTest
177 public TestContext(Context base) { method in class:RichTextViewTest.TestContext
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
H A DAppWidgetServiceImplTest.java71 private TestContext mTestContext;
85 mTestContext = new TestContext();
291 private class TestContext extends ContextWrapper { class in class:AppWidgetServiceImplTest
293 public TestContext() { method in class:AppWidgetServiceImplTest.TestContext
/frameworks/base/libs/hwui/tests/microbench/
H A DFrameBuilderBench.cpp26 #include "tests/common/TestContext.h"
97 TestContext testContext;
/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp19 #include "tests/common/TestContext.h"
121 TestContext testContext;

Completed in 335 milliseconds