Searched refs:targetContext (Results 1 – 13 of 13) sorted by relevance
28 private val targetContext = instrumentation.targetContext constant57 targetContext.checkCallingPermission(this) == PackageManager.PERMISSION_GRANTED
54 get() = instrumentationRegistry.targetContext
40 InstrumentationRegistry.getInstrumentation().targetContext) in apply()
41 colors.apply(InstrumentationRegistry.getInstrumentation().targetContext) in <lambda>()
154 .targetContext in <lambda>()
97 return listOf(instrument.targetContext.applicationContext, instrument.context) in <lambda>()
25 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in loadBitmap()
34 InstrumentationRegistry.getInstrumentation().targetContext.filesDir in getDefaultFlickerOutputDir()
18 val context = InstrumentationRegistry.getInstrumentation().targetContext in testApplyMaterialYouColors()
35 .targetContext in <lambda>()
101 .targetContext in isFoldable()
44 ScreenRecorder(InstrumentationRegistry.getInstrumentation().targetContext), in <lambda>()
43 private val mScreenRecorder = ScreenRecorder(instrumentation.targetContext)