Home
last modified time | relevance | path

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

/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/
DCellBroadcastActivityTestCase.java35 protected TestContext mContext;
46 mContext = new TestContext(getInstrumentation().getTargetContext()); in setUp()
101 public static class TestContext extends ContextWrapper { class in CellBroadcastActivityTestCase
103 private static final String TAG = TestContext.class.getSimpleName();
107 public TestContext(Context base) { in TestContext() method in CellBroadcastActivityTestCase.TestContext
/packages/services/Telephony/tests/src/com/android/
DTelephonyTestBase.java38 protected TestContext mContext;
42 mContext = spy(new TestContext()); in setUp()
109 protected TestContext getTestContext() { in getTestContext()
DTestContext.java48 public class TestContext extends MockContext { class
64 public TestContext() { in TestContext() method in TestContext
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DAbstractDownloadProviderFunctionalTest.java74 protected TestContext mTestContext;
137 static class TestContext extends RenamingDelegatingContext { class in AbstractDownloadProviderFunctionalTest
145 public TestContext(Context realContext) { in TestContext() method in AbstractDownloadProviderFunctionalTest.TestContext
194 mTestContext = new TestContext(realContext); in setUp()
/packages/modules/Connectivity/Tethering/tests/unit/src/com/android/networkstack/tethering/
DTetheringNotificationUpdaterTest.kt95 private lateinit var context: TestContext
109 private inner class TestContext(c: Context) : BroadcastInterceptingContext(c) { class in com.android.networkstack.tethering.TetheringNotificationUpdaterTest
147 context = TestContext(InstrumentationRegistry.getInstrumentation().context) in setUp()
DTetheringTest.java291 private class TestContext extends BroadcastInterceptingContext { class in TetheringTest
292 TestContext(Context base) { in TestContext() method in TetheringTest.TestContext
607 mServiceContext = new TestContext(mContext); in setUp()
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestContext.java26 public final class TestContext { class
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java42 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
DDirectoryAddonsAdapterTest.java52 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
/packages/modules/Connectivity/tests/unit/java/com/android/server/
DIpSecServiceParameterizedTest.java135 TestContext mTestContext = new TestContext();
137 private class TestContext extends MockContext { class in IpSecServiceParameterizedTest
/packages/services/Telephony/tests/src/com/android/phone/
DCarrierConfigLoaderTest.java19 import static com.android.TestContext.STUB_PERMISSION_ENABLE_ALL;