/frameworks/base/test-runner/src/android/test/ |
ApplicationTestCase.java | 22 import android.app.Instrumentation; 100 mApplication = (T) Instrumentation.newApplication(mApplicationClass, getContext());
|
InstrumentationTestRunner.java | 23 import android.app.Instrumentation; 56 * An {@link Instrumentation} that runs various types of {@link junit.framework.TestCase}s against 77 * <li>In an appropriate AndroidManifest.xml, define the this instrumentation with 79 * <li>Run the instrumentation using "adb shell am instrument -w", 81 * <li>Run the instrumentation using "adb shell am instrument -w", 84 * <li>Run the instrumentation using "adb shell am instrument -w", 87 * <li>Run the instrumentation using "adb shell am instrument -w", 145 * instrumentation command. 164 * instrumentation to the AndroidManifest.xml and the command to run it would look like: 172 public class InstrumentationTestRunner extends Instrumentation implements TestSuiteProvider [all...] |
AndroidTestRunner.java | 19 import android.app.Instrumentation; 44 private Instrumentation mInstrumentation; 206 Test test, Instrumentation instrumentation) { 208 ((InstrumentationTestCase) test).injectInstrumentation(instrumentation); 219 public void setInstrumentation(Instrumentation instrumentation) { 220 mInstrumentation = instrumentation; 225 * use {@link #setInstrumentation(android.app.Instrumentation)} instead. 228 public void setInstrumentaiton(Instrumentation instrumentation) [all...] |
/frameworks/base/tests/RenderScriptTests/PerfTest/src/com/android/perftest/ |
RsBenchTest.java | 19 import android.app.Instrumentation; 46 Instrumentation mInst = getInstrumentation();
|
/frameworks/testing/androidtestlib/src/com/android/test/runner/ |
AndroidJUnitRunner.java | 20 import android.app.Instrumentation; 38 * An {@link Instrumentation} that runs JUnit3 and JUnit4 tests against 53 * In an appropriate AndroidManifest.xml, define an instrumentation with android:name set to 105 * instrumentation command. 108 public class AndroidJUnitRunner extends Instrumentation { 123 * This value, if stored with key {@link android.app.Instrumentation#REPORT_KEY_IDENTIFIER}, 194 * Get the Bundle object that contains the arguments passed to the instrumentation 247 mResults.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 340 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); 363 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT [all...] |
/packages/apps/Music/tests/src/com/android/music/ |
MusicPlayerStability.java | 19 import android.app.Instrumentation; 28 * Junit / Instrumentation test case for the Music Player 61 Instrumentation inst = getInstrumentation();
|
/frameworks/testing/uiautomator/library/src/com/android/uiautomator/testrunner/ |
UiAutomatorTestRunner.java | 21 import android.app.Instrumentation; 135 testRunOutput.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 160 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); 183 pretty = results.getString(Instrumentation.REPORT_KEY_STREAMRESULT); 224 mResultTemplate.putString(Instrumentation.REPORT_KEY_IDENTIFIER, REPORT_VALUE_ID); 242 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 246 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ""); 273 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 283 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, 291 mTestResult.putString(Instrumentation.REPORT_KEY_STREAMRESULT, ".") [all...] |
/packages/apps/Calculator/tests/src/com/android/calculator2/ |
CalculatorHitSomeButtons.java | 20 import android.app.Instrumentation; 21 import android.app.Instrumentation.ActivityMonitor; 40 * Instrumentation tests for poking some buttons 48 Instrumentation mInst = null;
|
/packages/apps/Mms/tests/src/com/android/mms/ |
InterceptSendSms.java | 26 import android.app.Instrumentation; 43 * Junit / Instrumentation test case for testing intercepting the send sms intent just 89 Instrumentation inst = getInstrumentation(); 110 Instrumentation inst = getInstrumentation();
|
/cts/tests/tests/app/src/android/app/cts/ |
LocalActivityManagerTest.java | 20 import android.app.Instrumentation; 27 private Instrumentation mInstrumentation;
|
TabActivityTest.java | 21 import android.app.Instrumentation; 31 private Instrumentation mInstrumentation;
|
ActivityManagerTest.java | 24 import android.app.Instrumentation; 30 import android.app.Instrumentation.ActivityMonitor; 31 import android.app.Instrumentation.ActivityResult; 47 private Instrumentation mInstrumentation; 123 final Instrumentation.ActivityResult result = new ActivityResult(0, new Intent());
|
/cts/tests/tests/mediastress/src/android/mediastress/cts/ |
NativeMediaTest.java | 18 import android.app.Instrumentation; 63 final Instrumentation instrumentation = getInstrumentation(); local 67 instrumentation.callActivityOnPause(activity); 68 instrumentation.waitForIdleSync(); 70 instrumentation.callActivityOnResume(activity);
|
/cts/tests/tests/view/src/android/view/cts/ |
TouchDelegateTest.java | 21 import android.app.Instrumentation; 38 private Instrumentation mInstrumentation;
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
ListScrollListenerTest.java | 19 import android.app.Instrumentation; 60 Instrumentation inst = getInstrumentation();
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerMeasurement.java | 20 import android.app.Instrumentation; 41 Instrumentation mInst = getInstrumentation();
|
/packages/apps/Camera/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 21 import android.app.Instrumentation; 33 * Junit / Instrumentation test case for camera test 92 Instrumentation inst = getInstrumentation();
|
CameraStartUp.java | 22 import android.app.Instrumentation; 52 Instrumentation inst = getInstrumentation(); 75 Instrumentation inst = getInstrumentation();
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/stress/ |
SwitchPreview.java | 22 import android.app.Instrumentation; 33 * Junit / Instrumentation test case for camera test 92 Instrumentation inst = getInstrumentation();
|
CameraStartUp.java | 23 import android.app.Instrumentation; 53 Instrumentation inst = getInstrumentation(); 75 Instrumentation inst = getInstrumentation();
|
/packages/apps/Music/tests/src/com/android/music/functional/ |
TestPlaylist.java | 21 import android.app.Instrumentation; 22 import android.app.Instrumentation.ActivityMonitor; 40 * Junit / Instrumentation test case for the PlaylistBrowserActivity 63 Instrumentation inst = getInstrumentation(); 71 Instrumentation inst = getInstrumentation(); 85 Instrumentation inst = getInstrumentation(); 112 Instrumentation inst = getInstrumentation();
|
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
FakeAsyncTaskExecutor.java | 19 import android.app.Instrumentation; 60 private final Instrumentation mInstrumentation; 63 public FakeAsyncTaskExecutor(Instrumentation instrumentation) { 64 Assert.assertNotNull(instrumentation); 65 mInstrumentation = instrumentation;
|
IntegrationTestUtils.java | 24 import android.app.Instrumentation; 49 private final Instrumentation mInstrumentation; 53 public IntegrationTestUtils(Instrumentation instrumentation) { 54 mInstrumentation = instrumentation; 90 * Waits for an idle sync on the main thread (see {@link Instrumentation#waitForIdle(Runnable)})
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
EglConfigTest.java | 19 import android.app.Instrumentation; 37 private Instrumentation mInstrumentation;
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
GlAppSwitchTest.java | 21 import android.app.Instrumentation; 69 Instrumentation instrument = getInstrumentation();
|