HomeSort by relevance Sort by last modified time
    Searched refs:Intent (Results 1 - 25 of 1737) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/base/core/java/android/content/
Intent.aidl 1 /* //device/java/android/android/content/Intent.aidl
20 parcelable Intent;
  /cts/tests/tests/permission2/src/android/permission2/cts/
ProtectedBroadcastsTest.java 20 import android.content.Intent;
29 Intent.ACTION_SCREEN_OFF,
30 Intent.ACTION_SCREEN_ON,
31 Intent.ACTION_USER_PRESENT,
32 Intent.ACTION_TIME_TICK,
33 Intent.ACTION_TIMEZONE_CHANGED,
34 Intent.ACTION_BOOT_COMPLETED,
35 Intent.ACTION_PACKAGE_INSTALL,
36 Intent.ACTION_PACKAGE_ADDED,
37 Intent.ACTION_PACKAGE_REPLACED
74 Intent intent = new Intent(action); local
    [all...]
  /development/apps/Development/src/com/android/development/
Development.java 20 import android.content.Intent;
25 protected Intent getTargetIntent() {
26 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
27 targetIntent.addCategory(Intent.CATEGORY_TEST);
28 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
UnderdevelopedSettings.java 20 import android.content.Intent;
25 protected Intent getTargetIntent() {
26 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
27 targetIntent.addCategory(Intent.CATEGORY_DEVELOPMENT_PREFERENCE);
  /frameworks/base/tests/SmokeTest/src/com/android/smoketest/
SmokeTestActivity.java 20 import android.content.Intent;
33 protected Intent getTargetIntent() {
35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
36 // TODO: Do we add a new top-level intent? Or just leave it hardcoded like this?
37 targetIntent.addCategory("android.intent.category.SMOKETEST_INSTRUMENTATION_TEST");
38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /packages/providers/CalendarProvider/src/com/android/providers/calendar/
CalendarDebugReceiver.java 21 import android.content.Intent;
34 public void onReceive(Context context, Intent intent) {
35 Intent i = new Intent(Intent.ACTION_MAIN);
37 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /packages/apps/Contacts/src/com/android/contacts/util/
StructuredPostalUtils.java 19 import android.content.Intent;
26 public static Intent getViewPostalAddressIntent(String postalAddress) {
27 return new Intent(Intent.ACTION_VIEW, getPostalAddressUri(postalAddress));
  /packages/apps/Settings/src/com/android/settings/accounts/
SyncSettingsActivity.java 19 import android.content.Intent;
28 public Intent getIntent() {
29 Intent modIntent = new Intent(super.getIntent());
  /packages/apps/Settings/src/com/android/settings/applications/
InstalledAppDetailsTop.java 3 import android.content.Intent;
8 public Intent getIntent() {
9 Intent modIntent = new Intent(super.getIntent());
  /packages/apps/Settings/src/com/android/settings/inputmethod/
InputMethodAndSubtypeEnablerActivity.java 18 import android.content.Intent;
23 public Intent getIntent() {
24 final Intent modIntent = new Intent(super.getIntent());
  /packages/experimental/DreamTheater/src/com/android/dreamtheater/
DreamTheaterActivity.java 4 import android.content.Intent;
11 startActivity(Intent.createChooser(new Intent(Intent.ACTION_MAIN)
12 .addCategory("android.intent.category.DREAM"),
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 28 import android.content.Intent;
151 new Intent(UI.LIST_DEFAULT, Contacts.CONTENT_URI));
156 new Intent(UI.LIST_ALL_CONTACTS_ACTION, Contacts.CONTENT_URI));
161 new Intent(UI.LIST_CONTACTS_WITH_PHONES_ACTION, Contacts.CONTENT_URI));
166 new Intent(UI.LIST_STARRED_ACTION, Contacts.CONTENT_URI));
171 new Intent(UI.LIST_FREQUENT_ACTION, Contacts.CONTENT_URI));
176 new Intent(UI.LIST_STREQUENT_ACTION, Contacts.CONTENT_URI));
181 new Intent(UI.LIST_GROUP_ACTION, Contacts.CONTENT_URI));
186 new Intent(Intent.ACTION_PICK, Contacts.CONTENT_URI))
210 Intent intent = new Intent(Intent.ACTION_PICK); local
221 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
226 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
232 Intent intent = new Intent(Intent.ACTION_CREATE_SHORTCUT); local
238 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
244 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
250 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
256 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
262 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
268 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
274 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
281 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
288 Intent intent = new Intent(Intent.ACTION_INSERT_OR_EDIT); local
295 Intent intent = new Intent(Intent.ACTION_SEARCH); local
302 Intent intent = new Intent(Intent.ACTION_SEARCH); local
309 Intent intent = new Intent(Intent.ACTION_SEARCH); local
315 Intent intent = new Intent(Intent.ACTION_SEARCH); local
324 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CLICKED); local
335 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CLICKED); local
342 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_DIAL_NUMBER_CLICKED); local
348 Intent intent = new Intent(Intents.SEARCH_SUGGESTION_CREATE_CONTACT_CLICKED); local
360 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
371 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupWithoutIdUri); local
379 final Intent intent = new Intent(Intent.ACTION_EDIT, lookupUri); local
387 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
396 final Intent intent = new Intent(Intent.ACTION_EDIT, uri); local
405 Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
431 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
446 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupWithoutIdUri); local
454 final Intent intent = new Intent(Intent.ACTION_VIEW, lookupUri); local
462 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
471 final Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
517 final Intent intent = new Intent(Intent.ACTION_VIEW, null); local
528 final Intent intent = new Intent(Intent.ACTION_VIEW); local
539 final Intent intent = new Intent("android.intent.action.VIEW"); local
575 Intent intent = new Intent(UI.FILTER_CONTACTS_ACTION); local
600 Intent intent = new Intent(this, ResultActivity.class); local
659 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
666 final Intent intent = new Intent(Intent.ACTION_INSERT, Contacts.CONTENT_URI); local
    [all...]
  /cts/tests/src/android/app/cts/
LauncherActivityStub.java 20 import android.content.Intent;
29 private Intent mSuperIntent;
31 public Intent getSuperIntent() {
36 protected Intent getTargetIntent() {
38 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
39 targetIntent.addCategory(Intent.CATEGORY_FRAMEWORK_INSTRUMENTATION_TEST);
40 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
45 protected Intent intentForPosition(int position)
    [all...]
  /cts/tests/tests/content/src/android/content/cts/
AvailableIntentsTest.java 21 import android.content.Intent;
37 * Assert target intent can be handled by at least one Activity.
38 * @param intent - the Intent will be handled.
40 private void assertCanBeHandled(final Intent intent) {
42 List<ResolveInfo> resolveInfoList = packageManager.queryIntentActivities(intent, 0);
44 // one or more activity can handle this intent.
54 Intent intent = new Intent(Intent.ACTION_VIEW, uri) local
64 Intent intent = new Intent(Intent.ACTION_VIEW, uri); local
74 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
85 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
96 Intent intent = new Intent(Intent.ACTION_WEB_SEARCH); local
106 Intent intent = new Intent(Intent.ACTION_CALL, uri); local
117 Intent intent = new Intent(Intent.ACTION_DIAL, uri); local
129 Intent intent = new Intent(Intent.ACTION_DIAL, uri); local
141 Intent intent = new Intent(MediaStore.ACTION_IMAGE_CAPTURE); local
174 Intent intent = new Intent(Intent.ACTION_VIEW); local
184 Intent intent = new Intent(Intent.ACTION_VIEW); local
191 Intent intent = new Intent(AlarmClock.ACTION_SET_ALARM); local
    [all...]
  /development/samples/training/device-management-policy/src/com/example/training/deviceadmin/
SecureActivity.java 20 import android.content.Intent;
32 Intent intent = new Intent(); local
33 intent.setClass(this, PolicySetupActivity.class);
34 intent.setFlags(Intent.FLAG_ACTIVITY_SINGLE_TOP |
35 Intent.FLAG_ACTIVITY_CLEAR_TASK);
36 startActivity(intent);
  /packages/apps/Settings/src/com/android/settings/
CreateShortcut.java 20 import android.content.Intent;
28 protected Intent getTargetIntent() {
29 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
31 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
37 Intent shortcutIntent = intentForPosition(position);
38 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_RESET_TASK_IF_NEEDED);
39 Intent intent = new Intent() local
    [all...]
TestingSettingsBroadcastReceiver.java 7 import android.content.Intent;
19 public void onReceive(Context context, Intent intent) {
20 if (intent.getAction().equals(SECRET_CODE_ACTION)) {
21 Intent i = new Intent(Intent.ACTION_MAIN);
23 i.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
DreamsDockLauncher.java 8 import android.content.Intent;
34 context.sendBroadcast(new Intent(Intent.ACTION_CLOSE_SYSTEM_DIALOGS));
37 Intent zzz = new Intent(Intent.ACTION_MAIN)
39 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK
40 | Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
41 | Intent.FLAG_ACTIVITY_NO_USER_ACTION
42 | Intent.FLAG_FROM_BACKGROUN
    [all...]
  /external/quake/src/com/android/quake/
PreconditionActivityHelper.java 4 import android.content.Intent;
9 * Intent intent = PreconditionActivityHelper.createPreconditionIntent(
11 * // Optionally add extras to pass arguments to the intent
12 * intent.putExtra(Utils.EXTRA_ACCOUNT, account);
13 * PreconditionActivityHelper.startPreconditionActivityAndFinish(this, intent);
22 * Create a precondition activity intent.
25 * @return an intent which will launch the precondition activity.
27 public static Intent createPreconditionIntent(Activity activity,
29 Intent newIntent = new Intent()
    [all...]
  /gdk/samples/quake/src/com/android/quake/llvm/
PreconditionActivityHelper.java 4 import android.content.Intent;
9 * Intent intent = PreconditionActivityHelper.createPreconditionIntent(
11 * // Optionally add extras to pass arguments to the intent
12 * intent.putExtra(Utils.EXTRA_ACCOUNT, account);
13 * PreconditionActivityHelper.startPreconditionActivityAndFinish(this, intent);
22 * Create a precondition activity intent.
25 * @return an intent which will launch the precondition activity.
27 public static Intent createPreconditionIntent(Activity activity,
29 Intent newIntent = new Intent()
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
QuickContactBroadcastReceiver.java 21 import android.content.Intent;
27 * intent receiver is to disable the animation that RemoveViews typically do, which interfere
32 public void onReceive(Context context, Intent intent) {
33 final Uri dataUri = intent.getData();
34 final Intent newIntent = new Intent(QuickContact.ACTION_QUICK_CONTACT);
35 newIntent.setSourceBounds(intent.getSourceBounds());
36 newIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TASK)
    [all...]
  /packages/apps/Exchange/exchange2/src/com/android/exchange/
SettingsRedirector.java 21 import android.content.Intent;
38 Intent intent = getIntent(); local
39 Intent redirect = new Intent(
40 Intent.ACTION_EDIT,
42 redirect.setFlags(Intent.FLAG_ACTIVITY_FORWARD_RESULT);
  /packages/apps/Email/tests/src/com/android/email/activity/
IntentUtilitiesTests.java 21 import android.content.Intent;
38 final Intent i = new Intent(Intent.ACTION_MAIN, u);
46 Intent i;
48 // No URL in intent
49 i = new Intent(getContext(), getClass());
70 i = new Intent(Intent.ACTION_VIEW, Uri.parse(
78 Intent i = new Intent(Intent.ACTION_VIEW, Uri.parse(uri.replace("ID", "ACCOUNT_ID")))
    [all...]
  /development/samples/BrowserPlugin/src/com/android/sampleplugin/
SamplePlugin.java 28 import android.content.Intent;
34 public IBinder onBind(Intent intent) {
  /frameworks/base/core/tests/coretests/src/android/content/
BrickDeniedTest.java 26 // Try both the old and new brick intent names. Neither should work,
29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE"));
30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK"));

Completed in 458 milliseconds

1 2 3 4 5 6 7 8 91011>>