Home
last modified time | relevance | path

Searched defs:testContext (Results 1 – 16 of 16) 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/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/modules/AdServices/sdksandbox/tests/unittest/src/android/app/sdksandbox/
DSandboxedSdkContextUnitTest.java180 TestContext testContext = new TestContext(testService); in testGetSystemService_notRegistered_delegatesToBaseContext() local
205 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/modules/Connectivity/tests/cts/net/src/android/net/cts/
DNetworkScoreTest.kt57 private val testContext: Context in <lambda>() constant
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/
DAbstractDeviceProfileTest.kt63 protected val testContext: Context = InstrumentationRegistry.getInstrumentation().context in <lambda>() constant in com.android.launcher3.AbstractDeviceProfileTest
/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/modules/IntentResolver/tests/activity/src/com/android/intentresolver/
DChooserActivityTest.java1896 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithCustomAction() local
1941 Context testContext = InstrumentationRegistry.getInstrumentation().getContext(); in testLaunchWithShareModification() local