Home
last modified time | relevance | path

Searched refs:instrumentation (Results 1 – 25 of 35) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/widget/
DAutoCompleteTextViewCallbacks.java39 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 …]
DAutoCompleteTextViewPopup.java48 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/
DInstrumentationTestCase.java46 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/base/test-runner/src/android/test/
DAndroidTestRunner.java206 Test test, Instrumentation instrumentation) { in setInstrumentationIfInstrumentationTestCase() argument
208 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); in setInstrumentationIfInstrumentationTestCase()
219 public void setInstrumentation(Instrumentation instrumentation) { in setInstrumentation() argument
220 mInstrumentation = instrumentation; in setInstrumentation()
228 public void setInstrumentaiton(Instrumentation instrumentation) { in setInstrumentaiton() argument
229 setInstrumentation(instrumentation); in setInstrumentaiton()
/frameworks/base/core/tests/coretests/src/android/util/
DListUtil.java37 public ListUtil(ListView listView, Instrumentation instrumentation) { in ListUtil() argument
39 mInstrumentation = instrumentation; in ListUtil()
/frameworks/base/core/java/android/content/pm/
DPackageInfo.java123 public InstrumentationInfo[] instrumentation; field in PackageInfo
253 dest.writeTypedArray(instrumentation, parcelableFlags); in writeToParcel()
291 instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR); in PackageInfo()
DPackageParser.java387 int N = p.instrumentation.size(); in generatePackageInfo()
389 pi.instrumentation = new InstrumentationInfo[N]; in generatePackageInfo()
391 pi.instrumentation[i] = generateInstrumentationInfo( in generatePackageInfo()
392 p.instrumentation.get(i), flags); in generatePackageInfo()
1287 if (!foundApp && pkg.instrumentation.size() == 0) { in parsePackage()
1658 owner.instrumentation.add(a); in parseInstrumentation()
3094 public final ArrayList<Instrumentation> instrumentation = new ArrayList<Instrumentation>(0); field in PackageParser.Package
3199 for (int i=instrumentation.size()-1; i>=0; i--) { in setPackageName()
3200 instrumentation.get(i).setPackageName(newName); in setPackageName()
3225 for (int i=instrumentation.size()-1; i>=0; i--) { in hasComponentClassName()
[all …]
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/
DInstrumentationTest.java17 package android.test.suitebuilder.examples.instrumentation;
/frameworks/base/media/tests/
DREADME.txt2 Uses instrumentation and so can be run with runtest.
/frameworks/base/core/java/android/app/
DLoadedApk.java480 Instrumentation instrumentation) { in makeApplication() argument
509 if (instrumentation != null) { in makeApplication()
511 instrumentation.callApplicationOnCreate(app); in makeApplication()
513 if (!instrumentation.onException(app, e)) { in makeApplication()
582 Instrumentation instrumentation, boolean registered) { in getReceiverDispatcher() argument
594 instrumentation, registered); in getReceiverDispatcher()
779 Handler activityThread, Instrumentation instrumentation, in ReceiverDispatcher() argument
789 mInstrumentation = instrumentation; in ReceiverDispatcher()
/frameworks/base/docs/html/tools/testing/
Dactivity_testing.jd80 Activity testing is particularly dependent on the 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
Dactivity_test.jd82instrumentation 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…
316 Also, the test application is already set up to use instrumentation. You can see this
328 &lt;instrumentation
338 Notice the <code>&lt;instrumentation&gt;</code> element. The attribute
343 The <code>&lt;instrumentation&gt;</code> element also contains the attribute
345 instrumentation to run the test application with Android's instrumentation-enabled test runner.
366 It also demonstrates that with Android instrumentation you can look at the application
[all …]
Dtesting_otheride.jd141 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>&lt;instrumentation&gt;</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 …]
Dtesting_android.jd218 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">&lt;instrumentation&gt…
497 <code>InstrumentationTestRunner</code>, you must change the &lt;instrumentation&gt;
589 &lt;instrumentation&gt; element in the test package's manifest.
Dtesting_eclipse.jd35 <code>&lt;instrumentation&gt;</code> element in the test package's manifest file.
64 <a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">
65 <code>&lt;instrumentation&gt;</code></a> element in its manifest file.
70 <code>&lt;instrumentation&gt;</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 …
Dservice_testing.jd53 from its clients, you can test a Service object without using instrumentation.
60 the introduction to the Android testing and instrumentation framework.
Dcontentprovider_testing.jd75 the introduction to the Android testing and instrumentation framework.
/frameworks/base/docs/html/guide/topics/manifest/
Dinstrumentation-element.jd1 page.title=&lt;instrumentation&gt;
8 <dd><pre class="stx">&lt;instrumentation android:<a href="#ftest">functionalTest</a>=["true" | "fal…
Dmanifest-element.jd28 <dd><code><a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentatio…
Dmanifest-intro.jd81 …<a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentation /&gt;</…
141 <br/><code><a href="{@docRoot}guide/topics/manifest/instrumentation-element.html">&lt;instrumentati…
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/
DUnitTestSuiteBuilderTest.java19 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
DInstrumentationTestSuiteBuilderTest.java21 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
/frameworks/base/data/keyboards/
DVirtual.kcm17 # for instrumentation and testing purposes.
/frameworks/base/docs/html/tools/projects/
Dindex.jd397 "{@docRoot}guide/topics/manifest/instrumentation-element.html">
398 <code>&lt;instrumentation&gt;</code></a>
444 the instrumentation in that project. This lets you create a self-contained project that
/frameworks/base/docs/html/about/versions/
Dandroid-2.0.1.jd251 <li>Adds new Ant build system with support for Emma instrumentation projects (code coverage).</li>

12