Searched refs:Intent (Results 101 - 125 of 820) sorted by relevance

1234567891011>>

/frameworks/base/core/tests/coretests/src/android/app/activity/
H A DRemoteSubActivityScreen.java20 import android.content.Intent;
37 Intent intent = getIntent();
H A DBroadcastTest.java23 import android.content.Intent;
108 public Intent makeBroadcastIntent(String action) {
109 Intent intent = new Intent(action, null);
114 public void finishWithResult(int resultCode, Intent data) {
119 public final void gotReceive(String name, Intent intent) {
195 public void onRegisteredReceiver(Intent intent) {
226 public void onReceive(Context context, Intent intent) {
264 public void onReceive(Context context, Intent intent) {
280 new Intent("co
[all...]
H A DLifecycleTest.java20 import android.content.Intent;
25 private Intent mTopIntent;
26 private Intent mTabIntent;
32 mTabIntent = new Intent(mContext, LaunchpadTabActivity.class);
/frameworks/base/test-runner/src/android/test/mock/
H A DMockContext.java22 import android.content.Intent;
276 public void startActivity(Intent intent) {
281 public void startActivity(Intent intent, Bundle options) {
286 public void startActivities(Intent[] intents) {
291 public void startActivities(Intent[] intents, Bundle options) {
297 Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags)
304 Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags,
310 public void sendBroadcast(Intent intent) {
315 public void sendBroadcast(Intent intent, String receiverPermission) {
321 public void sendBroadcast(Intent inten
[all...]
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
H A DIsolatedService.java20 import android.content.Intent;
35 public IBinder onBind(Intent intent) {
H A DServiceUserTarget.java20 import android.content.Intent;
38 public IBinder onBind(Intent intent) {
H A DSingleUserService.java20 import android.content.Intent;
38 public IBinder onBind(Intent intent) {
H A DUserTarget.java21 import android.content.Intent;
29 public void onReceive(Context context, Intent intent) {
/frameworks/base/tests/VoiceInteraction/src/com/android/test/voiceinteraction/
H A DMainRecognitionService.java19 import android.content.Intent;
37 protected void onStartListening(Intent recognizerIntent, Callback listener) {
H A DVoiceInteractionMain.java20 import android.content.Intent;
46 startService(new Intent(VoiceInteractionMain.this, MainInteractionService.class));
/frameworks/base/tests/utils/SleepUtils/AlarmService/src/com/android/testing/alarmservice/
H A DAlarmService.java21 import android.content.Intent;
36 public IBinder onBind(Intent intent) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DSmsStorageMonitor.java21 import android.content.Intent;
87 filter.addAction(Intent.ACTION_DEVICE_STORAGE_FULL);
88 filter.addAction(Intent.ACTION_DEVICE_STORAGE_NOT_FULL);
145 Intent intent = new Intent(Intents.SIM_FULL_ACTION);
158 public void onReceive(Context context, Intent intent) {
159 if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_FULL)) {
162 } else if (intent.getAction().equals(Intent.ACTION_DEVICE_STORAGE_NOT_FULL)) {
/frameworks/support/v4/ics/android/support/v4/app/
H A DShareCompatICS.java20 import android.content.Intent;
28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) {
/frameworks/base/core/java/android/content/
H A DContext.java1185 * Same as {@link #startActivity(Intent, Bundle)} with no options
1192 * @see #startActivity(Intent, Bundle)
1195 public abstract void startActivity(Intent intent);
1198 * Version of {@link #startActivity(Intent)} that allows you to specify the
1207 public void startActivityAsUser(Intent intent, UserHandle user) {
1216 * {@link android.app.Activity} Context, then the Intent must include
1217 * the {@link Intent#FLAG_ACTIVITY_NEW_TASK} launch flag. This is because,
1223 * if there was no Activity found to run the given Intent.
1233 * @see #startActivity(Intent)
1236 public abstract void startActivity(Intent inten
[all...]
/frameworks/support/v4/java/android/support/v4/app/
H A DRemoteInput.java19 import android.content.Intent;
187 public static Bundle getResultsFromIntent(Intent intent) {
202 public static void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent,
210 Bundle getResultsFromIntent(Intent intent);
211 void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent,
217 public Bundle getResultsFromIntent(Intent intent) {
223 public void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) {
230 public Bundle getResultsFromIntent(Intent intent) {
235 public void addResultsToIntent(RemoteInput[] remoteInputs, Intent intent, Bundle results) {
242 public Bundle getResultsFromIntent(Intent inten
[all...]
/frameworks/base/policy/src/com/android/internal/policy/impl/
H A DPhoneFallbackEventHandler.java23 import android.content.Intent;
122 Intent intent = new Intent(Intent.ACTION_VOICE_COMMAND);
123 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK);
145 Intent intent = new Intent(Intent.ACTION_CAMERA_BUTTON, null);
146 intent.putExtra(Intent.EXTRA_KEY_EVENT, event);
164 Intent inten
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DKeyguardActivityLauncher.java28 import android.content.Intent;
49 private static final Intent SECURE_CAMERA_INTENT =
50 new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA_SECURE)
51 .addFlags(Intent.FLAG_ACTIVITY_EXCLUDE_FROM_RECENTS);
52 private static final Intent INSECURE_CAMERA_INTENT =
53 new Intent(MediaStore.INTENT_ACTION_STILL_IMAGE_CAMERA);
70 Intent intent = getCameraIntent();
136 Intent pickIntent = new Intent(AppWidgetManager.ACTION_KEYGUARD_APPWIDGET_PICK);
148 Intent
[all...]
/frameworks/base/core/java/android/app/
H A DPendingIntent.java23 import android.content.Intent;
40 * A description of an Intent and target action to perform with it. Instances
50 * almost always, for example, the base Intent you supply should have the component
59 * same kind of PendingIntent (same operation, same Intent action, data,
69 * parts of the Intent that are used for matching are the same ones defined
70 * by {@link Intent#filterEquals(Intent) Intent.filterEquals}. If you use two
71 * Intent objects that are equivalent as per
72 * {@link Intent#filterEqual
[all...]
H A DIActivityController.aidl20 import android.content.Intent;
33 boolean activityStarting(in Intent intent, String pkg);
H A DResultInfo.java19 import android.content.Intent;
30 public final Intent mData;
33 Intent data) {
77 mData = Intent.CREATOR.createFromParcel(in);
/frameworks/base/core/java/android/speech/
H A DRecognitionListener.java18 import android.content.Intent;
82 * {@link SpeechRecognizer#startListening(Intent)}, depending on the speech recognition
/frameworks/base/core/java/android/text/style/
H A DURLSpan.java20 import android.content.Intent;
60 Intent intent = new Intent(Intent.ACTION_VIEW, uri);
/frameworks/base/core/java/com/android/internal/app/
H A DShutdownActivity.java21 import android.content.Intent;
38 Intent intent = getIntent();
39 mReboot = Intent.ACTION_REBOOT.equals(intent.getAction());
40 mConfirm = intent.getBooleanExtra(Intent.EXTRA_KEY_CONFIRM, false);
/frameworks/base/services/core/java/com/android/server/
H A DMasterClearReceiver.java21 import android.content.Intent;
32 public void onReceive(final Context context, final Intent intent) {
33 if (intent.getAction().equals(Intent.ACTION_REMOTE_INTENT)) {
41 final String reason = intent.getStringExtra(Intent.EXTRA_REASON);
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DIWapPushManager.aidl19 import android.content.Intent;
26 int processMessage(String app_id, String content_type, in Intent intent);

Completed in 631 milliseconds

1234567891011>>