HomeSort by relevance Sort by last modified time
    Searched refs:PendingIntent (Results 201 - 225 of 483) sorted by null

1 2 3 4 5 6 7 891011>>

  /frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
NotificationController.java 22 import android.app.PendingIntent;
250 private PendingIntent createContentIntent(PrintJobId printJobId) {
256 return PendingIntent.getActivity(mContext, 0, intent, 0);
259 private PendingIntent createCancelIntent(PrintJobInfo printJob) {
263 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT);
266 private PendingIntent createRestartIntent(PrintJobId printJobId) {
270 return PendingIntent.getBroadcast(mContext, 0, intent, PendingIntent.FLAG_ONE_SHOT);
  /developers/build/prebuilts/gradle/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
MainActivity.java 32 import android.app.PendingIntent;
65 // Stores the PendingIntent used to request geofence monitoring.
66 private PendingIntent mGeofenceRequestIntent;
155 // Get the PendingIntent for the geofence monitoring request.
190 * Create a PendingIntent that triggers GeofenceTransitionIntentService when a geofence
193 private PendingIntent getGeofenceTransitionPendingIntent() {
195 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
  /developers/samples/android/wearable/wear/Geofencing/Application/src/main/java/com/example/android/wearable/geofencing/
MainActivity.java 32 import android.app.PendingIntent;
65 // Stores the PendingIntent used to request geofence monitoring.
66 private PendingIntent mGeofenceRequestIntent;
155 // Get the PendingIntent for the geofence monitoring request.
190 * Create a PendingIntent that triggers GeofenceTransitionIntentService when a geofence
193 private PendingIntent getGeofenceTransitionPendingIntent() {
195 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
  /development/samples/browseable/Geofencing/Application/src/com.example.android.wearable.geofencing/
MainActivity.java 32 import android.app.PendingIntent;
65 // Stores the PendingIntent used to request geofence monitoring.
66 private PendingIntent mGeofenceRequestIntent;
155 // Get the PendingIntent for the geofence monitoring request.
190 * Create a PendingIntent that triggers GeofenceTransitionIntentService when a geofence
193 private PendingIntent getGeofenceTransitionPendingIntent() {
195 return PendingIntent.getService(this, 0, intent, PendingIntent.FLAG_UPDATE_CURRENT);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/nfc/
NdefPushReceiverActivity.java 25 import android.app.PendingIntent;
47 private PendingIntent mPendingIntent;
62 mPendingIntent = PendingIntent.getActivity(this, 0, new Intent(this, getClass())
  /development/samples/Wiktionary/src/com/example/android/wiktionary/
WordWidget.java 22 import android.app.PendingIntent;
117 PendingIntent pendingIntent = PendingIntent.getActivity(context,
119 views.setOnClickPendingIntent(R.id.widget, pendingIntent);
  /development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
WordWidget.java 22 import android.app.PendingIntent;
108 PendingIntent pendingIntent = PendingIntent.getActivity(context,
110 updateViews.setOnClickPendingIntent(R.id.widget, pendingIntent);
  /external/chromium_org/ui/android/java/src/org/chromium/ui/base/
WindowAndroid.java 9 import android.app.PendingIntent;
81 * @param intent The PendingIntent that needs to be shown.
87 public boolean showIntent(PendingIntent intent, IntentCallback callback, int errorId) {
105 * @param intent The PendingIntent that needs to be shown.
112 public int showCancelableIntent(PendingIntent intent, IntentCallback callback, int errorId) {
ActivityWindowAndroid.java 8 import android.app.PendingIntent;
35 public int showCancelableIntent(PendingIntent intent, IntentCallback callback, int errorId) {
  /frameworks/base/core/java/android/hardware/usb/
UsbManager.java 20 import android.app.PendingIntent;
214 * Name of extra added to the {@link android.app.PendingIntent}
215 * passed into {@link #requestPermission(UsbDevice, PendingIntent)}
216 * or {@link #requestPermission(UsbAccessory, PendingIntent)}
318 * {@link #requestPermission(UsbDevice, PendingIntent)} or
336 * {@link #requestPermission(UsbAccessory, PendingIntent)} or
355 * Success or failure is returned via the {@link android.app.PendingIntent} pi.
367 * @param pi PendingIntent for returning result
369 public void requestPermission(UsbDevice device, PendingIntent pi) {
381 * Success or failure is returned via the {@link android.app.PendingIntent} pi
    [all...]
  /frameworks/base/services/core/java/com/android/server/job/controllers/
IdleController.java 23 import android.app.PendingIntent;
110 private PendingIntent mIdleTriggerIntent;
119 mIdleTriggerIntent = PendingIntent.getBroadcast(mContext, 0, intent, 0);
  /packages/apps/Exchange/src/com/android/exchange/service/
AbstractSyncAdapterService.java 21 import android.app.PendingIntent;
119 final PendingIntent pendingIntent = PendingIntent.getActivity(
130 .setContentIntent(pendingIntent)
  /packages/services/Telephony/src/com/android/phone/
InCallScreenShowActivation.java 20 import android.app.PendingIntent;
103 // We allow the caller to pass a PendingIntent (as the
111 (PendingIntent) intent.getParcelableExtra(
198 final PendingIntent otaResponseIntent = getIntent().getParcelableExtra(
  /packages/services/Telephony/tests/src/com/android/phone/tests/
OtaspTestActivity.java 20 import android.app.PendingIntent;
80 // (2) Via the PendingIntent that we sent along (when we originally
232 // Pass a PendingIntent along with the
236 PendingIntent pendingResultIntent =
237 PendingIntent.getActivity(this, 0,
  /sdk/apps/SdkController/src/com/android/tools/sdkcontroller/service/
ControllerService.java 25 import android.app.PendingIntent;
304 PendingIntent pi = PendingIntent.getActivity(
  /packages/apps/Protips/src/com/android/protips/
ProtipWidget.java 19 import android.app.PendingIntent;
198 PendingIntent pending = PendingIntent.getBroadcast(
199 context, 0, bcast, PendingIntent.FLAG_UPDATE_CURRENT);
206 pending = PendingIntent.getBroadcast(
207 context, 0, bcast, PendingIntent.FLAG_UPDATE_CURRENT);
  /development/samples/RandomMusicPlayer/src/com/example/android/musicplayer/
MusicService.java 21 import android.app.PendingIntent;
453 PendingIntent.getBroadcast(this /*context*/,
516 PendingIntent pi = PendingIntent.getActivity(getApplicationContext(), 0,
518 PendingIntent.FLAG_UPDATE_CURRENT);
529 PendingIntent pi = PendingIntent.getActivity(getApplicationContext(), 0,
531 PendingIntent.FLAG_UPDATE_CURRENT);
  /frameworks/base/libs/usb/src/com/android/future/usb/
UsbManager.java 20 import android.app.PendingIntent;
60 * Name of extra added to the {@link android.app.PendingIntent}
166 * Success or failure is returned via the {@link android.app.PendingIntent} pi.
168 * PendingIntent to indicate success or failure.
173 * @param pi PendingIntent for returning result
175 public void requestPermission(UsbAccessory accessory, PendingIntent pi) {
  /frameworks/support/v4/java/android/support/v4/app/
NotificationCompat.java 20 import android.app.PendingIntent;
    [all...]
  /cts/tests/tests/permission/src/android/permission/cts/
NoLocationPermissionTest.java 19 import android.app.PendingIntent;
188 PendingIntent mockPendingIntent = PendingIntent.getBroadcast(mContext,
189 0, new Intent("mockIntent"), PendingIntent.FLAG_ONE_SHOT);
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java 19 import android.app.PendingIntent;
99 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to
113 PendingIntent pendingIntent = PendingIntent
114 .getService(this.getActivity(), 0, dismissIntent, PendingIntent.FLAG_UPDATE_CURRENT);
115 builder.setDeleteIntent(pendingIntent);
150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of
  /developers/build/prebuilts/gradle/SynchronizedNotifications/Wearable/src/main/java/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);
  /developers/samples/android/wearable/wear/SynchronizedNotifications/Application/src/main/java/com/example/android/wearable/synchronizednotifications/
SynchronizedNotificationsFragment.java 19 import android.app.PendingIntent;
99 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to
113 PendingIntent pendingIntent = PendingIntent
114 .getService(this.getActivity(), 0, dismissIntent, PendingIntent.FLAG_UPDATE_CURRENT);
115 builder.setDeleteIntent(pendingIntent);
150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of
  /developers/samples/android/wearable/wear/SynchronizedNotifications/Wearable/src/main/java/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);
  /development/samples/browseable/SynchronizedNotifications/Application/src/com.example.android.wearable.synchronizednotifications/
SynchronizedNotificationsFragment.java 19 import android.app.PendingIntent;
99 * {@link android.app.PendingIntent} will be added to handle the dismissal of notification to
113 PendingIntent pendingIntent = PendingIntent
114 .getService(this.getActivity(), 0, dismissIntent, PendingIntent.FLAG_UPDATE_CURRENT);
115 builder.setDeleteIntent(pendingIntent);
150 * achieved by creating a {@link android.app.PendingIntent} that results in removal of

Completed in 2531 milliseconds

1 2 3 4 5 6 7 891011>>