Searched refs:phones (Results 1 - 9 of 9) sorted by relevance

/packages/services/Telephony/src/com/android/services/telephony/
H A DTelephonyGlobals.java63 Phone[] phones = PhoneFactory.getPhones();
64 for (Phone phone : phones) {
H A DTelecomAccountRegistry.java391 // Go through SIM-based phones and register ourselves -- registering an existing account
393 Phone[] phones = PhoneFactory.getPhones();
394 Log.d(this, "Found %d phones. Attempting to register.", phones.length);
395 for (Phone phone : phones) {
412 if (DBG && phones.length > 0 && "TRUE".equals(System.getProperty("dummy_sim"))) {
413 mAccounts.add(new AccountEntry(phones[0], false /* emergency */, true /* isDummy */));
/packages/providers/ContactsProvider/tests/assets/test1/
H A Dlegacy_contacts.sql53 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
78 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); table
79 INSERT INTO phones VALUES(1,2,1,'1-800-466-4411',11446640081,NULL,1);
80 INSERT INTO phones VALUES(2,2,3,2345678901,1098765432,NULL,0);
81 INSERT INTO phones VALUES(3,2,2,3456789012,2109876543,NULL,0);
82 INSERT INTO phones VALUES(4,2,5,4567890123,3210987654,NULL,0);
83 INSERT INTO phones VALUES(5,2,4,5678901234,4321098765,NULL,0);
84 INSERT INTO phones VALUES(6,2,6,6789012345,5432109876,NULL,0);
85 INSERT INTO phones VALUES(7,2,7,7890123456,6543210987,NULL,0);
86 INSERT INTO phones VALUE
[all...]
/packages/providers/ContactsProvider/tests/assets/testUnsynced/
H A Dlegacy_contacts.sql33 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
55 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); table
56 INSERT INTO phones VALUES(1,1,2,'542-31',13245,NULL,1);
57 INSERT INTO phones VALUES(2,2,2,'716-5432',2345617,NULL,1);
58 INSERT INTO phones VALUES(3,4,2,'698-147-02',20741896,NULL,1);
70 INSERT INTO sqlite_sequence VALUES('phones',3);
86 CREATE INDEX phonesIndex1 ON phones (person);
87 CREATE INDEX phonesIndex2 ON phones (number_key);
90 CREATE TRIGGER contact_cleanup DELETE ON people BEGIN DELETE FROM peopleLookup WHERE source = old._id;DELETE FROM peopleLookupWithPhoneticName WHERE source = old._id;DELETE FROM phones WHERE person = old._id;DELETE FROM contact_methods WHERE person = old._id;DELETE FROM organizations WHERE person = old._id;DELETE FROM groupmembership WHERE person = old._id;DELETE FROM extensions WHERE person = old._id;END;
115 CREATE TRIGGER phones_INSERT_typeAndLabel AFTER INSERT ON phones WHE
[all...]
/packages/providers/ContactsProvider/tests/assets/testSynced/
H A Dlegacy_contacts.sql43 CREATE TABLE people (_id INTEGER PRIMARY KEY AUTOINCREMENT,_sync_account TEXT,_sync_id TEXT,_sync_time TEXT,_sync_version TEXT,_sync_local_id INTEGER,_sync_dirty INTEGER NOT NULL DEFAULT 0,_sync_mark INTEGER,name TEXT COLLATE LOCALIZED,notes TEXT COLLATE LOCALIZED,times_contacted INTEGER NOT NULL DEFAULT 0,last_time_contacted INTEGER,starred INTEGER NOT NULL DEFAULT 0,primary_phone INTEGER REFERENCES phones(_id),primary_organization INTEGER REFERENCES organizations(_id),primary_email INTEGER REFERENCES contact_methods(_id),photo_version TEXT,custom_ringtone TEXT,send_to_voicemail INTEGER,phonetic_name TEXT COLLATE LOCALIZED);
100 CREATE TABLE phones (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),type INTEGER NOT NULL,number TEXT,number_key TEXT,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); table
101 INSERT INTO phones VALUES(1,2,2,'698-147-02',20741896,NULL,1);
102 INSERT INTO phones VALUES(2,5,2,'716-5432',2345617,NULL,1);
103 INSERT INTO phones VALUES(3,6,2,'542-31',13245,NULL,1);
104 INSERT INTO phones VALUES(4,7,2,'564-123-789',987321465,NULL,1);
105 INSERT INTO phones VALUES(5,8,2,'841-735-24',42537148,NULL,1);
106 INSERT INTO phones VALUES(6,11,2,1111111111,1111111111,NULL,1);
126 INSERT INTO sqlite_sequence VALUES('phones',6);
142 CREATE INDEX phonesIndex1 ON phones (perso
[all...]
/packages/apps/Exchange/src/com/android/exchange/provider/
H A DExchangeDirectoryProvider.java97 sURIMatcher.addURI(EXCHANGE_GAL_AUTHORITY, "data/phones/filter/*", GAL_PHONE_FILTER);
465 final List<PhoneInfo> phones = new ArrayList<PhoneInfo>();
466 addPhoneInfo(phones, galDataRow.get(GalData.WORK_PHONE), Phone.TYPE_WORK);
467 addPhoneInfo(phones, galDataRow.get(GalData.OFFICE), Phone.TYPE_COMPANY_MAIN);
468 addPhoneInfo(phones, galDataRow.get(GalData.HOME_PHONE), Phone.TYPE_HOME);
469 addPhoneInfo(phones, galDataRow.get(GalData.MOBILE_PHONE), Phone.TYPE_MOBILE);
475 Pair<String, Integer> displayName = getDisplayName(galDataRow, phones);
501 if (phones.size() > 0) {
519 for (PhoneInfo phone : phones) {
579 private static Pair<String, Integer> getDisplayName(GalData galDataRow, List<PhoneInfo> phones) { argument
634 addPhoneInfo(List<PhoneInfo> phones, String number, int type) argument
[all...]
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
H A DVCardRequest.java289 final List<VCardEntry.PhoneData> phones = entry.getPhoneList();
290 if (phones != null && phones.size() > 0) {
292 phones.get(0).getNumber());
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DRawContactReadOnlyEditorView.java163 final ArrayList<ValuesDelta> phones = state.getMimeEntries(Phone.CONTENT_ITEM_TYPE);
166 if (phones != null) {
168 for (ValuesDelta phone : phones) {
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
H A DConversationData.java617 final ArrayList<String> phones = new ArrayList<>();
624 phones.add(participant.getSendDestination());
636 if (!phones.isEmpty()) {
637 updater.updateWithPhoneNumber(phones);

Completed in 245 milliseconds