Searched refs:ContactNumber (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Dialer/tests/src/com/android/dialer/database/ |
D | SmartDialPrefixTest.java | 31 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber; 137 private ContactNumber constructNewContactWithDummyIds(MatrixCursor contactCursor, in constructNewContactWithDummyIds() 143 private ContactNumber constructNewContact(MatrixCursor contactCursor, MatrixCursor nameCursor, in constructNewContact() 161 return new ContactNumber(contactId, id, displayName, number, lookupKey, 0); in constructNewContact() 164 private ArrayList<ContactNumber> getLooseMatchesFromDb(String query) { in getLooseMatchesFromDb() 175 final ContactNumber jasonsmith = constructNewContactWithDummyIds(contactCursor, nameCursor, in testPutForFullName() 177 final ContactNumber jasonsmitt = constructNewContactWithDummyIds(contactCursor, nameCursor, in testPutForFullName() 179 final ContactNumber alphabet = constructNewContactWithDummyIds(contactCursor, nameCursor, in testPutForFullName() 188 final ArrayList<ContactNumber> result1 = getLooseMatchesFromDb("5276676484"); in testPutForFullName() 191 final ArrayList<ContactNumber> result2 = getLooseMatchesFromDb("5276676488"); in testPutForFullName() [all …]
|
/packages/apps/Dialer/src/com/android/dialer/database/ |
D | DialerDatabaseHelper.java | 239 public static class ContactNumber { class in DialerDatabaseHelper 247 public ContactNumber(long id, long dataID, String displayName, String phoneNumber, in ContactNumber() method in DialerDatabaseHelper.ContactNumber 267 if (object instanceof ContactNumber) { in equals() 268 final ContactNumber that = (ContactNumber) object; in equals() 906 public ArrayList<ContactNumber> getLooseMatches(String query, in getLooseMatches() 918 final ArrayList<ContactNumber> result = Lists.newArrayList(); in getLooseMatches() 991 result.add(new ContactNumber(id, dataID, displayName, phoneNumber, lookupKey, in getLooseMatches()
|
/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
D | SmartDialCursorLoader.java | 27 import com.android.dialer.database.DialerDatabaseHelper.ContactNumber; 79 final ArrayList<ContactNumber> allMatches = dialerDatabaseHelper.getLooseMatches(mQuery, in loadInBackground() 89 for (ContactNumber contact : allMatches) { in loadInBackground()
|