/cts/tests/tests/security/src/android/security/cts/ |
D | CVE_2020_0294.java | 50 Context targetContext = instrumentation.getTargetContext(); in testPocCVE_2020_0294() local 57 spuriousIntent.setPackage(targetContext.getPackageName()); in testPocCVE_2020_0294() 63 pi.send(targetContext, 0, spuriousIntent, null, null); in testPocCVE_2020_0294()
|
D | FlagSlipperyTest.kt | 159 val view = View(instrumentation.targetContext) in addWindow() 223 val surfaceView = SurfaceView(instrumentation.targetContext) in addEmbeddedHostWindow() 250 val embeddedView = View(instrumentation.targetContext) in addEmbeddedView()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/camera/performance/ |
D | CameraTestInstrumentation.java | 46 public void initialize(Context targetContext, MetricListener listener) { in initialize() argument 47 mTargetContext = targetContext; in initialize()
|
/cts/tests/app/src/android/app/cts/ |
D | ApplicationTest.java | 51 final Context targetContext = instrumentation.getTargetContext(); in testApplication() local 53 final Intent intent = new Intent(targetContext, MockApplicationActivity.class); in testApplication()
|
D | ActivityCallbacksTest.java | 79 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in tearDown() local 80 Application application = (Application) targetContext.getApplicationContext(); in tearDown() 87 Context targetContext = InstrumentationRegistry.getInstrumentation().getTargetContext(); in testActivityCallbackOrder() local 88 Application application = (Application) targetContext.getApplicationContext(); in testActivityCallbackOrder()
|
D | ActivityManagerTest.java | 428 final Context targetContext = mInstrumentation.getTargetContext(); 429 final String targetPackage = targetContext.getPackageName(); 430 final ActivityManager am = targetContext.getSystemService(ActivityManager.class);
|
/cts/tests/tests/theme/src/android/theme/cts/ |
D | ThemeRebaseTest.java | 48 Context targetContext = InstrumentationRegistry.getTargetContext(); in before() local 51 mContext = targetContext.createConfigurationContext(config); in before()
|
/cts/hostsidetests/packagemanager/domainverification/apps/declaring/src/com/android/cts/packagemanager/verify/domain/declaringapp/ |
D | DomainVerificationDeclaringAppTests.kt | 29 private val context = instrumentation.targetContext
|
/cts/hostsidetests/packagemanager/domainverification/apps/calling/src/com/android/cts/packagemanager/verify/domain/callingapp/ |
D | DomainVerificationCallingAppTests.kt | 29 private val context = instrumentation.targetContext
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/ |
D | BaseDynamicMimeTest.java | 41 protected static Context targetContext() { in targetContext() method in BaseDynamicMimeTest
|
/cts/tests/tests/permission/src/android/permission/cts/ |
D | RevokePermissionTest.kt | 141 val context = InstrumentationRegistry.getInstrumentation().targetContext in testRevoke() 177 val context = InstrumentationRegistry.getInstrumentation().targetContext in assertPackageNotInstalled()
|
/cts/tests/tests/packageinstaller/install/src/android/packageinstaller/install/cts/ |
D | InstallSourceInfoTest.kt | 37 private val context = InstrumentationRegistry.getInstrumentation().targetContext
|
/cts/tests/tests/appop/appopsTestUtilLib/src/android/app/appops/cts/ |
D | AppOpsUtils.kt | 175 InstrumentationRegistry.getInstrumentation().targetContext in getOpEntry()
|
/cts/tests/tests/appop2/src/android/app/appops2/cts/ |
D | AppOpsLoggingTest.kt | 50 private val context = InstrumentationRegistry.getInstrumentation().targetContext in <lambda>()
|
/cts/tests/tests/appop/src/android/app/appops/cts/ |
D | AttributionTest.kt | 48 private val context = instrumentation.targetContext
|
D | ForegroundModeAndActiveTest.kt | 63 private val context = instrumentation.targetContext in <lambda>()
|
/cts/hostsidetests/packagemanager/dynamicmime/test/src/android/dynamicmime/testapp/preferred/ |
D | PreferredActivitiesTest.java | 385 targetContext().startActivity(sendIntent, null); in sendIntent()
|
/cts/tests/tests/view/src/android/view/cts/ |
D | LayoutInflaterTest.java | 400 final Context targetContext = target.getContext(); in checkViewTag() local 401 final CharSequence expectedValue = targetContext.getString(valueResId); in checkViewTag()
|
/cts/tests/tests/uirendering/src/android/uirendering/cts/testclasses/ |
D | EdgeEffectTests.java | 80 final Context targetContext = InstrumentationRegistry.getTargetContext(); in setUp() local 81 mThemeContext = new ContextThemeWrapper(targetContext, in setUp()
|
/cts/tests/tests/os/src/android/os/cts/ |
D | CompanionDeviceManagerTest.kt | 84 private val context = instrumentation.targetContext
|