HomeSort by relevance Sort by last modified time
    Searched refs:Intent (Results 1 - 25 of 6127) 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;
  /packages/apps/Settings/src/com/android/settings/applications/
EnterpriseDefaultApps.java 19 import android.content.Intent;
28 BROWSER(new Intent[] {
29 buildIntent(Intent.ACTION_VIEW, Intent.CATEGORY_BROWSABLE, "http:", null)}),
30 CALENDAR(new Intent[] {
31 buildIntent(Intent.ACTION_INSERT, null, null, "vnd.android.cursor.dir/event")}),
32 CAMERA(new Intent[] {
33 new Intent(MediaStore.ACTION_IMAGE_CAPTURE),
34 new Intent(MediaStore.ACTION_VIDEO_CAPTURE)}),
35 CONTACTS(new Intent[] {
54 final Intent intent = new Intent(action); local
    [all...]
  /cts/tests/tests/permission2/src/android/permission2/cts/
ProtectedBroadcastsTest.java 19 import android.content.Intent;
28 Intent.ACTION_SCREEN_OFF,
29 Intent.ACTION_SCREEN_ON,
30 Intent.ACTION_USER_PRESENT,
31 Intent.ACTION_TIME_TICK,
32 Intent.ACTION_TIMEZONE_CHANGED,
33 Intent.ACTION_BOOT_COMPLETED,
34 Intent.ACTION_PACKAGE_INSTALL,
35 Intent.ACTION_PACKAGE_ADDED,
36 Intent.ACTION_PACKAGE_REPLACED
98 Intent intent = new Intent(action); local
113 Intent intent = new Intent(action); local
    [all...]
  /packages/apps/Gallery2/src_pd/com/android/gallery3d/util/
IntentHelper.java 19 import android.content.Intent;
23 public static Intent getCameraIntent(Context context) {
24 return new Intent(Intent.ACTION_MAIN)
28 public static Intent getGalleryIntent(Context context) {
29 return new Intent(Intent.ACTION_MAIN)
  /development/apps/Development/src/com/android/development/
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);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/
Somnambulator.java 20 import android.content.Intent;
38 final Intent launchIntent = getIntent();
40 if (Intent.ACTION_CREATE_SHORTCUT.equals(action)) {
41 Intent shortcutIntent = new Intent(this, Somnambulator.class);
42 shortcutIntent.setFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS
43 | Intent.FLAG_ACTIVITY_NEW_TASK);
44 Intent resultIntent = new Intent();
45 resultIntent.putExtra(Intent.EXTRA_SHORTCUT_ICON_RESOURCE
    [all...]
  /frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
StubActivity.java 21 import android.content.Intent;
24 public static Intent createLaunchIntent(Context context) {
25 final Intent intent = new Intent(); local
26 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
27 intent.setClass(context, StubActivity.class);
28 return intent;
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
IntentFiltersTestHelper.java 24 import android.content.Intent;
50 * Helper class for testing if the required cross profile intent filters are set during the
58 private static final ArrayList<Intent> forwardedIntentsFromPrimary =
60 new Intent(Intent.ACTION_SEND).setType("*/*"),
61 new Intent(Intent.ACTION_SEND_MULTIPLE).setType("*/*")
65 private static final ArrayList<Intent> forwardedIntentsFromManaged =
67 new Intent(AlarmClock.ACTION_SET_ALARM),
68 new Intent(AlarmClock.ACTION_SET_TIMER)
380 Intent intent = new Intent(action); local
    [all...]
  /packages/apps/TV/tests/common/src/com/android/tv/testing/testinput/
TestInputControlUtils.java 19 import android.content.Intent;
24 public static Intent createIntent() {
25 return new Intent()
  /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);
  /external/sl4a/Common/src/com/googlecode/android_scripting/
IntentBuilders.java 22 import android.content.Intent;
37 public static Intent buildTriggerServiceIntent() {
38 Intent intent = new Intent(); local
39 intent.setComponent(Constants.TRIGGER_SERVICE_COMPONENT_NAME);
40 return intent;
44 * Builds an intent that will launch a script in the background.
48 * @return the intent that will launch the script
50 public static Intent buildStartInBackgroundIntent(File script)
52 Intent intent = new Intent(); local
68 Intent intent = new Intent(); local
84 Intent intent = new Intent(); local
102 Intent intent = new Intent(); local
120 Intent intent = new Intent(); local
137 Intent intent = new Intent(); local
153 final Intent intent = buildTriggerServiceIntent(); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/development/
OnActivityResultListener.java 3 import android.content.Intent;
17 * @param data An Intent, which can return result data to the caller
18 * (various data can be attached to Intent "extras").
21 boolean onActivityResult(int requestCode, int resultCode, Intent data);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
ContactsContractIntentsTest.java 19 import android.content.Intent;
31 public void assertCanBeHandled(Intent intent) {
33 .getPackageManager().queryIntentActivities(intent, 0);
35 assertTrue("No ResolveInfo found for " + intent.toInsecureString(),
40 Intent intent = new Intent(Intent.ACTION_VIEW); local
41 intent.setData(ContactsContract.Contacts.CONTENT_URI)
46 Intent intent = new Intent(Intent.ACTION_PICK); local
52 Intent intent = new Intent(Intent.ACTION_GET_CONTENT); local
    [all...]
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/bluetooth/
BleInsecureConnectionPriorityClientTestActivity.java 19 import android.content.Intent;
27 Intent intent = new Intent(BleInsecureConnectionPriorityClientTestActivity.this, local
29 startService(intent);
35 stopService(new Intent(this, BleConnectionPriorityClientService.class));
  /cts/tests/app/app/src/android/app/stubs/
NewDocumentTestActivity.java 20 import android.content.Intent;
29 sendBroadcast(new Intent(NOTIFY_RESUME));
33 public void onNewIntent(Intent intent) {
34 sendBroadcast(new Intent(NOTIFY_NEW_INTENT));
  /external/robolectric/v1/src/main/java/android/content/
TestIntentSender.java 4 public Intent intent; field in class:TestIntentSender
  /frameworks/base/tests/Assist/src/com/android/test/assist/
AssistInteractionService.java 19 import android.content.Intent;
26 Intent intent = new Intent(this, AboveKeyguardActivity.class); local
27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
28 startActivity(intent);
  /frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
AssistProxyActivity.java 20 import android.content.Intent;
29 Intent intent = new Intent(this, MainInteractionService.class); local
30 intent.setAction(Intent.ACTION_ASSIST);
31 startService(intent);
  /packages/apps/Car/Hvac/src/com/android/car/hvac/
BootCompleteReceiver.java 20 import android.content.Intent;
24 public void onReceive(Context context, Intent intent) {
25 Intent hvacUiService = new Intent(context, HvacUiService.class);
  /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"),
  /cts/tests/inputmethod/src/android/view/inputmethod/cts/util/
EndToEndImeTestBase.java 21 import android.content.Intent;
35 final Intent intent = new Intent() local
36 .setAction(Intent.ACTION_MAIN)
38 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK)
39 .addFlags(Intent.FLAG_ACTIVITY_NO_ANIMATION)
40 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_TASK);
41 InstrumentationRegistry.getInstrumentation().startActivitySync(intent);
  /developers/build/prebuilts/gradle/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/
RelinquishIdentityActivity.java 20 import android.content.Intent;
26 * above it in the task stack. These identifiers include the task base Intent, and the task name,
27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when
28 * relaunching based on an incoming Intent.
44 final Intent intent = newDocumentIntent(); local
45 startActivity(intent);
49 * Returns an new intent to start {@link NewDocumentActivity}
52 private Intent newDocumentIntent() {
53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class)
    [all...]
  /developers/samples/android/ui/activitytasks/DocumentCentricRelinquishIdentity/Application/src/main/java/com/example/android/documentcentricrelinquishidentity/
RelinquishIdentityActivity.java 20 import android.content.Intent;
26 * above it in the task stack. These identifiers include the task base Intent, and the task name,
27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when
28 * relaunching based on an incoming Intent.
44 final Intent intent = newDocumentIntent(); local
45 startActivity(intent);
49 * Returns an new intent to start {@link NewDocumentActivity}
52 private Intent newDocumentIntent() {
53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class)
    [all...]
  /development/samples/browseable/DocumentCentricRelinquishIdentity/src/com.example.android.documentcentricrelinquishidentity/
RelinquishIdentityActivity.java 20 import android.content.Intent;
26 * above it in the task stack. These identifiers include the task base Intent, and the task name,
27 * color and icon used in the recent task list. The base @link{Intent} is used to match the task when
28 * relaunching based on an incoming Intent.
44 final Intent intent = newDocumentIntent(); local
45 startActivity(intent);
49 * Returns an new intent to start {@link NewDocumentActivity}
52 private Intent newDocumentIntent() {
53 final Intent newDocumentIntent = new Intent(this, NewDocumentActivity.class)
    [all...]

Completed in 2570 milliseconds

1 2 3 4 5 6 7 8 91011>>