/frameworks/base/core/tests/coretests/src/android/widget/ |
D | AutoCompleteTextViewCallbacks.java | 39 final Instrumentation instrumentation = getInstrumentation(); in testPopupNoSelection() local 43 instrumentation.waitForIdleSync(); in testPopupNoSelection() 45 instrumentation.waitForIdleSync(); in testPopupNoSelection() 64 final Instrumentation instrumentation = getInstrumentation(); in testPopupEnterSelection() local 68 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 79 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 97 instrumentation.waitForIdleSync(); in testPopupEnterSelection() 113 final Instrumentation instrumentation = getInstrumentation(); in testPopupLeaveSelection() local 117 instrumentation.waitForIdleSync(); in testPopupLeaveSelection() 119 instrumentation.waitForIdleSync(); in testPopupLeaveSelection() [all …]
|
D | AutoCompleteTextViewPopup.java | 48 final Instrumentation instrumentation = getInstrumentation(); in testPopupSetListSelection() local 52 instrumentation.waitForIdleSync(); in testPopupSetListSelection() 64 instrumentation.waitForIdleSync(); in testPopupSetListSelection() 80 final Instrumentation instrumentation = getInstrumentation(); in testPopupGetListSelection() local 84 instrumentation.waitForIdleSync(); in testPopupGetListSelection() 107 final Instrumentation instrumentation = getInstrumentation(); in testPopupClearListSelection() local 111 instrumentation.waitForIdleSync(); in testPopupClearListSelection() 127 instrumentation.waitForIdleSync(); in testPopupClearListSelection() 140 final Instrumentation instrumentation = getInstrumentation(); in testPopupNavigateNoAdapter() local 144 instrumentation.waitForIdleSync(); in testPopupNavigateNoAdapter() [all …]
|
/frameworks/base/core/java/android/test/ |
D | InstrumentationTestCase.java | 46 public void injectInstrumentation(Instrumentation instrumentation) { in injectInstrumentation() argument 47 mInstrumentation = instrumentation; in injectInstrumentation() 60 public void injectInsrumentation(Instrumentation instrumentation) { in injectInsrumentation() argument 61 injectInstrumentation(instrumentation); in injectInsrumentation() 251 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() local 274 instrumentation.sendKeyDownUpSync(keyCode); in sendKeys() 290 instrumentation.waitForIdleSync(); in sendKeys() 301 final Instrumentation instrumentation = getInstrumentation(); in sendKeys() local 305 instrumentation.sendKeyDownUpSync(keys[i]); in sendKeys() 313 instrumentation.waitForIdleSync(); in sendKeys() [all …]
|
/frameworks/testing/support/src/android/support/test/internal/runner/listener/ |
D | ActivityFinisherRunListener.java | 24 private final Instrumentation instrumentation; field in ActivityFinisherRunListener 26 …public ActivityFinisherRunListener(Instrumentation instrumentation, ActivityLifecycleMonitor activ… in ActivityFinisherRunListener() argument 27 this.instrumentation = checkNotNull(instrumentation); in ActivityFinisherRunListener() 33 instrumentation.runOnMainSync(makeActivityFinisher()); in testStarted() 38 instrumentation.runOnMainSync(makeActivityFinisher()); in testFinished()
|
/frameworks/base/test-runner/src/android/test/ |
D | AndroidTestRunner.java | 207 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase() argument 209 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); in setInstrumentationIfInstrumentationTestCase() 220 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument 221 mInstrumentation = instrumentation; in setInstrumentation() 229 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton() argument 230 setInstrumentation(instrumentation); in setInstrumentaiton()
|
/frameworks/testing/uiautomator/instrumentation/testrunner-src/com/android/uiautomator/testrunner/ |
D | InstrumentationAutomationSupport.java | 32 InstrumentationAutomationSupport(Instrumentation instrumentation) { in InstrumentationAutomationSupport() argument 33 mInstrumentation = instrumentation; in InstrumentationAutomationSupport()
|
/frameworks/testing/support/src/android/support/test/internal/runner/ |
D | InstrumentationRegistry.java | 49 public static void registerInstance(Instrumentation instrumentation) { in registerInstance() argument 50 sInstrumentationRef.set(instrumentation); in registerInstance()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListUtil.java | 37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument 39 mInstrumentation = instrumentation; in ListUtil()
|
/frameworks/base/core/java/android/content/pm/ |
D | PackageInfo.java | 128 public InstrumentationInfo[] instrumentation; field in PackageInfo 290 dest.writeTypedArray(instrumentation, parcelableFlags); in writeToParcel() 335 instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR); in PackageInfo()
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
D | InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/frameworks/multidex/instrumentation/ |
D | Android.mk | 18 LOCAL_MODULE := android-support-multidex-instrumentation
|
D | README.txt | 9 located in libs/android-support-multidex-instrumentation.jar.
|
/frameworks/testing/uiautomator/instrumentation/ |
D | Android.mk | 25 LOCAL_MODULE := uiautomator-instrumentation
|
/frameworks/base/media/tests/ |
D | README.txt | 2 Uses instrumentation and so can be run with runtest.
|
/frameworks/base/docs/html/tools/testing/ |
D | activity_testing.jd | 80 Activity testing is particularly dependent on the Android instrumentation framework. 82 can't be invoked directly except by instrumentation. Also, the only way to send events to the 83 user interface from a program is through instrumentation. 86 This document describes how to test activities using instrumentation and other test 89 the introduction to the Android testing and instrumentation framework. 94 which provides instrumentation to the test case subclasses you use for Activities. 101 Lifecycle control: With instrumentation, you can start the activity under test, pause it, 111 User interface interaction: You use instrumentation to send keystrokes or touch events 242 This changes when you run tests against the application. With instrumentation-based classes, 356 Run the interaction on the UI thread. Use a test class that provides instrumentation. See
|
D | activity_test.jd | 82 …instrumentation to give you control over your main application while you are testing it. The entir… 100 …extend JUnit and also connect you to the application under test with instrumentation. You can send… 118 …at the main UI operation works correctly. This test demonstrates the instrumentation features avai… 122 … the application's code for saving state. This test demonstrates the instrumentation features of t… 304 Also, the test application is already set up to use instrumentation. You can see this 316 <instrumentation 326 Notice the <code><instrumentation></code> element. The attribute 331 The <code><instrumentation></code> element also contains the attribute 333 instrumentation to run the test application with Android's instrumentation-enabled test runner. 354 It also demonstrates that with Android instrumentation you can look at the application [all …]
|
D | testing_otheride.jd | 141 The operation also creates an <code>AndroidManifest.xml</code> file with instrumentation 143 are testing and control it with instrumentation. 158 instrumentation-related elements and attributes: 170 <code><instrumentation></code>: contains attributes that control Android 171 instrumentation. The attributes are: 176 JUnit test case runner classes and Android instrumentation classes. 185 user-readable label for the instrumentation class. By default, 257 classes also provide instrumentation for testing. 438 Forces <code>am instrument</code> to wait until the instrumentation terminates 467 <code>am instrument</code> tool passes these to the specified instrumentation class [all …]
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 89 InstrumentationTestRunner instrumentation = in testMeasureStartUpTime() local 91 Bundle args = instrumentation.getArguments(); in testMeasureStartUpTime() 143 instrumentation.sendStatus(0, mResult); in testMeasureStartUpTime()
|
/frameworks/base/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 84 MemoryUsageInstrumentation instrumentation = in testMemory() local 86 Bundle args = instrumentation.getBundle(); in testMemory() 107 instrumentation.sendStatus(0, results); in testMemory()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 540 Instrumentation instrumentation) { in makeApplication() argument 571 if (instrumentation != null) { in makeApplication() 573 instrumentation.callApplicationOnCreate(app); in makeApplication() 575 if (!instrumentation.onException(app, e)) { in makeApplication() 688 Instrumentation instrumentation, boolean registered) { in getReceiverDispatcher() argument 700 instrumentation, registered); in getReceiverDispatcher() 885 Handler activityThread, Instrumentation instrumentation, in ReceiverDispatcher() argument 895 mInstrumentation = instrumentation; in ReceiverDispatcher()
|
/frameworks/testing/uiautomator/utils/SleepUtils/ |
D | README | 9 SleepHelper - a self instrumentation meant as a convenient way to trigger
|
/frameworks/base/docs/html/guide/topics/manifest/ |
D | instrumentation-element.jd | 1 page.title=<instrumentation> 8 <dd><pre class="stx"><instrumentation android:<a href="#ftest">functionalTest</a>=["true" | "fal…
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
D | UnitTestSuiteBuilderTest.java | 19 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
|
D | InstrumentationTestSuiteBuilderTest.java | 21 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
|
/frameworks/testing/espresso/espresso-lib-tests/src/androidTest/java/com/google/android/apps/common/testing/ui/espresso/base/ |
D | UiControllerImplIntegrationTest.java | 281 Activity activity, Instrumentation instrumentation) { in getCoordinatesInMiddleOfSendButton() argument 284 instrumentation.runOnMainSync(new Runnable() { in getCoordinatesInMiddleOfSendButton()
|