Home
last modified time | relevance | path

Searched refs:VoiceContact (Results 1 – 3 of 3) sorted by relevance

/packages/apps/VoiceDialer/src/com/android/voicedialer/
DVoiceContact.java37 public class VoiceContact { class
68 private VoiceContact(String name, long contactId, long primaryId, in VoiceContact() method in VoiceContact
111 public static List<VoiceContact> getVoiceContacts(Activity activity) { in getVoiceContacts()
114 List<VoiceContact> contacts = new ArrayList<VoiceContact>(); in getVoiceContacts()
175 contacts.add(new VoiceContact(name, personId, primaryId, in getVoiceContacts()
250 contacts.add(new VoiceContact(name, personId, primaryId, in getVoiceContacts()
267 public static List<VoiceContact> getVoiceContactsFromFile(File contactsFile) { in getVoiceContactsFromFile()
270 List<VoiceContact> contacts = new ArrayList<VoiceContact>(); in getVoiceContactsFromFile()
278 contacts.add(new VoiceContact(name, id, ID_UNDEFINED, in getVoiceContactsFromFile()
DCommandRecognizerEngine.java124 List<VoiceContact> contacts = mContactsFile != null ? in setupGrammar()
125 VoiceContact.getVoiceContactsFromFile(mContactsFile) : in setupGrammar()
126 VoiceContact.getVoiceContacts(mActivity); in setupGrammar()
192 private void addNameEntriesToGrammar(List<VoiceContact> contacts) in addNameEntriesToGrammar()
199 for (VoiceContact contact : contacts) { in addNameEntriesToGrammar()
1013 VoiceContact.ID_UNDEFINED; in onRecognitionSuccess()
1014 if (spokenPhoneId != VoiceContact.ID_UNDEFINED) { in onRecognitionSuccess()
1026 if (primaryId == VoiceContact.ID_UNDEFINED) { in onRecognitionSuccess()
1070 if (homeId != VoiceContact.ID_UNDEFINED) { in onRecognitionSuccess()
1078 if (mobileId != VoiceContact.ID_UNDEFINED) { in onRecognitionSuccess()
[all …]
DRecognizerLogger.java151 public void logContacts(List<VoiceContact> contacts) { in logContacts()
153 for (VoiceContact vc : contacts) logLine(vc.toString()); in logContacts()