/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/ |
H A D | ModelBackedDocumentsAdapterTest.java | 53 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); 57 DocumentsAdapter.Environment env = new TestEnvironment(testContext); 60 env, new IconHelper(testContext, State.MODE_GRID)); 77 private final Context testContext; field in class:ModelBackedDocumentsAdapterTest.TestEnvironment 79 private TestEnvironment(Context testContext) { argument 80 this.testContext = testContext; 108 return testContext;
|
H A D | SectionBreakDocumentsAdapterWrapperTest.java | 54 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); 55 DocumentsAdapter.Environment env = new TestEnvironment(testContext); 61 env, new IconHelper(testContext, State.MODE_GRID))); 112 private final Context testContext; field in class:SectionBreakDocumentsAdapterWrapperTest.TestEnvironment 114 private TestEnvironment(Context testContext) { argument 115 this.testContext = testContext; 143 return testContext;
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | AutoContextTest.java | 30 public void testContext() throws Throwable { method in class:AutoContextTest
|
H A D | DuplicateContextTest.java | 30 public void testContext() throws Throwable { method in class:DuplicateContextTest
|
/frameworks/base/libs/hwui/tests/macrobench/ |
H A D | TestSceneRunner.cpp | 71 TestContext testContext; local 76 sp<Surface> surface = testContext.surface(); 95 testContext.waitForVsync(); 107 testContext.waitForVsync();
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
H A D | SyncStorageEngineTest.java | 153 final TestContext testContext = new TestContext(mockResolver, getContext()); 162 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); 182 final TestContext testContext = new TestContext(mockResolver, getContext()); 198 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); 205 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); 226 final TestContext testContext = new TestContext(mockResolver, getContext()); 238 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); 245 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext);
|
/frameworks/base/test-runner/src/android/test/ |
H A D | AndroidTestRunner.java | 193 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); 195 setContextIfAndroidTestCase(testCase, mContext, testContext); 202 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { argument 205 ((AndroidTestCase) test).setTestContext(testContext);
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
H A D | PartnerTest.java | 172 public TestPackageManager(Context testContext) { argument 173 mTestContext = testContext;
|
/frameworks/base/libs/hwui/tests/microbench/ |
H A D | FrameBuilderBench.cpp | 97 TestContext testContext; local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
H A D | AccountManagerServiceTest.java | 348 public MyMockContext(Context testContext) { argument 349 this.mTestContext = testContext;
|