/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/support/emoji/core/src/androidTest/java/androidx/emoji/text/ |
H A D | EmojiSpanInstrumentationTest.java | 54 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 D | EmojiKeyboardTest.java | 56 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 D | NestedFragmentTest.java | 52 private Instrumentation mInstrumentation; field in class:NestedFragmentTest 57 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 86 mInstrumentation.addMonitor( 104 assertTrue(mInstrumentation.checkMonitorHit(activityMonitor, 1));
|
H A D | FragmentReplaceTest.java | 50 private Instrumentation mInstrumentation; field in class:FragmentReplaceTest 54 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 116 mInstrumentation.sendKeyDownUpSync(KeyEvent.KEYCODE_BACK);
|
H A D | FragmentReorderingTest.java | 49 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 D | FragmentTest.java | 55 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 D | FontResourcesParserTest.java | 50 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 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);
|
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);
|
/frameworks/base/test-base/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);
|
H A D | InstrumentationTestCase.java | 44 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 D | FontResourcesParserCompatTest.java | 55 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 D | EmojiEditTextTest.java | 53 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 D | NavInflaterTest.java | 40 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 D | DatePickerFocusTest.java | 36 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 D | TextViewTest.java | 58 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 D | EditorCursorTest.java | 62 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 D | DozeTriggersTest.java | 60 private Instrumentation mInstrumentation; field in class:DozeTriggersTest 71 mInstrumentation = InstrumentationRegistry.getInstrumentation();
|
/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(() -> {
|
/frameworks/support/lifecycle/extensions/src/androidTest/java/androidx/lifecycle/ |
H A D | FragmentLifecycleInActivityTest.java | 59 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 D | BaseKeyEventsTestCase.java | 61 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 D | UiBot.java | 40 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 D | KeyguardIndicationControllerTest.java | 63 private Instrumentation mInstrumentation; field in class:KeyguardIndicationControllerTest 67 mInstrumentation = InstrumentationRegistry.getInstrumentation(); 177 mInstrumentation.runOnMainSync(() -> { 184 mInstrumentation.waitForIdleSync(); 187 mInstrumentation.runOnMainSync(() -> {
|
H A D | NotificationTestHelper.java | 48 private final Instrumentation mInstrumentation; field in class:NotificationTestHelper 56 mInstrumentation = InstrumentationRegistry.getInstrumentation();
|