/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
H A D | InstrumentationAutomationSupport.java | 30 private Instrumentation mInstrumentation; field in class:InstrumentationAutomationSupport 33 mInstrumentation = instrumentation; 38 mInstrumentation.sendStatus(resultCode, status);
|
/frameworks/base/legacy-test/src/android/test/ |
H A D | InstrumentationTestSuite.java | 37 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 D | OrientationUtil.java | 33 private final Instrumentation mInstrumentation; field in class:OrientationUtil 57 mInstrumentation = instrumentation; 61 mInstrumentation.runOnMainSync(mSetToPortrait); 65 mInstrumentation.runOnMainSync(mSetToLandscape);
|
H A D | ListUtil.java | 31 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 D | BaseKeyEventsTestCase.java | 60 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 D | EmojiKeyboardTest.java | 55 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 D | EmojiSpanInstrumentationTest.java | 56 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 D | FragmentLifecycleInActivityTest.java | 58 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 D | EmojiEditTextTest.java | 52 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 D | DozeTriggersTest.java | 59 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 D | AppCompatBaseAutoSizeTest.java | 67 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 D | SearchViewTest.java | 54 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 D | AppCompatTextViewAutoSizeTest.java | 64 mInstrumentation.waitForIdleSync(); 72 mInstrumentation.waitForIdleSync();
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
H A D | DatePickerFocusTest.java | 34 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 D | TextViewTest.java | 55 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 D | NestedFragmentTest.java | 51 private Instrumentation mInstrumentation; field in class:NestedFragmentTest 56 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 85 mInstrumentation.addMonitor( 103 assertTrue(mInstrumentation.checkMonitorHit(activityMonitor, 1));
|
H A D | FragmentReorderingTest.java | 48 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 D | FragmentTest.java | 53 private Instrumentation mInstrumentation; field in class:FragmentTest 58 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 89 mInstrumentation.waitForIdleSync(); 116 mInstrumentation.waitForIdleSync(); 125 mInstrumentation.waitForIdleSync();
|
H A D | FragmentReplaceTest.java | 50 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 D | MigrationTestHelper.java | 83 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 D | NotificationTestHelper.java | 44 private final Instrumentation mInstrumentation; field in class:NotificationTestHelper 53 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 75 mInstrumentation.runOnMainSync(() -> {
|
H A D | KeyguardIndicationControllerTest.java | 63 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 D | AndroidTestRunner.java | 50 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 D | UiBot.java | 40 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 D | AccessibilityManagerTest.java | 62 private Instrumentation mInstrumentation; field in class:AccessibilityManagerTest 75 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 152 mInstrumentation.runOnMainSync(() -> {
|