/frameworks/base/core/java/android/app/ |
H A D | Instrumentation.java | 359 * @param intent Description of the activity to start. 363 public Activity startActivitySync(Intent intent) { argument 367 intent = new Intent(intent); 369 ActivityInfo ai = intent.resolveActivityInfo( 372 throw new RuntimeException("Unable to resolve activity for: " + intent); 376 // todo: if this intent is ambiguous, look here to see if 380 + ai.processName + ": " + intent); 383 intent.setComponent(new ComponentName( 385 final ActivityWaiter aw = new ActivityWaiter(intent); 557 match(Context who, Activity activity, Intent intent) argument 1024 newActivity(Class<?> clazz, Context context, IBinder token, Application application, Intent intent, ActivityInfo info, CharSequence title, Activity parent, String id, Object lastNonConfigurationInstance) argument 1050 newActivity(ClassLoader cl, String className, Intent intent) argument 1153 callActivityOnNewIntent(Activity activity, Intent intent) argument 1390 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options) argument 1505 execStartActivity( Context who, IBinder contextThread, IBinder token, Fragment target, Intent intent, int requestCode, Bundle options) argument 1565 execStartActivity( Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user) argument 1609 checkStartActivityResult(int res, Object intent) argument 1699 public final Intent intent; field in class:Instrumentation.ActivityWaiter [all...] |
H A D | Notification.java | 150 * The intent to execute when the expanded status entry is clicked. If 163 * The intent to execute when the notification is explicitly dismissed by the user, either with 172 * An intent to launch instead of posting the notification to the status bar. 791 * @param contentIntent The intent to launch when the user clicks the expanded notification. 1153 public Builder setContentIntent(PendingIntent intent) { argument 1154 mContentIntent = intent; 1163 public Builder setDeleteIntent(PendingIntent intent) { argument 1164 mDeleteIntent = intent; 1169 * An intent to launch instead of posting the notification to the status bar. 1177 * @param intent Th 1183 setFullScreenIntent(PendingIntent intent, boolean highPriority) argument 1389 addAction(int icon, CharSequence title, PendingIntent intent) argument [all...] |
H A D | ActivityManagerNative.java | 92 static public void broadcastStickyIntent(Intent intent, String permission, int userId) { argument 95 null, intent, null, null, Activity.RESULT_OK, null, null, 120 Intent intent = Intent.CREATOR.createFromParcel(data); 131 int result = startActivity(app, intent, resolvedType, 144 Intent intent = Intent.CREATOR.createFromParcel(data); 156 int result = startActivityAsUser(app, intent, resolvedType, 169 Intent intent = Intent.CREATOR.createFromParcel(data); 181 WaitResult result = startActivityAndWait(app, intent, resolvedType, 194 Intent intent = Intent.CREATOR.createFromParcel(data); 204 int result = startActivityWithConfig(app, intent, resolvedTyp 1842 startActivity(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options) argument 1877 startActivityAsUser(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 1912 startActivityAndWait(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, Bundle options, int userId) argument 1947 startActivityWithConfig(IApplicationThread caller, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, Configuration config, Bundle options, int userId) argument 1976 startActivityIntentSender(IApplicationThread caller, IntentSender intent, Intent fillInIntent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int flagsMask, int flagsValues, Bundle options) argument 2010 startNextMatchingActivity(IBinder callingActivity, Intent intent, Bundle options) argument 2122 broadcastIntent(IApplicationThread caller, Intent intent, String resolvedType, IIntentReceiver resultTo, int resultCode, String resultData, Bundle map, String requiredPermission, boolean serialized, boolean sticky, int userId) argument 2149 unbroadcastIntent(IApplicationThread caller, Intent intent, int userId) argument 2740 publishService(IBinder token, Intent intent, IBinder service) argument 2754 unbindFinished(IBinder token, Intent intent, boolean doRebind) argument [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 902 * @param intent The description of the activity to start. 909 public abstract void startActivity(Intent intent); argument 916 * @param intent The description of the activity to start. 921 public void startActivityAsUser(Intent intent, UserHandle user) { argument 939 * @param intent The description of the activity to start. 950 public abstract void startActivity(Intent intent, Bundle options); argument 957 * @param intent The description of the activity to start. 966 public void startActivityAsUser(Intent intent, Bundle options, UserHandle userId) { argument 1043 * @param intent The IntentSender to launch. 1045 * intent paramete 1055 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags) argument 1084 startIntentSender(IntentSender intent, Intent fillInIntent, int flagsMask, int flagsValues, int extraFlags, Bundle options) argument 1108 sendBroadcast(Intent intent) argument 1134 sendBroadcast(Intent intent, String receiverPermission) argument 1157 sendOrderedBroadcast(Intent intent, String receiverPermission) argument 1202 sendOrderedBroadcast(Intent intent, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 1216 sendBroadcastAsUser(Intent intent, UserHandle user) argument 1233 sendBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission) argument 1266 sendOrderedBroadcastAsUser(Intent intent, UserHandle user, String receiverPermission, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 1289 sendStickyBroadcast(Intent intent) argument 1331 sendStickyOrderedBroadcast(Intent intent, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 1348 removeStickyBroadcast(Intent intent) argument 1363 sendStickyBroadcastAsUser(Intent intent, UserHandle user) argument 1392 sendStickyOrderedBroadcastAsUser(Intent intent, UserHandle user, BroadcastReceiver resultReceiver, Handler scheduler, int initialCode, String initialData, Bundle initialExtras) argument 1412 removeStickyBroadcastAsUser(Intent intent, UserHandle user) argument [all...] |
H A D | SyncManager.java | 175 public void onReceive(Context context, Intent intent) { 176 String action = intent.getAction(); 195 public void onReceive(Context context, Intent intent) { 201 public void onReceive(Context context, Intent intent) { 211 public void onReceive(Context context, Intent intent) { 278 public void onReceive(Context context, Intent intent) { 281 // don't use the intent to figure out if network is connected, just check 303 public void onReceive(Context context, Intent intent) { 311 public void onReceive(Context context, Intent intent) { 312 String action = intent 714 onReceive(Context context, Intent intent) argument 2584 isActivityAvailable(Intent intent) argument [all...] |
/frameworks/base/core/java/android/preference/ |
H A D | Preference.java | 331 * @param intent The intent associated with this Preference. 333 public void setIntent(Intent intent) { argument 334 mIntent = intent;
|
/frameworks/base/core/java/android/widget/ |
H A D | ListView.java | 417 * through the specified intent. 418 * @param intent the intent used to identify the RemoteViewsService for the adapter to connect to. 421 public void setRemoteViewsAdapter(Intent intent) { argument 422 super.setRemoteViewsAdapter(intent);
|
H A D | RemoteViews.java | 68 * The intent extra that contains the appWidgetId. 176 android.util.Log.e(LOG_TAG, "Cannot send pending intent: ", e); 179 android.util.Log.e(LOG_TAG, "Cannot send pending intent due to " + 366 // Insure that a template pending intent has been set on an ancestor 466 final Intent intent = new Intent(); 467 intent.setSourceBounds(rect); 491 public SetRemoteViewsAdapterIntent(int id, Intent intent) { argument 493 this.intent = intent; 498 intent 544 Intent intent; field in class:RemoteViews.SetRemoteViewsAdapterIntent 1992 setRemoteAdapter(int appWidgetId, int viewId, Intent intent) argument 2004 setRemoteAdapter(int viewId, Intent intent) argument [all...] |
H A D | SearchView.java | 183 * let the SearchView handle the submission by launching any associated intent. 234 * behavior of launching any intent or submitting a search query specified on that item. 312 // Save voice intent for later queries/launching 1388 * Launches an intent based on a suggestion. 1390 * @param position The index of the suggestion to create the intent from. 1401 Intent intent = createIntentFromSuggestion(c, actionKey, actionMsg); 1403 // launch the intent 1404 launchIntent(intent); 1412 * Launches an intent, including any special intent handlin 1414 launchIntent(Intent intent) argument [all...] |
/frameworks/base/services/java/com/android/server/ |
H A D | LocationManagerService.java | 244 public void onReceive(Context context, Intent intent) { 245 String action = intent.getAction(); 247 switchUser(intent.getIntExtra(Intent.EXTRA_USER_HANDLE, 0)); 433 Receiver(ILocationListener listener, PendingIntent intent, int pid, int uid, argument 436 mPendingIntent = intent; 440 mKey = intent; 469 s.append(" intent"); 616 public void onSendFinished(PendingIntent pendingIntent, Intent intent, argument 1097 private Receiver getReceiver(PendingIntent intent, int pid, int uid, String packageName) { argument 1098 Receiver receiver = mReceivers.get(intent); 1158 checkPendingIntent(PendingIntent intent) argument 1164 checkListenerOrIntent(ILocationListener listener, PendingIntent intent, int pid, int uid, String packageName) argument 1179 requestLocationUpdates(LocationRequest request, ILocationListener listener, PendingIntent intent, String packageName) argument 1236 removeUpdates(ILocationListener listener, PendingIntent intent, String packageName) argument 1339 requestGeofence(LocationRequest request, Geofence geofence, PendingIntent intent, String packageName) argument 1368 removeGeofence(Geofence geofence, PendingIntent intent, String packageName) argument [all...] |
H A D | ConnectivityService.java | 1698 Intent intent = new Intent(ConnectivityManager.CONNECTIVITY_ACTION); 1699 intent.putExtra(ConnectivityManager.EXTRA_NETWORK_INFO, new NetworkInfo(info)); 1700 intent.putExtra(ConnectivityManager.EXTRA_NETWORK_TYPE, info.getType()); 1702 intent.putExtra(ConnectivityManager.EXTRA_IS_FAILOVER, true); 1706 intent.putExtra(ConnectivityManager.EXTRA_REASON, info.getReason()); 1709 intent.putExtra(ConnectivityManager.EXTRA_EXTRA_INFO, 1717 intent.putExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO, switchTo); 1720 intent.putExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, true); 1723 intent.putExtra(ConnectivityManager.EXTRA_INET_CONDITION, mDefaultInetConditionPublished); 1749 final Intent immediateIntent = new Intent(intent); 1929 sendStickyBroadcast(Intent intent) argument 1948 sendStickyBroadcastDelayed(Intent intent, int delayMs) argument [all...] |
/frameworks/base/services/java/com/android/server/accessibility/ |
H A D | ScreenMagnifier.java | 873 public void onReceive(Context context, Intent intent) { argument 875 intent.getAction()).sendToTarget();
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | ActivityStack.java | 227 * of launching an activity. This is primarily to allow alarm intent 502 private ActivityRecord findTaskLocked(Intent intent, ActivityInfo info) { argument 503 ComponentName cls = intent.getComponent(); 517 //Slog.i(TAG, "Comparing existing cls=" + r.task.intent.getComponent().flattenToShortString() 519 // + intent.getComponent().flattenToShortString() + "/aff=" + taskAffinity); 525 } else if (r.task.intent != null 526 && r.task.intent.getComponent().equals(cls)) { 529 //Slog.i(TAG, "For Intent " + intent + " bringing to top: " + r.intent); 535 //Slog.i(TAG, "For Intent " + intent 549 findActivityLocked(Intent intent, ActivityInfo info) argument 2455 startActivityLocked(IApplicationThread caller, Intent intent, String resolvedType, ActivityInfo aInfo, IBinder resultTo, String resultWho, int requestCode, int callingPid, int callingUid, int startFlags, Bundle options, boolean componentSpecified, ActivityRecord[] outActivity) argument 3022 resolveActivity(Intent intent, String resolvedType, int startFlags, String profileFile, ParcelFileDescriptor profileFd, int userId) argument 3069 startActivityMayWait(IApplicationThread caller, int callingUid, Intent intent, String resolvedType, IBinder resultTo, String resultWho, int requestCode, int startFlags, String profileFile, ParcelFileDescriptor profileFd, WaitResult outResult, Configuration config, Bundle options, int userId) argument [all...] |
/frameworks/base/services/java/com/android/server/connectivity/ |
H A D | Tethering.java | 461 Intent intent = new Intent(); 462 intent.setClassName("com.android.settings", "com.android.settings.TetherSettings"); 463 intent.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY); 465 PendingIntent pi = PendingIntent.getActivityAsUser(mContext, 0, intent, 0, 498 public void onReceive(Context content, Intent intent) { argument 499 String action = intent.getAction(); 502 boolean usbConnected = intent.getBooleanExtra(UsbManager.USB_CONNECTED, false); 503 mRndisEnabled = intent.getBooleanExtra(UsbManager.USB_FUNCTION_RNDIS, false); 511 NetworkInfo networkInfo = (NetworkInfo)intent.getParcelableExtra(
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/ |
H A D | BridgeContext.java | 1217 public void sendBroadcastAsUser(Intent intent, UserHandle user) { argument 1222 public void sendBroadcastAsUser(Intent intent, UserHandle user, argument 1228 public void sendOrderedBroadcastAsUser(Intent intent, UserHandle user, argument 1241 public void sendStickyOrderedBroadcast(Intent intent, argument 1248 public void sendStickyBroadcastAsUser(Intent intent, UserHandle user) { argument 1253 public void sendStickyOrderedBroadcastAsUser(Intent intent, argument 1261 public void removeStickyBroadcastAsUser(Intent intent, UserHandle user) { argument 1294 public void startIntentSender(IntentSender intent, argument 1301 public void startIntentSender(IntentSender intent, argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
H A D | DataConnectionTracker.java | 194 // The current data stall alarm intent 201 // wifi connection status will be updated by sticky intent 257 public void onReceive(Context context, Intent intent) 259 String action = intent.getAction(); 273 onActionIntentReconnectAlarm(intent); 275 onActionIntentDataStallAlarm(intent); 278 intent.getParcelableExtra(WifiManager.EXTRA_NETWORK_INFO); 281 final boolean enabled = intent.getIntExtra(WifiManager.EXTRA_WIFI_STATE, 290 mFailDataSetupCounter = intent.getIntExtra(FAIL_DATA_SETUP_COUNTER, 1); 292 intent 403 onActionIntentReconnectAlarm(Intent intent) argument 415 onActionIntentDataStallAlarm(Intent intent) argument [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | Fragment.java | 834 public void startActivity(Intent intent) { argument 838 mActivity.startActivityFromFragment(this, intent, -1); 845 public void startActivityForResult(Intent intent, int requestCode) { argument 849 mActivity.startActivityFromFragment(this, intent, requestCode);
|
/frameworks/base/media/java/android/media/ |
H A D | MediaRouter.java | 2063 public void onReceive(Context context, Intent intent) { argument 2064 if (intent.getAction().equals(AudioManager.VOLUME_CHANGED_ACTION)) { 2065 final int streamType = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_TYPE, 2071 final int newVolume = intent.getIntExtra(AudioManager.EXTRA_VOLUME_STREAM_VALUE, 0); 2072 final int oldVolume = intent.getIntExtra( 2083 public void onReceive(Context context, Intent intent) { argument 2084 if (intent.getAction().equals(DisplayManager.ACTION_WIFI_DISPLAY_STATUS_CHANGED)) { 2085 updateWifiDisplayStatus((WifiDisplayStatus) intent.getParcelableExtra(
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
H A D | NetworkController.java | 379 public void onReceive(Context context, Intent intent) { argument 380 final String action = intent.getAction(); 384 updateWifiState(intent); 387 updateSimState(intent); 391 updateNetworkName(intent.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_SPN, false), 392 intent.getStringExtra(TelephonyIntents.EXTRA_SPN), 393 intent.getBooleanExtra(TelephonyIntents.EXTRA_SHOW_PLMN, false), 394 intent.getStringExtra(TelephonyIntents.EXTRA_PLMN)); 398 updateConnectivity(intent); 408 updateWimaxState(intent); 476 updateSimState(Intent intent) argument 835 updateWifiState(Intent intent) argument 905 updateWimaxState(Intent intent) argument 949 updateConnectivity(Intent intent) argument [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | PackageManager.java | 67 * intent receivers in the package in 94 * intent filters supported by the activity. 1248 * Return a "good" intent to launch a front-door activity in a package, 1789 * @param intent An intent containing all of the desired specification 1795 * @return Returns a ResolveInfo containing the final activity intent that 1805 public abstract ResolveInfo resolveActivity(Intent intent, int flags); argument 1819 * @param intent An intent containing all of the desired specification 1826 * @return Returns a ResolveInfo containing the final activity intent tha 1838 resolveActivityAsUser(Intent intent, int flags, int userId) argument 1858 queryIntentActivities(Intent intent, int flags) argument 1880 queryIntentActivitiesAsUser(Intent intent, int flags, int userId) argument 1913 queryIntentActivityOptions( ComponentName caller, Intent[] specifics, Intent intent, int flags) argument 1930 queryBroadcastReceivers(Intent intent, int flags) argument 1950 queryBroadcastReceivers(Intent intent, int flags, int userId) argument 1967 resolveService(Intent intent, int flags) argument 1984 queryIntentServices(Intent intent, int flags) argument 2005 queryIntentServicesAsUser(Intent intent, int flags, int userId) argument 2131 getActivityIcon(Intent intent) argument 2211 getActivityLogo(Intent intent) argument [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 143 Intent intent; field in class:PackageManagerTests.GenericReceiver 147 abstract boolean notifyNow(Intent intent); argument 150 public void onReceive(Context context, Intent intent) { argument 151 if (notifyNow(intent)) { 155 this.intent = intent; 180 public boolean notifyNow(Intent intent) { argument 181 String action = intent.getAction(); 185 Uri data = intent.getData(); 802 public boolean notifyNow(Intent intent) { argument 961 notifyNow(Intent intent) argument 1094 notifyNow(Intent intent) argument 1129 notifyNow(Intent intent) argument 1552 notifyNow(Intent intent) argument [all...] |
/frameworks/base/services/java/com/android/server/location/ |
H A D | GpsLocationProvider.java | 366 @Override public void onReceive(Context context, Intent intent) { 367 String action = intent.getAction(); 376 checkSmsSuplInit(intent); 378 checkWapSuplInit(intent); 381 if (intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false)) { 389 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO); 399 private void checkSmsSuplInit(Intent intent) { argument 400 SmsMessage[] messages = Intents.getMessagesFromIntent(intent); 407 private void checkWapSuplInit(Intent intent) { argument 408 byte[] supl_init = (byte[]) intent [all...] |
/frameworks/base/services/java/com/android/server/power/ |
H A D | PowerManagerService.java | 2280 public void onReceive(Context context, Intent intent) { argument 2289 public void onReceive(Context context, Intent intent) { argument 2302 public void onReceive(Context context, Intent intent) { argument 2311 public void onReceive(Context context, Intent intent) { argument 2320 public void onReceive(Context context, Intent intent) { argument 2322 int dockState = intent.getIntExtra(Intent.EXTRA_DOCK_STATE,
|
/frameworks/opt/telephony/src/java/android/provider/ |
H A D | Telephony.java | 526 * by the device. The intent will have the following extra 538 * this intent it should set the result code appropriately.</p> 546 * by the device. The intent will have the following extra 558 * this intent it should set the result code appropriately.</p> 562 "android.intent.action.DATA_SMS_RECEIVED"; 566 * device. The intent will have the following extra 580 * this intent it should set the result code appropriately.</p> 595 * by the device. The intent will have the following extra 607 * this intent it should set the result code appropriately.</p> 615 * by the device. The intent wil 686 getMessagesFromIntent( Intent intent) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | PhoneStatusBar.java | 907 // Stop screensaver if the notification has a full-screen intent. 2214 public void startActivityDismissingKeyguard(Intent intent, boolean onlyProvisioned) { argument 2221 intent.setFlags(Intent.FLAG_ACTIVITY_NEW_TASK | Intent.FLAG_ACTIVITY_CLEAR_TOP); 2222 mContext.startActivityAsUser(intent, new UserHandle(UserHandle.USER_CURRENT)); 2251 public void onReceive(Context context, Intent intent) { 2252 if (DEBUG) Slog.v(TAG, "onReceive: " + intent); 2253 String action = intent.getAction(); 2257 String reason = intent.getStringExtra("reason");
|