Searched defs:mInstrumentation (Results 1 - 25 of 48) sorted by last modified time

12

/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/app/
H A DBaseKeyEventsTestCase.java61 private Instrumentation mInstrumentation; field in class:BaseKeyEventsTestCase
70 mInstrumentation = InstrumentationRegistry.getInstrumentation();
107 mInstrumentation.waitForIdleSync();
108 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
109 mInstrumentation.waitForIdleSync();
125 mInstrumentation.waitForIdleSync();
127 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
128 mInstrumentation.waitForIdleSync();
141 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_MENU);
142 mInstrumentation
[all...]
/frameworks/support/v7/appcompat/src/androidTest/java/androidx/appcompat/widget/
H A DAppCompatBaseAutoSizeTest.java68 protected Instrumentation mInstrumentation; field in class:AppCompatBaseAutoSizeTest
77 mInstrumentation = InstrumentationRegistry.getInstrumentation();
106 mInstrumentation.waitForIdleSync();
117 mInstrumentation.waitForIdleSync();
129 mInstrumentation.waitForIdleSync();
143 mInstrumentation.waitForIdleSync();
155 mInstrumentation.waitForIdleSync();
177 mInstrumentation.waitForIdleSync();
186 mInstrumentation.waitForIdleSync();
209 mInstrumentation
[all...]
H A DSearchViewTest.java55 private Instrumentation mInstrumentation; field in class:SearchViewTest
65 mInstrumentation = InstrumentationRegistry.getInstrumentation();
131 mInstrumentation.waitForIdleSync();
160 mInstrumentation.waitForIdleSync();
190 mInstrumentation.waitForIdleSync();
219 mInstrumentation.waitForIdleSync();
229 mInstrumentation.waitForIdleSync();
H A DSearchView_CursorTest.java60 private Instrumentation mInstrumentation; field in class:SearchView_CursorTest
130 mInstrumentation = InstrumentationRegistry.getInstrumentation();
200 mInstrumentation.waitForIdleSync();
206 TestUtils.emulateTapOnView(mInstrumentation, mSearchView,
/frameworks/support/coordinatorlayout/src/androidTest/java/androidx/coordinatorlayout/widget/
H A DCoordinatorLayoutTest.java77 private Instrumentation mInstrumentation; field in class:CoordinatorLayoutTest
85 mInstrumentation = getInstrumentation();
437 mInstrumentation.waitForIdleSync();
467 mInstrumentation.waitForIdleSync();
485 mInstrumentation.waitForIdleSync();
500 mInstrumentation.waitForIdleSync();
709 mInstrumentation.waitForIdleSync();
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
H A DEmojiKeyboardTest.java56 private Instrumentation mInstrumentation; field in class:EmojiKeyboardTest
65 mInstrumentation = InstrumentationRegistry.getInstrumentation();
76 mInstrumentation, editText);
77 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection,
92 mInstrumentation, editText);
93 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString());
100 KeyboardUtil.setSelection(mInstrumentation, editText.getEditableText(),
102 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0);
114 mInstrumentation, editText);
115 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnectio
[all...]
H A DEmojiSpanInstrumentationTest.java54 private Instrumentation mInstrumentation; field in class:EmojiSpanInstrumentationTest
63 mInstrumentation = InstrumentationRegistry.getInstrumentation();
83 mInstrumentation.runOnMainSync(new Runnable() {
89 mInstrumentation.waitForIdleSync();
100 mInstrumentation.runOnMainSync(new Runnable() {
106 mInstrumentation.waitForIdleSync();
113 mInstrumentation.getTargetContext().getResources().getDisplayMetrics());
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/widget/
H A DEmojiEditTextTest.java53 private Instrumentation mInstrumentation; field in class:EmojiEditTextTest
62 mInstrumentation = InstrumentationRegistry.getInstrumentation();
74 mInstrumentation.runOnMainSync(new Runnable() {
80 mInstrumentation.waitForIdleSync();
101 mInstrumentation.runOnMainSync(new Runnable() {
110 mInstrumentation.waitForIdleSync();
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
H A DFragmentAnimationTest.java70 private Instrumentation mInstrumentation; field in class:FragmentAnimationTest
74 mInstrumentation = InstrumentationRegistry.getInstrumentation();
383 mInstrumentation.runOnMainSync(new Runnable() {
393 mInstrumentation.runOnMainSync(new Runnable() {
H A DFragmentReorderingTest.java49 private Instrumentation mInstrumentation; field in class:FragmentReorderingTest
56 mInstrumentation = InstrumentationRegistry.getInstrumentation();
65 mInstrumentation.runOnMainSync(new Runnable() {
84 mInstrumentation.runOnMainSync(new Runnable() {
111 mInstrumentation.runOnMainSync(new Runnable() {
136 mInstrumentation.runOnMainSync(new Runnable() {
168 mInstrumentation.runOnMainSync(new Runnable() {
218 mInstrumentation.runOnMainSync(new Runnable() {
259 mInstrumentation.runOnMainSync(new Runnable() {
322 mInstrumentation
[all...]
H A DFragmentReplaceTest.java50 private Instrumentation mInstrumentation; field in class:FragmentReplaceTest
54 mInstrumentation = InstrumentationRegistry.getInstrumentation();
116 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
H A DFragmentTest.java55 private Instrumentation mInstrumentation; field in class:FragmentTest
60 mInstrumentation = InstrumentationRegistry.getInstrumentation();
91 mInstrumentation.waitForIdleSync();
118 mInstrumentation.waitForIdleSync();
127 mInstrumentation.waitForIdleSync();
H A DFragmentTransitionTest.java70 private Instrumentation mInstrumentation; field in class:FragmentTransitionTest
81 mInstrumentation = InstrumentationRegistry.getInstrumentation();
184 mInstrumentation.runOnMainSync(new Runnable() {
1080 mInstrumentation.runOnMainSync(new Runnable() {
H A DFragmentViewTests.java52 private Instrumentation mInstrumentation; field in class:FragmentViewTests
56 mInstrumentation = InstrumentationRegistry.getInstrumentation();
162 mInstrumentation.runOnMainSync(new Runnable() {
879 mInstrumentation.runOnMainSync(new Runnable() {
H A DNestedFragmentTest.java52 private Instrumentation mInstrumentation; field in class:NestedFragmentTest
57 mInstrumentation = InstrumentationRegistry.getInstrumentation();
86 mInstrumentation.addMonitor(
104 assertTrue(mInstrumentation.checkMonitorHit(activityMonitor, 1));
H A DPostponedTransitionTest.java55 private Instrumentation mInstrumentation; field in class:PostponedTransitionTest
60 mInstrumentation = InstrumentationRegistry.getInstrumentation();
179 mInstrumentation.runOnMainSync(new Runnable() {
571 mInstrumentation.runOnMainSync(new Runnable() {
623 mInstrumentation.runOnMainSync(new Runnable() {
763 mInstrumentation.runOnMainSync(new Runnable() {
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/
H A DFragmentLifecycleInActivityTest.java59 private Instrumentation mInstrumentation; field in class:FragmentLifecycleInActivityTest
72 mInstrumentation = InstrumentationRegistry.getInstrumentation();
98 mInstrumentation.callActivityOnPause(activity);
99 mInstrumentation.callActivityOnStop(activity);
108 mInstrumentation.callActivityOnStart(activity);
109 mInstrumentation.callActivityOnResume(activity);
117 Intent intent = FragmentLifecycleActivity.intentFor(mInstrumentation.getTargetContext(),
139 mInstrumentation.waitForIdleSync();
144 mInstrumentation.runOnMainSync(new Runnable() {
/frameworks/support/media/src/androidTest/java/androidx/media/
H A DMediaPlayer2TestBase.java89 protected Instrumentation mInstrumentation; field in class:MediaPlayer2TestBase
288 mInstrumentation = InstrumentationRegistry.getInstrumentation();
290 mInstrumentation.getTargetContext().getSystemService(KEYGUARD_SERVICE);
302 mInstrumentation.waitForIdleSync();
/frameworks/support/media-widget/src/androidTest/java/androidx/media/widget/
H A DVideoView2Test.java86 private Instrumentation mInstrumentation; field in class:VideoView2Test
99 mInstrumentation = InstrumentationRegistry.getInstrumentation();
101 mInstrumentation.getTargetContext().getSystemService(KEYGUARD_SERVICE);
123 mInstrumentation.waitForIdleSync();
/frameworks/support/navigation/fragment/src/androidTest/java/androidx/navigation/fragment/
H A DBaseNavControllerTest.java60 private Instrumentation mInstrumentation; field in class:BaseNavControllerTest
64 mInstrumentation = InstrumentationRegistry.getInstrumentation();
202 .setComponent(new ComponentName(mInstrumentation.getContext(),
226 mInstrumentation.waitForIdleSync();
236 TaskStackBuilder intents = new NavDeepLinkBuilder(mInstrumentation.getTargetContext())
/frameworks/support/navigation/runtime/src/androidTest/java/androidx/navigation/
H A DNavInflaterTest.java40 private Instrumentation mInstrumentation; field in class:NavInflaterTest
44 mInstrumentation = InstrumentationRegistry.getInstrumentation();
65 + mInstrumentation.getTargetContext().getPackageName() + "/test");
/frameworks/support/room/testing/src/main/java/androidx/room/testing/
H A DMigrationTestHelper.java85 private Instrumentation mInstrumentation; field in class:MigrationTestHelper
108 mInstrumentation = instrumentation;
134 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
146 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
182 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
192 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
206 .builder(mInstrumentation.getTargetContext())
271 return loadSchema(mInstrumentation.getContext(), version);
276 return loadSchema(mInstrumentation.getTargetContext(), version);
/frameworks/support/compat/src/androidTest/java/androidx/core/content/res/
H A DFontResourcesParserCompatTest.java55 private Instrumentation mInstrumentation; field in class:FontResourcesParserCompatTest
60 mInstrumentation = InstrumentationRegistry.getInstrumentation();
61 mResources = mInstrumentation.getContext().getResources();
/frameworks/support/compat/src/androidTest/java/androidx/core/provider/
H A DFontsContractCompatTest.java102 private Instrumentation mInstrumentation; field in class:FontsContractCompatTest
107 mInstrumentation = InstrumentationRegistry.getInstrumentation();
108 mContext = mInstrumentation.getTargetContext();
/frameworks/support/compat/src/androidTest/java/androidx/core/view/
H A DDragStartHelperTest.java59 private Instrumentation mInstrumentation; field in class:DragStartHelperTest
103 mInstrumentation.sendPointerSync(obtainTouchEvent(action, anchor, offsetX, offsetY));
130 mInstrumentation.sendPointerSync(obtainMouseEvent(
163 mInstrumentation = InstrumentationRegistry.getInstrumentation();

Completed in 310 milliseconds

12