Home
last modified time | relevance | path

Searched refs:MockActivity (Results 1 – 18 of 18) sorted by relevance

/cts/tests/tests/content/src/android/content/pm/cts/
DActivityInfoTest.java20 import android.content.cts.MockActivity;
50 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testWriteToParcel()
77 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testGetThemeResource()
96 ComponentName componentName = new ComponentName(mContext, MockActivity.class); in testDescribeContents()
/cts/tests/tests/content/src/android/content/cts/
DMutableContextWrapperTest.java46 MockActivity actitity = new MockActivity(); in testSetBaseContext()
DBroadcastReceiverTest.java37 public class BroadcastReceiverTest extends ActivityInstrumentationTestCase2<MockActivity> {
61 super("android.content.cts", MockActivity.class); in BroadcastReceiverTest()
167 final MockActivity activity = getActivity(); in testOnReceive()
266 final MockActivity activity = getActivity(); in testPeekService()
294 final MockActivity activity = getActivity(); in testNewPhotoBroadcast_notReceived()
303 final MockActivity activity = getActivity(); in testNewVideoBroadcast_notReceived()
DMockActivity.java21 public class MockActivity extends Activity { class
DIntentTest.java72 mComponentName = new ComponentName(mContext, MockActivity.class); in setUp()
96 mIntent = new Intent(mContext, MockActivity.class); in testConstructor()
100 mIntent = new Intent(TEST_ACTION, TEST_URI, mContext, MockActivity.class); in testConstructor()
190 final Intent intent = mIntent.setClassName(mContext, MockActivity.class.getName()); in testSetClassName1()
196 mIntent.setClassName(mContext.getPackageName(), MockActivity.class.getName()); in testSetClassName2()
351 mIntent.setClass(mContext, MockActivity.class); in testSetClass()
452 … final Intent[] expected = { new Intent(TEST_ACTION), new Intent(mContext, MockActivity.class) }; in testPutExtra12()
619 mIntent.setClass(mContext, MockActivity.class); in testClone()
645 mIntent.setClass(mContext, MockActivity.class); in testCloneFilter()
676 "component(" + mContext.getPackageName() + "!" + MockActivity.class.getName() + ")"; in testGetIntentOld()
[all …]
DIntentFilterTest.java637 final ComponentName mComponentName = new ComponentName(mContext, MockActivity.class); in testReadFromXml()
/cts/tests/tests/view/src/android/view/cts/
DLayoutInflaterTest.java102 MockActivity.class); in getAttrs()
172 view = mLayoutInflater.createView(MockActivity.class.getName(), in testCreateView()
173 MockActivity.class.getPackage().toString(), attrs); in testCreateView()
192 view = mLayoutInflater.createView(MockActivity.class.getName(), in testCreateView()
193 MockActivity.class.getPackage().toString(), attrs); in testCreateView()
197 view = mLayoutInflater.createView(MockActivity.class.getName(), in testCreateView()
198 MockActivity.class.getPackage().toString(), attrs); in testCreateView()
202 view = mLayoutInflater.createView(MockActivity.class.getName(), in testCreateView()
203 MockActivity.class.getPackage().toString(), attrs); in testCreateView()
434 MockActivity.class); in getParser()
DMockActivity.java21 public class MockActivity extends Activity { class
DTouchDelegateTest.java32 public class TouchDelegateTest extends ActivityInstrumentationTestCase2<MockActivity> {
47 super("android.view.cts", MockActivity.class); in TouchDelegateTest()
DFrameMetricsListenerTest.java41 public class FrameMetricsListenerTest extends ActivityInstrumentationTestCase2<MockActivity> {
48 super(MockActivity.class); in FrameMetricsListenerTest()
DViewTreeObserverTest.java37 public class ViewTreeObserverTest extends ActivityInstrumentationTestCase2<MockActivity> {
59 super(MockActivity.class); in ViewTreeObserverTest()
/cts/tests/app/app/src/android/app/stubs/
DMockActivity.java21 public class MockActivity extends Activity { class
DMockTabActivity.java46 .setContent(new Intent(this, MockActivity.class))); in onCreate()
/cts/tests/tests/graphics/src/android/graphics/cts/
DMockActivity.java21 public class MockActivity extends Activity { class
DMovieTest.java33 public class MovieTest extends ActivityInstrumentationTestCase2<MockActivity> {
38 super("android.graphics.cts", MockActivity.class); in MovieTest()
/cts/tests/app/src/android/app/cts/
DActivityManager_RunningServiceInfoTest.java19 import android.app.stubs.MockActivity;
33 mService = new ComponentName(getContext(), MockActivity.class); in setUp()
DProgressDialogTest.java21 import android.app.stubs.MockActivity;
37 public class ProgressDialogTest extends ActivityInstrumentationTestCase2<MockActivity> {
51 private MockActivity mActivity;
54 super("android.app.stubs", MockActivity.class); in ProgressDialogTest()
DInstrumentationTest.java62 private MockActivity mMockActivity;
263 mMockActivity = new MockActivity(); in testInvokeContextMenuAction()
473 private class MockActivity extends Activity { class in InstrumentationTest