/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) {
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/ |
TestInputControlUtils.java | 26 public static Intent createIntent() {
|
/packages/apps/Settings/src/com/android/settings/ |
SetupChooseLockPattern.java | 34 public static Intent createIntent(Context context, boolean requirePassword, 36 Intent intent = ChooseLockPattern.createIntent(context, requirePassword, 42 public static Intent createIntent(Context context, boolean requirePassword, String pattern) { 43 Intent intent = ChooseLockPattern.createIntent( 49 public static Intent createIntent(Context context, boolean requirePassword, long challenge) { 50 Intent intent = ChooseLockPattern.createIntent(
|
SetupChooseLockPassword.java | 35 public static Intent createIntent(Context context, int quality, 38 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, 45 public static Intent createIntent(Context context, int quality, 47 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, 54 public static Intent createIntent(Context context, int quality, 56 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength,
|
ManagedLockPasswordProvider.java | 82 Intent createIntent(boolean requirePasswordToDecrypt, String password) {
|
SetupChooseLockGeneric.java | 185 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, 195 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, 204 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, 213 final Intent intent = SetupChooseLockPattern.createIntent(context, requirePassword, 222 final Intent intent = SetupChooseLockPattern.createIntent(context, requirePassword, 231 final Intent intent = SetupChooseLockPattern.createIntent(context, requirePassword,
|
ConfirmDeviceCredentialActivity.java | 41 public static Intent createIntent(CharSequence title, CharSequence details) { 50 public static Intent createIntent(CharSequence title, CharSequence details, long challenge) {
|
/external/robolectric/v1/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...] |
/packages/services/Telephony/tests/src/com/android/phone/vvm/omtp/scheduling/ |
TaskSchedulerServiceTest.java | 47 TaskSchedulerService.createIntent(mTestContext, TestTask.class)); 49 TaskSchedulerService.createIntent(mTestContext, TestTask.class)); 62 TaskSchedulerService.createIntent(mTestContext, TestTask.class)); 66 TaskSchedulerService.createIntent(mTestContext, TestTask.class)); 75 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class), 78 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class), 81 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class), 101 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class), 107 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class), 129 putTaskId(TaskSchedulerService.createIntent(mTestContext, TestTask.class) [all...] |
PolicyTest.java | 37 Task task = submitTask(BaseTask.createIntent(mTestContext, PostponeTask.class, 0)); 40 submitTask(BaseTask.createIntent(mTestContext, PostponeTask.class, 0)); 43 submitTask(BaseTask.createIntent(mTestContext, PostponeTask.class, 0)); 52 Task task = submitTask(BaseTask.createIntent(mTestContext, FailingRetryTask.class, 0)); 81 BaseTask.createIntent(mTestContext, MinimalIntervalPolicyTask.class, 0)); 85 BaseTask.createIntent(mTestContext, MinimalIntervalPolicyTask.class, 0)); 93 BaseTask.createIntent(mTestContext, MinimalIntervalPolicyTask.class, 0));
|
BaseTaskTest.java | 38 BaseTask.createIntent(mTestContext, DummyBaseTask.class, 123)); 52 BaseTask.createIntent(mTestContext, FailingBaseTask.class, 0)); 60 BaseTask.createIntent(mTestContext, DummyBaseTask.class, 123)); 64 BaseTask.createIntent(mTestContext, DummyBaseTask.class, 123)); 75 BaseTask.createIntent(mTestContext, DummyBaseTask.class, 123)); 79 BaseTask.createIntent(mTestContext, DummyBaseTask.class, 456));
|
/external/robolectric/v1/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));
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
TrampolineActivity.java | 46 context.startActivity(createIntent(context, target)); 49 public static Intent createIntent(Context context, Intent target) {
|
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/uiflows/ |
WebActivityTest.java | 33 startActivity(WebActivity.createIntent(getInstrumentation().getTargetContext(), 39 startActivity(WebActivity.createIntent(getInstrumentation().getTargetContext(),
|
/packages/apps/TV/src/com/android/tv/ |
LauncherActivity.java | 54 baseActivity.startActivityForResult(createIntent(baseActivity, intentToLaunch, false), 70 baseActivity.startActivityForResult(createIntent(baseActivity, intentToLaunch, true), 74 private static Intent createIntent(Context context, Intent intentToLaunch,
|
/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 | 198 Intent createIntent = new Intent(Intent.ACTION_INSERT, RawContacts.CONTENT_URI); 199 createIntent.putExtras(mCreateExtras); 200 createIntent.setType(RawContacts.CONTENT_TYPE); 202 ImplicitIntentsUtil.startActivityInApp(this, createIntent); 216 final Intent createIntent = new Intent(Intent.ACTION_INSERT_OR_EDIT); 217 createIntent.putExtras(mCreateExtras); 218 createIntent.setType(RawContacts.CONTENT_ITEM_TYPE); 226 new IntentClickListener(this, createIntent))
|
/packages/services/Telephony/src/com/android/phone/vvm/omtp/scheduling/ |
BaseTask.java | 126 return createIntent(getContext(), this.getClass(), mSubId); 133 public static Intent createIntent(Context context, Class<? extends BaseTask> task, int subId) { 134 Intent intent = TaskSchedulerService.createIntent(context, task);
|
MinimalIntervalPolicy.java | 53 .createIntent(mTask.getContext(), BlockerTask.class, mId.subId);
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
AccountRemovalDummyActivity.java | 31 public static Intent createIntent(Context context) {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
DialogActivity.java | 111 public static Intent createIntent(Context context, String title, 114 return createIntent(context, title, breadcrumb, description, imageUri, 118 public static Intent createIntent(Context context, String title, 132 public static Intent createIntent(Context context, String title, 135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, 139 public static Intent createIntent(Context context, String title, 153 public static Intent createIntent(Context context, String title,
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
WifiConnectionActivity.java | 40 public static Intent createIntent(Context context, AccessPoint result, WifiSecurity security) { 46 public static Intent createIntent(Context context, AccessPoint result) { 48 return createIntent(context, result, security); 51 public static Intent createIntent(Context context, WifiConfiguration configuration) {
|