Searched defs:intent (Results 1 - 25 of 237) sorted by last modified time

12345678910

/frameworks/support/v4/ics/android/support/v4/app/
H A DShareCompatICS.java28 public static void configureMenuItem(MenuItem item, Activity callingActivity, Intent intent) { argument
38 provider.setShareIntent(intent);
/frameworks/support/v4/java/android/support/v4/app/
H A DFragment.java834 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);
H A DFragmentActivity.java415 protected void onNewIntent(Intent intent) { argument
416 super.onNewIntent(intent);
813 public void startActivityForResult(Intent intent, int requestCode) { argument
817 super.startActivityForResult(intent, requestCode);
823 public void startActivityFromFragment(Fragment fragment, Intent intent, argument
826 super.startActivityForResult(intent, -1);
832 super.startActivityForResult(intent, ((fragment.mIndex+1)<<16) + (requestCode&0xffff));
H A DNotificationCompat.java326 * If you do not supply an intent, you can now add PendingIntents to individual
332 public Builder setContentIntent(PendingIntent intent) { argument
333 mContentIntent = intent;
339 * directly from the notification panel. For example, this intent is sent when the user
341 * intent is not sent when the application calls {@link NotificationManager#cancel
344 public Builder setDeleteIntent(PendingIntent intent) { argument
345 mNotification.deleteIntent = intent;
350 * An intent to launch instead of posting the notification to the status bar.
358 * @param intent The pending intent t
362 setFullScreenIntent(PendingIntent intent, boolean highPriority) argument
529 addAction(int icon, CharSequence title, PendingIntent intent) argument
[all...]
/frameworks/support/v4/java/android/support/v4/content/
H A DLocalBroadcastManager.java70 final Intent intent; field in class:LocalBroadcastManager.BroadcastRecord
74 intent = _intent;
191 * Broadcast the given intent to all interested BroadcastReceivers. This
195 * @param intent The Intent to broadcast; all receivers matching this
200 public boolean sendBroadcast(Intent intent) { argument
202 final String action = intent.getAction();
203 final String type = intent.resolveTypeIfNeeded(
205 final Uri data = intent.getData();
206 final String scheme = intent.getScheme();
207 final Set<String> categories = intent
276 sendBroadcastSync(Intent intent) argument
[all...]
/frameworks/support/v4/java/android/support/v4/net/
H A DConnectivityManagerCompat.java113 public static NetworkInfo getNetworkInfoFromBroadcast(ConnectivityManager cm, Intent intent) { argument
114 final NetworkInfo info = intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java61 public void addAction(int icon, CharSequence title, PendingIntent intent) { argument
62 b.addAction(icon, title, intent);
/frameworks/support/volley/src/com/android/volley/
H A DAuthFailureError.java29 /** An intent that can be used to resolve this exception. (Brings up the password dialog.) */
34 public AuthFailureError(Intent intent) { argument
35 mResolutionIntent = intent;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDataConnectionAc.java528 public void reqSetReconnectIntent(PendingIntent intent) { argument
529 Message response = sendMessageSynchronously(REQ_SET_RECONNECT_INTENT, intent);
534 * Set pending reconnect intent to DC synchronously.
538 public void setReconnectIntentSync(PendingIntent intent) { argument
539 Message response = sendMessageSynchronously(REQ_SET_RECONNECT_INTENT, intent);
557 * Retrieve reconnect intent from response message from DC.
559 * @param Message which contains the reconnect intent.
568 * Retrieve reconnect intent currently set in DC synchronously.
570 * @return PendingIntent reconnect intent current ly set in DC
H A DDataConnectionTracker.java194 // 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...]
H A DPhoneStateIntentReceiver.java165 public void onReceive(Context context, Intent intent) { argument
166 String action = intent.getAction();
170 mSignalStrength = SignalStrength.newFromBundle(intent.getExtras());
178 + intent.getStringExtra(PhoneConstants.STATE_KEY));
179 String phoneState = intent.getStringExtra(PhoneConstants.STATE_KEY);
189 mServiceState = ServiceState.newFromBundle(intent.getExtras());
H A DSMSDispatcher.java179 /** Wake lock to ensure device stays awake while dispatching the SMS intent. */
257 * The format of the message PDU in the associated broadcast intent.
262 * SMS_RECEIVED_ACTION broadcast intent MUST pass the "format" extra from the intent
383 * Grabs a wake lock and sends intent as an ordered broadcast.
387 * @param intent intent to broadcast
390 public void dispatch(Intent intent, String permission) { argument
394 mContext.sendOrderedBroadcast(intent, permission, mResultReceiver,
399 * Grabs a wake lock and sends intent a
406 dispatch(Intent intent, String permission, BroadcastReceiver resultReceiver) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmDataConnectionTracker.java130 protected void onActionIntentReconnectAlarm(Intent intent) { argument
131 String reason = intent.getStringExtra(INTENT_RECONNECT_ALARM_EXTRA_REASON);
132 int connectionId = intent.getIntExtra(INTENT_RECONNECT_ALARM_EXTRA_TYPE, -1);
133 int retryCount = intent.getIntExtra(INTENT_RECONNECT_ALARM_EXTRA_RETRY_COUNT, 0);
166 // Alram had expired. Clear pending intent recorded on the DataConnection.
928 PendingIntent intent = dcac.getReconnectIntentSync();
930 if (intent != null) {
933 am.cancel(intent);
1503 Intent intent = new Intent(INTENT_RECONNECT_ALARM + '.' +
1506 intent
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java93 /** The intent we were launched with */
123 public PhotoViewFragment(Intent intent, int position, PhotoPagerAdapter adapter, argument
125 mIntent = intent;
/frameworks/opt/telephony/src/java/android/provider/
H A DTelephony.java526 * 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/ex/carousel/test/src/com/android/carouseltest/
H A DTaskSwitcherActivity.java73 Intent intent; field in class:TaskSwitcherActivity.ActivityDescription
91 intent = null;
127 // prepare a launch intent and send it
128 if (item.intent != null) {
129 item.intent.addFlags(Intent.FLAG_ACTIVITY_LAUNCHED_FROM_HISTORY);
131 Log.v(TAG, "Starting intent " + item.intent);
132 startActivity(item.intent);
291 Intent intent = new Intent(recentInfo.baseIntent);
293 intent
[all...]
/frameworks/ex/common/java/com/android/common/
H A DNetworkConnectivityListener.java64 public void onReceive(Context context, Intent intent) { argument
65 String action = intent.getAction();
69 Log.w(TAG, "onReceived() called with " + mState.toString() + " and " + intent);
74 intent.getBooleanExtra(ConnectivityManager.EXTRA_NO_CONNECTIVITY, false);
83 intent.getParcelableExtra(ConnectivityManager.EXTRA_NETWORK_INFO);
85 intent.getParcelableExtra(ConnectivityManager.EXTRA_OTHER_NETWORK_INFO);
87 mReason = intent.getStringExtra(ConnectivityManager.EXTRA_REASON);
89 intent.getBooleanExtra(ConnectivityManager.EXTRA_IS_FAILOVER, false);
/frameworks/ex/photoviewer/src/com/android/ex/photo/fragments/
H A DPhotoViewFragment.java93 /** The intent we were launched with */
119 public PhotoViewFragment(Intent intent, int position, PhotoPagerAdapter adapter) { argument
120 mIntent = intent;
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
H A DBordeauxService.java111 public IBinder onBind(Intent intent) { argument
113 if (IBordeauxService.class.getName().equals(intent.getAction())) {
/frameworks/base/tests/appwidgets/AppWidgetHostTest/src/com/android/tests/appwidgethost/
H A DAppWidgetHostActivity.java84 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_PICK);
85 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, mHost.allocateAppWidgetId());
86 startActivityForResult(intent, requestCode);
90 Intent intent = new Intent(AppWidgetManager.ACTION_APPWIDGET_CONFIGURE);
91 intent.setComponent(configure);
92 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_ID, appWidgetId);
96 startActivityForResult(intent, requestCode);
99 void handleAppWidgetPickResult(int resultCode, Intent intent) { argument
101 Bundle extras = intent.getExtras();
H A DTestAppWidgetProvider.java36 public void onReceive(Context context, Intent intent) { argument
37 String action = intent.getAction();
38 Log.d(TAG, "intent=" + intent);
49 Bundle extras = intent.getExtras();
/frameworks/base/tests/appwidgets/AppWidgetProviderTest/src/com/android/tests/appwidgetprovider/
H A DTestAppWidgetProvider.java33 public void onReceive(Context context, Intent intent) { argument
34 String action = intent.getAction();
35 Log.d(TAG, "intent=" + intent);
46 Bundle extras = intent.getExtras();
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
H A DBridgeContext.java1217 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/base/voip/java/android/net/sip/
H A DSipManager.java72 * Key to retrieve the call ID from an incoming call intent.
79 * intent.
92 * Action string for the incoming call intent for the Phone app.
99 * Action string for the add-phone intent.
106 * Action string for the remove-phone intent.
193 * receives a new call, it will send out an intent with the provided action
194 * string. The intent contains a call ID extra and an offer session
202 * intent to the caller with {@link #INCOMING_CALL_RESULT_CODE} as the
203 * result code and the intent to fill in the call ID and session
374 * @param incomingCallIntent the incoming call broadcast intent
418 isIncomingCallIntent(Intent intent) argument
[all...]
/frameworks/base/voip/java/com/android/server/sip/
H A DSipService.java321 Intent intent = new Intent(SipManager.ACTION_SIP_ADD_PHONE);
322 intent.putExtra(SipManager.EXTRA_LOCAL_URI, localProfile.getUriString());
323 mContext.sendBroadcast(intent);
331 Intent intent = new Intent(SipManager.ACTION_SIP_REMOVE_PHONE);
332 intent.putExtra(SipManager.EXTRA_LOCAL_URI, localProfile.getUriString());
333 mContext.sendBroadcast(intent);
549 Intent intent = SipManager.createIncomingCallBroadcast(
555 SipManager.INCOMING_CALL_RESULT_CODE, intent);
1063 public void onReceive(Context context, Intent intent) { argument
1064 Bundle bundle = intent
[all...]

Completed in 4345 milliseconds

12345678910