/packages/apps/Dialer/src/com/android/dialer/calllog/ |
PhoneNumberHelper.java | 24 import com.android.internal.telephony.CallerInfo; 39 || number.equals(CallerInfo.UNKNOWN_NUMBER) 40 || number.equals(CallerInfo.PRIVATE_NUMBER) 41 || number.equals(CallerInfo.PAYPHONE_NUMBER)); 59 if (number.equals(CallerInfo.UNKNOWN_NUMBER)) { 62 if (number.equals(CallerInfo.PRIVATE_NUMBER)) { 65 if (number.equals(CallerInfo.PAYPHONE_NUMBER)) {
|
CallLogFragment.java | 56 import com.android.internal.telephony.CallerInfo; 464 || number.equals(CallerInfo.UNKNOWN_NUMBER) 465 || number.equals(CallerInfo.PRIVATE_NUMBER) 466 || number.equals(CallerInfo.PAYPHONE_NUMBER)) {
|
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogListItemHelperTest.java | 27 import com.android.internal.telephony.CallerInfo; 81 setPhoneCallDetailsWithNumber(CallerInfo.UNKNOWN_NUMBER, CallerInfo.UNKNOWN_NUMBER); 86 setPhoneCallDetailsWithNumber(CallerInfo.PRIVATE_NUMBER, CallerInfo.PRIVATE_NUMBER); 91 setPhoneCallDetailsWithNumber(CallerInfo.PAYPHONE_NUMBER, CallerInfo.PAYPHONE_NUMBER); 111 setPhoneCallDetailsWithNumberAndType(CallerInfo.UNKNOWN_NUMBER, CallerInfo.UNKNOWN_NUMBER,
|
CallLogFragmentTest.java | 43 import com.android.internal.telephony.CallerInfo; 168 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 169 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 170 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 179 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 188 insert(CallerInfo.PRIVATE_NUMBER, NOW, 0, Calls.INCOMING_TYPE); 367 if (CallerInfo.PRIVATE_NUMBER.equals(number) || 368 CallerInfo.UNKNOWN_NUMBER.equals(number)) { 462 * use CallerInfo.UNKNOWN_NUMBER or CallerInfo.PRIVATE_NUMBER [all...] |
/packages/apps/Phone/tests/src/com/android/phone/unit/ |
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
|
/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; 178 CallerInfo ci = new CallerInfo();
|
/packages/apps/Phone/src/com/android/phone/ |
CallLogger.java | 19 import com.android.internal.telephony.CallerInfo; 61 final CallerInfo ci = getCallerInfoFromConnection(c); // May be null. 108 public void logCall(CallerInfo ci, String number, int presentation, int callType, long start, 140 * @return The CallerInfo associated with the connection. Maybe null. 142 private CallerInfo getCallerInfoFromConnection(Connection conn) { 143 CallerInfo ci = null; 146 if ((o == null) || (o instanceof CallerInfo)) { 147 ci = (CallerInfo) o; 158 * outgoing call we use the CallerInfo phoneNumber field if 161 * If CallerInfo is missing the phone number, get it from the connection [all...] |
ContactsAsyncHelper.java | 33 import com.android.internal.telephony.CallerInfo; 112 * with tracking the state of the CallerInfo Queries and image 116 * that exist as the CallerInfo queries run and mix with the image 127 private CallerInfo mCurrentCallerInfo; 140 public boolean isDifferentImageRequest(CallerInfo ci) { 142 // call, and the CallerInfo-related items as well, we can 156 // if the call does NOT have a callerInfo attached 159 if (o instanceof CallerInfo) { 160 runQuery = isDifferentImageRequest((CallerInfo) o); 166 * Simple setter for the CallerInfo object [all...] |
CallCard.java | 46 import com.android.internal.telephony.CallerInfo; 75 public final CallerInfo callerInfo; 77 public AsyncLoadCookie(ImageView imageView, CallerInfo callerInfo, Call call) { 79 this.callerInfo = callerInfo; 546 CallerInfo info = PhoneUtils.getCallerInfo(getContext(), null /* conn */); 554 // callerinfo differs from what we've been requested to display. 570 CallerInfo info = null [all...] |
ManageConferenceUtils.java | 30 import com.android.internal.telephony.CallerInfo; 62 public void onQueryComplete(int token, Object cookie, CallerInfo ci) { 63 if (DBG) log("callerinfo query complete, updating UI." + ci); 261 // display the CallerInfo. 276 public final void displayCallerInfoForConferenceRow(CallerInfo ci, int presentation,
|
NotificationMgr.java | 52 import com.android.internal.telephony.CallerInfo; 442 if ( (n.number.equals(CallerInfo.UNKNOWN_NUMBER)) || 443 (n.number.equals(CallerInfo.PRIVATE_NUMBER)) || 444 (n.number.equals(CallerInfo.PAYPHONE_NUMBER)) ) { 469 * {@link PhoneUtils#modifyForSpecialCnapCases(Context, CallerInfo, String, int)}. [all...] |
PhoneUtils.java | 53 import com.android.internal.telephony.CallerInfo; 565 * @param context To perform the CallerInfo query. 665 // attach the URI to the CallerInfo Object if it is there, 678 if (userDataObject instanceof CallerInfo) { 679 ((CallerInfo) userDataObject).contactRefUri = contactRef; 688 // CallerInfo object to update the dialed number with the one 690 CallerInfo info = null; 693 info = CallerInfo.getCallerInfo(context, contactRef); 700 info = CallerInfo.getCallerInfo(context, number); [all...] |
CallNotifier.java | 21 import com.android.internal.telephony.CallerInfo; 70 // Maximum time we allow the CallerInfo query to run, 117 // the state of the CallerInfo Query. 561 // the database to get the callerinfo to act as a key, 580 // query the callerinfo to try to get the ringer. 587 if (VDBG) log("- CallerInfo already up to date, using available data"); 621 * Normally, this is called when the CallerInfo query completes (see 629 * CallerInfo query is taking too long. In that case, we log a 645 Log.w(LOG_TAG, "CallerInfo query took too long; falling back to default ringtone"); [all...] |
/frameworks/base/telephony/java/com/android/internal/telephony/ |
CallerInfo.java | 48 public class CallerInfo { 49 private static final String TAG = "CallerInfo"; 65 * One other detail here is that this CallerInfo object reflects 112 * callerinfo object. 144 public CallerInfo() { 153 * @param contactRef the URI to attach to this CallerInfo object 154 * @param cursor the first object in the cursor is used to build the CallerInfo object. 155 * @return the CallerInfo which contains the caller id for the given 156 * number. The returned CallerInfo is null if no number is supplied. 158 public static CallerInfo getCallerInfo(Context context, Uri contactRef, Cursor cursor) [all...] |
CallerInfoAsyncQuery.java | 38 * @see CallerInfo 54 // If the CallerInfo query finds no contacts, should we use the 67 public void onQueryComplete(int token, Object cookie, CallerInfo ci); 98 * The information relevant to each CallerInfo query. Each query may have multiple 105 private CallerInfo mCallerInfo; 120 * This use of the queue is required because CallerInfo objects may be accessed 179 * Asynchronous query handler class for the contact / callerinfo object. 193 * This method takes into account the state of this class; we construct the CallerInfo 197 * listeners for this CallerInfo object, we release the AsyncCursorInfo back into the 220 // check the token and if needed, create the callerinfo object [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/ |
PhoneCallDetailsHelperTest.java | 32 import com.android.internal.telephony.CallerInfo; 92 setPhoneCallDetailsWithNumber(CallerInfo.UNKNOWN_NUMBER, CallerInfo.UNKNOWN_NUMBER); 97 setPhoneCallDetailsWithNumber(CallerInfo.PRIVATE_NUMBER, CallerInfo.PRIVATE_NUMBER); 102 setPhoneCallDetailsWithNumber(CallerInfo.PAYPHONE_NUMBER, CallerInfo.PAYPHONE_NUMBER); 212 setCallDetailsHeaderWithNumberOnly(CallerInfo.UNKNOWN_NUMBER); 218 setCallDetailsHeaderWithNumberOnly(CallerInfo.PRIVATE_NUMBER); 224 setCallDetailsHeaderWithNumberOnly(CallerInfo.PAYPHONE_NUMBER) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapCallLogComposer.java | 19 import com.android.internal.telephony.CallerInfo; 145 if (CallerInfo.UNKNOWN_NUMBER.equals(name) || CallerInfo.PRIVATE_NUMBER.equals(name) || 146 CallerInfo.PAYPHONE_NUMBER.equals(name)) { 155 if (CallerInfo.UNKNOWN_NUMBER.equals(number) || 156 CallerInfo.PRIVATE_NUMBER.equals(number) || 157 CallerInfo.PAYPHONE_NUMBER.equals(number)) {
|
BluetoothPbapVcardManager.java | 54 import com.android.internal.telephony.CallerInfo; 220 if (CallerInfo.UNKNOWN_NUMBER.equals(name) || 221 CallerInfo.PRIVATE_NUMBER.equals(name) || 222 CallerInfo.PAYPHONE_NUMBER.equals(name)) {
|
/packages/apps/PhoneCommon/src/com/android/phone/common/ |
CallLogAsync.java | 24 import com.android.internal.telephony.CallerInfo; 62 * @param ci CallerInfo. 71 CallerInfo ci, 105 public final CallerInfo ci;
|
/frameworks/base/core/java/android/provider/ |
CallLog.java | 30 import com.android.internal.telephony.CallerInfo; 266 * @param ci the CallerInfo object to get the target contact from. Can be null 278 public static Uri addCall(CallerInfo ci, Context context, String number, 285 number = CallerInfo.PRIVATE_NUMBER; 288 number = CallerInfo.PAYPHONE_NUMBER; 292 number = CallerInfo.UNKNOWN_NUMBER;
|
/external/clang/lib/StaticAnalyzer/Core/ |
PathDiagnostic.cpp | 494 const AnalysisDeclContext *CallerInfo = CallerCtx->getAnalysisDeclContext(); 495 if (const Stmt *CallerBody = CallerInfo->getBody()) 497 return PathDiagnosticLocation::create(CallerInfo->getDecl(), SM); [all...] |