Searched refs:mInstrumentation (Results 1 - 25 of 43) 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/base/legacy-test/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);
/frameworks/base/core/tests/coretests/src/android/util/
H A DOrientationUtil.java33 private final Instrumentation mInstrumentation; field in class:OrientationUtil
57 mInstrumentation = instrumentation;
61 mInstrumentation.runOnMainSync(mSetToPortrait);
65 mInstrumentation.runOnMainSync(mSetToLandscape);
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);
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
H A DBaseKeyEventsTestCase.java60 private Instrumentation mInstrumentation; field in class:BaseKeyEventsTestCase
69 mInstrumentation = InstrumentationRegistry.getInstrumentation();
106 mInstrumentation.waitForIdleSync();
107 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
108 mInstrumentation.waitForIdleSync();
124 mInstrumentation.waitForIdleSync();
126 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
127 mInstrumentation.waitForIdleSync();
140 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_MENU);
141 mInstrumentation
[all...]
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/
H A DEmojiKeyboardTest.java55 private Instrumentation mInstrumentation; field in class:EmojiKeyboardTest
64 mInstrumentation = InstrumentationRegistry.getInstrumentation();
75 mInstrumentation, editText);
76 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection,
91 mInstrumentation, editText);
92 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnection, string.toString());
99 KeyboardUtil.setSelection(mInstrumentation, editText.getEditableText(),
101 KeyboardUtil.deleteSurroundingText(mInstrumentation, inputConnection, 1, 0);
113 mInstrumentation, editText);
114 KeyboardUtil.setComposingTextInBatch(mInstrumentation, inputConnectio
[all...]
H A DEmojiSpanInstrumentationTest.java56 private Instrumentation mInstrumentation; field in class:EmojiSpanInstrumentationTest
65 mInstrumentation = InstrumentationRegistry.getInstrumentation();
85 mInstrumentation.runOnMainSync(new Runnable() {
91 mInstrumentation.waitForIdleSync();
102 mInstrumentation.runOnMainSync(new Runnable() {
108 mInstrumentation.waitForIdleSync();
115 mInstrumentation.getTargetContext().getResources().getDisplayMetrics());
/frameworks/support/lifecycle/extensions/src/androidTest/java/android/arch/lifecycle/
H A DFragmentLifecycleInActivityTest.java58 private Instrumentation mInstrumentation; field in class:FragmentLifecycleInActivityTest
71 mInstrumentation = InstrumentationRegistry.getInstrumentation();
97 mInstrumentation.callActivityOnPause(activity);
98 mInstrumentation.callActivityOnStop(activity);
107 mInstrumentation.callActivityOnStart(activity);
108 mInstrumentation.callActivityOnResume(activity);
116 Intent intent = FragmentLifecycleActivity.intentFor(mInstrumentation.getTargetContext(),
138 mInstrumentation.waitForIdleSync();
143 mInstrumentation.runOnMainSync(new Runnable() {
/frameworks/support/emoji/core/tests/java/android/support/text/emoji/widget/
H A DEmojiEditTextTest.java52 private Instrumentation mInstrumentation; field in class:EmojiEditTextTest
61 mInstrumentation = InstrumentationRegistry.getInstrumentation();
73 mInstrumentation.runOnMainSync(new Runnable() {
79 mInstrumentation.waitForIdleSync();
92 mInstrumentation.runOnMainSync(new Runnable() {
101 mInstrumentation.waitForIdleSync();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/
H A DDozeTriggersTest.java59 private Instrumentation mInstrumentation; field in class:DozeTriggersTest
70 mInstrumentation = InstrumentationRegistry.getInstrumentation();
80 mInstrumentation.runOnMainSync(() -> {
90 mInstrumentation.runOnMainSync(()->{
97 mInstrumentation.runOnMainSync(() -> {
104 mInstrumentation.runOnMainSync(()->{
108 mInstrumentation.runOnMainSync(() -> {
/frameworks/support/v7/appcompat/tests/src/android/support/v7/widget/
H A DAppCompatBaseAutoSizeTest.java67 protected Instrumentation mInstrumentation; field in class:AppCompatBaseAutoSizeTest
76 mInstrumentation = InstrumentationRegistry.getInstrumentation();
105 mInstrumentation.waitForIdleSync();
116 mInstrumentation.waitForIdleSync();
128 mInstrumentation.waitForIdleSync();
142 mInstrumentation.waitForIdleSync();
154 mInstrumentation.waitForIdleSync();
176 mInstrumentation.waitForIdleSync();
185 mInstrumentation.waitForIdleSync();
208 mInstrumentation
[all...]
H A DSearchViewTest.java54 private Instrumentation mInstrumentation; field in class:SearchViewTest
64 mInstrumentation = InstrumentationRegistry.getInstrumentation();
130 mInstrumentation.waitForIdleSync();
159 mInstrumentation.waitForIdleSync();
189 mInstrumentation.waitForIdleSync();
218 mInstrumentation.waitForIdleSync();
228 mInstrumentation.waitForIdleSync();
H A DAppCompatTextViewAutoSizeTest.java64 mInstrumentation.waitForIdleSync();
72 mInstrumentation.waitForIdleSync();
/frameworks/base/core/tests/coretests/src/android/widget/
H A DDatePickerFocusTest.java34 private Instrumentation mInstrumentation; field in class:DatePickerFocusTest
46 mInstrumentation = getInstrumentation();
82 mInstrumentation.sendKeyDownUpSync(keycode);
83 mInstrumentation.waitForIdleSync();
98 mInstrumentation.sendKeySync(shiftDown);
103 mInstrumentation.sendKeySync(keyDown);
108 mInstrumentation.sendKeySync(keyUp);
111 mInstrumentation.sendKeySync(shiftUp);
113 mInstrumentation.waitForIdleSync();
248 mInstrumentation
[all...]
H A DTextViewTest.java55 private Instrumentation mInstrumentation; field in class:TextViewTest
62 mInstrumentation = InstrumentationRegistry.getInstrumentation();
100 mInstrumentation.waitForIdleSync();
115 mInstrumentation.waitForIdleSync();
124 mInstrumentation.waitForIdleSync();
142 mInstrumentation.waitForIdleSync();
161 mInstrumentation.waitForIdleSync();
/frameworks/support/fragment/tests/java/android/support/v4/app/
H A DNestedFragmentTest.java51 private Instrumentation mInstrumentation; field in class:NestedFragmentTest
56 mInstrumentation = InstrumentationRegistry.getInstrumentation();
85 mInstrumentation.addMonitor(
103 assertTrue(mInstrumentation.checkMonitorHit(activityMonitor, 1));
H A DFragmentReorderingTest.java48 private Instrumentation mInstrumentation; field in class:FragmentReorderingTest
55 mInstrumentation = InstrumentationRegistry.getInstrumentation();
64 mInstrumentation.runOnMainSync(new Runnable() {
83 mInstrumentation.runOnMainSync(new Runnable() {
110 mInstrumentation.runOnMainSync(new Runnable() {
135 mInstrumentation.runOnMainSync(new Runnable() {
167 mInstrumentation.runOnMainSync(new Runnable() {
217 mInstrumentation.runOnMainSync(new Runnable() {
258 mInstrumentation.runOnMainSync(new Runnable() {
321 mInstrumentation
[all...]
H A DFragmentTest.java53 private Instrumentation mInstrumentation; field in class:FragmentTest
58 mInstrumentation = InstrumentationRegistry.getInstrumentation();
89 mInstrumentation.waitForIdleSync();
116 mInstrumentation.waitForIdleSync();
125 mInstrumentation.waitForIdleSync();
H A DFragmentReplaceTest.java50 private Instrumentation mInstrumentation; field in class:FragmentReplaceTest
54 mInstrumentation = InstrumentationRegistry.getInstrumentation();
116 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
/frameworks/support/room/testing/src/main/java/android/arch/persistence/room/testing/
H A DMigrationTestHelper.java83 private Instrumentation mInstrumentation; field in class:MigrationTestHelper
106 mInstrumentation = instrumentation;
132 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
144 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
177 File dbPath = mInstrumentation.getTargetContext().getDatabasePath(name);
187 mInstrumentation.getTargetContext(), name, mOpenFactory, container, null, true,
198 .builder(mInstrumentation.getTargetContext())
263 return loadSchema(mInstrumentation.getContext(), version);
268 return loadSchema(mInstrumentation.getTargetContext(), version);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
H A DNotificationTestHelper.java44 private final Instrumentation mInstrumentation; field in class:NotificationTestHelper
53 mInstrumentation = InstrumentationRegistry.getInstrumentation();
75 mInstrumentation.runOnMainSync(() -> {
H A DKeyguardIndicationControllerTest.java63 private Instrumentation mInstrumentation; field in class:KeyguardIndicationControllerTest
67 mInstrumentation = InstrumentationRegistry.getInstrumentation();
177 mInstrumentation.runOnMainSync(() -> {
184 mInstrumentation.waitForIdleSync();
187 mInstrumentation.runOnMainSync(() -> {
/frameworks/base/test-runner/src/android/test/
H A DAndroidTestRunner.java50 private Instrumentation mInstrumentation; field in class:AndroidTestRunner
191 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext();
194 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation);
218 mInstrumentation = instrumentation;
/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/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(() -> {

Completed in 6384 milliseconds

12