Home | History | Annotate | Download | only in app

Lines Matching refs:null

125      * already exist, then simply return null instead of creating it.
212 if (mHandler == null) {
247 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
252 return getActivity(context, requestCode, intent, flags, null);
277 * May be null if there are no options.
280 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
286 String resolvedType = intent != null ? intent.resolveTypeIfNeeded(
287 context.getContentResolver()) : null;
294 null, null, requestCode, new Intent[] { intent },
295 resolvedType != null ? new String[] { resolvedType } : null,
297 return target != null ? new PendingIntent(target) : null;
300 return null;
311 String resolvedType = intent != null ? intent.resolveTypeIfNeeded(
312 context.getContentResolver()) : null;
319 null, null, requestCode, new Intent[] { intent },
320 resolvedType != null ? new String[] { resolvedType } : null,
322 return target != null ? new PendingIntent(target) : null;
325 return null;
370 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
375 return getActivities(context, requestCode, intents, flags, null);
420 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
436 null, null, requestCode, intents, resolvedTypes, flags, options,
438 return target != null ? new PendingIntent(target) : null;
441 return null;
462 null, null, requestCode, intents, resolvedTypes,
464 return target != null ? new PendingIntent(target) : null;
467 return null;
490 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
507 String resolvedType = intent != null ? intent.resolveTypeIfNeeded(
508 context.getContentResolver()) : null;
514 null, null, requestCode, new Intent[] { intent },
515 resolvedType != null ? new String[] { resolvedType } : null,
516 flags, null, userHandle.getIdentifier());
517 return target != null ? new PendingIntent(target) : null;
520 return null;
544 * parameters. May return null only if {@link #FLAG_NO_CREATE} has been
550 String resolvedType = intent != null ? intent.resolveTypeIfNeeded(
551 context.getContentResolver()) : null;
557 null, null, requestCode, new Intent[] { intent },
558 resolvedType != null ? new String[] { resolvedType } : null,
559 flags, null, UserHandle.myUserId());
560 return target != null ? new PendingIntent(target) : null;
563 return null;
596 send(null, 0, null, null, null, null);
610 send(null, code, null, null, null, null);
630 send(context, code, intent, null, null, null);
639 * completed, or null for no callback.
641 * should happen. If null, the callback will happen from the thread
651 send(null, code, null, onFinished, handler, null);
664 * @param context The Context of the caller. This may be null if
665 * <var>intent</var> is also null.
669 * original Intent. Use null to not modify the original Intent.
671 * completed, or null for no callback.
673 * should happen. If null, the callback will happen from the thread
687 send(context, code, intent, onFinished, handler, null);
700 * @param context The Context of the caller. This may be null if
701 * <var>intent</var> is also null.
705 * original Intent. Use null to not modify the original Intent.
707 * completed, or null for no callback.
709 * should happen. If null, the callback will happen from the thread
715 * If null, no permission is required.
730 String resolvedType = intent != null ?
732 : null;
734 onFinished != null
736 : null,
756 return null;
775 * @return The package name of the PendingIntent, or null if there is
785 return null;
834 * @return The user handle of the PendingIntent, or null if there is
842 return uid > 0 ? new UserHandle(UserHandle.getUserId(uid)) : null;
845 return null;
887 return null;
901 return null;
934 sb.append(mTarget != null ? mTarget.asBinder() : null);
951 return target != null ? new PendingIntent(target) : null;
960 * Convenience function for writing either a PendingIntent or null pointer to
964 * @param sender The PendingIntent to write, or null.
969 out.writeStrongBinder(sender != null ? sender.mTarget.asBinder()
970 : null);
974 * Convenience function for reading either a Messenger or null pointer from
980 * @return Returns the Messenger read from the Parcel, or null if null had
986 return b != null ? new PendingIntent(b) : null;