Searched refs:testContext (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 186 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest() local 188 setContextIfAndroidTestCase(testCase, mContext, testContext); in runTest() 195 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase() argument 198 ((AndroidTestCase) test).setTestContext(testContext); in setContextIfAndroidTestCase()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | SyncStorageEngineTest.java | 626 final TestContext testContext = new TestContext(mockResolver, getContext()); in testAuthorityParsing() local 643 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testAuthorityParsing() 729 final TestContext testContext = new TestContext(mockResolver, getContext()); in testListenForTicklesParsing() local 738 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testListenForTicklesParsing() 758 final TestContext testContext = new TestContext(mockResolver, getContext()); in testAuthorityRenaming() local 774 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testAuthorityRenaming() 781 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testAuthorityRenaming() 802 final TestContext testContext = new TestContext(mockResolver, getContext()); in testSyncableMigration() local 814 File syncDir = new File(new File(testContext.getFilesDir(), "system"), "sync"); in testSyncableMigration() 821 SyncStorageEngine engine = SyncStorageEngine.newTestInstance(testContext); in testSyncableMigration()
|
/frameworks/base/libs/hwui/tests/ |
D | main.cpp | 76 TestContext testContext; in run() local 81 sp<Surface> surface = testContext.surface(); in run() 106 testContext.waitForVsync(); in run() 112 testContext.waitForVsync(); in run()
|
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | PartnerTest.java | 172 public TestPackageManager(Context testContext) { in TestPackageManager() argument 173 mTestContext = testContext; in TestPackageManager()
|