Home
last modified time | relevance | path

Searched refs:targetContext (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/test-runner/src/android/test/
DProviderTestCase.java96 Context targetContext, Class<T> providerClass, String authority, in newResolverWithContentProviderFromSql() argument
103 targetContext, // The context that file methods are delegated to in newResolverWithContentProviderFromSql()
DProviderTestCase2.java221 Context targetContext, String filenamePrefix, Class<T> providerClass, String authority, in newResolverWithContentProviderFromSql() argument
227 targetContext, // The context that file methods are delegated to in newResolverWithContentProviderFromSql()
DIsolatedContext.java60 ContentResolver resolver, Context targetContext) { in IsolatedContext() argument
61 super(targetContext); in IsolatedContext()
/frameworks/base/tests/testables/src/android/testing/
DLayoutInflaterBuilder.java67 public LayoutInflaterBuilder target(@NonNull Context targetContext) { in target() argument
69 mTargetContext = targetContext; in target()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/android/arch/persistence/room/integration/testapp/migration/
DMigrationTest.java230 Context targetContext = InstrumentationRegistry.getTargetContext(); in missingMigration() local
231 MigrationDb db = Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in missingMigration()
247 Context targetContext = InstrumentationRegistry.getTargetContext(); in missingMigrationNuke() local
248 MigrationDb db = Room.databaseBuilder(targetContext, MigrationDb.class, TEST_DB) in missingMigrationNuke()
/frameworks/multidex/library/src/android/support/multidex/
DMultiDex.java138 Context targetContext) { in installInstrumentation() argument
159 ApplicationInfo applicationInfo = getApplicationInfo(targetContext); in installInstrumentation()
170 doInstallation(targetContext, in installInstrumentation()
176 doInstallation(targetContext, in installInstrumentation()
/frameworks/base/test-runner/tests/src/android/test/
DInstrumentationTestRunnerTest.java212 public StubInstrumentationTestRunner(Context context, Context targetContext, in StubInstrumentationTestRunner() argument
215 this.mTargetContext = targetContext; in StubInstrumentationTestRunner()
/frameworks/support/room/integration-tests/kotlintestapp/src/androidTest/java/android/arch/persistence/room/integration/kotlintestapp/migration/
DMigrationKotlinTest.kt103 InstrumentationRegistry.getInstrumentation().targetContext, in getLatestDb()