Searched defs:intent (Results 226 - 237 of 237) sorted by relevance

12345678910

/frameworks/base/core/java/android/app/
H A DActivity.java219 * intent is delivered -- so the code in these methods should be fairly
761 /** Return the intent that started this activity. */
767 * Change the intent returned by {@link #getIntent}. This holds a
768 * reference to the given intent; it does not copy it. Often used in
1123 * <p>An activity will always be paused before receiving a new intent, so
1129 * @param intent The new intent that was started for the activity.
1135 protected void onNewIntent(Intent intent) { argument
2094 Intent intent = new Intent(Intent.ACTION_DIAL, Uri.parse("tel:" + str));
2095 intent
3330 startActivityForResult(Intent intent, int requestCode) argument
3368 startActivityForResult(Intent intent, int requestCode, Bundle options) argument
3403 startActivityAsUser(Intent intent, UserHandle user) argument
3410 startActivityAsUser(Intent intent, Bundle options, UserHandle user) argument
3440 startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
3472 startIntentSenderForResult(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
3489 startIntentSenderForResultInner(IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, Activity activity, Bundle options) argument
3533 startActivity(Intent intent) argument
3560 startActivity(Intent intent, Bundle options) argument
3627 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
3654 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
3683 startActivityIfNeeded(Intent intent, int requestCode) argument
3717 startActivityIfNeeded(Intent intent, int requestCode, Bundle options) argument
3765 startNextMatchingActivity(Intent intent) argument
3788 startNextMatchingActivity(Intent intent, Bundle options) argument
3817 startActivityFromChild(Activity child, Intent intent, int requestCode) argument
3841 startActivityFromChild(Activity child, Intent intent, int requestCode, Bundle options) argument
3867 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode) argument
3892 startActivityFromFragment(Fragment fragment, Intent intent, int requestCode, Bundle options) argument
3909 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument
3923 startIntentSenderFromChild(Activity child, IntentSender intent, int requestCode, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument
5045 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
5053 attach(Context context, ActivityThread aThread, Instrumentation instr, IBinder token, int ident, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, NonConfigurationInstances lastNonConfigurationInstances, Configuration config) argument
[all...]
H A DIActivityManager.java55 Intent intent, String resolvedType, IBinder resultTo, String resultWho,
59 Intent intent, String resolvedType, IBinder resultTo, String resultWho,
63 Intent intent, String resolvedType, IBinder resultTo, String resultWho,
67 Intent intent, String resolvedType, IBinder resultTo, String resultWho,
71 IntentSender intent, Intent fillInIntent, String resolvedType,
75 Intent intent, Bundle options) throws RemoteException;
85 public int broadcastIntent(IApplicationThread caller, Intent intent, argument
89 public void unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) throws RemoteException; argument
145 Intent intent, IBinder service) throws RemoteException;
54 startActivity(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, String profileFile, ParcelFileDescriptor profileFd, Bundle options) argument
58 startActivityAsUser(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument
62 startActivityAndWait(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument
66 startActivityWithConfig(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration newConfig, Bundle options, int userId) argument
70 startActivityIntentSender(IApplicationThread caller, IntentSender intent, Intent fillInIntent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) argument
74 startNextMatchingActivity(IBinder callingActivity, Intent intent, Bundle options) argument
144 publishService(IBinder token, Intent intent, IBinder service) argument
H A DActivityThread.java267 Intent intent; field in class:ActivityThread.ActivityClientRecord
318 ComponentName componentName = intent != null ? intent.getComponent() : null;
352 public ReceiverData(Intent intent, int resultCode, String resultData, Bundle resultExtras, argument
356 this.intent = intent;
359 Intent intent; field in class:ActivityThread.ReceiverData
363 return "ReceiverData{intent=" + intent + " packageName=" +
385 Intent intent; field in class:ActivityThread.CreateServiceData
395 Intent intent; field in class:ActivityThread.BindServiceData
595 scheduleLaunchActivity(Intent intent, IBinder token, int ident, ActivityInfo info, Configuration curConfig, CompatibilityInfo compatInfo, Bundle state, List<ResultInfo> pendingResults, List<Intent> pendingNewIntents, boolean notResumed, boolean isForward, String profileName, ParcelFileDescriptor profileFd, boolean autoStopProfiler) argument
645 scheduleReceiver(Intent intent, ActivityInfo info, CompatibilityInfo compatInfo, int resultCode, String data, Bundle extras, boolean sync, int sendingUser) argument
684 scheduleBindService(IBinder token, Intent intent, boolean rebind) argument
697 scheduleUnbindService(IBinder token, Intent intent) argument
806 scheduleRegisteredReceiver(IIntentReceiver receiver, Intent intent, int resultCode, String dataStr, Bundle extras, boolean ordered, boolean sticky, int sendingUser) argument
1988 resolveActivityInfo(Intent intent) argument
1999 startActivityNow(Activity parent, String id, Intent intent, ActivityInfo activityInfo, IBinder token, Bundle state, Activity.NonConfigurationInstances lastNonConfigurationInstances) argument
3462 safeToComponentShortString(Intent intent) argument
[all...]
/frameworks/base/core/java/android/content/
H A DIntent.java50 * An intent is an abstract description of an operation to be performed. It
73 * <p>The primary pieces of information in an intent are:</p>
110 * new intent { <b>{@link #ACTION_VIEW} <i>content://contacts/N</i></b> }
116 * attributes that you can also include with an intent:</p>
125 * intent data. Normally the type is inferred from the data itself.
129 * class to use for the intent. Normally this is determined by looking
130 * at the other information in the intent (the action, data/type, and
170 * "android.intent.action.VIEW".</p>
194 * intent.
197 * <p>When using implicit intents, given such an arbitrary intent w
6207 FilterComparison(Intent intent) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DInputMethodManagerService.java419 public void onReceive(Context context, Intent intent) { argument
420 final String action = intent.getAction();
436 Slog.w(TAG, "Unexpected intent " + intent);
452 public boolean onHandleForceStop(Intent intent, String[] packages, int uid, boolean doit) { argument
623 Intent intent = new Intent(Settings.ACTION_SHOW_INPUT_METHOD_PICKER);
624 mImeSwitchPendingIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
690 public void onReceive(Context context, Intent intent) {
1551 // TODO: Do not send the intent if the process of the targetImi is already dead.
1556 final Intent intent
[all...]
H A DBackupManagerService.java159 private static final String RUN_BACKUP_ACTION = "android.app.backup.intent.RUN";
160 private static final String RUN_INITIALIZE_ACTION = "android.app.backup.intent.INIT";
161 private static final String RUN_CLEAR_ACTION = "android.app.backup.intent.CLEAR";
838 Intent intent = new Intent().setComponent(transportComponent);
839 context.bindService(intent, mGoogleConnection, Context.BIND_AUTO_CREATE,
861 public void onReceive(Context context, Intent intent) { argument
862 if (RUN_BACKUP_ACTION.equals(intent.getAction())) {
872 Slog.e(TAG, "Run init intent cancelled");
902 public void onReceive(Context context, Intent intent) { argument
903 if (RUN_INITIALIZE_ACTION.equals(intent
[all...]
/frameworks/base/core/java/android/provider/
H A DSettings.java667 * Example: The {@link #ACTION_ADD_ACCOUNT} intent restricts the account types available based
4342 * intent is fired to indicate a transition of network status from "active" to "idle". Any
4344 * ACTION_DATA_ACTIVITY_CHANGE} intent indicating transition from "idle" to "active".
5668 public static final String INTENT = "intent";
5698 Intent intent = null;
5705 while (intent == null && c.moveToNext()) {
5708 intent = Intent.parseUri(intentURI, 0);
5720 return intent;
5727 * @param intent The desired target of the bookmark.
5729 * or it should be resolved to the intent'
5737 add(ContentResolver cr, Intent intent, String title, String folder, char shortcut, int ordering) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAbsListView.java5856 * through the specified intent.
5857 * @param intent the intent used to identify the RemoteViewsService for the adapter to connect to.
5859 public void setRemoteViewsAdapter(Intent intent) { argument
5861 // service handling the specified intent.
5863 Intent.FilterComparison fcNew = new Intent.FilterComparison(intent);
5872 mRemoteAdapter = new RemoteViewsAdapter(getContext(), intent, this);
5887 // service handling the specified intent.
/frameworks/base/media/java/android/media/
H A DAudioService.java331 // Broadcast receiver for device connections intent broadcasts
498 // Register for device connection intent broadcasts.
522 // Register for package removal intent broadcasts for media button receiver persistence
738 // Broadcast the sticky intent
1045 private void sendBroadcastToAll(Intent intent) { argument
1048 mContext.sendBroadcastAsUser(intent, UserHandle.ALL);
1054 private void sendStickyBroadcastToAll(Intent intent) { argument
1057 mContext.sendStickyBroadcastAsUser(intent, UserHandle.ALL);
1074 Intent intent = new Intent(AudioManager.VOLUME_CHANGED_ACTION);
1075 intent
3737 onReceive(Context context, Intent intent) argument
4546 onSendFinished(PendingIntent pendingIntent, Intent intent, int resultCode, String resultData, Bundle resultExtras) argument
[all...]
/frameworks/base/services/java/com/android/server/am/
H A DActivityManagerService.java296 BroadcastQueue broadcastQueueForIntent(Intent intent) { argument
297 final boolean isFg = (intent.getFlags() & Intent.FLAG_RECEIVER_FOREGROUND) != 0;
299 Slog.i(TAG, "Broadcast intent " + intent + " on "
963 Intent intent = new Intent("android.intent.action.ANR");
965 intent.addFlags(Intent.FLAG_RECEIVER_REGISTERED_ONLY
968 broadcastIntentLocked(null, null, intent,
1189 PendingIntent.getActivityAsUser(mContext, 0, root.intent,
2222 Intent intent
2250 resolveActivityInfo(Intent intent, int flags, int userId) argument
2456 startActivity(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options) argument
2464 startActivityAsUser(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument
2476 startActivityAndWait(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument
2490 startActivityWithConfig(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration config, Bundle options, int userId) argument
2503 startActivityIntentSender(IApplicationThread caller, IntentSender intent, Intent fillInIntent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) argument
2534 startNextMatchingActivity(IBinder callingActivity, Intent intent, Bundle options) argument
2630 startActivityInPackage(int uid, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Bundle options, int userId) argument
5264 checkGrantUriPermissionFromIntentLocked(int callingUid, String targetPkg, Intent intent, int mode, NeededUriGrants needed) argument
5336 grantUriPermissionFromIntentLocked(int callingUid, String targetPkg, Intent intent, UriPermissionOwner owner) argument
11080 publishService(IBinder token, Intent intent, IBinder service) argument
11094 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument
11496 collectReceiverComponents(Intent intent, String resolvedType, int[] users) argument
11567 broadcastIntentLocked(ProcessRecord callerApp, String callerPackage, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean ordered, boolean sticky, int callingPid, int callingUid, int userId) argument
11926 verifyBroadcastLocked(Intent intent) argument
11955 broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean serialized, boolean sticky, int userId) argument
11977 broadcastIntentInPackage(String packageName, int uid, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean serialized, boolean sticky, int userId) argument
11993 unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) argument
[all...]
/frameworks/base/services/java/com/android/server/pm/
H A DPackageManagerService.java1893 // Callback via pending intent
1898 Slog.i(TAG, "Failed to send pending intent");
2426 public ResolveInfo resolveIntent(Intent intent, String resolvedType, argument
2429 enforceCrossUserPermission(Binder.getCallingUid(), userId, false, "resolve intent");
2430 List<ResolveInfo> query = queryIntentActivities(intent, resolvedType, flags, userId);
2431 return chooseBestActivity(intent, resolvedType, flags, query, userId);
2434 private ResolveInfo chooseBestActivity(Intent intent, String resolvedType, argument
2458 ResolveInfo ri = findPreferredActivity(intent, resolvedType,
2478 ResolveInfo findPreferredActivity(Intent intent, String resolvedType, argument
2483 if (intent
2577 queryIntentActivities(Intent intent, String resolvedType, int flags, int userId) argument
2616 queryIntentActivityOptions(ComponentName caller, Intent[] specifics, String[] specificTypes, Intent intent, String resolvedType, int flags, int userId) argument
2789 queryIntentReceivers(Intent intent, String resolvedType, int flags, int userId) argument
2826 resolveService(Intent intent, String resolvedType, int flags, int userId) argument
2840 queryIntentServices(Intent intent, String resolvedType, int flags, int userId) argument
4932 queryIntent(Intent intent, String resolvedType, boolean defaultOnly, int userId) argument
4939 queryIntent(Intent intent, String resolvedType, int flags, int userId) argument
4947 queryIntentForPackage(Intent intent, String resolvedType, int flags, ArrayList<PackageParser.Activity> packageActivities, int userId) argument
5135 queryIntent(Intent intent, String resolvedType, boolean defaultOnly, int userId) argument
5141 queryIntent(Intent intent, String resolvedType, int flags, int userId) argument
5149 queryIntentForPackage(Intent intent, String resolvedType, int flags, ArrayList<PackageParser.Service> packageServices, int userId) argument
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebViewClassic.java1466 public void onReceive(Context context, Intent intent) { argument
1467 if (intent.getAction().equals(KeyChain.ACTION_STORAGE_CHANGED)) {
1501 public void onReceive(Context context, Intent intent) { argument
1502 if (intent.getAction().equals(Proxy.PROXY_CHANGE_ACTION)) {
1503 handleProxyBroadcast(intent);
1541 private static void handleProxyBroadcast(Intent intent) { argument
1542 ProxyProperties proxyProperties = (ProxyProperties)intent.getExtra(Proxy.EXTRA_PROXY_INFO);
1569 public void onReceive(Context context, Intent intent) { argument
1570 final String action = intent.getAction();
1571 final String packageName = intent
[all...]

Completed in 1745 milliseconds

12345678910