Lines Matching refs:presentation
411 CallerInfo info, int presentation, boolean isIncoming) {
416 populateCacheEntry(context, info, cce, presentation, isIncoming);
457 int presentation, boolean isIncoming) {
504 // (or potentially some other default based on the presentation.)
505 displayName = getPresentationString(context, presentation, info.callSubject);
507 } else if (presentation != TelecomManager.PRESENTATION_ALLOWED) {
509 // AND a restricted presentation. However we leave it here in case of weird
511 displayName = getPresentationString(context, presentation, info.callSubject);
512 Log.d(TAG, " ==> presentation not allowed! displayName = " + displayName);
544 if (presentation != TelecomManager.PRESENTATION_ALLOWED) {
546 // AND a restricted presentation. However we leave it here in case of weird
548 displayName = getPresentationString(context, presentation, info.callSubject);
549 Log.d(TAG, " ==> valid name, but presentation not allowed!" +
610 * Gets name strings based on some special presentation modes and the associated custom label.
612 private static String getPresentationString(Context context, int presentation,
616 ((presentation == TelecomManager.PRESENTATION_UNKNOWN) ||
617 (presentation == TelecomManager.PRESENTATION_RESTRICTED))) {
621 if (presentation == TelecomManager.PRESENTATION_RESTRICTED) {
623 } else if (presentation == TelecomManager.PRESENTATION_PAYPHONE) {