Home
last modified time | relevance | path

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

/packages/modules/Permission/tests/cts/permissionui/UsePermissionApp22CalendarOnly/src/android/permissionui/cts/usepermission/
DCheckPermissionService.kt32 val testContext = in onHandleIntent() constant
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/dirlist/
DTestEnvironment.java29 private final Context testContext; field in TestEnvironment
33 public TestEnvironment(Context testContext, TestEnv env, ActionHandler actionHandler) { in TestEnvironment()
/packages/modules/AdServices/shared/tests/device-side/java/com/android/adservices/shared/testing/
DDeviceSideTestCaseTest.java49 public void testContext() { in testContext() method in DeviceSideTestCaseTest
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapterTest.java45 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
DModelBackedDocumentsAdapterPrivateSpaceTest.java49 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
DDirectoryAddonsAdapterTest.java56 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
DDirectoryAddonsAdapterPrivateSpaceTest.java79 final Context testContext = TestContext.createStorageTestContext(getContext(), AUTHORITY); in setUp() local
/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DConnectivityResources.java53 public static void setResourcesContextForTest(@Nullable Context testContext) { in setResourcesContextForTest()
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/archives/
DTestUtils.java38 public TestUtils(Context targetContext, Context testContext, ExecutorService executor) { in TestUtils()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DAddConfigWidgetTest.java107 Context testContext = getInstrumentation().getContext(); in runTest() local
DRequestPinItemTest.java153 Context testContext = getInstrumentation().getContext(); in runTest() local
/packages/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkContextUnitTest.java179 TestContext testContext = new TestContext(testService); in testGetSystemService_notRegistered_delegatesToBaseContext() local
204 TestContext testContext = new TestContext(testService); in testGetSystemService_registered_mutatesService() local
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/internal/
DMoreKeySpecStringReferenceTests.java47 final Context testContext = instrumentation.getContext(); in setUp() local
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/parser/
DDisclaimersParserImplTest.java83 Context testContext = InstrumentationRegistry.getContext(); in setUpClass() local
/packages/apps/DocumentsUI/tests/functional/com/android/documentsui/
DFileCopyUiTest.java291 Context testContext = getInstrumentation().getContext(); in loadImages() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/icons/
DIconProviderTest.kt54 lateinit var testContext: Context variable in com.android.launcher3.icons.IconProviderTest
/packages/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt57 private val testContext: Context in <lambda>() constant
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/
DItemInflaterTest.kt83 private lateinit var testContext: Context in <lambda>() variable in com.android.launcher3.util.ItemInflaterTest
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt70 protected val testContext: Context = InstrumentationRegistry.getInstrumentation().context in <lambda>() constant in com.android.launcher3.AbstractDeviceProfileTest
/packages/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java1910 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithCustomAction() local
1955 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithShareModification() local
/packages/modules/AppSearch/testing/mockingservicestests/src/com/android/server/appsearch/
DAppSearchManagerServiceTest.java1469 TestContext testContext = in testIsolatedStorageNotAvailable() local