HomeSort by relevance Sort by last modified time
    Searched refs:Activity (Results 326 - 350 of 1961) sorted by null

<<11121314151617181920>>

  /cts/tools/cts-reference-app-lib/src/android/cts/refapp/
ReferenceAppTestCase.java 19 import android.app.Activity;
29 public class ReferenceAppTestCase<T extends Activity> extends ActivityInstrumentationTestCase2<T> {
38 * Create a ReferenceAppTestCase for the specified activity.
41 * @param activityClass the class of the activity to instrument.
42 * @param maxStartupTimeMs the startup time the activity should start in.
50 * Create a ReferenceAppTestCase for the specified activity.
53 * @param activityClass the class of the activity to instrument.
60 // Test activity startup time.
63 Activity activity = getActivity() local
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AnimationUtilsTest.java 4 import android.app.Activity;
22 assertThat(AnimationUtils.loadAnimation(new Activity(), 1), notNullValue());
27 Animation anim = AnimationUtils.loadAnimation(new Activity(), R.anim.fade_in);
NotificationTest.java 3 import android.app.Activity;
18 PendingIntent pendingIntent = PendingIntent.getActivity(new Activity(), 0, new Intent(), 0);
20 notification.setLatestEventInfo(new Activity(), "title", "content", pendingIntent);
ToastTest.java 5 import android.app.Activity;
18 Toast toast = Toast.makeText(new Activity(), "short toast",
26 Toast toast = Toast.makeText(new Activity(), "long toast",
  /frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DeviceDisconnectedReceiver.java 19 import android.app.Activity;
32 private final Activity mActivity;
35 public DeviceDisconnectedReceiver(Activity activity, String deviceName) {
36 mActivity = activity;
40 activity.registerReceiver(this, filter);
49 // close our activity if the device it is displaying is disconnected
  /frameworks/base/test-runner/src/android/test/
SingleLaunchActivityTestCase.java 19 import android.app.Activity;
24 * If you would like to test a single activity with an
26 * launch and finish the activity in {@link #setUp} and {@link #tearDown}.
28 * This launches the activity only once for the entire class instead of doing it
31 public abstract class SingleLaunchActivityTestCase<T extends Activity>
41 * package hosting the activity to be launched, which is specified in the AndroidManifest.xml
44 * @param pkg The package hosting the activity to be launched.
45 * @param activityClass The activity to test.
54 * The activity that will be set up for use in each test method.
56 private static Activity sActivity
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/
TestResult.java 19 import android.app.Activity;
23 * Object representing the result of a test activity like whether it succeeded or failed.
24 * Use {@link #setPassedResult(Activity, String, String)} or
25 * {@link #setFailedResult(Activity, String, String)} from a test activity like you would
26 * {@link Activity#setResult(int)} so that {@link TestListActivity}
43 /** Sets the test activity's result to pass. */
44 public static void setPassedResult(Activity activity, String testId, String testDetails) {
45 activity.setResult(Activity.RESULT_OK, createResult(activity, TEST_RESULT_PASSED, testId
    [all...]
ReportViewerActivity.java 19 import android.app.Activity;
24 public class ReportViewerActivity extends Activity {
  /frameworks/base/core/java/android/speech/
RecognizerIntent.java 21 import android.app.Activity;
49 * Starts an activity that will prompt the user for speech and send it through a
50 * speech recognizer. The results will be returned via activity results (in
51 * {@link Activity#onActivityResult}, if you start the intent using
52 * {@link Activity#startActivityForResult(Intent, int)}), or forwarded via a PendingIntent
55 * <p>Starting this intent with just {@link Activity#startActivity(Intent)} is not supported.
56 * You must either use {@link Activity#startActivityForResult(Intent, int)}, or provide a
84 * Starts an activity that will prompt the user for speech, send it through a
118 * Starts an activity that will prompt the user for speech without requiring the user's
123 * This activity may be launched while device is locked in a secure mode
    [all...]
  /packages/apps/Camera/tests/src/com/android/camera/functional/
CameraTest.java 21 import android.app.Activity;
62 ArrayList<WeakReference<Activity>> refs =
63 new ArrayList<WeakReference<Activity>>();
65 Activity activity = getInstrumentation().startActivitySync(intent); local
66 refs.add(new WeakReference<Activity>(activity));
67 activity.finish();
69 activity = null;
75 for (WeakReference<Activity> c: refs)
    [all...]
  /packages/apps/Gallery2/tests/src/com/android/gallery3d/functional/
CameraTest.java 21 import android.app.Activity;
62 ArrayList<WeakReference<Activity>> refs =
63 new ArrayList<WeakReference<Activity>>();
65 Activity activity = getInstrumentation().startActivitySync(intent); local
66 refs.add(new WeakReference<Activity>(activity));
67 activity.finish();
69 activity = null;
75 for (WeakReference<Activity> c: refs)
    [all...]
  /packages/apps/Gallery2/tests_camera/src/com/android/camera/functional/
CameraTest.java 21 import android.app.Activity;
62 ArrayList<WeakReference<Activity>> refs =
63 new ArrayList<WeakReference<Activity>>();
65 Activity activity = getInstrumentation().startActivitySync(intent); local
66 refs.add(new WeakReference<Activity>(activity));
67 activity.finish();
69 activity = null;
75 for (WeakReference<Activity> c: refs)
    [all...]
  /cts/tests/SignatureTest/src/android/tests/sigtest/
InstrumentationRunner.java 18 import android.app.Activity;
37 SignatureTestActivity activity = (SignatureTestActivity) startActivitySync(intent); local
40 finish(Activity.RESULT_OK, activity.mBundle);
  /cts/tests/src/android/content/cts/
ClipboardManagerListenerActivity.java 19 import android.app.Activity;
26 public class ClipboardManagerListenerActivity extends Activity {
  /cts/tests/src/android/os/cts/
CountDownTimerTestStub.java 21 import android.app.Activity;
25 public class CountDownTimerTestStub extends Activity {
  /cts/tests/src/android/text/
EmojiStubActivity.java 21 import android.app.Activity;
25 public class EmojiStubActivity extends Activity {
  /cts/tests/src/android/webkit/cts/
CookieSyncManagerStubActivity.java 19 import android.app.Activity;
24 public class CookieSyncManagerStubActivity extends Activity {
  /cts/tests/src/android/widget/cts/
ChronometerStubActivity.java 20 import android.app.Activity;
25 public class ChronometerStubActivity extends Activity {
SeekBarStubActivity.java 21 import android.app.Activity;
27 * Stub activity for testing {@link SeekBar}
29 public class SeekBarStubActivity extends Activity {
31 * Called with the activity is first created.
  /cts/tests/tests/accessibilityservice/src/android/accessibilityservice/cts/
AccessibilityWindowQueryActivity.java 17 import android.app.Activity;
24 * Activity for testing the accessibility APIs for querying of
29 public class AccessibilityWindowQueryActivity extends Activity {
  /cts/tests/tests/media/src/android/media/cts/
FaceDetectorStub.java 21 import android.app.Activity;
27 public class FaceDetectorStub extends Activity {
  /cts/tests/tests/openglperf/src/android/openglperf/cts/
TextureTestActivity.java 18 import android.app.Activity;
23 public class TextureTestActivity extends Activity {
  /cts/tests/tests/permission/src/android/permission/cts/
PermissionStubActivity.java 19 import android.app.Activity;
29 public class PermissionStubActivity extends Activity {
  /cts/tests/tests/preference2/src/android/preference2/cts/
FragmentPreferences.java 21 import android.app.Activity;
27 * activity.
29 public class FragmentPreferences extends Activity {
PreferenceFragmentActivity.java 18 import android.app.Activity;
25 * activity.
27 public class PreferenceFragmentActivity extends Activity {

Completed in 934 milliseconds

<<11121314151617181920>>