/cts/tests/tests/permission/src/android/permission/cts/ |
NoBroadcastPackageRemovedPermissionTest.java | 40 mContext.sendStickyBroadcast(createIntent(Intent.ACTION_WALLPAPER_CHANGED)); 47 mContext.removeStickyBroadcast(createIntent(Intent.ACTION_WALLPAPER_CHANGED)); 67 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED)); 74 mContext.sendBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED), 82 mContext.sendOrderedBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED), 90 mContext.sendOrderedBroadcast(createIntent(Intent.ACTION_PACKAGE_REMOVED), 98 private Intent createIntent(String action) {
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/ |
StartedMatcher.java | 23 this(createIntent(packageName, expectedActivityClass)); 27 this(createIntent(expectedActivityClass)); 31 this(createIntent(expectedActivityClass)); 67 public static Intent createIntent(Class<? extends Activity> activityClass, String extraKey, String extraValue) { 68 Intent intent = createIntent(activityClass); 73 public static Intent createIntent(Class<? extends Activity> activityClass, String action) { 74 Intent intent = createIntent(activityClass); 79 public static Intent createIntent(Class<? extends Activity> activityClass) { 81 return createIntent(packageName, activityClass); 84 public static Intent createIntent(String packageName, Class<? extends Activity> activityClass) [all...] |
StartedServiceMatcher.java | 26 this(createIntent(packageName, expectedServiceClass)); 30 this(createIntent(expectedServiceClass)); 34 this(createIntent(expectedServiceClass)); 87 public static Intent createIntent(Class<? extends Service> serviceClass, String extraKey, String extraValue) { 88 Intent intent = createIntent(serviceClass); 93 public static Intent createIntent(Class<? extends Service> serviceClass, String action) { 94 Intent intent = createIntent(serviceClass); 99 public static Intent createIntent(Class<? extends Service> serviceClass) { 106 return createIntent(packageName, serviceClass); 109 public static Intent createIntent(String packageName, Class<? extends Service> serviceClass) [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/matchers/ |
StartedMatcherTest.java | 19 import static com.xtremelabs.robolectric.matchers.StartedMatcher.createIntent; 33 intentWithExtra = createIntent(AliasActivity.class, "someExtra", "value"); 39 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class) + ", but didn't start anything")); 42 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class, "view") + ", but didn't start anything")); 50 Intent actualIntent = createIntent(ListActivity.class, "anotherExtra", "anotherValue"); 54 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class) + ", but started " + actualIntent)); 58 givesFailureMessage((Context) activity, "to start " + createIntent(ActivityGroup.class, "view") + ", but started " + actualIntent));
|
StartedServiceMatcherTest.java | 16 import static com.xtremelabs.robolectric.matchers.StartedServiceMatcher.createIntent; 35 intentWithExtra = createIntent(WallpaperService.class, "someExtra", "value"); 41 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class) + ", but didn't start anything")); 44 givesFailureMessage((Context) service, "to start " + createIntent(WallpaperService.class, "view") + ", but didn't start anything")); 52 Intent actualIntent = createIntent(WallpaperService.class, "anotherExtra", "anotherValue"); 56 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class) + ", but started " + actualIntent)); 60 givesFailureMessage((Context) service, "to start " + createIntent(IntentService.class, "view") + ", but started " + actualIntent));
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
UsbAccessoryActivity.java | 36 Intent intent = DemoKitLaunch.createIntent(this);
|
DemoKitLaunch.java | 13 static Intent createIntent(Activity activity) { 32 Intent intent = createIntent(this);
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
ShowOrCreateActivity.java | 190 Intent createIntent = new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI); 191 createIntent.putExtras(mCreateExtras); 192 createIntent.setType(RawContacts.CONTENT_TYPE); 194 startActivity(createIntent); 208 final Intent createIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); 209 createIntent.putExtras(mCreateExtras); 210 createIntent.setType(RawContacts.CONTENT_ITEM_TYPE); 218 new IntentClickListener(this, createIntent))
|
/cts/tests/src/android/opengl/cts/ |
OpenGlEsVersionStubActivity.java | 47 public static Intent createIntent(int eglContextClientVersion) {
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmService.java | 55 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId); 71 Intent intent = AlarmInstance.createIntent(context, AlarmService.class, instance.mId);
|
AlarmStateManager.java | 197 Intent intent = AlarmInstance.createIntent(context, AlarmStateManager.class, instance.mId); 709 Intent viewAlarmIntent = Alarm.createIntent(context, DeskClock.class, alarmId);
|
/cts/tests/tests/graphics/src/android/opengl/cts/ |
OpenGlEsVersionTest.java | 206 Intent intent = OpenGlEsVersionStubActivity.createIntent(version);
|
/packages/apps/DeskClock/src/com/android/deskclock/ |
HandleApiCalls.java | 95 Intent createAlarm = Alarm.createIntent(this, DeskClock.class, Alarm.INVALID_ID); 216 Intent showAlarm = Alarm.createIntent(this, DeskClock.class, instance.mAlarmId);
|
/packages/apps/DeskClock/src/com/android/deskclock/provider/ |
Alarm.java | 102 public static Intent createIntent(String action, long alarmId) { 106 public static Intent createIntent(Context context, Class<?> cls, long alarmId) {
|
AlarmInstance.java | 121 public static Intent createIntent(String action, long instanceId) { 125 public static Intent createIntent(Context context, Class<?> cls, long instanceId) {
|
/frameworks/base/packages/WAPPushManager/tests/src/com/android/smspush/unitTests/ |
WapPushTest.java | [all...] |
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 539 Intent intent = createIntent(action, null, null, query, actionKey, actionMsg); 587 private Intent createIntent(String action, Uri data, String extraData, String query,
|
/frameworks/base/core/java/android/widget/ |
SearchView.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
SearchView.java | [all...] |
/packages/apps/Mms/src/com/android/mms/ui/ |
ConversationList.java | 603 startActivity(ComposeMessageActivity.createIntent(this, 0)); 607 startActivity(ComposeMessageActivity.createIntent(this, threadId)); [all...] |
ComposeMessageActivity.java | [all...] |
/packages/apps/Mms/src/com/android/mms/transaction/ |
MessagingNotification.java | 760 Intent clickIntent = ComposeMessageActivity.createIntent(context, threadId); [all...] |