Home
last modified time | relevance | path

Searched refs:testContext (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncStorageEngineTest.java153 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/
DTestSceneRunner.cpp121 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/
DAndroidTestRunner.java193 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/
DAutoContextTest.java30 public void testContext() throws Throwable { in testContext() method in AutoContextTest
DDuplicateContextTest.java30 public void testContext() throws Throwable { in testContext() method in DuplicateContextTest
/frameworks/base/libs/hwui/tests/microbench/
DFrameBuilderBench.cpp97 TestContext testContext; in getSyncedSceneNode() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3184 MyMockContext(Context testContext, Context mockContext) { in MyMockContext() argument
3185 this.mTestContext = testContext; in MyMockContext()