/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/androidtestlib/src/com/android/test/runner/junit3/ |
D | AndroidTestSuite.java | 42 AndroidTestSuite(Class<?> clazz, Bundle bundle, Instrumentation instrumentation) { in AndroidTestSuite() argument 45 mInstr = instrumentation; in AndroidTestSuite() 48 AndroidTestSuite(String name, Bundle bundle, Instrumentation instrumentation) { in AndroidTestSuite() argument 51 mInstr = instrumentation; in AndroidTestSuite()
|
/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/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 | 123 public InstrumentationInfo[] instrumentation; field in PackageInfo 262 dest.writeTypedArray(instrumentation, parcelableFlags); in writeToParcel() 303 instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR); in PackageInfo()
|
D | PackageParser.java | 416 int N = p.instrumentation.size(); in generatePackageInfo() 418 pi.instrumentation = new InstrumentationInfo[N]; in generatePackageInfo() 420 pi.instrumentation[i] = generateInstrumentationInfo( in generatePackageInfo() 421 p.instrumentation.get(i), flags); in generatePackageInfo() 1343 if (!foundApp && pkg.instrumentation.size() == 0) { in parsePackage() 1857 owner.instrumentation.add(a); in parseInstrumentation() 3457 public final ArrayList<Instrumentation> instrumentation = new ArrayList<Instrumentation>(0); field in PackageParser.Package 3580 for (int i=instrumentation.size()-1; i>=0; i--) { in setPackageName() 3581 instrumentation.get(i).setPackageName(newName); in setPackageName() 3606 for (int i=instrumentation.size()-1; i>=0; i--) { in hasComponentClassName() [all …]
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
D | InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/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/tests/MemoryUsage/src/com/android/tests/memoryusage/ |
D | MemoryUsageTest.java | 68 MemoryUsageInstrumentation instrumentation = in testMemory() local 70 Bundle args = instrumentation.getBundle(); in testMemory() 88 instrumentation.sendStatus(0, results); in testMemory()
|
/frameworks/base/core/java/android/app/ |
D | LoadedApk.java | 487 Instrumentation instrumentation) { in makeApplication() argument 515 if (instrumentation != null) { in makeApplication() 517 instrumentation.callApplicationOnCreate(app); in makeApplication() 519 if (!instrumentation.onException(app, e)) { in makeApplication() 586 Instrumentation instrumentation, boolean registered) { in getReceiverDispatcher() argument 598 instrumentation, registered); in getReceiverDispatcher() 783 Handler activityThread, Instrumentation instrumentation, in ReceiverDispatcher() argument 793 mInstrumentation = instrumentation; in ReceiverDispatcher()
|
/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 …]
|
D | testing_android.jd | 218 The Android testing API is based on the JUnit API and extended with a instrumentation 247 … Android instrumentation is a set of control methods or "hooks" in the Android system. These hooks 258 methods directly, but you can do so using instrumentation. 267 With Android instrumentation, though, you can invoke callback methods in your test code. 298 part of the instrumentation API. The Activity under test is not started until you call this 303 Also, instrumentation can load both a test package and the application under test into the 356 If you want to use instrumentation methods in a test case class, you must use 486 <code><a href="{@docRoot}guide/topics/manifest/instrumentation-element.html"><instrumentation>… 497 <code>InstrumentationTestRunner</code>, you must change the <instrumentation> 589 <instrumentation> element in the test package's manifest.
|
D | testing_eclipse.jd | 35 <code><instrumentation></code> element in the test package's manifest file. 64 <a href="{@docRoot}guide/topics/manifest/instrumentation-element.html"> 65 <code><instrumentation></code></a> element in its manifest file. 70 <code><instrumentation></code> element in the manifest file. You can use the New 147 also provide instrumentation for testing an Activity. To learn more about test case 436 <code>Launching instrumentation <em>instrumentation_class</em> on device 440 instrumentation test runner you have specified (usually 468 [2010-01-01 12:45:02 - MyTest] Launching instrumentation android.test.InstrumentationTestRunner on …
|
D | service_testing.jd | 53 from its clients, you can test a Service object without using instrumentation. 60 the introduction to the Android testing and instrumentation framework.
|
/frameworks/base/tests/AppLaunch/src/com/android/tests/applaunch/ |
D | AppLaunch.java | 76 InstrumentationTestRunner instrumentation = in testMeasureStartUpTime() local 78 Bundle args = instrumentation.getArguments(); in testMeasureStartUpTime() 130 instrumentation.sendStatus(0, mResult); in testMeasureStartUpTime()
|
/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;
|