Home
last modified time | relevance | path

Searched defs:testContext (Results 1 – 15 of 15) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/
DContextTest.java108 final Context testContext = in testDisplayIdForTestContext() local
117 final Context testContext = in testDisplayIdForDefaultDisplayContext() local
130 final Context testContext = in testStartActivityAsUserNullIntentNullUser() local
138 final Context testContext = in testStartActivityAsUserNullIntentNonNullUser() local
146 final Context testContext = in testStartActivityAsUserNonNullIntentNullUser() local
154 final Context testContext = in testStartActivityAsUserNonNullIntentNonNullUser() local
281 final Context testContext = in testDeviceIdForTestContext() local
/frameworks/base/core/tests/InputMethodCoreTests/src/android/view/inputmethod/
DInputMethodManagerTest.java45 final Context testContext = InstrumentationRegistry.getInstrumentation() in testPrivateApiGetInstance() local
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/pipeline/airplane/data/repository/
DAirplaneModeRepositoryImplTest.kt54 private val testContext = StandardTestDispatcher() constant in com.android.systemui.statusbar.pipeline.airplane.data.repository.AirplaneModeRepositoryImplTest
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/education/data/repository/
DContextualEducationRepositoryTest.kt67 val testContext = TestContext(context, tmpFolder.newFolder()) in setUp() constant
/frameworks/base/test-runner/src/android/test/
DAndroidTestRunner.java191 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest() local
199 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase()
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DTraceBufferTest.java56 final Context testContext = getInstrumentation().getContext(); in setUp() local
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTracingLegacyTest.java87 final Context testContext = getInstrumentation().getContext(); in setUp() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/util/
DTransitionObserverTestUtils.kt222 val testContext = TransitionObserverTestContext().apply { in executeTransitionObserverTest() constant
/frameworks/base/libs/hwui/tests/macrobench/
DTestSceneRunner.cpp107 TestContext testContext; in doRun() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/education/
DAppHandleEducationDatastoreRepositoryTest.kt52 private val testContext: Context = InstrumentationRegistry.getInstrumentation().targetContext constant in com.android.wm.shell.desktopmode.education.AppHandleEducationDatastoreRepositoryTest
/frameworks/base/tests/Tracing/src/com/android/internal/protolog/
DLegacyProtoLogImplTest.java87 final Context testContext = getInstrumentation().getContext(); in setUp() local
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/persistence/
DDesktopPersistentRepositoryTest.kt53 private val testContext: Context = InstrumentationRegistry.getInstrumentation().targetContext constant in com.android.wm.shell.desktopmode.persistence.DesktopPersistentRepositoryTest
/frameworks/base/libs/hwui/tests/unit/
DSkiaDisplayListTests.cpp234 test::TestContext testContext; in RENDERTHREAD_TEST() local
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/rollback/
DRollbackPackageHealthObserverTest.java158 Context testContext = InstrumentationRegistry.getInstrumentation() in setup() local
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DAccountManagerServiceTest.java3589 MyMockContext(Context testContext, Context mockContext) { in MyMockContext()