Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/tests/coretests/src/android/content/
H A DContextTest.java72 final Context testContext = in testDisplayIdForTestContext() local
80 final Context testContext = in testDisplayIdForDefaultDisplayContext() local
92 final Context testContext = in testStartActivityAsUserNullIntentNullUser() local
99 final Context testContext = in testStartActivityAsUserNullIntentNonNullUser() local
106 final Context testContext = in testStartActivityAsUserNonNullIntentNullUser() local
113 final Context testContext = in testStartActivityAsUserNonNullIntentNonNullUser() local
/aosp12/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
H A DTestEnvironment.java29 private final Context testContext; field in TestEnvironment
33 public TestEnvironment(Context testContext, TestEnv env, ActionHandler actionHandler) { in TestEnvironment()
/aosp12/frameworks/base/core/tests/coretests/src/android/view/inputmethod/
H A DInputMethodManagerTest.java45 final Context testContext = InstrumentationRegistry.getInstrumentation() in testPrivateApiGetInstance() local
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
H A DModelBackedDocumentsAdapterTest.java42 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
H A DDirectoryAddonsAdapterTest.java52 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
/aosp12/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/
H A DAppLauncherUtilsTest.java183 Context testContext = in getAutomotiveAppTypes() local
195 Context testContext = in videoAppPredicate() local
/aosp12/packages/apps/Car/libs/car-ui-lib/paintbooth/src/main/java/com/android/car/ui/paintbooth/appstyledview/
H A DAppStyledViewSampleActivity.java65 Context testContext = createConfigurationContext(config); in onCreate() local
/aosp12/packages/modules/Connectivity/framework/src/android/net/
H A DConnectivityResources.java63 public static void setResourcesContextForTest(@Nullable Context testContext) { in setResourcesContextForTest()
/aosp12/build/soong/apex/
H A Dclasspath_element_test.go31 testContext *android.TestContext member
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
H A DTestUtils.java38 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils()
/aosp12/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java191 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest() local
199 private void setContextIfAndroidTestCase(Test test, Context context, Context testContext) { in setContextIfAndroidTestCase()
/aosp12/build/soong/dexpreopt/
H A Dclass_loader_context_test.go276 func testContext() android.ModuleInstallPathContext { func
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
H A DTraceBufferTest.java56 final Context testContext = getInstrumentation().getContext(); in setUp() local
/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowTracingTest.java87 final Context testContext = getInstrumentation().getContext(); in setUp() local
/aosp12/build/soong/android/
H A Dfixture.go612 type testContext struct { struct
613 *TestContext
618 testContext anonMember
/aosp12/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpecStringReferenceTests.java47 final Context testContext = instrumentation.getContext(); in setUp() local
/aosp12/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
H A DDisclaimersParserImplTest.java83 Context testContext = InstrumentationRegistry.getContext(); in setUpClass() local
/aosp12/frameworks/base/services/tests/mockingservicestests/src/com/android/server/appop/
H A DAppOpsUpgradeTest.java146 Context testContext = spy(mContext); in testUpgradeFromNoVersion() local
/aosp12/frameworks/base/libs/hwui/tests/macrobench/
H A DTestSceneRunner.cpp108 TestContext testContext; in doRun() local
/aosp12/build/soong/ui/build/
H A Dconfig_test.go32 func testContext() Context { func
/aosp12/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
H A DFileCopyUiTest.java283 Context testContext = getInstrumentation().getContext(); in loadImages() local
/aosp12/frameworks/base/tests/Internal/src/com/android/internal/protolog/
H A DProtoLogImplTest.java85 final Context testContext = getInstrumentation().getContext(); in setUp() local
/aosp12/frameworks/base/libs/hwui/tests/unit/
H A DSkiaDisplayListTests.cpp207 test::TestContext testContext; in RENDERTHREAD_SKIA_PIPELINE_TEST() local
/aosp12/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
H A DLauncherModelHelper.java559 private static Context testContext() { in testContext() method in LauncherModelHelper
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
H A DAccountManagerServiceTest.java3342 MyMockContext(Context testContext, Context mockContext) { in MyMockContext()