/frameworks/base/core/tests/coretests/src/android/view/ |
D | RunQueueTest.java | 35 getInstrumentation().waitForIdleSync(); in testRunnableRan() 42 getInstrumentation().waitForIdleSync(); in testRunnableCancelled() 49 getInstrumentation().waitForIdleSync(); in testListenerFired() 56 getInstrumentation().waitForIdleSync(); in testTreeObserverKilled()
|
D | LongpressTest.java | 72 getInstrumentation().waitForIdleSync(); in testKeypadLongClick() 75 getInstrumentation().waitForIdleSync(); in testKeypadLongClick() 82 getInstrumentation().waitForIdleSync(); in testTouchLongClick()
|
D | DisabledLongpressTest.java | 76 getInstrumentation().waitForIdleSync(); in testKeypadLongClick() 79 getInstrumentation().waitForIdleSync(); in testKeypadLongClick() 86 getInstrumentation().waitForIdleSync(); in testTouchLongClick()
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 68 public Instrumentation getInstrumentation() { in getInstrumentation() method in InstrumentationTestCase 119 T activity = (T) getInstrumentation().startActivitySync(intent); in launchActivityWithIntent() 120 getInstrumentation().waitForIdleSync(); in launchActivityWithIntent() 135 getInstrumentation().runOnMainSync(new Runnable() { in runTestOnUiThread() 186 getInstrumentation().runOnMainSync(new Runnable() { in runTest() 228 getInstrumentation().sendStatus(2, iterations); in runMethod() 251 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() 301 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() 330 final Instrumentation instrumentation = getInstrumentation(); in sendRepeatedKeys()
|
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | UiAutomatorTestCase.java | 67 mAutomationSupport = new InstrumentationAutomationSupport(getInstrumentation()); in getAutomationSupport() 85 getInstrumentation().getUiAutomation().setRunAsMonkey(Boolean.valueOf(monkeyVal)); in initialize() 89 getInstrumentation().getContext(), in initialize() 90 getInstrumentation().getUiAutomation())); in initialize()
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
D | ScrollingThroughListOfFocusablesTest.java | 86 getInstrumentation().waitForIdleSync(); in testScrollingDownInFirstItem() 119 getInstrumentation().waitForIdleSync(); in testScrollingToSecondItem() 134 getInstrumentation().waitForIdleSync(); in testNoFadingEdgeAtBottomOfLastItem() 159 getInstrumentation().waitForIdleSync(); in testNavigatingUpThroughInternalSelection() 182 getInstrumentation().waitForIdleSync(); in testNavigatingUpThroughInternalSelection() 232 getInstrumentation().waitForIdleSync(); in ensureNotInTouchMode()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | ListFocusableTest.java | 194 getInstrumentation().waitForIdleSync(); in setFullAdapter() 203 getInstrumentation().waitForIdleSync(); in setEmptyAdapter() 212 getInstrumentation().waitForIdleSync(); in setNullAdapter() 221 getInstrumentation().waitForIdleSync(); in setFocusable() 230 getInstrumentation().waitForIdleSync(); in setNonFocusable()
|
D | ListRetainsFocusAcrossLayoutsTest.java | 54 getInstrumentation().waitForIdleSync(); in testBottomButtonRetainsFocusAfterLayout() 68 getInstrumentation().waitForIdleSync(); in testTopButtonOfSecondPositionRetainsFocusAfterLayout() 83 getInstrumentation().waitForIdleSync(); in testBottomButtonOfSecondPositionRetainsFocusAfterLayout()
|
D | ListManagedCursorTest.java | 60 Instrumentation inst = getInstrumentation(); in testKeyScrolling() 77 Instrumentation inst = getInstrumentation(); in testTouchScrolling() 95 Instrumentation inst = getInstrumentation(); in testKeyScrollingToTouchMode() 116 Instrumentation inst = getInstrumentation(); in testTouchScrollingToTrackballMode()
|
D | ListEmptyViewTest.java | 55 Instrumentation inst = getInstrumentation(); in testZeroToOne() 65 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack() 87 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/ |
D | ScreenshotTest.java | 104 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 106 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_DOWN, in takeScreenshot() 114 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot() 116 getInstrumentation().sendKeySync(new KeyEvent(KeyEvent.ACTION_UP, in takeScreenshot()
|
/frameworks/base/core/tests/coretests/src/android/widget/scroll/ |
D | ScrollViewButtonsAndLabelsTest.java | 73 getInstrumentation().waitForIdleSync(); in testArrowScrollDownOffScreenVerticalFadingEdge() 109 getInstrumentation().waitForIdleSync(); in testArrowScrollDownToBottomElementOnScreen() 131 getInstrumentation().waitForIdleSync(); in testArrowScrollUpOffScreenVerticalFadingEdge() 151 getInstrumentation().waitForIdleSync(); in testArrowScrollUpToTopElementOnScreen() 171 getInstrumentation().waitForIdleSync(); in goToBottomButton()
|
D | RequestRectangleVisibleTest.java | 104 getInstrumentation().waitForIdleSync(); // wait for scrolling to finish in testScrollToOffScreenRectangleFromTop() 126 getInstrumentation().waitForIdleSync(); // wait for scrolling to finish in testScrollToPartiallyOffScreenRectFromTop() 145 getInstrumentation().waitForIdleSync(); // wait for scrolling to finish in testScrollToOffScreenRectangleFromBottom() 163 getInstrumentation().waitForIdleSync(); // wait for scrolling to finish in testScrollToPartiallyOffScreenRectFromBottom() 184 getInstrumentation().waitForIdleSync(); in pressDownUntilViewInFocus()
|
/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewPopup.java | 48 final Instrumentation instrumentation = getInstrumentation(); in testPopupSetListSelection() 80 final Instrumentation instrumentation = getInstrumentation(); in testPopupGetListSelection() 107 final Instrumentation instrumentation = getInstrumentation(); in testPopupClearListSelection() 140 final Instrumentation instrumentation = getInstrumentation(); in testPopupNavigateNoAdapter() 174 final Instrumentation instrumentation = getInstrumentation(); in testPopupShow()
|
D | AutoCompleteTextViewCallbacks.java | 39 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection() 64 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection() 113 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection()
|
D | ListViewTest.java | 97 return getInstrumentation().getTargetContext().getResources(); in getResources() 102 return getInstrumentation().getTargetContext().getTheme(); in getTheme() 108 return getInstrumentation().getTargetContext().getSystemService(name); in getSystemService()
|
/frameworks/base/core/tests/coretests/src/android/widget/gridview/ |
D | GridSetSelectionBaseTest.java | 64 getInstrumentation().waitForIdleSync(); in testSetSelectionToTheEnd() 80 getInstrumentation().waitForIdleSync(); in testSetSelectionToMiddle() 95 getInstrumentation().waitForIdleSync(); in testSetSelectionToTheTop()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | KeyUtils.java | 46 final Instrumentation inst = test.getInstrumentation(); in tapMenuKey() 59 final Instrumentation inst = test.getInstrumentation(); in chordMenuKey() 78 final Instrumentation inst = test.getInstrumentation(); in longClick()
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/listener/ |
D | InstrumentationRunListener.java | 37 public Instrumentation getInstrumentation() { in getInstrumentation() method in InstrumentationRunListener 45 getInstrumentation().sendStatus(code, bundle); in sendStatus()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/touch/ |
D | ListSetSelectionTest.java | 69 getInstrumentation().waitForIdleSync(); in testSetSelection() 99 getInstrumentation().waitForIdleSync(); in testSetSelectionFromTop() 135 getInstrumentation().waitForIdleSync(); in testSetSelection0()
|
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/ |
D | FrameworkPerfTest.java | 18 getInstrumentation().runOnMainSync(new Runnable() { in testFrameworkPerf() 39 getInstrumentation().sendStatus(Activity.RESULT_OK, testResult); in testFrameworkPerf()
|
/frameworks/base/test-runner/src/android/test/ |
D | ActivityInstrumentationTestCase.java | 76 getInstrumentation().setInTouchMode(mInitialTouchMode); in setUp() 77 final String targetPackageName = getInstrumentation().getTargetContext().getPackageName(); in setUp()
|
D | ActivityUnitTestCase.java | 99 mActivityContext = getInstrumentation().getTargetContext(); in setUp() 143 newActivity = (T) getInstrumentation().newActivity(mActivityClass, mActivityContext, in startActivity() 158 getInstrumentation().callActivityOnCreate(getActivity(), savedInstanceState); in startActivity()
|
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
D | RsBenchTest.java | 46 Instrumentation mInst = getInstrumentation(); in setUp() 47 RsPerfTestRunner mRunner = (RsPerfTestRunner) getInstrumentation(); in setUp()
|
/frameworks/base/core/tests/utillib/src/android/test/ |
D | BandwidthTestCase.java | 77 getInstrumentation().runOnMainSync(new Runnable() { in runTest() 107 getInstrumentation().sendStatus(2, getBandwidthStats(entry)); in runTest() 137 getInstrumentation().sendStatus(2, iterations); in runMethod()
|