/frameworks/base/services/core/java/com/android/server/location/ |
GeofenceManager.java | 25 import android.app.PendingIntent; 42 public class GeofenceManager implements LocationListener, PendingIntent.OnFinished { 119 public void addFence(LocationRequest request, Geofence geofence, PendingIntent intent, 143 public void removeFence(Geofence fence, PendingIntent intent) { 241 List<PendingIntent> enterIntents = new LinkedList<PendingIntent>(); 242 List<PendingIntent> exitIntents = new LinkedList<PendingIntent>(); 339 for (PendingIntent intent : exitIntents) { 342 for (PendingIntent intent : enterIntents) [all...] |
/frameworks/base/services/core/java/com/android/server/notification/ |
NextAlarmTracker.java | 22 import android.app.PendingIntent; 211 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, REQUEST_CODE, 215 PendingIntent.FLAG_UPDATE_CURRENT); 216 alarms.cancel(pendingIntent); 221 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
|
DowntimeConditionProvider.java | 20 import android.app.PendingIntent; 282 final PendingIntent pendingIntent = PendingIntent.getBroadcast(mContext, requestCode, 286 PendingIntent.FLAG_UPDATE_CURRENT); 287 alarms.cancel(pendingIntent); 291 alarms.setExact(AlarmManager.RTC_WAKEUP, time, pendingIntent);
|
ManagedServices.java | 20 import android.app.PendingIntent; 375 final PendingIntent pendingIntent = PendingIntent.getActivity( 377 intent.putExtra(Intent.EXTRA_CLIENT_INTENT, pendingIntent);
|
/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/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);
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProfileOwnerProvisioningActivity.java | 162 Intent pendingIntent = (Intent) intent.getParcelableExtra( 169 onProvisioningSuccess(pendingIntent, userId, serialNumber);
|
/packages/apps/Mms/src/com/android/mms/widget/ |
MmsWidgetService.java | 19 import android.app.PendingIntent; 300 PendingIntent pendingIntent = 301 PendingIntent.getActivity(mContext, 0, new Intent(mContext, 303 PendingIntent.FLAG_UPDATE_CURRENT); 304 view.setOnClickPendingIntent(R.id.widget_loading, pendingIntent);
|
/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);
|
/frameworks/base/services/core/java/com/android/server/twilight/ |
TwilightService.java | 23 import android.app.PendingIntent; 419 PendingIntent pendingIntent = PendingIntent.getBroadcast( 421 mAlarmManager.cancel(pendingIntent); 422 mAlarmManager.setExact(AlarmManager.RTC, nextUpdate, pendingIntent);
|
/frameworks/base/services/print/java/com/android/server/print/ |
PrintManagerService.java | 24 import android.app.PendingIntent; 744 PendingIntent pendingIntent = PendingIntent.getActivityAsUser(mContext, 0, intent [all...] |
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/ |
SinkActivity.java | 22 import android.app.PendingIntent; 169 PendingIntent pendingIntent = PendingIntent.getBroadcast( 170 this, 0, intent, PendingIntent.FLAG_ONE_SHOT); 171 mUsbManager.requestPermission(device, pendingIntent);
|
/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...] |
/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/core/java/android/widget/ |
RemoteViews.java | 22 import android.app.PendingIntent; 207 public boolean onClickHandler(View view, PendingIntent pendingIntent, 210 // TODO: Unregister this handler if PendingIntent.FLAG_ONE_SHOT? 216 pendingIntent.getIntentSender(), fillInIntent, 410 if (!(parent.getTag() instanceof PendingIntent)) { 416 PendingIntent pendingIntent = (PendingIntent) parent.getTag(); 421 handler.onClickHandler(v, pendingIntent, fillInIntent) [all...] |
Editor.java | 34 import android.app.PendingIntent; 35 import android.app.PendingIntent.CanceledException; [all...] |
/cts/tests/tests/widget/src/android/widget/cts/ |
RemoteViewsTest.java | 25 import android.app.PendingIntent; 537 PendingIntent pendingIntent = PendingIntent.getActivity(mActivity, 0, intent, 0); 538 mRemoteViews.setOnClickPendingIntent(R.id.remoteView_image, pendingIntent);
|
/packages/apps/DeskClock/src/com/android/deskclock/alarms/ |
AlarmStateManager.java | 19 import android.app.PendingIntent; 230 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, instance.hashCode(), 231 stateChangeIntent, PendingIntent.FLAG_UPDATE_CURRENT); 235 am.setExact(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); 237 am.set(AlarmManager.RTC_WAKEUP, timeInMillis, pendingIntent); 250 // Create a PendingIntent that will match any one set for this instance 251 PendingIntent pendingIntent = PendingIntent.getBroadcast(context, instance.hashCode() [all...] |
/packages/apps/FMRadio/src/com/android/fmradio/ |
FmRecordActivity.java | 23 import android.app.PendingIntent; 170 PendingIntent pendingIntent = PendingIntent.getActivity(mContext, 0, intent, 171 PendingIntent.FLAG_UPDATE_CURRENT); 182 pendingIntent); 187 PendingIntent contentPendingIntent = PendingIntent.getActivity(mContext, 0, cIntent, 188 PendingIntent.FLAG_UPDATE_CURRENT);
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
NotificationActionUtils.java | 21 import android.app.PendingIntent; 208 final PendingIntent pendingIntent = getNotificationActionPendingIntent( 217 notification.addAction(actionIconResId, title, pendingIntent); 221 final PendingIntent wearPendingIntent = getWearNotificationActionPendingIntent( 347 * Creates a {@link PendingIntent} for the specified notification action. 349 private static PendingIntent getNotificationActionPendingIntent(final Context context, 373 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); 387 notificationId, PendingIntent.FLAG_UPDATE_CURRENT); 397 return PendingIntent.getService [all...] |
/packages/apps/Stk/src/com/android/stk/ |
StkAppService.java | 24 import android.app.PendingIntent; [all...] |
/packages/providers/TvProvider/src/com/android/providers/tv/ |
TvProvider.java | 21 import android.app.PendingIntent; 378 PendingIntent pendingIntent = PendingIntent.getService( 379 getContext(), 0, intent, PendingIntent.FLAG_UPDATE_CURRENT); 383 AlarmManager.INTERVAL_HALF_DAY, pendingIntent); [all...] |
/frameworks/base/services/core/java/com/android/server/content/ |
SyncManager.java | 27 import android.app.PendingIntent; 194 private final PendingIntent mSyncAlarmIntent; 412 mSyncAlarmIntent = PendingIntent.getBroadcast( [all...] |
/frameworks/base/services/core/java/com/android/server/ |
ConnectivityService.java | 33 import android.app.PendingIntent; 150 implements PendingIntent.OnFinished { 184 private PendingIntent mSampleIntervalElapsedIntent; 375 * obj = PendingIntent [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
ActivityStackSupervisor.java | 48 import android.app.PendingIntent; [all...] |