Home
last modified time | relevance | path

Searched defs:targetContext (Results 1 – 19 of 19) sorted by relevance

/cts/tests/app/src/android/app/cts/
DActivityCallbacksTest.java79 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in tearDown() local
87 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testActivityCallbackOrder() local
DApplicationTest.java51 final Context targetContext = instrumentation.getTargetContext(); in testApplication() local
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/
DBaseDynamicMimeTest.java41 protected static Context targetContext() { in targetContext() method in BaseDynamicMimeTest
/cts/tests/tests/settings/src/android/settings/cts/
DSettingsIntentsTest.java70 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in settingActivity_launchSatelliteSettingIntent() local
DSettingsMultiPaneDeepLinkTest.java62 Context targetContext = InstrumentationRegistry.getInstrumentation() in setUp() local
DSettingsIntentsInWorkProfileTest.java90 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in startActivity() local
/cts/tests/tests/security/src/android/security/cts/
DCVE_2020_0294.java52 Context targetContext = instrumentation.getTargetContext(); in testPocCVE_2020_0294() local
DPermissionBackupCertificateCheckTest.kt65 private val targetContext = InstrumentationRegistry.getTargetContext() constant in android.security.cts.PermissionBackupCertificateCheckTest
DActivityManagerTest.java258 Context targetContext = getInstrumentation().getTargetContext(); in testActivityManager_rejectRemoteTransition() local
/cts/tests/tests/theme/src/android/theme/cts/
DThemeRebaseTest.java48 Context targetContext = InstrumentationRegistry.getTargetContext(); in before() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/
DCameraTestInstrumentation.java46 public void initialize(Context targetContext, MetricListener listener) { in initialize()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DMediaProjectionHelper.java224 Context targetContext = instrumentation.getTargetContext(); in authorizeMediaProjection() local
272 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in startMediaProjection() local
/cts/tests/sensitivecontentprotection/src/android/sensitivecontentprotection/cts/
DSensitiveContentMediaProjectionHelper.java224 Context targetContext = instrumentation.getTargetContext(); in authorizeMediaProjection() local
272 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in startMediaProjection() local
/cts/tests/tests/widget/src/android/widget/cts/
DNumberPickerTest.java116 Context targetContext = mInstrumentation.getTargetContext(); in setup() local
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java402 final Context targetContext = target.getContext(); in checkViewTag() local
/cts/tests/input/src/android/input/cts/
DInputInjectionTest.kt73 private lateinit var targetContext: Context in <lambda>() variable in android.input.cts.InputInjectionTest
DTouchModeTest.kt77 private lateinit var targetContext: Context in <lambda>() variable in android.input.cts.TouchModeTest
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/
DEdgeEffectTests.java75 final Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local
/cts/tests/inputmethod/src/android/view/inputmethod/cts/
DKeyboardVisibilityControlTest.java1747 final Context targetContext = mInstrumentation.getTargetContext(); in testIMEVisibleWhenNotificationComes() local