/cts/tests/src/android/app/cts/ |
OrientationTestUtils.java | 20 import android.app.Instrumentation; 36 * Same as {@link #toggleOrientation(Activity)} except {@link Instrumentation#waitForIdleSync()} 40 * @param instrumentation use for idle syncing 43 final Instrumentation instrumentation) { 48 changeOrientation(activity, instrumentation, newOrientation); 49 changeOrientation(activity, instrumentation, originalOrientation); 53 Instrumentation instrumentation, final int orientation) { 55 if (instrumentation != null) [all...] |
/frameworks/base/core/tests/coretests/src/android/widget/ |
AutoCompleteTextViewCallbacks.java | 19 import android.app.Instrumentation; 39 final Instrumentation instrumentation = getInstrumentation(); local 43 instrumentation.waitForIdleSync(); 45 instrumentation.waitForIdleSync(); 64 final Instrumentation instrumentation = getInstrumentation(); local 68 instrumentation.waitForIdleSync(); 79 instrumentation.waitForIdleSync(); 97 instrumentation.waitForIdleSync(); 113 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
AutoCompleteTextViewPopup.java | 19 import android.app.Instrumentation; 48 final Instrumentation instrumentation = getInstrumentation(); local 52 instrumentation.waitForIdleSync(); 64 instrumentation.waitForIdleSync(); 80 final Instrumentation instrumentation = getInstrumentation(); local 84 instrumentation.waitForIdleSync(); 107 final Instrumentation instrumentation = getInstrumentation() local 140 final Instrumentation instrumentation = getInstrumentation(); local 174 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/examples/instrumentation/ |
InstrumentationTest.java | 17 package android.test.suitebuilder.examples.instrumentation;
|
/cts/tests/src/android/view/animation/cts/ |
AnimationTestUtils.java | 19 import android.app.Instrumentation; 42 * @param instrumentation to run animation. 46 public static void assertRunAnimation(final Instrumentation instrumentation, 48 assertRunAnimation(instrumentation, view, animation, animation.getDuration()); 54 * @param instrumentation to run animation. 59 public static void assertRunAnimation(final Instrumentation instrumentation, 62 instrumentation.runOnMainSync(new Runnable() { 87 * @param instrumentation [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/junit/ |
AndroidJUnitLaunchShortcut.java | 35 * Creates a default Android JUnit launch configuration. Sets the instrumentation runner to the 36 * first instrumentation found in the AndroidManifest. 42 // just get first valid instrumentation runner 43 String instrumentation = new InstrumentationRunnerValidator(element.getJavaProject()). local 45 if (instrumentation != null) { 47 instrumentation);
|
InstrumentationRunnerValidator.java | 24 import com.android.sdklib.xml.ManifestData.Instrumentation; 32 * Provides validation for Android instrumentation test runner 74 Instrumentation[] instrumentations = manifestData.getInstrumentations(); 99 * Return the set of instrumentation names for the Android project. 102 * of instrumentation class names 109 * Helper method to get the first instrumentation that can be used as a test runner. 111 * @return fully qualified instrumentation class name. <code>null</code> if no valid 112 * instrumentation can be found. 115 for (String instrumentation : getInstrumentationNames()) { 116 if (validateInstrumentationRunner(instrumentation) == INSTRUMENTATION_OK) [all...] |
/cts/tests/tests/app/src/android/app/cts/ |
ApplicationTest.java | 26 import android.app.Instrumentation; 68 final Instrumentation instrumentation = getInstrumentation(); local 69 final Context targetContext = instrumentation.getTargetContext(); 74 final Activity activity = instrumentation.startActivitySync(intent); 84 instrumentation.waitForIdleSync();
|
Instrumentation_ActivityMonitorTest.java | 20 import android.app.Instrumentation; 21 import android.app.Instrumentation.ActivityMonitor; 22 import android.app.Instrumentation.ActivityResult; 32 @TestTargetClass(Instrumentation.ActivityMonitor.class) 46 method = "Instrumentation.ActivityMonitor", 51 method = "Instrumentation.ActivityMonitor", 92 Instrumentation instrumentation = getInstrumentation(); local 93 ActivityMonitor am = instrumentation.addMonitor( 95 Context context = instrumentation.getTargetContext() [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/launch/ |
messages.properties | 25 AndroidJUnitLaunchAction_LaunchInstr_2s=Launching instrumentation %1$s on device %2$s 26 AndroidJUnitDelegate_NoRunnerConfigMsg_s=Warning: No instrumentation runner found for the launch, using %1$s 27 AndroidJUnitDelegate_NoRunnerConsoleMsg_4s=%1$s does not specify a %2$s instrumentation or does not declare uses-library %3$s in its %4$s 29 AndroidJUnitDelegate_NoTargetMsg_3s=%1$s is not configured correctly for running tests:\nA targetPackage attribute for instrumentation %2$s in its %3$s could not be found\! 30 AndroidJUnitTab_LoaderLabel=Instrumentation runner: 32 AndroidJUnitTab_NoRunnerError=Instrumentation runner not specified 35 InstrValidator_WrongRunnerTypeMsg_s=The instrumentation runner must be of type %1$s
|
/frameworks/base/core/java/android/test/ |
InstrumentationTestCase.java | 20 import android.app.Instrumentation; 34 * A test case that has access to {@link Instrumentation}. 38 private Instrumentation mInstrumentation; 41 * Injects instrumentation into this test case. This method is 44 * @param instrumentation the instrumentation to use with this instance 46 public void injectInstrumentation(Instrumentation instrumentation) { 47 mInstrumentation = instrumentation; 51 * Injects instrumentation into this test case. This method i 235 final Instrumentation instrumentation = getInstrumentation(); local 285 final Instrumentation instrumentation = getInstrumentation(); local 314 final Instrumentation instrumentation = getInstrumentation(); local [all...] |
/cts/tests/src/android/widget/cts/util/ |
ListUtil.java | 19 import android.app.Instrumentation; 24 * Various useful stuff for instrumentation testing listview. 29 private final Instrumentation mInstrumentation; 33 * @param instrumentation The instrumentation to use. 35 public ListUtil(ListView listView, Instrumentation instrumentation) { 37 mInstrumentation = instrumentation;
|
/frameworks/base/core/tests/coretests/src/android/util/ |
ListUtil.java | 19 import android.app.Instrumentation; 25 * Various useful stuff for instrumentation testing listview. 31 private final Instrumentation mInstrumentation; 35 * @param instrumentation The instrumentation to use. 37 public ListUtil(ListView listView, Instrumentation instrumentation) { 39 mInstrumentation = instrumentation;
|
/development/samples/ApiDemos/tests/ |
Android.mk | 13 # running the tests using an instrumentation targeting ApiDemos, we
|
/frameworks/base/tests/SmokeTest/tests/ |
Android.mk | 13 # running the tests using an instrumentation targeting SmokeTestApp, we
|
/frameworks/base/test-runner/src/android/test/ |
AndroidTestRunner.java | 19 import android.app.Instrumentation; 43 private Instrumentation mInstrumentation; 185 Test test, Instrumentation instrumentation) { 187 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); 198 public void setInstrumentation(Instrumentation instrumentation) { 199 mInstrumentation = instrumentation; 204 * use {@link #setInstrumentation(android.app.Instrumentation)} instead. 207 public void setInstrumentaiton(Instrumentation instrumentation) [all...] |
/frameworks/base/core/java/android/content/pm/ |
PackageInfo.java | 119 * <instrumentation>} tags included under <manifest>, 123 public InstrumentationInfo[] instrumentation; field in class:PackageInfo 229 dest.writeTypedArray(instrumentation, parcelableFlags); 266 instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR);
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsContract_ContactsTest.java | 23 import android.app.Instrumentation; 83 Instrumentation instrumentation = getInstrumentation(); 84 Context context = instrumentation.getContext();
|
/development/apps/Development/src/com/android/development/ |
PackageSummary.java | 170 LinearLayout instrumentation = (LinearLayout)findViewById(R.id.instrumentation); local 231 if (info.instrumentation != null) { 232 final int N = info.instrumentation.length; 234 InstrumentationInfo ii = info.instrumentation[i]; 238 instrumentation.addView(view, lp); 241 instrumentation.setVisibility(View.GONE);
|
/cts/tests/tests/text/src/android/text/style/cts/ |
URLSpanTest.java | 28 import android.app.Instrumentation; 29 import android.app.Instrumentation.ActivityMonitor; 98 Instrumentation instrumentation = getInstrumentation(); local 99 ActivityMonitor am = instrumentation.addMonitor(MockURLSpanTestActivity.class.getName(),
|
/packages/apps/Browser/tests/ |
Android.mk | 27 # running the tests using an instrumentation targeting Browser, we
|
/packages/apps/Email/tests/ |
Android.mk | 27 # running the tests using an instrumentation targeting Eamil, we
|
/packages/apps/Mms/tests/ |
Android.mk | 27 # running the tests using an instrumentation targeting Eamil, we
|
/frameworks/base/test-runner/tests/src/android/test/suitebuilder/ |
InstrumentationTestSuiteBuilderTest.java | 21 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
|
UnitTestSuiteBuilderTest.java | 19 import android.test.suitebuilder.examples.instrumentation.InstrumentationTest;
|