Home
last modified time | relevance | path

Searched refs:getInstrumentation (Results 1 – 15 of 15) sorted by relevance

/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/
DUiAutomatorTestCase.java65 Instrumentation instrumentation = getInstrumentation(); in getAutomationSupport()
82 mDevice = UiDevice.getInstance(getInstrumentation()); in initialize()
DResultsReporter.kt102 InstrumentationRegistry.getInstrumentation().sendStatus(2, bundle) in <lambda>()
DUiAutomatorTestScope.kt62 public val instrumentation: Instrumentation = InstrumentationRegistry.getInstrumentation(),
DUiDevice.java1445 Instrumentation getInstrumentation() { in getInstrumentation() method in UiDevice
1473 uiAutomation = Api24Impl.getUiAutomationWithRetry(getInstrumentation(), flags); in getUiAutomation()
1478 uiAutomation = getInstrumentation().getUiAutomation(); in getUiAutomation()
DGestureController.java87 Instrumentation instrumentation = device.getInstrumentation(); in GestureController()
DInteractionController.java491 PowerManager pm = (PowerManager) mDevice.getInstrumentation().getContext().getSystemService( in isScreenOn()
/test/uiautomator/uiautomator/src/main/java/androidx/test/uiautomator/internal/
DUtils.kt30 internal val instrumentation = InstrumentationRegistry.getInstrumentation()
52 InstrumentationRegistry.getInstrumentation().targetContext.externalMediaDirs.firstOrNull { in nowMs()
/test/screenshot/screenshot/src/androidTest/java/androidx/test/screenshot/utils/
DBitmapUtils.kt24 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in loadBitmap()
/test/screenshot/screenshot/src/main/java/androidx/test/screenshot/
DScreenshotTestRule.kt84 InstrumentationRegistry.getInstrumentation().getContext().externalCacheDir,
141 val context = InstrumentationRegistry.getInstrumentation().targetContext.applicationContext in fetchExpectedImage()
305 InstrumentationRegistry.getInstrumentation().sendStatus(bundleStatusInProgress, report) in reportResult()
/test/uiautomator/uiautomator/src/androidTest/java/androidx/test/uiautomator/
DUiDeviceTest.java75 mInstrumentation = spy(InstrumentationRegistry.getInstrumentation()); in setUp()
76 mUiAutomation = spy(InstrumentationRegistry.getInstrumentation().getUiAutomation()); in setUp()
80 mDevice = new UiDevice(InstrumentationRegistry.getInstrumentation()); in setUp()
/test/uiautomator/integration-tests/testapp/src/androidTest/java/androidx/test/uiautomator/testapp/
DBaseTest.java71 mDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation()); in setUp()
DUiAutomatorTestScopeTest.kt146 private val uiDevice = UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())
DUiDeviceTest.java134 assertEquals(mDevice, UiDevice.getInstance(InstrumentationRegistry.getInstrumentation())); in testGetInstance_withInstrumentation()
/test/uiautomator/uiautomator/api/
Dcurrent.txt231 method public android.app.Instrumentation getInstrumentation();
Drestricted_current.txt231 method public android.app.Instrumentation getInstrumentation();