/frameworks/base/core/java/android/pim/vcard/ |
VCardEntry.java | 85 // isPrimary is (not final but) changable, only when there's no appropriate one existing 87 public boolean isPrimary; 88 public PhoneData(int type, String data, String label, boolean isPrimary) { 92 this.isPrimary = isPrimary; 102 label.equals(phoneData.label) && isPrimary == phoneData.isPrimary); 107 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", 108 type, data, label, isPrimary); 117 public boolean isPrimary; [all...] |
VCardBuilder.java | 273 final Integer isPrimary = contentValues.getAsInteger(StructuredName.IS_PRIMARY); 274 if (isPrimary != null && isPrimary > 0 && [all...] |
VCardUtils.java | 294 if (postalData.isPrimary) {
|
/packages/apps/Tag/src/com/android/vcard/ |
VCardEntry.java | 83 // isPrimary is (not final but) changable, only when there's no appropriate one existing 85 public boolean isPrimary; 86 public PhoneData(int type, String data, String label, boolean isPrimary) { 90 this.isPrimary = isPrimary; 100 label.equals(phoneData.label) && isPrimary == phoneData.isPrimary); 105 return String.format("type: %d, data: %s, label: %s, isPrimary: %s", 106 type, data, label, isPrimary); 115 public boolean isPrimary; [all...] |
VCardBuilder.java | 273 final Integer isPrimary = contentValues.getAsInteger(StructuredName.IS_PRIMARY); 274 if (isPrimary != null && isPrimary > 0 && [all...] |
VCardUtils.java | 334 if (postalData.isPrimary) { [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 144 values.put(Organizations.ISPRIMARY, 1); 188 values.put(Phones.ISPRIMARY, 1); 239 values.put(ContactMethods.ISPRIMARY, 1); 262 values.put(ContactMethods.ISPRIMARY, 1); 331 values.put(Organizations.ISPRIMARY, 1); 364 values.put(Organizations.ISPRIMARY, 0); 374 values.put(Organizations.ISPRIMARY, 1); 392 values.put(Phones.ISPRIMARY, 1); 433 values.put(Phones.ISPRIMARY, 0); 442 values.put(Phones.ISPRIMARY, 1) [all...] |
/development/samples/BusinessCard/src/com/example/android/businesscard/ |
ContactAccessorSdk3_4.java | 69 new String[]{Phones.NUMBER}, null, null, Phones.ISPRIMARY + " DESC");
|
/packages/apps/Phone/src/com/android/phone/sip/ |
SipSettings.java | 106 boolean isPrimary = mProfile.getUriString().equals( 108 Log.v(TAG, "profile uid is " + profileUid + " isPrimary:" 109 + isPrimary + " registration:" + registrationStatus 117 } else if (isPrimary) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
LegacyContactImporter.java | 680 "person", "company", "title", "isprimary", "type", "label", 686 static int ISPRIMARY = 3; 731 bindString(insert, OrganizationInsert.IS_PRIMARY, c.getString(OrganizationsQuery.ISPRIMARY)); 733 c.getString(OrganizationsQuery.ISPRIMARY)); 745 "person", "kind", "data", "aux_data", "type", "label", "isprimary", 754 static int ISPRIMARY = 6; [all...] |
LegacyApiSupport.java | 403 sOrganizationProjectionMap.put(android.provider.Contacts.Organizations.ISPRIMARY, 404 android.provider.Contacts.Organizations.ISPRIMARY); 418 sContactMethodProjectionMap.put(ContactMethods.ISPRIMARY, ContactMethods.ISPRIMARY); 429 sPhoneProjectionMap.put(android.provider.Contacts.Phones.ISPRIMARY, 430 android.provider.Contacts.Phones.ISPRIMARY); [all...] |
/frameworks/base/docs/html/sdk/api_diff/5/changes/ |
android.provider.Contacts.ContactMethodsColumns.html | 106 <A NAME="android.provider.Contacts.ContactMethodsColumns.ISPRIMARY"></A> 107 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Contacts.ContactMethodsColumns.html#ISPRIMARY" target="_top"><code>ISPRIMARY</code></font></A></nobr> </TD>
|
android.provider.Contacts.OrganizationColumns.html | 97 <A NAME="android.provider.Contacts.OrganizationColumns.ISPRIMARY"></A> 98 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Contacts.OrganizationColumns.html#ISPRIMARY" target="_top"><code>ISPRIMARY</code></font></A></nobr> </TD>
|
android.provider.Contacts.PhonesColumns.html | 88 <A NAME="android.provider.Contacts.PhonesColumns.ISPRIMARY"></A> 89 <nobr><code>String</code> <A HREF="../../../../reference/android/provider/Contacts.PhonesColumns.html#ISPRIMARY" target="_top"><code>ISPRIMARY</code></font></A></nobr> </TD>
|
fields_index_changes.html | 486 <i>ISPRIMARY</i><br> 488 <A HREF="android.provider.Contacts.ContactMethodsColumns.html#android.provider.Contacts.ContactMethodsColumns.ISPRIMARY" class="hiddenlink" target="rightframe">android.provider.Contacts.ContactMethodsColumns</A> 491 <A HREF="android.provider.Contacts.OrganizationColumns.html#android.provider.Contacts.OrganizationColumns.ISPRIMARY" class="hiddenlink" target="rightframe">android.provider.Contacts.OrganizationColumns</A> 494 <A HREF="android.provider.Contacts.PhonesColumns.html#android.provider.Contacts.PhonesColumns.ISPRIMARY" class="hiddenlink" target="rightframe">android.provider.Contacts.PhonesColumns</A> [all...] |
/packages/apps/Contacts/src/com/android/contacts/model/ |
EntityDelta.java | 157 if (entry.isPrimary()) { 188 } else if (entry.isPrimary()) { 593 public boolean isPrimary() { 594 final Long isPrimary = getAsLong(Data.IS_PRIMARY); 595 return isPrimary == null ? false : isPrimary != 0;
|
EntitySet.java | 285 } else if (primary == null && entry.isPrimary()) {
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsTest.java | 340 Phones.NUMBER_KEY, Phones.LABEL, Phones.ISPRIMARY}; 364 value.put(Phones.ISPRIMARY, 1); 419 Organizations.ISPRIMARY, Organizations.TYPE, Organizations.LABEL, 447 value.put(Organizations.ISPRIMARY, 1); 598 ContactMethods.LABEL, ContactMethods.ISPRIMARY}; 628 value.put(ContactMethods.ISPRIMARY, 1); 652 value.put(ContactMethods.ISPRIMARY, 1); [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ViewContactActivity.java | 575 if (!entry.isPrimary) { 580 if (!entry.isPrimary) { [all...] |
/packages/providers/ContactsProvider/tests/assets/testUnsynced/ |
legacy_contacts.sql | 11 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 32 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id)); 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);
|
/packages/apps/VoiceDialer/src/com/android/voicedialer/ |
VoiceContact.java | 156 + " isPrimary=" + isPrimaryAtCursor
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
legacy_contacts.sql | 14 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 51 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id)); 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);
|
/packages/providers/ContactsProvider/tests/assets/testSynced/ |
legacy_contacts.sql | 12 CREATE TABLE contact_methods (_id INTEGER PRIMARY KEY AUTOINCREMENT,person INTEGER REFERENCES people(_id),kind INTEGER NOT NULL,data TEXT,aux_data TEXT,type INTEGER NOT NULL,label TEXT,isprimary INTEGER NOT NULL DEFAULT 0); 42 CREATE TABLE organizations (_id INTEGER PRIMARY KEY AUTOINCREMENT,company TEXT,title TEXT,isprimary INTEGER NOT NULL DEFAULT 0,type INTEGER NOT NULL,label TEXT,person INTEGER REFERENCES people(_id)); 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);
|
/frameworks/base/core/java/android/provider/ |
Contacts.java | [all...] |
/packages/apps/Contacts/src/com/android/contacts/ui/ |
QuickContactWindow.java | 726 public Boolean isPrimary(); [all...] |