/packages/services/Telephony/src/com/android/phone/ |
CallLogger.java | 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 i [all...] |
PhoneUtils.java | 52 import com.android.internal.telephony.CallerInfo; 549 * @param context To perform the CallerInfo query. 643 // attach the URI to the CallerInfo Object if it is there, 656 if (userDataObject instanceof CallerInfo) { 657 ((CallerInfo) userDataObject).contactRefUri = contactRef; [all...] |
CallNotifier.java | 21 import com.android.internal.telephony.CallerInfo; 92 // the state of the CallerInfo Query. [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
CallerInfoIntegrationTest.java | 25 import com.android.internal.telephony.CallerInfo; 29 * Integration test for {@link CallerInfo} and {@link ContactsProvider2}. 51 CallerInfo callerInfo = CallerInfo.getCallerInfo(getProvider().getContext(), "18004664411"); 52 assertEquals("800-466-4411", callerInfo.phoneNumber); 53 assertEquals("Home", callerInfo.phoneLabel); 54 assertEquals("Hot Tamale", callerInfo.name); 55 assertEquals("ring", String.valueOf(callerInfo.contactRingtoneUri)); 56 assertEquals(true, callerInfo.shouldSendToVoicemail) [all...] |
CallLogProviderTest.java | 19 import com.android.internal.telephony.CallerInfo; 177 CallerInfo ci = new CallerInfo();
|
/packages/services/Telephony/tests/src/com/android/phone/ |
CnapTest.java | 23 import com.android.internal.telephony.CallerInfo; 35 private CallerInfo mCallerInfo; 44 mCallerInfo = new CallerInfo(); 57 * Checks the number and CallerInfo structure indicate the number
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 51 public class CallerInfo { 52 private static final String TAG = "CallerInfo"; 64 * One other detail here is that this CallerInfo object reflects 120 * callerinfo object. 152 public CallerInfo() { 161 * @param contactRef the URI to attach to this CallerInfo object 162 * @param cursor the first object in the cursor is used to build the CallerInfo object. 163 * @return the CallerInfo which contains the caller id for the given 164 * number. The returned CallerInfo is null if no number is supplied. 166 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) [all...] |
CallerInfoAsyncQuery.java | 41 * @see CallerInfo 57 // If the CallerInfo query finds no contacts, should we use the 70 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 129 * The information relevant to each CallerInfo query. Each query may have multiple 145 private CallerInfo mCallerInfo; 160 * This use of the queue is required because CallerInfo objects may be accessed 219 * Asynchronous query handler class for the contact / callerinfo object. 234 * This method takes into account the state of this class; we construct the CallerInfo 238 * listeners for this CallerInfo object, we release the AsyncCursorInfo back into the 267 // check the token and if needed, create the callerinfo object [all...] |
/packages/apps/InCallUI/src/com/android/incallui/ |
CallerInfoAsyncQuery.java | 40 * @see CallerInfo 55 // If the CallerInfo query finds no contacts, should we use the 68 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 113 * The information relevant to each CallerInfo query. Each query may have multiple 120 private CallerInfo mCallerInfo; 135 * This use of the queue is required because CallerInfo objects may be accessed 195 * Asynchronous query handler class for the contact / callerinfo object. 209 * This method takes into account the state of this class; we construct the CallerInfo 213 * listeners for this CallerInfo object, we release the AsyncCursorInfo back into the 237 // check the token and if needed, create the callerinfo object [all...] |
CallerInfo.java | 46 public class CallerInfo { 47 private static final String TAG = "CallerInfo"; 58 * One other detail here is that this CallerInfo object reflects 115 * callerinfo object. 147 public CallerInfo() { 156 * @param contactRef the URI to attach to this CallerInfo object 157 * @param cursor the first object in the cursor is used to build the CallerInfo object. 158 * @return the CallerInfo which contains the caller id for the given 159 * number. The returned CallerInfo is null if no number is supplied. 161 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) [all...] |
CallerInfoUtils.java | 34 * This is called to get caller info for a call. This will return a CallerInfo 39 public static CallerInfo getCallerInfoForCall(Context context, Call call, 41 CallerInfo info = buildCallerInfo(context, call); 53 public static CallerInfo buildCallerInfo(Context context, Call call) { 54 CallerInfo info = new CallerInfo(); 97 * expected number and presentation values within the CallerInfo object. 102 /* package */static String modifyForSpecialCnapCases(Context context, CallerInfo ci, 114 // phone number, so if this happens, change it to "Unknown" in the CallerInfo 126 // if we think we have an allowed presentation, or if the CallerInfo presentation doesn' [all...] |
ContactInfoCache.java | 84 final CallerInfo info = CallerInfoUtils.buildCallerInfo(context, call); 98 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { 99 findInfoQueryComplete((Call) cookie, callerInfo, mIsIncoming, true); 147 final CallerInfo callerInfo = CallerInfoUtils.getCallerInfoForCall( 150 findInfoQueryComplete(call, callerInfo, isIncoming, false); 153 private void findInfoQueryComplete(Call call, CallerInfo callerInfo, boolean isIncoming, 157 if (callerInfo.contactExists || callerInfo.isEmergencyNumber() | [all...] |
/packages/services/Telecomm/src/com/android/server/telecom/ |
CallLogManager.java | 32 import com.android.internal.telephony.CallerInfo; 46 * @param callerInfo Caller details. 57 public AddCallArgs(Context context, CallerInfo callerInfo, String number, 61 this.callerInfo = callerInfo; 74 public final CallerInfo callerInfo; 154 * @param callerInfo Caller details. 164 CallerInfo callerInfo [all...] |
Call.java | 42 import com.android.internal.telephony.CallerInfo; 154 public void onQueryComplete(int token, Object cookie, CallerInfo callerInfo) { 156 ((Call) cookie).setCallerInfo(callerInfo, token); 271 private CallerInfo mCallerInfo; [all...] |
/frameworks/base/core/java/android/provider/ |
CallLog.java | 40 import com.android.internal.telephony.CallerInfo; 369 * @param ci the CallerInfo object to get the target contact from. Can be null 387 public static Uri addCall(CallerInfo ci, Context context, String number, 398 * @param ci the CallerInfo object to get the target contact from. Can be null 419 public static Uri addCall(CallerInfo ci, Context context, String number,
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 567 const AnalysisDeclContext *CallerInfo = CallerCtx->getAnalysisDeclContext(); 568 if (const Stmt *CallerBody = CallerInfo->getBody()) 570 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM); [all...] |