/cts/tests/tests/content/src/android/content/cts/ |
IntentTest.java | 54 private Intent mIntent; 72 mIntent = new Intent(); 79 mIntent = new Intent(); 80 assertNotNull(mIntent); 85 mIntent = new Intent(intent); 86 assertNotNull(mIntent); 87 assertEquals(TEST_ACTION, mIntent.getAction()); 89 mIntent = new Intent(TEST_ACTION); 90 assertNotNull(mIntent); 91 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/ |
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));
|
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);
|
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...] |
ActivityManagerTest.java | 44 private Intent mIntent; 62 if (mIntent != null) { 63 mInstrumentation.getContext().stopService(mIntent); 230 mIntent = new Intent("android.app.REMOTESERVICE"); 231 mInstrumentation.getTargetContext().startService(mIntent);
|
/frameworks/base/core/tests/coretests/src/android/app/activity/ |
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);
|
/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/opt/photoviewer/src/com/android/ex/photo/ |
Intents.java | 68 private final Intent mIntent; 86 mIntent = new Intent(context, cls); 141 mIntent.setAction(Intent.ACTION_VIEW); 143 mIntent.setFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET); 146 mIntent.putExtra(EXTRA_PHOTO_INDEX, (int) mPhotoIndex); 150 mIntent.putExtra(EXTRA_INITIAL_PHOTO_URI, mInitialPhotoUri); 159 mIntent.putExtra(EXTRA_PHOTOS_URI, mPhotosUri); 163 mIntent.putExtra(EXTRA_RESOLVED_PHOTO_URI, mResolvedPhotoUri); 167 mIntent.putExtra(EXTRA_PROJECTION, mProjection); 171 mIntent.putExtra(EXTRA_THUMBNAIL_URI, mThumbnailUri) [all...] |
/packages/apps/Camera/tests/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 38 private Intent mIntent; 47 mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 52 setActivityIntent(mIntent); 75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); 76 setActivityIntent(mIntent); 103 setActivityIntent(mIntent); 114 setActivityIntent(mIntent);
|
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/Gallery2/tests/src/com/android/gallery3d/functional/ |
ImageCaptureIntentTest.java | 38 private Intent mIntent; 47 mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 52 setActivityIntent(mIntent); 75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); 76 setActivityIntent(mIntent); 103 setActivityIntent(mIntent); 114 setActivityIntent(mIntent);
|
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/Gallery2/tests_camera/src/com/android/camera/functional/ |
ImageCaptureIntentTest.java | 38 private Intent mIntent; 47 mIntent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); 52 setActivityIntent(mIntent); 75 mIntent.putExtra(MediaStore.EXTRA_OUTPUT, Uri.fromFile(file)); 76 setActivityIntent(mIntent); 103 setActivityIntent(mIntent); 114 setActivityIntent(mIntent);
|
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...] |
/frameworks/base/core/java/android/content/ |
ClipData.java | 188 final Intent mIntent; 197 mIntent = null; 210 mIntent = null; 220 mIntent = intent; 230 mIntent = null; 241 mIntent = intent; 258 mIntent = intent; 280 return mIntent; 552 if (mIntent != null) { 554 return uriToStyledText(mIntent.toUri(Intent.URI_INTENT_SCHEME)) [all...] |
/frameworks/base/services/java/com/android/server/location/ |
GeofenceState.java | 41 public final PendingIntent mIntent; 56 mIntent = intent;
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
DataAction.java | 60 private Intent mIntent; 121 mIntent = phoneIntent; 126 mIntent = phoneIntent; 128 mIntent = smsIntent; 138 mIntent = CallUtil.getCallIntent(callUri); 152 mIntent = new Intent(Intent.ACTION_SENDTO, mailUri); 160 mIntent = new Intent(Intent.ACTION_VIEW, Uri.parse(webAddress.toString())); 188 mIntent = new Intent(Intent.ACTION_SENDTO, imUri); 214 mIntent = StructuredPostalUtils.getViewPostalAddressIntent(postalAddress); 218 if (mIntent == null) [all...] |
/packages/apps/LegacyCamera/tests/src/com/android/camera/functional/ |
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);
|
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...] |
/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...] |
/external/replicaisland/src/com/replica/replicaisland/ |
DifficultyMenuActivity.java | 132 private Intent mIntent; 135 mIntent = intent; 146 startActivity(mIntent);
|
/cts/tests/src/android/app/cts/ |
ActivityTestsBase.java | 32 protected Intent mIntent; 46 mIntent = new Intent(mContext, LaunchpadActivity.class); 92 return mIntent; 138 mIntent.setAction(action); 140 mIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK); 141 mContext.startActivity(mIntent);
|