Home | History | Annotate | Download | only in phone

Lines Matching refs:CallerInfo

19 import com.android.internal.telephony.CallerInfo;
63 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null.
110 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
119 * @return The CallerInfo associated with the connection. Maybe null.
121 private CallerInfo getCallerInfoFromConnection(Connection conn) {
122 CallerInfo ci = null;
125 if ((o == null) || (o instanceof CallerInfo)) {
126 ci = (CallerInfo) o;
128 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o);
139 * outgoing call we use the CallerInfo phoneNumber field if
142 * If CallerInfo is missing the phone number, get it from the connection.
146 * @param callerInfo The CallerInfo. Maybe null.
149 private String getLogNumber(Connection conn, CallerInfo callerInfo) {
156 // CallerInfo.phoneNumber does *not* contain a valid phone
160 if (null == callerInfo || TextUtils.isEmpty(callerInfo.phoneNumber) ||
161 callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber()) {
169 number = callerInfo.phoneNumber;
179 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo,
191 * Get the presentation from the callerinfo if not null otherwise,
195 * @param callerInfo The CallerInfo. Maybe null.
198 private int getPresentation(Connection conn, CallerInfo callerInfo) {
201 if (null == callerInfo) {
204 presentation = callerInfo.numberPresentation;