/frameworks/base/test-base/src/android/test/ |
D | InstrumentationTestSuite.java | 37 private final Instrumentation mInstrumentation; field in InstrumentationTestSuite 44 mInstrumentation = instr; in InstrumentationTestSuite() 50 mInstrumentation = instr; in InstrumentationTestSuite() 60 mInstrumentation = instr; in InstrumentationTestSuite() 66 addTest(new InstrumentationTestSuite(testClass, mInstrumentation)); in addTestSuite() 74 ((InstrumentationTestCase) test).injectInstrumentation(mInstrumentation); in runTest()
|
D | InstrumentationTestCase.java | 44 private Instrumentation mInstrumentation; field in InstrumentationTestCase 53 mInstrumentation = instrumentation; in injectInstrumentation() 75 return mInstrumentation; in getInstrumentation()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListUtil.java | 29 private final Instrumentation mInstrumentation; field in ListUtil 37 mInstrumentation = instrumentation; in ListUtil() 50 mInstrumentation.waitForIdleSync(); in setSelectedPosition() 83 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_DOWN); in arrowDownToSelectedPosition() 94 mInstrumentation.sendCharacterSync(KeyEvent.KEYCODE_DPAD_UP); in arrowUpToSelectedPosition()
|
D | OrientationUtil.java | 32 private final Instrumentation mInstrumentation; field in OrientationUtil 56 mInstrumentation = instrumentation; in OrientationUtil() 60 mInstrumentation.runOnMainSync(mSetToPortrait); in setPortraitOrientation() 64 mInstrumentation.runOnMainSync(mSetToLandscape); in setLandscapeOrientation()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | DatePickerFocusTest.java | 37 private Instrumentation mInstrumentation; field in DatePickerFocusTest 49 mInstrumentation = getInstrumentation(); in setUp() 85 mInstrumentation.sendKeyDownUpSync(keycode); in sendKey() 86 mInstrumentation.waitForIdleSync(); in sendKey() 101 mInstrumentation.sendKeySync(shiftDown); in sendShiftKey() 106 mInstrumentation.sendKeySync(keyDown); in sendShiftKey() 111 mInstrumentation.sendKeySync(keyUp); in sendShiftKey() 114 mInstrumentation.sendKeySync(shiftUp); in sendShiftKey() 116 mInstrumentation.waitForIdleSync(); in sendShiftKey() 251 mInstrumentation.waitForIdleSync(); in setKnownDate()
|
D | TextViewTest.java | 61 private Instrumentation mInstrumentation; field in TextViewTest 68 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setup() 106 mInstrumentation.waitForIdleSync(); in testProcessTextActivityResultNonEditable() 121 mInstrumentation.waitForIdleSync(); in testProcessTextActivityResultNonEditable() 130 mInstrumentation.waitForIdleSync(); in testProcessTextActivityResultEditable() 148 mInstrumentation.waitForIdleSync(); in testProcessTextActivityResultCancel() 167 mInstrumentation.waitForIdleSync(); in testProcessTextActivityNoData()
|
D | EditorCursorTest.java | 64 private Instrumentation mInstrumentation; field in EditorCursorTest 71 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 77 mInstrumentation.waitForIdleSync(); in setUp() 202 mInstrumentation.waitForIdleSync(); in setEditTextProperties()
|
D | TextViewActivityTest.java | 110 private Instrumentation mInstrumentation; field in TextViewActivityTest 115 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 308 mInstrumentation.waitForIdleSync(); in testToolbarAppearsAfterSelection_withFirstStringLtrAlgorithmAndRtlHint() 368 mInstrumentation.waitForIdleSync(); in testSelectionRemovedWhenNonselectableTextLosesFocus() 386 UiDevice device = UiDevice.getInstance(mInstrumentation); in testSelectionRemovedFromNonselectableTextWhenWindowLosesFocus() 413 mInstrumentation.waitForIdleSync(); in addLinkifiedTextToTextView() 802 mInstrumentation.waitForIdleSync(); in testSetSelectionAndActionMode() 813 mInstrumentation.waitForIdleSync(); in testSetSelectionAndActionMode() 822 mInstrumentation.waitForIdleSync(); in testSetSelectionAndActionMode() 832 mInstrumentation.waitForIdleSync(); in testSetSelectionAndActionMode() [all …]
|
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | InstrumentationAutomationSupport.java | 30 private Instrumentation mInstrumentation; field in InstrumentationAutomationSupport 33 mInstrumentation = instrumentation; in InstrumentationAutomationSupport() 38 mInstrumentation.sendStatus(resultCode, status); in sendStatus()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationControllerTest.java | 114 private Instrumentation mInstrumentation; field in KeyguardIndicationControllerTest 119 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 226 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_showsSlowChargingIndication() 233 mInstrumentation.waitForIdleSync(); in onAlignmentStateChanged_showsSlowChargingIndication() 243 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_showsNotChargingIndication() 250 mInstrumentation.waitForIdleSync(); in onAlignmentStateChanged_showsNotChargingIndication() 260 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication() 268 mInstrumentation.waitForIdleSync(); in onAlignmentStateChanged_whileDozing_showsSlowChargingIndication() 278 mInstrumentation.runOnMainSync(() -> { in onAlignmentStateChanged_whileDozing_showsNotChargingIndication() 286 mInstrumentation.waitForIdleSync(); in onAlignmentStateChanged_whileDozing_showsNotChargingIndication() [all …]
|
D | NotificationTestHelper.java | 70 private final Instrumentation mInstrumentation; field in NotificationTestHelper 78 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in NotificationTestHelper()
|
/frameworks/base/tests/GamePerformance/src/android/gameperformance/ |
D | ATraceRunner.java | 42 private final Instrumentation mInstrumentation; field in ATraceRunner 53 mInstrumentation = instrumentation; in ATraceRunner() 70 mInstrumentation.getUiAutomation().executeShellCommand(cmd); in doInBackground()
|
/frameworks/base/core/tests/coretests/src/android/app/compat/ |
D | CompatChangesTest.java | 49 private Instrumentation mInstrumentation; field in CompatChangesTest 56 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setup() 61 return mInstrumentation.getTargetContext().getPackageName(); in getPackageName()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 50 private Instrumentation mInstrumentation; field in AndroidTestRunner 191 Context testContext = mInstrumentation == null ? mContext : mInstrumentation.getContext(); in runTest() 194 setInstrumentationIfInstrumentationTestCase(testCase, mInstrumentation); in runTest() 218 mInstrumentation = instrumentation; in setInstrumentation()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/ |
D | ArcTerminationActionFromAvrTest.java | 47 private Instrumentation mInstrumentation; field in ArcTerminationActionFromAvrTest 54 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 57 new HdmiControlService(mInstrumentation.getTargetContext()) { in setUp()
|
D | ArcInitiationActionFromAvrTest.java | 57 private Instrumentation mInstrumentation; field in ArcInitiationActionFromAvrTest 64 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 67 new HdmiControlService(mInstrumentation.getTargetContext()) { in setUp()
|
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/ |
D | Automator.java | 82 private Instrumentation mInstrumentation; field in Automator.AutomatorHandler 95 mInstrumentation = new Instrumentation(); in AutomatorHandler() 164 mInstrumentation.sendKeyDownUpSync(code); in doInteraction() 172 mInstrumentation.sendPointerSync(event); in doInteraction()
|
/frameworks/base/packages/Shell/tests/src/com/android/shell/ |
D | UiBot.java | 40 private final Instrumentation mInstrumentation; field in UiBot 45 mInstrumentation = instrumentation; in UiBot() 68 (StatusBarManager) mInstrumentation.getContext().getSystemService("statusbar"); in collapseStatusBar()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/ |
D | AccessibilityManagerTest.java | 63 private Instrumentation mInstrumentation; field in AccessibilityManagerTest 69 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 152 mInstrumentation.runOnMainSync(() -> { in testSendAccessibilityEvent_AccessibilityDisabled()
|
/frameworks/base/core/tests/coretests/src/android/content/res/ |
D | FontResourcesParserTest.java | 52 private Instrumentation mInstrumentation; field in FontResourcesParserTest 57 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setup() 58 mResources = mInstrumentation.getContext().getResources(); in setup()
|
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/ |
D | AppCompatibility.java | 88 private Instrumentation mInstrumentation; field in AppCompatibility 95 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp() 118 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_FREEZE_0); in setUp() 131 mInstrumentation.getUiAutomation().setRotation(UiAutomation.ROTATION_UNFREEZE); in tearDown()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ScreenDecorWindowTests.java | 85 private final Instrumentation mInstrumentation = getInstrumentation(); field in ScreenDecorWindowTests 324 mInstrumentation.waitForIdleSync(); in waitForIdle() 332 final Activity activity = mInstrumentation.startActivitySync(intent, options.toBundle()); in startActivityOnDisplay()
|
/frameworks/base/core/java/android/app/ |
D | ActivityThread.java | 354 Instrumentation mInstrumentation; field in ActivityThread 2377 return mInstrumentation; in getInstrumentation() 3201 activity = mInstrumentation.newActivity( in performLaunchActivity() 3210 if (!mInstrumentation.onException(activity, e)) { in performLaunchActivity() 3218 Application app = r.packageInfo.makeApplication(false, mInstrumentation); in performLaunchActivity() 3262 mInstrumentation.callActivityOnCreate(activity, r.state, r.persistentState); in performLaunchActivity() 3264 mInstrumentation.callActivityOnCreate(activity, r.state); in performLaunchActivity() 3286 if (!mInstrumentation.onException(activity, e)) { in performLaunchActivity() 3325 mInstrumentation.callActivityOnRestoreInstanceState(activity, r.state, in handleStartActivity() 3329 mInstrumentation.callActivityOnRestoreInstanceState(activity, r.state); in handleStartActivity() [all …]
|
D | Activity.java | 791 private Instrumentation mInstrumentation; field in Activity 5210 mInstrumentation.execStartActivity( 5305 Instrumentation.ActivityResult ar = mInstrumentation.execStartActivity( 5343 mInstrumentation.execStartActivity( in startActivityAsUser() 5377 mInstrumentation.execStartActivityAsCaller( in startActivityAsCaller() 5583 mInstrumentation.execStartActivities(this, mMainThread.getApplicationThread(), in startActivities() 5826 mInstrumentation.execStartActivity( in startActivityFromChild() 5910 mInstrumentation.execStartActivity( in startActivityForResult() 7321 mInstrumentation.onEnterAnimationComplete(); in dispatchEnterAnimationComplete() 7748 mInstrumentation = instr; in attach() [all …]
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeDockHandlerTest.java | 58 private Instrumentation mInstrumentation; field in DozeDockHandlerTest 69 mInstrumentation = InstrumentationRegistry.getInstrumentation(); in setUp()
|