/development/samples/browseable/SynchronizedNotifications/Wearable/src/com.example.android.wearable.synchronizednotifications/ |
NotificationUpdateService.java | 23 import android.app.PendingIntent; 82 * Dismisses the phone notification, via a {@link android.app.PendingIntent} that is triggered 129 PendingIntent pendingIntent = PendingIntent 130 .getService(this, 0, dismissIntent, PendingIntent.FLAG_UPDATE_CURRENT); 131 builder.setDeleteIntent(pendingIntent);
|
/frameworks/base/core/java/com/android/internal/net/ |
VpnConfig.java | 19 import android.app.PendingIntent; 64 public static PendingIntent getIntentForStatusPanel(Context context) { 69 return PendingIntent.getActivityAsUser(context, 0, intent, 0, null, UserHandle.CURRENT); 97 public PendingIntent configureIntent;
|
/frameworks/base/media/lib/remotedisplay/java/com/android/media/remotedisplay/ |
RemoteDisplayProvider.java | 19 import android.app.PendingIntent; 108 private PendingIntent mSettingsPendingIntent; 288 public PendingIntent getSettingsPendingIntent() { 294 mSettingsPendingIntent = PendingIntent.getActivity(
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardUpdateMonitorCallback.java | 18 import android.app.PendingIntent;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
IntentTile.java | 19 import android.app.PendingIntent; 40 private PendingIntent mOnClick; 42 private PendingIntent mOnLongClick; 93 private void sendIntent(String type, PendingIntent pi, String uri) {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/ |
UsbPermissionActivity.java | 20 import android.app.PendingIntent; 55 private PendingIntent mPendingIntent; 68 mPendingIntent = (PendingIntent)intent.getParcelableExtra(Intent.EXTRA_INTENT); 147 } catch (PendingIntent.CanceledException e) { 148 Log.w(TAG, "PendingIntent was cancelled");
|
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/ |
SourceActivity.java | 23 import android.app.PendingIntent; 146 PendingIntent pendingIntent = PendingIntent.getBroadcast( 147 this, 0, intent, PendingIntent.FLAG_ONE_SHOT); 148 mUsbManager.requestPermission(accessory, pendingIntent);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
ApnContext.java | 19 import android.app.PendingIntent; 68 PendingIntent mReconnectAlarmIntent; 121 public synchronized PendingIntent getReconnectIntent() { 125 public synchronized void setReconnectIntent(PendingIntent intent) {
|
/packages/services/Mms/src/com/android/mms/service/ |
MmsRequest.java | 20 import android.app.PendingIntent; 211 // Return MMS HTTP request result via PendingIntent 212 final PendingIntent pendingIntent = getPendingIntent(); 213 if (pendingIntent != null) { 230 pendingIntent.send(context, result, fillIn); 231 } catch (PendingIntent.CanceledException e) { 283 * @return The PendingIntent associate with the MMS sending invocation 285 protected abstract PendingIntent getPendingIntent();
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/widget/ |
WidgetCtsProvider.java | 21 import android.app.PendingIntent; 281 final PendingIntent passPendingIntent = PendingIntent.getBroadcast(context, 0, pass, 282 PendingIntent.FLAG_UPDATE_CURRENT); 288 final PendingIntent failPendingIntent = PendingIntent.getBroadcast(context, 0, fail, 289 PendingIntent.FLAG_UPDATE_CURRENT);
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SMSDispatcher.java | 20 import android.app.PendingIntent; 21 import android.app.PendingIntent.CanceledException; 616 PendingIntent sentIntent = tracker.mSentIntent; 690 * @param sentIntent the PendingIntent to send the error to 692 protected static void handleNotInService(int ss, PendingIntent sentIntent) { 723 * @param sentIntent if not NULL this <code>PendingIntent</code> is 737 * @param deliveryIntent if not NULL this <code>PendingIntent</code> is 742 byte[] data, PendingIntent sentIntent, PendingIntent deliveryIntent); 750 * @param sentIntent if not NULL this <code>PendingIntent</code> i [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/stopwatch/ |
StopwatchService.java | 6 import android.app.PendingIntent; 153 PendingIntent pendingIntent = PendingIntent.getActivity(context, 0, intent, 154 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT); 159 remoteViewsCollapsed.setOnClickPendingIntent(R.id.swn_collapsed_hitspace, pendingIntent); 166 remoteViewsExpanded.setOnClickPendingIntent(R.id.swn_expanded_hitspace, pendingIntent); 179 PendingIntent.getService(context, 0, leftButtonIntent, 0)); 190 PendingIntent.getService(context, 0, rightButtonIntent, 0)) [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
LockdownVpnTracker.java | 23 import android.app.PendingIntent; 78 private final PendingIntent mConfigIntent; 79 private final PendingIntent mResetIntent; 101 mConfigIntent = PendingIntent.getActivity(mContext, 0, configIntent, 0); 105 mResetIntent = PendingIntent.getBroadcast(mContext, 0, resetIntent, 0);
|
/frameworks/opt/net/voip/src/java/com/android/server/sip/ |
SipWakeupTimer.java | 20 import android.app.PendingIntent; 48 private PendingIntent mPendingIntent; 211 throw new RuntimeException("pendingIntent is not null!"); 217 PendingIntent pendingIntent = mPendingIntent = 218 PendingIntent.getBroadcast(mContext, 0, intent, 219 PendingIntent.FLAG_UPDATE_CURRENT); 221 event.mTriggerTime, pendingIntent);
|
/frameworks/support/v4/api21/android/support/v4/app/ |
NotificationCompatApi21.java | 20 import android.app.PendingIntent; 62 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, 184 PendingIntent onRead = b.getParcelable(KEY_ON_READ); 185 PendingIntent onReply = b.getParcelable(KEY_ON_REPLY);
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
AlertUtils.java | 20 import android.app.PendingIntent; 90 public void set(int type, long triggerAtMillis, PendingIntent operation) { 133 // Set data field so we get a unique PendingIntent instance per alarm or else alarms 141 PendingIntent pi = PendingIntent.getBroadcast(context, 0, intent, 142 PendingIntent.FLAG_UPDATE_CURRENT);
|
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/ |
CellBroadcastAlertService.java | 22 import android.app.PendingIntent; 376 PendingIntent pi = PendingIntent.getActivity(this, NOTIFICATION_ID, intent, 377 PendingIntent.FLAG_ONE_SHOT | PendingIntent.FLAG_UPDATE_CURRENT);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
NotificationImportExportListener.java | 22 import android.app.PendingIntent; 203 // Note: We cannot use extra values here (like setIntExtra()), as PendingIntent doesn't 204 // preserve them across multiple Notifications. PendingIntent preserves the first extras 205 // (when flag is not set), or update them when PendingIntent#getActivity() is called 206 // (See PendingIntent#FLAG_UPDATE_CURRENT). In either case, we cannot preserve extras as we 229 .setContentIntent(PendingIntent.getActivity(context, 0, intent, 0)); 252 .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(), 0)) 271 .setContentIntent(PendingIntent.getActivity(context, 0, 290 .setContentIntent(PendingIntent.getActivity(context, 0, new Intent(), 0))
|
/packages/apps/Dialer/src/com/android/dialer/calllog/ |
DefaultVoicemailNotifier.java | 21 import android.app.PendingIntent; 186 PendingIntent.getActivity(mContext, 0, playIntent, 0)); 193 PendingIntent.getActivity(mContext, 0, contentIntent, 0)); 205 private PendingIntent createMarkNewVoicemailsAsOldIntent() { 208 return PendingIntent.getService(mContext, 0, intent, 0);
|
/packages/apps/Settings/src/com/android/settings/ |
TetherService.java | 21 import android.app.PendingIntent; 235 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); 243 pendingIntent); 263 PendingIntent pendingIntent = PendingIntent.getService(this, 0, intent, 0); 265 alarmManager.cancel(pendingIntent);
|
/packages/experimental/NotificationShowcase/src/com/android/example/notificationshowcase/ |
NotificationService.java | 22 import android.app.PendingIntent; 71 private static PendingIntent makeEmailIntent(Context context, String who) { 74 return PendingIntent.getActivity( 76 PendingIntent.FLAG_CANCEL_CURRENT); 167 final PendingIntent fullscreenIntent = FullScreenActivity.getPendingIntent(this, phoneId);
|
/packages/services/Telephony/src/com/android/phone/ |
NotificationMgr.java | 21 import android.app.PendingIntent; 378 PendingIntent pendingIntent = 379 PendingIntent.getActivity(mContext, subId /* requestCode */, intent, 0); 392 .setContentIntent(pendingIntent) 469 PendingIntent contentIntent = 470 PendingIntent.getActivity(mContext, subId /* requestCode */, intent, 0); 504 PendingIntent contentIntent = PendingIntent.getActivity(mContext, 0, intent, 0); 559 PendingIntent contentIntent = PendingIntent.getActivity(mContext, 0, intent, 0) [all...] |
/frameworks/base/location/java/android/location/ |
LocationManager.java | 22 import android.app.PendingIntent; 128 * when a status change is broadcast using a PendingIntent. 134 * when a provider enabled/disabled event is broadcast using a PendingIntent. 140 * when a location change is broadcast using a PendingIntent. 436 * <p>See {@link #requestLocationUpdates(long, float, Criteria, PendingIntent)} 466 * <p>See {@link #requestLocationUpdates(long, float, Criteria, PendingIntent)} 497 * <p>See {@link #requestLocationUpdates(long, float, Criteria, PendingIntent)} 529 * <p>See {@link #requestLocationUpdates(long, float, Criteria, PendingIntent)} 535 * @param intent a {@link PendingIntent} to be sent for each location update 543 PendingIntent intent) [all...] |
/frameworks/support/v4/jellybean/android/support/v4/app/ |
NotificationCompatJellybean.java | 20 import android.app.PendingIntent; 73 PendingIntent contentIntent, PendingIntent fullScreenIntent, Bitmap largeIcon, 246 CharSequence title, PendingIntent actionIntent, Bundle extras) { 292 (PendingIntent) sActionIntentField.get(actionObject), 361 bundle.<PendingIntent>getParcelable(KEY_ACTION_INTENT),
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
DownloadNotifier.java | 28 import android.app.PendingIntent; 55 * {@link PendingIntent} that launch towards {@link DownloadReceiver}. 173 builder.setContentIntent(PendingIntent.getBroadcast(mContext, 174 0, intent, PendingIntent.FLAG_UPDATE_CURRENT)); 197 builder.setContentIntent(PendingIntent.getBroadcast(mContext, 198 0, intent, PendingIntent.FLAG_UPDATE_CURRENT)); 202 builder.setDeleteIntent(PendingIntent.getBroadcast(mContext, 0, hideIntent, 0));
|