Searched refs:mInstrumentation (Results 1 – 2 of 2) sorted by relevance
66 private Instrumentation mInstrumentation; field in UiDeviceTest75 mInstrumentation = spy(InstrumentationRegistry.getInstrumentation()); in setUp()77 doReturn(mUiAutomation).when(mInstrumentation).getUiAutomation(anyInt()); in setUp()78 mDevice = new UiDevice(mInstrumentation); in setUp()190 verify(mInstrumentation, atLeastOnce()).getUiAutomation(eq(mDefaultFlags)); in testGetUiAutomation_withDefaultFlags()200 verify(mInstrumentation, atLeastOnce()).getUiAutomation(eq(customFlags)); in testGetUiAutomation_withCustomFlags()
95 private final Instrumentation mInstrumentation; field in UiDevice116 mInstrumentation = instrumentation; in UiDevice()303 if (sInstance == null || !instrumentation.equals(sInstance.mInstrumentation)) { in getInstance()1197 dumpFile = mInstrumentation.getContext().getFileStreamPath(fileName); in dumpWindowHierarchy()1342 PackageManager pm = mInstrumentation.getContext().getPackageManager(); in getLauncherPackageName()1446 return mInstrumentation; in getInstrumentation()1455 context = Api31Impl.createWindowContext(mInstrumentation.getContext(), display); in getUiContext()1459 context = mInstrumentation.getContext(); in getUiContext()1462 context = mInstrumentation.getContext(); in getUiContext()