Home | History | Annotate | Download | only in phone

Lines Matching refs:ci

1574             public void onQueryComplete(int token, Object cookie, CallerInfo ci) {
1580 if (DBG) log("- onQueryComplete: CallerInfo:" + ci);
1581 if (ci.contactExists || ci.isEmergencyNumber() || ci.isVoiceMailNumber()) {
1588 // Here 'ci' is a new CallerInfo instance read
1596 // fill 'ci' in. The same routine could be used in
1598 if (0 == ci.numberPresentation) {
1599 ci.numberPresentation = conn.getNumberPresentation();
1611 newCi.phoneNumber = ci.phoneNumber; // To get formatted phone number
1612 newCi.geoDescription = ci.geoDescription; // To get geo description string
1613 ci = newCi;
1617 if (DBG) log("==> Stashing CallerInfo " + ci + " into the connection...");
1618 conn.setUserData(ci);
1628 static String getCompactNameFromCallerInfo(CallerInfo ci, Context context) {
1629 if (DBG) log("getCompactNameFromCallerInfo: info = " + ci);
1632 if (ci != null) {
1633 if (TextUtils.isEmpty(ci.name)) {
1636 compactName = modifyForSpecialCnapCases(context, ci, ci.phoneNumber,
1637 ci.numberPresentation);
1640 compactName = ci.name;
1648 if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_RESTRICTED) {
1650 } else if (ci != null && ci.numberPresentation == PhoneConstants.PRESENTATION_PAYPHONE) {
2093 /* package */ static String modifyForSpecialCnapCases(Context context, CallerInfo ci,
2095 // Obviously we return number if ci == null, but still return number if
2098 if (ci == null || number == null) return number;
2103 + ", presentation=" + presentation + " ci " + ci);
2114 ci.numberPresentation = PhoneConstants.PRESENTATION_UNKNOWN;
2122 if (ci.numberPresentation == PhoneConstants.PRESENTATION_ALLOWED
2123 || (ci.numberPresentation != presentation
2137 ci.numberPresentation = cnapSpecialCase;