Home
last modified time | relevance | path

Searched refs:Instrumentation (Results 1 – 25 of 87) sorted by relevance

1234

/frameworks/base/core/java/android/test/
DInstrumentationTestSuite.java19 import android.app.Instrumentation;
37 private final Instrumentation mInstrumentation;
43 public InstrumentationTestSuite(Instrumentation instr) { in InstrumentationTestSuite()
48 public InstrumentationTestSuite(String name, Instrumentation instr) { in InstrumentationTestSuite()
58 public InstrumentationTestSuite(final Class theClass, Instrumentation instr) { in InstrumentationTestSuite()
DInstrumentationTestCase.java20 import android.app.Instrumentation;
44 private Instrumentation mInstrumentation;
52 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation()
66 public void injectInsrumentation(Instrumentation instrumentation) { in injectInsrumentation()
74 public Instrumentation getInstrumentation() { in getInstrumentation()
257 final Instrumentation instrumentation = getInstrumentation(); in sendKeys()
307 final Instrumentation instrumentation = getInstrumentation(); in sendKeys()
336 final Instrumentation instrumentation = getInstrumentation(); in sendRepeatedKeys()
/frameworks/base/tests/WindowAnimationJank/src/android/windowanimationjank/
DUtils.java16 import android.app.Instrumentation;
43 private static UiObject2 waitForActivity(Instrumentation instrumentation, BySelector selector) { in waitForActivity()
57 public static UiObject2 waitForElementLayout(Instrumentation instrumentation) { in waitForElementLayout()
64 public static UiObject2 startElementLayout(Instrumentation instrumentation, int numElements) { in startElementLayout()
73 public static int getDeviceRotation(Instrumentation instrumentation) { in getDeviceRotation()
91 public static void rotateDevice(Instrumentation instrumentation, int rotationMode) { in rotateDevice()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
DTouchUtils.java19 import android.app.Instrumentation;
32 public static void tapView(Instrumentation inst, RecyclerView recyclerView, in tapView()
64 public static void touchAndCancelView(Instrumentation inst, View v) { in touchAndCancelView()
91 public static void clickView(Instrumentation inst, View v) { in clickView()
128 public static void longClickView(Instrumentation inst, View v) { in longClickView()
165 public static void dragViewToTop(Instrumentation inst, View v) { in dragViewToTop()
169 public static void dragViewToTop(Instrumentation inst, View v, int stepCount) { in dragViewToTop()
216 public static int dragViewTo(Instrumentation inst, View v, int gravity, int toX, in dragViewTo()
234 public static int dragViewToX(Instrumentation inst, View v, int gravity, int toX) { in dragViewToX()
249 public static int dragViewToY(Instrumentation inst, View v, int gravity, int toY) { in dragViewToY()
[all …]
DBaseThreadedTest.java23 import android.app.Instrumentation;
48 public Instrumentation getInstrumentation() { in getInstrumentation()
/frameworks/base/cmds/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/
DInstrumentationAutomationSupport.java18 import android.app.Instrumentation;
30 private Instrumentation mInstrumentation;
32 InstrumentationAutomationSupport(Instrumentation instrumentation) { in InstrumentationAutomationSupport()
/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewPopup.java19 import android.app.Instrumentation;
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()
DAutoCompleteTextViewCallbacks.java19 import android.app.Instrumentation;
39 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection()
64 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection()
113 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection()
/frameworks/base/docs/html/guide/topics/manifest/
Dinstrumentation-element.jd19 <dd itemprop="description">Declares an {@link android.app.Instrumentation} class that enables you
20 to monitor an application's interaction with the system. The Instrumentation
26 <dd>Whether or not the Instrumentation class should run as a functional test
31 <dd>Whether or not the Instrumentation object will turn profiling on and
38 <dd>An icon that represents the Instrumentation class. This attribute must
42 <dd>A user-readable label for the Instrumentation class. The label can
46 <dd>The name of the {@link android.app.Instrumentation} subclass.
57 <dd>The application that the Instrumentation object will run against.
/frameworks/base/core/tests/coretests/src/android/util/
DKeyUtils.java19 import android.app.Instrumentation;
46 final Instrumentation inst = test.getInstrumentation(); in tapMenuKey()
59 final Instrumentation inst = test.getInstrumentation(); in chordMenuKey()
78 final Instrumentation inst = test.getInstrumentation(); in longClick()
DOrientationUtil.java20 import android.app.Instrumentation;
33 private final Instrumentation mInstrumentation;
55 private OrientationUtil(Activity activity, Instrumentation instrumentation) { in OrientationUtil()
DListUtil.java19 import android.app.Instrumentation;
31 private final Instrumentation mInstrumentation;
37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DListManagedCursorTest.java19 import android.app.Instrumentation;
59 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
77 Instrumentation inst = getInstrumentation(); in testKeyScrollingToTouchMode()
90 public int arrowScroll(Instrumentation inst) { in arrowScroll()
DListEmptyViewTest.java19 import android.app.Instrumentation;
55 Instrumentation inst = getInstrumentation(); in testZeroToOne()
65 Instrumentation inst = getInstrumentation(); in testZeroToOneForwardBack()
87 Instrumentation inst = getInstrumentation(); in testZeroToManyToZero()
/frameworks/base/test-runner/src/android/test/
DInstrumentationTestRunner.java23 import android.app.Instrumentation;
178 public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider {
544 mResults.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in onStart()
570 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in onStart()
619 Instrumentation.REPORT_KEY_STREAMRESULT); in generateCoverageReport()
620 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in generateCoverageReport()
654 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "\nError: " + msg); in reportEmmaError()
732 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in endTest()
758 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
775 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
[all …]
DAndroidTestRunner.java19 import android.app.Instrumentation;
52 private Instrumentation mInstrumentation;
214 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase()
227 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation()
236 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton()
DLaunchPerformanceBase.java19 import android.app.Instrumentation;
30 public class LaunchPerformanceBase extends Instrumentation {
/frameworks/support/v4/tests/java/android/support/v4/app/
DNestedFragmentTest.java20 import android.app.Instrumentation;
68 Instrumentation.ActivityResult activityResult = new Instrumentation.ActivityResult( in testNestedFragmentStartActivityForResult()
71 Instrumentation.ActivityMonitor activityMonitor = in testNestedFragmentStartActivityForResult()
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/testrunner/
DUiAutomatorTestRunner.java21 import android.app.Instrumentation;
191 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); in instrumentationStatus()
214 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); in instrumentationFinished()
264 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); in WatcherResultPrinter()
286 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in startTest()
290 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); in startTest()
319 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addError()
331 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in addFailure()
341 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, "."); in endTest()
351 testOutput.putString(Instrumentation.REPORT_KEY_STREAMRESULT, in print()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DEditTextTypeActivity.java18 import android.app.Instrumentation;
60 final Instrumentation instrumentation = new Instrumentation(); in onCreate()
/frameworks/base/core/tests/coretests/src/android/widget/gridview/
DGridScrollListenerTest.java19 import android.app.Instrumentation;
61 Instrumentation inst = getInstrumentation(); in testKeyScrolling()
93 Instrumentation inst = getInstrumentation(); in testTouchScrolling()
/frameworks/base/media/mca/tests/src/android/camera/mediaeffects/tests/functional/
DEffectsVideoCapture.java21 import android.app.Instrumentation;
42 private void captureVideos(String reportTag, Instrumentation inst) throws Exception{ in captureVideos()
58 Instrumentation inst = getInstrumentation(); in testBackEffectsVideoCapture()
/frameworks/base/core/tests/coretests/src/android/text/method/
DKeyListenerTestCase.java19 import android.app.Instrumentation;
32 protected Instrumentation mInstrumentation;
/frameworks/support/v7/appcompat/tests/src/android/support/v7/app/
DBaseInstrumentationTestCase.java23 import android.app.Instrumentation;
44 public Instrumentation getInstrumentation() { in getInstrumentation()
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestResultPrinter.java19 import android.app.Instrumentation;
40 private Instrumentation mInst = null;
44 public CameraTestResultPrinter(Instrumentation instrumentation, boolean writeToFile) { in CameraTestResultPrinter()

1234