Home | History | Annotate | Download | only in phone

Lines Matching refs:callerInfo

19 import com.android.internal.telephony.CallerInfo;
62 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null.
109 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start,
141 * @return The CallerInfo associated with the connection. Maybe null.
143 private CallerInfo getCallerInfoFromConnection(Connection conn) {
144 CallerInfo ci = null;
147 if ((o == null) || (o instanceof CallerInfo)) {
148 ci = (CallerInfo) o;
150 ci = CallerInfo.getCallerInfo(mApplication.getApplicationContext(), (Uri) o);
161 * outgoing call we use the CallerInfo phoneNumber field if
164 * If CallerInfo is missing the phone number, get it from the connection.
168 * @param callerInfo The CallerInfo. Maybe null.
171 private String getLogNumber(Connection conn, CallerInfo callerInfo) {
178 // CallerInfo.phoneNumber does *not* contain a valid phone
182 if (null == callerInfo || TextUtils.isEmpty(callerInfo.phoneNumber) ||
183 callerInfo.isEmergencyNumber() || callerInfo.isVoiceMailNumber()) {
191 number = callerInfo.phoneNumber;
201 String newNumber = PhoneUtils.modifyForSpecialCnapCases(mApplication, callerInfo,
213 * Get the presentation from the callerinfo if not null otherwise,
217 * @param callerInfo The CallerInfo. Maybe null.
220 private int getPresentation(Connection conn, CallerInfo callerInfo) {
223 if (null == callerInfo) {
226 presentation = callerInfo.numberPresentation;