Home
last modified time | relevance | path

Searched refs:targetContext (Results 1 – 13 of 13) sorted by relevance

/platform_testing/libraries/uiautomator-helpers/src/android/platform/uiautomator_helpers/
DShellPrivilege.kt28 private val targetContext = instrumentation.targetContext constant
57 targetContext.checkCallingPermission(this) == PackageManager.PERMISSION_GRANTED
DDeviceHelpers.kt54 get() = instrumentationRegistry.targetContext
/platform_testing/libraries/screenshot/src/main/java/platform/test/screenshot/
DFontsRule.kt40 InstrumentationRegistry.getInstrumentation().targetContext) in apply()
DMaterialYouColorsRule.kt41 colors.apply(InstrumentationRegistry.getInstrumentation().targetContext) in <lambda>()
DDeviceEmulationRule.kt154 .targetContext in <lambda>()
DScreenshotTestRule.kt97 return listOf(instrument.targetContext.applicationContext, instrument.context) in <lambda>()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/utils/
DBitmapUtils.kt25 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in loadBitmap()
/platform_testing/libraries/flicker/utils/src/android/tools/traces/
DExtensions.kt34 InstrumentationRegistry.getInstrumentation().targetContext.filesDir in getDefaultFlickerOutputDir()
/platform_testing/libraries/screenshot/src/androidTest/java/platform/test/screenshot/
DMaterialYouColorsRuleTest.kt18 val context = InstrumentationRegistry.getInstrumentation().targetContext in testApplyMaterialYouColors()
DDeviceEmulationRuleTest.kt35 .targetContext in <lambda>()
/platform_testing/libraries/health/rules/src/android/platform/test/rule/
DDeviceTypeRule.kt101 .targetContext in isFoldable()
/platform_testing/libraries/flicker/src/android/tools/flicker/
DUtils.kt44 ScreenRecorder(InstrumentationRegistry.getInstrumentation().targetContext), in <lambda>()
/platform_testing/libraries/flicker/utils/test/src/android/tools/monitors/
DScreenRecorderTest.kt43 private val mScreenRecorder = ScreenRecorder(instrumentation.targetContext)