Searched defs:mInstrumentation (Results 1 - 25 of 48) sorted by relevance

12

/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
H A DInstrumentationAutomationSupport.java30 private Instrumentation mInstrumentation; field in class:InstrumentationAutomationSupport
33 mInstrumentation = instrumentation;
38 mInstrumentation.sendStatus(resultCode, status);
/frameworks/support/emoji/core/src/androidTest/java/androidx/emoji/text/
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());
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...]
/frameworks/support/fragment/src/androidTest/java/androidx/fragment/app/
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 DFragmentReplaceTest.java50 private Instrumentation mInstrumentation; field in class:FragmentReplaceTest
54 mInstrumentation = InstrumentationRegistry.getInstrumentation();
116 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
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 DFragmentTest.java55 private Instrumentation mInstrumentation; field in class:FragmentTest
60 mInstrumentation = InstrumentationRegistry.getInstrumentation();
91 mInstrumentation.waitForIdleSync();
118 mInstrumentation.waitForIdleSync();
127 mInstrumentation.waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DFontResourcesParserTest.java50 private Instrumentation mInstrumentation; field in class:FontResourcesParserTest
55 mInstrumentation = InstrumentationRegistry.getInstrumentation();
56 mResources = mInstrumentation.getContext().getResources();
/frameworks/base/core/tests/coretests/src/android/util/
H A DListUtil.java31 private final Instrumentation mInstrumentation; field in class:ListUtil
39 mInstrumentation = instrumentation;
52 mInstrumentation.waitForIdleSync();
85 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN);
96 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP);
H A DOrientationUtil.java33 private final Instrumentation mInstrumentation; field in class:OrientationUtil
57 mInstrumentation = instrumentation;
61 mInstrumentation.runOnMainSync(mSetToPortrait);
65 mInstrumentation.runOnMainSync(mSetToLandscape);
/frameworks/base/test-base/src/android/test/
H A DInstrumentationTestSuite.java37 private final Instrumentation mInstrumentation; field in class:InstrumentationTestSuite
44 mInstrumentation = instr;
50 mInstrumentation = instr;
60 mInstrumentation = instr;
66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation));
74 ((InstrumentationTestCase) test).injectInstrumentation(mInstrumentation);
H A DInstrumentationTestCase.java44 private Instrumentation mInstrumentation; field in class:InstrumentationTestCase
53 mInstrumentation = instrumentation;
75 return mInstrumentation;
/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/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/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/base/core/tests/coretests/src/android/widget/
H A DDatePickerFocusTest.java36 private Instrumentation mInstrumentation; field in class:DatePickerFocusTest
48 mInstrumentation = getInstrumentation();
84 mInstrumentation.sendKeyDownUpSync(keycode);
85 mInstrumentation.waitForIdleSync();
100 mInstrumentation.sendKeySync(shiftDown);
105 mInstrumentation.sendKeySync(keyDown);
110 mInstrumentation.sendKeySync(keyUp);
113 mInstrumentation.sendKeySync(shiftUp);
115 mInstrumentation.waitForIdleSync();
250 mInstrumentation
[all...]
H A DTextViewTest.java58 private Instrumentation mInstrumentation; field in class:TextViewTest
65 mInstrumentation = InstrumentationRegistry.getInstrumentation();
103 mInstrumentation.waitForIdleSync();
118 mInstrumentation.waitForIdleSync();
127 mInstrumentation.waitForIdleSync();
145 mInstrumentation.waitForIdleSync();
164 mInstrumentation.waitForIdleSync();
H A DEditorCursorTest.java62 private Instrumentation mInstrumentation; field in class:EditorCursorTest
69 mInstrumentation = InstrumentationRegistry.getInstrumentation();
75 mInstrumentation.waitForIdleSync();
200 mInstrumentation.waitForIdleSync();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DDozeTriggersTest.java60 private Instrumentation mInstrumentation; field in class:DozeTriggersTest
71 mInstrumentation = InstrumentationRegistry.getInstrumentation();
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DAccessibilityManagerTest.java62 private Instrumentation mInstrumentation; field in class:AccessibilityManagerTest
75 mInstrumentation = InstrumentationRegistry.getInstrumentation();
152 mInstrumentation.runOnMainSync(() -> {
/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/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/base/packages/Shell/tests/src/com/android/shell/
H A DUiBot.java40 private final Instrumentation mInstrumentation; field in class:UiBot
45 mInstrumentation = instrumentation;
68 (StatusBarManager) mInstrumentation.getContext().getSystemService("statusbar");
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DKeyguardIndicationControllerTest.java63 private Instrumentation mInstrumentation; field in class:KeyguardIndicationControllerTest
67 mInstrumentation = InstrumentationRegistry.getInstrumentation();
177 mInstrumentation.runOnMainSync(() -> {
184 mInstrumentation.waitForIdleSync();
187 mInstrumentation.runOnMainSync(() -> {
H A DNotificationTestHelper.java48 private final Instrumentation mInstrumentation; field in class:NotificationTestHelper
56 mInstrumentation = InstrumentationRegistry.getInstrumentation();

Completed in 1038 milliseconds

12