Searched refs:testContext (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 153 final TestContext testContext = new TestContext(mockResolver, getContext()); in testListenForTicklesParsing() local 162 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testListenForTicklesParsing() 182 final TestContext testContext = new TestContext(mockResolver, getContext()); in testAuthorityRenaming() local 198 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testAuthorityRenaming() 205 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testAuthorityRenaming() 226 final TestContext testContext = new TestContext(mockResolver, getContext()); in testSyncableMigration() local 238 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testSyncableMigration() 245 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testSyncableMigration()
|
/frameworks/base/libs/hwui/tests/macrobench/ |
D | TestSceneRunner.cpp | 121 TestContext testContext; in run() local 122 testContext.setRenderOffscreen(opts.renderOffscreen); in run() 127 sp<Surface> surface = testContext.surface(); in run() 151 testContext.waitForVsync(); in run() 164 testContext.waitForVsync(); in run()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 193 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest() local 195 setContextIfAndroidTestCase(testCase, mContext, testContext); in runTest() 202 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase() argument 205 ((AndroidTestCase) test).setTestContext(testContext); in setContextIfAndroidTestCase()
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | AutoContextTest.java | 30 public void testContext() throws Throwable { in testContext() method in AutoContextTest
|
D | DuplicateContextTest.java | 30 public void testContext() throws Throwable { in testContext() method in DuplicateContextTest
|
/frameworks/base/libs/hwui/tests/microbench/ |
D | FrameBuilderBench.cpp | 97 TestContext testContext; in getSyncedSceneNode() local
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
D | AccountManagerServiceTest.java | 3184 MyMockContext(Context testContext, Context mockContext) { in MyMockContext() argument 3185 this.mTestContext = testContext; in MyMockContext()
|