/frameworks/base/core/tests/coretests/src/android/app/activity/ |
SubActivityTest.java | 26 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 27 mIntent.putExtra("mode", SubActivityScreen.PENDING_RESULT_MODE); 32 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 33 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE); 38 mIntent.putExtra("component", new ComponentName(getContext(), SubActivityScreen.class)); 39 mIntent.putExtra("mode", SubActivityScreen.RESULT_MODE); 44 mIntent.putExtra("component", 46 mIntent.putExtra("mode", SubActivityScreen.FINISH_SUB_MODE); 51 mIntent.putExtra("component", 53 mIntent.putExtra("mode", SubActivityScreen.NO_RESULT_MODE) [all...] |
LifecycleTest.java | 31 mTopIntent = mIntent; 39 mIntent = mTopIntent; 46 mIntent = mTabIntent; 54 mIntent = mTopIntent; 63 mIntent = mTabIntent; 70 mIntent = mTopIntent; 77 mIntent = mTabIntent; 83 mIntent = mTopIntent; 90 mIntent = mTabIntent; 96 mIntent = mTopIntent [all...] |
LaunchTest.java | 26 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class)); 32 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); 38 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); 44 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); 63 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 69 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 70 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true);
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentTest.java | 56 private Intent mIntent; 75 mIntent = new Intent(); 83 mIntent = new Intent(); 84 assertNotNull(mIntent); 89 mIntent = new Intent(intent); 90 assertNotNull(mIntent); 91 assertEquals(TEST_ACTION, mIntent.getAction()); 93 mIntent = new Intent(TEST_ACTION); 94 assertNotNull(mIntent); 95 assertEquals(TEST_ACTION, mIntent.getAction()) [all...] |
Intent_FilterComparisonTest.java | 26 Intent mIntent; 32 mIntent = new Intent(); 38 mFilterComparison = new Intent.FilterComparison(mIntent); 44 mFilterComparison = new Intent.FilterComparison(mIntent); 46 assertEquals(mIntent.filterHashCode(), mFilterComparison.hashCode()); 50 mFilterComparison = new Intent.FilterComparison(mIntent); 52 FilterComparison target = new Intent.FilterComparison(mIntent); 60 mFilterComparison = new Intent.FilterComparison(mIntent); 62 assertTrue(mFilterComparison.getIntent().equals(mIntent));
|
/frameworks/base/test-runner/src/android/test/ |
LaunchPerformanceBase.java | 41 protected Intent mIntent; 45 mIntent = new Intent(Intent.ACTION_MAIN); 46 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 56 startActivitySync(mIntent);
|
/cts/tests/tests/app/src/android/app/cts/ |
PendingIntentTest.java | 34 private Intent mIntent; 100 mIntent = new Intent(); 102 mIntent.setClass(mContext, PendingIntentStubActivity.class); 103 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 104 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, 116 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, 120 mPendingIntent = PendingIntent.getActivity(mContext, 1, mIntent, 141 mIntent = new Intent(MockReceiver.MOCKACTION); 142 mIntent.setClass(mContext, MockReceiver.class); 143 mPendingIntent = PendingIntent.getBroadcast(mContext, 1, mIntent, [all...] |
ActivityGroupTest.java | 36 mIntent = mTabIntent; 41 mIntent = mTabIntent; 46 mIntent = mTabIntent;
|
LaunchTest.java | 45 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 46 mIntent.putExtra(ClearTop.WAIT_CLEAR_TASK, true); 51 mIntent.putExtra("component", new ComponentName(getContext(), ClearTop.class)); 60 mIntent.putExtra("component", new ComponentName(getContext(), LocalScreen.class)); 65 mIntent.putExtra("component", new ComponentName(getContext(), TestedScreen.class)); 70 mIntent.putExtra("component", new ComponentName(getContext(), LocalActivity.class)); 75 mIntent.putExtra("component", new ComponentName(getContext(), TestedActivity.class));
|
LifecycleTest.java | 52 mTopIntent = mIntent; 58 mIntent = mTabIntent; 63 mIntent = mTopIntent; 68 mIntent = mTabIntent; 73 mIntent = mTopIntent; 78 mIntent = mTabIntent; 83 mIntent = mTopIntent;
|
IntentServiceTest.java | 31 private Intent mIntent; 39 mIntent = new Intent(mContext, IntentServiceStub.class); 45 mContext.stopService(mIntent); 86 mContext.startService(mIntent); 97 mContext.bindService(mIntent, conn, Context.BIND_AUTO_CREATE); 108 mContext.stopService(mIntent);
|
ExpandableListActivityTest.java | 27 mIntent.putExtra("component", new ComponentName(getContext(),
|
/frameworks/opt/photoviewer/src/com/android/ex/photo/ |
Intents.java | 82 private final Intent mIntent; 120 mIntent = new Intent(context, cls); 221 mIntent.setAction(Intent.ACTION_VIEW); 223 mIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 226 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); 230 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); 239 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); 243 mIntent.putExtra(EXTRA_RESOLVED_PHOTO_URI, mResolvedPhotoUri); 247 mIntent.putExtra(EXTRA_PROJECTION, mProjection); 251 mIntent.putExtra(EXTRA_THUMBNAIL_URI, mThumbnailUri) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
ContactsLaunchPerformance.java | 32 mIntent.setAction(Intent.ACTION_MAIN); 33 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); 34 mIntent.setComponent(new ComponentName("com.android.contacts",
|
/packages/apps/Dialer/tests/src/com/android/dialer/ |
DialerLaunchPerformance.java | 32 mIntent.setAction(Intent.ACTION_MAIN); 33 mIntent.addCategory(Intent.CATEGORY_LAUNCHER); 34 mIntent.setComponent(new ComponentName("com.android.contacts",
|
/frameworks/support/v4/java/android/support/v4/app/ |
ShareCompat.java | 260 private Intent mIntent; 280 mIntent = new Intent().setAction(Intent.ACTION_SEND); 281 mIntent.putExtra(EXTRA_CALLING_PACKAGE, launchingActivity.getPackageName()); 282 mIntent.putExtra(EXTRA_CALLING_ACTIVITY, launchingActivity.getComponentName()); 283 mIntent.addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 311 boolean isSendMultiple = mIntent.getAction().equals(Intent.ACTION_SEND_MULTIPLE); 316 mIntent.setAction(Intent.ACTION_SEND); 318 mIntent.putExtra(Intent.EXTRA_STREAM, mStreams.get(0)); 320 mIntent.removeExtra(Intent.EXTRA_STREAM); 328 mIntent.setAction(Intent.ACTION_SEND_MULTIPLE) [all...] |
/packages/apps/Mms/tests/src/com/android/mms/ |
MmsLaunchPerformance.java | 14 mIntent.setPackage(getTargetContext().getPackageName()); 15 mIntent.setAction(Intent.ACTION_MAIN);
|
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 47 private Intent mIntent; 58 mIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); 87 setActivityIntent(mIntent); 104 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 105 setActivityIntent(mIntent); 116 setActivityIntent(mIntent); 132 setActivityIntent(mIntent); 143 setActivityIntent(mIntent); 159 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 160 mIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, sizeLimit) [all...] |
ImageCaptureIntentTest.java | 43 private Intent mIntent; 52 mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 57 setActivityIntent(mIntent); 80 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); 81 setActivityIntent(mIntent); 108 setActivityIntent(mIntent); 127 setActivityIntent(mIntent); 138 setActivityIntent(mIntent);
|
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 40 private Intent mIntent; 51 mIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); 80 setActivityIntent(mIntent); 97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 98 setActivityIntent(mIntent); 109 setActivityIntent(mIntent); 120 setActivityIntent(mIntent); 136 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 137 mIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, sizeLimit); 138 mIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0); // use low quality to speed u [all...] |
/packages/apps/Camera2/tests/src/com/android/camera/functional/ |
VideoCaptureIntentTest.java | 40 private Intent mIntent; 51 mIntent = new Intent(MediaStore.ACTION_VIDEO_CAPTURE); 80 setActivityIntent(mIntent); 97 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 98 setActivityIntent(mIntent); 109 setActivityIntent(mIntent); 120 setActivityIntent(mIntent); 136 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, uri); 137 mIntent.putExtra(MediaStore.EXTRA_SIZE_LIMIT, sizeLimit); 138 mIntent.putExtra(MediaStore.EXTRA_VIDEO_QUALITY, 0); // use low quality to speed u [all...] |
/packages/apps/Browser/tests/src/com/android/browser/ |
BrowserLaunchPerformance.java | 13 mIntent.setClassName(getTargetContext(), "com.android.browser.BrowserActivity");
|
/packages/apps/DeskClock/tests/src/com/android/deskclock/ |
DeskClockLaunchPerformance.java | 32 mIntent.setClassName(getTargetContext(), "com.android.deskclock.DeskClock");
|
/cts/tests/tests/os/src/android/os/cts/ |
ProcessTest.java | 39 private Intent mIntent; 70 mIntent = new Intent(REMOTE_SERVICE); 71 getContext().startService(mIntent); 87 if (mIntent != null) { 88 getContext().stopService(mIntent); 161 getContext().stopService(mIntent); 162 mIntent = null; 192 getContext().stopService(mIntent); 193 mIntent = null;
|
/development/apps/launchperf/src/com/android/launchperf/ |
ComplexActivityLaunchPerformance.java | 41 mIntent.setClassName(getContext(), "com.android.launchperf.ComplexActivity");
|