Home
last modified time | relevance | path

Searched refs:TestContext (Results 1 – 16 of 16) sorted by relevance

/frameworks/base/libs/hwui/tests/common/
DTestContext.cpp57 TestContext::TestContext() { in TestContext() function in android::uirenderer::test::TestContext
64 TestContext::~TestContext() {} in ~TestContext()
66 sp<Surface> TestContext::surface() { in surface()
73 void TestContext::createSurface() { in createSurface()
81 void TestContext::createWindowSurface() { in createWindowSurface()
90 void TestContext::createOffscreenSurface() { in createOffscreenSurface()
101 void TestContext::waitForVsync() { in waitForVsync()
DTestContext.h41 class TestContext {
43 TestContext();
44 ~TestContext();
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/span/
DLinkSpanTest.java38 final TestContext context = new TestContext(application); in onClick_shouldCallListenerOnContext()
62 final TestContext context = new TestContext(application); in onClick_contextWrapsOnClickListener_shouldCallWrappedListener()
75 final TestContext context = new TestContext(application); in onClick_shouldClearSelection()
95 private static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in LinkSpanTest
99 TestContext(Context base) { in TestContext() method in LinkSpanTest.TestContext
/frameworks/base/core/tests/coretests/src/android/provider/
DTestDocumentsProvider.java50 context = new TestContext(context); in attachInfoForTesting()
105 private static class TestContext extends ContextWrapper { class in TestDocumentsProvider
107 private TestContext(Context context) { in TestContext() method in TestDocumentsProvider.TestContext
/frameworks/base/packages/CarrierDefaultApp/tests/unit/src/com/android/carrierdefaultapp/
DTestContext.java24 public class TestContext extends ContextWrapper { class
30 public TestContext(Context base) { in TestContext() method in TestContext
DCarrierDefaultActivityTestCase.java33 protected TestContext mContext;
45 mContext = new TestContext(getInstrumentation().getTargetContext()); in setUp()
DCarrierDefaultReceiverTest.java55 private TestContext mContext;
68 mContext = new TestContext(getInstrumentation().getTargetContext()); in setUp()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/view/
DRichTextViewTest.java102 TestContext context = new TestContext(application); in testLegacyContextOnClickListener()
214 public static class TestContext extends ContextWrapper implements LinkSpan.OnClickListener { class in RichTextViewTest
218 public TestContext(Context base) { in TestContext() method in RichTextViewTest.TestContext
/frameworks/base/services/tests/servicestests/src/com/android/server/emergency/
DEmergencyAffordanceServiceTest.java82 private TestContext mServiceContext;
88 private class TestContext extends BroadcastInterceptingContext { class in EmergencyAffordanceServiceTest
89 TestContext(Context base) { in TestContext() method in EmergencyAffordanceServiceTest.TestContext
124 mServiceContext = new TestContext(context); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/appwidget/
DAppWidgetServiceImplTest.java71 private TestContext mTestContext;
86 mTestContext = new TestContext(); in setUp()
312 private class TestContext extends ContextWrapper { class in AppWidgetServiceImplTest
314 public TestContext() { in TestContext() method in AppWidgetServiceImplTest.TestContext
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsAdapterTest.java73 private TestContext mContext;
80 mContext = new TestContext(); in setup()
241 private class TestContext extends ContextWrapper { class in RemoteViewsAdapterTest
247 TestContext() { in TestContext() method in RemoteViewsAdapterTest.TestContext
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt88 private lateinit var context: TestContext
97 private inner class TestContext(c: Context) : BroadcastInterceptingContext(c) { class in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
135 context = TestContext(InstrumentationRegistry.getInstrumentation().context) in setUp()
DTetheringTest.java232 private class TestContext extends BroadcastInterceptingContext { class in TetheringTest
233 TestContext(Context base) { in TestContext() method in TetheringTest.TestContext
528 mServiceContext = new TestContext(mContext); in setUp()
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp116 TestContext testContext; in run()
/frameworks/base/libs/hwui/
DAndroid.bp275 "tests/common/TestContext.cpp",
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp208 test::TestContext testContext; in RENDERTHREAD_SKIA_PIPELINE_TEST()