Searched refs:Intent (Results 1 - 25 of 1783) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/content/
H A DIntent.aidl1 /* //device/java/android/android/content/Intent.aidl
20 parcelable Intent;
/frameworks/base/tests/SmokeTest/src/com/android/smoketest/
H A DSmokeTestActivity.java20 import android.content.Intent;
33 protected Intent getTargetIntent() {
35 Intent targetIntent = new Intent(Intent.ACTION_MAIN, null);
38 targetIntent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/packages/SystemUI/src/com/android/systemui/
H A DSomnambulator.java20 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
[all...]
/frameworks/base/apct-tests/perftests/utils/src/android/perftests/utils/
H A DStubActivity.java21 import android.content.Intent;
24 public static Intent createLaunchIntent(Context context) {
25 final Intent intent = new Intent();
26 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/tests/Assist/src/com/android/test/assist/
H A DAssistInteractionService.java19 import android.content.Intent;
26 Intent intent = new Intent(this, AboveKeyguardActivity.class);
27 intent.addFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DAssistProxyActivity.java20 import android.content.Intent;
29 Intent intent = new Intent(this, MainInteractionService.class);
30 intent.setAction(Intent.ACTION_ASSIST);
/frameworks/base/test-runner/src/android/test/
H A DLaunchPerformanceBase.java20 import android.content.Intent;
35 protected Intent mIntent;
39 mIntent = new Intent(Intent.ACTION_MAIN);
40 mIntent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
/frameworks/base/core/tests/coretests/src/android/content/
H A DBrickDeniedTest.java29 getContext().sendBroadcast(new Intent("SHES_A_BRICK_HOUSE"));
30 getContext().sendBroadcast(new Intent("android.intent.action.BRICK"));
/frameworks/base/packages/InputDevices/src/com/android/inputdevices/
H A DInputDeviceReceiver.java21 import android.content.Intent;
25 public void onReceive(Context context, Intent intent) {
/frameworks/base/tests/FrameworkPerf/src/com/android/frameworkperf/
H A DReceiver.java21 import android.content.Intent;
28 public void onReceive(Context context, Intent intent) {
H A DSchedulerService.java22 import android.content.Intent;
28 public int onStartCommand(Intent intent, int flags, int startId) {
35 new Intent(this, FrameworkPerfActivity.class)
36 .setAction(Intent.ACTION_MAIN)
37 .addCategory(Intent.CATEGORY_LAUNCHER)
38 .addFlags(Intent.FLAG_ACTIVITY_NEW_TASK), 0))
46 public IBinder onBind(Intent intent) {
/frameworks/base/core/java/android/content/pm/
H A DIPackageDeleteObserver2.aidl19 import android.content.Intent;
23 void onUserActionRequired(in Intent intent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
H A DKeyboardShortcutsReceiver.java20 import android.content.Intent;
27 public void onReceive(Context context, Intent intent) {
28 if (Intent.ACTION_SHOW_KEYBOARD_SHORTCUTS.equals(intent.getAction())) {
30 } else if (Intent.ACTION_DISMISS_KEYBOARD_SHORTCUTS.equals(intent.getAction())) {
/frameworks/support/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DSimpleWakefulReceiver.java22 import android.content.Intent;
30 public void onReceive(Context context, Intent intent) {
31 // This is the Intent to deliver to our service.
32 Intent service = new Intent(context, SimpleWakefulService.class);
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
H A DSimpleWakefulReceiver.java22 import android.content.Intent;
30 public void onReceive(Context context, Intent intent) {
31 // This is the Intent to deliver to our service.
32 Intent service = new Intent(context, SimpleWakefulService.class);
/frameworks/base/services/core/java/com/android/server/utils/
H A DAppInstallerUtil.java20 import android.content.Intent;
27 private static Intent resolveIntent(Context context, Intent i) {
29 return result != null ? new Intent(i.getAction())
53 public static Intent createIntent(Context context, String installerPackageName,
55 Intent intent = new Intent(Intent.ACTION_SHOW_APP_INFO).setPackage(installerPackageName);
56 final Intent result = resolveIntent(context, intent);
58 result.putExtra(Intent
[all...]
/frameworks/opt/car/setupwizard/library/src/com/android/car/setupwizardlib/util/
H A DCarWizardManagerHelper.java20 import android.content.Intent;
44 * {@link android.app.Activity#startActivityForResult(Intent, int)} to start the next
47 public static Intent getNextIntent(Intent originalIntent, int resultCode) {
59 * {@link android.app.Activity#startActivityForResult(Intent, int)} to start the next
62 public static Intent getNextIntent(Intent originalIntent, int resultCode, Intent data) {
63 Intent intent = new Intent(ACTION_NEX
[all...]
/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DClearTop.java20 import android.content.Intent;
34 Intent intent = new Intent(getIntent()).setAction(LocalScreen.CLEAR_TASK)
40 public void onNewIntent(Intent intent) {
45 setResult(RESULT_CANCELED, new Intent().setAction(
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
H A DActivityStarter.java18 import android.content.Intent;
32 void startActivity(Intent intent, boolean dismissShade);
33 void startActivity(Intent intent, boolean onlyProvisioned, boolean dismissShade);
34 void startActivity(Intent intent, boolean dismissShade, Callback callback);
35 void postStartActivityDismissingKeyguard(Intent intent, int delay);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
H A DBlockingQueueIntentReceiver.java19 import android.content.Intent;
27 private final BlockingQueue<Intent> mQueue = new ArrayBlockingQueue<Intent>(1);
30 public void onReceive(Context context, Intent intent) {
34 public Intent waitForIntent() throws InterruptedException {
/frameworks/base/tests/AmSlam/src/test/amslam/
H A DPingReceiver.java20 import android.content.Intent;
28 public int onStartCommand(Intent intent, int flags, int startId) {
29 Intent response = new Intent(this, PongReceiver.class);
43 public IBinder onBind(Intent intent) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DShowInstallAppNotificationReceiver.java21 import android.content.Intent;
31 public static Intent get(Context context, String pkgName) {
32 Intent intent = new Intent(context, ShowInstallAppNotificationReceiver.class);
38 public void onReceive(Context context, Intent intent) {
/frameworks/support/compat/src/main/java/androidx/core/content/
H A DIntentCompat.java19 import android.content.Intent;
25 * Helper for accessing features in {@link android.content.Intent}.
33 * A constant String that is associated with the Intent, used with
34 * {@link android.content.Intent#ACTION_SEND} to supply an alternative to
35 * {@link android.content.Intent#EXTRA_TEXT}
37 * {@link android.content.Intent#EXTRA_TEXT}.
42 * Used as a boolean extra field in {@link android.content.Intent#ACTION_VIEW} intents to
55 * Make an Intent for the main activity of an application, without
57 * the activity. This results in a final Intent that is structured
60 * same way, it is important that they use an Intent structure
[all...]
/frameworks/support/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DOutsideTaskActivity.java19 import android.content.Intent;
33 Intent intent = new Intent(Intent.ACTION_VIEW)
35 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);
/frameworks/support/samples/SupportAppNavigation/src/main/java/com/example/android/support/appnavigation/app/
H A DOutsideTaskActivity.java19 import android.content.Intent;
33 Intent intent = new Intent(Intent.ACTION_VIEW)
35 .addFlags(Intent.FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET);

Completed in 682 milliseconds

1234567891011>>