/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/unit/ |
D | CellBroadcastActivityTestCase.java | 35 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/ |
D | TelephonyTestBase.java | 38 protected TestContext mContext; 42 mContext = spy(new TestContext()); in setUp() 109 protected TestContext getTestContext() { in getTestContext()
|
D | TestContext.java | 48 public class TestContext extends MockContext { class 64 public TestContext() { in TestContext() method in TestContext
|
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/ |
D | AbstractDownloadProviderFunctionalTest.java | 74 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/ |
D | TetheringNotificationUpdaterTest.kt | 95 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()
|
D | TetheringTest.java | 291 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/ |
D | TestContext.java | 26 public final class TestContext { class
|
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/ |
D | ModelBackedDocumentsAdapterTest.java | 42 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|
D | DirectoryAddonsAdapterTest.java | 52 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp()
|
/packages/modules/Connectivity/tests/unit/java/com/android/server/ |
D | IpSecServiceParameterizedTest.java | 135 TestContext mTestContext = new TestContext(); 137 private class TestContext extends MockContext { class in IpSecServiceParameterizedTest
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CarrierConfigLoaderTest.java | 19 import static com.android.TestContext.STUB_PERMISSION_ENABLE_ALL;
|