HomeSort by relevance Sort by last modified time
    Searched full:is_super_primary (Results 1 - 25 of 48) sorted by null

1 2

  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_IsSuperPrimaryName.java 35 * CTS tests for the affect that {@link ContactsContract.Data#IS_SUPER_PRIMARY} has on names inside
37 * together has on IS_SUPER_PRIMARY values in order to enforce the desired IS_SUPER_PRIMARY
78 .with(StructuredName.IS_SUPER_PRIMARY, isFirstNamePrimary ? 1 : 0)
89 .with(StructuredName.IS_SUPER_PRIMARY, !isFirstNamePrimary ? 1 : 0)
102 // Verify: the IS_SUPER_PRIMARY values are maintained after the merge
103 name1.assertColumn(StructuredName.IS_SUPER_PRIMARY, isFirstNamePrimary ? 1 : 0);
104 name2.assertColumn(StructuredName.IS_SUPER_PRIMARY, !isFirstNamePrimary ? 1 : 0);
106 // Verify: the display name is taken from the name with is_super_primary
111 // Now test what happens when you change IS_SUPER_PRIMARY on an existing contac
    [all...]
ContactsContract_DataTest.java 80 Data.IS_SUPER_PRIMARY,
294 Data.IS_SUPER_PRIMARY,
387 Data.IS_SUPER_PRIMARY,
    [all...]
  /packages/providers/ContactsProvider/tests/assets/test1/
testFileDeviceContactMetadataJSON.txt 39 "is_super_primary": true
58 "is_super_primary": false
expected_data.txt 21 21 is_super_primary=0
48 48 is_super_primary=0
75 75 is_super_primary=0
102 102 is_super_primary=0
129 129 is_super_primary=0
156 156 is_super_primary=0
183 183 is_super_primary=1
210 210 is_super_primary=0
237 237 is_super_primary=0
264 264 is_super_primary=
    [all...]
  /packages/providers/ContactsProvider/tests/assets/testUnsynced/
expected_data.txt 21 21 is_super_primary=0
48 48 is_super_primary=0
75 75 is_super_primary=0
102 102 is_super_primary=1
129 129 is_super_primary=1
156 156 is_super_primary=1
183 183 is_super_primary=1
210 210 is_super_primary=1
237 237 is_super_primary=1
264 264 is_super_primary=
    [all...]
  /packages/providers/ContactsProvider/tests/assets/testSynced/
expected_data.txt 21 21 is_super_primary=0
48 48 is_super_primary=0
75 75 is_super_primary=0
102 102 is_super_primary=0
129 129 is_super_primary=0
156 156 is_super_primary=0
183 183 is_super_primary=0
210 210 is_super_primary=0
237 237 is_super_primary=1
264 264 is_super_primary=
    [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/
StructuredNameDataItem.java 97 return contentValues == null || !contentValues.containsKey(StructuredName.IS_SUPER_PRIMARY)
98 ? false : contentValues.getAsBoolean(StructuredName.IS_SUPER_PRIMARY);
DataItem.java 133 Integer superPrimary = mContentValues.getAsInteger(Data.IS_SUPER_PRIMARY);
219 mContentValues.put(Data.IS_SUPER_PRIMARY, 1);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/database/
ContactUpdateUtils.java 40 values.put(ContactsContract.Data.IS_SUPER_PRIMARY, 1);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandler.java 120 final Integer superPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY);
256 final boolean hasSuperPrimary = values.getAsInteger(Data.IS_SUPER_PRIMARY) != null;
269 values.getAsInteger(Data.IS_SUPER_PRIMARY) == 0;
274 final String[] cols = new String[] { Data.IS_PRIMARY, Data.IS_SUPER_PRIMARY };
297 values.getAsInteger(Data.IS_SUPER_PRIMARY) != 0;
314 values.remove(Data.IS_SUPER_PRIMARY);
MetadataEntryParser.java 55 private final static String IS_SUPER_PRIMARY = "is_super_primary";
208 final boolean isSuperPrimary = fieldDataPrefs.getBoolean(IS_SUPER_PRIMARY);
  /packages/apps/Dialer/tests/src/com/android/dialer/database/
DatabaseTestUtils.java 48 Data.IS_SUPER_PRIMARY, // 11
  /development/samples/BusinessCard/src/com/example/android/businesscard/
ContactAccessorSdk5.java 77 Phone.CONTACT_ID + "=" + contactId, null, Phone.IS_SUPER_PRIMARY + " DESC");
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DataUtil.java 94 values.put(Data.IS_SUPER_PRIMARY, 1);
  /packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
ContactAggregator.java 246 * of {@code contactId}. Clear the is_super_primary settings for these mime-types.
251 // Find out which mime-types exist with is_super_primary=true on both the raw contact of
260 Data.IS_SUPER_PRIMARY + " =1 AND " +
264 Data.IS_SUPER_PRIMARY + " =1 AND " +
285 // Clear is_super_primary setting for all the mime-types with is_super_primary=true
288 " SET " + Data.IS_SUPER_PRIMARY + "=0" +
    [all...]
ContactAggregator2.java 244 * Clear the is_super_primary settings for these mime-types.
250 Tables.DATA +" WHERE " + Data.IS_SUPER_PRIMARY + " = 1 AND " +
254 // Find out which mime-types exist with is_super_primary=true on more then one contacts.
277 // Clear is_super_primary setting for all the mime-types with is_super_primary=true
280 " SET " + Data.IS_SUPER_PRIMARY + "=0" +
    [all...]
AbstractContactAggregator.java     [all...]
  /packages/apps/ContactsCommon/src/com/android/contacts/common/model/
ValuesDelta.java 178 final Long isSuperPrimary = getAsLong(ContactsContract.Data.IS_SUPER_PRIMARY);
503 put(ContactsContract.Data.IS_SUPER_PRIMARY, 1);
505 put(ContactsContract.Data.IS_SUPER_PRIMARY, 0);
  /packages/apps/Dialer/src/com/android/dialer/interactions/
PhoneNumberInteraction.java 263 Phone.IS_SUPER_PRIMARY, // 2
274 private static final int IS_SUPER_PRIMARY = 2;
416 if (mUseDefault && cursor.getInt(IS_SUPER_PRIMARY) != 0) {
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsActor.java 583 values.put(Data.IS_SUPER_PRIMARY, 1);
597 values.put(Data.IS_SUPER_PRIMARY, 1);
613 values.put(Data.IS_SUPER_PRIMARY, 1);
676 values.put(Data.IS_SUPER_PRIMARY, 1);
BaseContactsProvider2Test.java 249 values.put(Data.IS_SUPER_PRIMARY, 1);
285 values.put(Data.IS_SUPER_PRIMARY, 1);
322 values.put(Data.IS_SUPER_PRIMARY, 1);
757 final String[] projection = new String[]{Data.MIMETYPE, Data._ID, Data.IS_SUPER_PRIMARY};
763 assertEquals(1, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY)));
765 assertEquals(0, c.getInt(c.getColumnIndexOrThrow(Data.IS_SUPER_PRIMARY)));
    [all...]
  /packages/apps/Dialer/src/com/android/dialer/database/
DialerDatabaseHelper.java 118 static final String IS_SUPER_PRIMARY = "is_super_primary";
155 Data.IS_SUPER_PRIMARY, // 11
257 + Tables.SMARTDIAL_TABLE + "." + SmartDialDbColumns.IS_SUPER_PRIMARY + " DESC, "
409 + SmartDialDbColumns.IS_SUPER_PRIMARY + " INTEGER, "
769 SmartDialDbColumns.IS_SUPER_PRIMARY + ", " +
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/editor/
PhotoEditorView.java 227 mEntry.put(Photo.IS_SUPER_PRIMARY, superPrimary ? 1 : 0);
  /packages/apps/ContactsCommon/src/com/android/contacts/common/
ContactTileLoaderFactory.java 79 Phone.IS_SUPER_PRIMARY, //.................................8
  /packages/apps/Dialer/tests/src/com/android/dialer/interactions/
PhoneNumberInteractionTest.java 252 Phone.IS_SUPER_PRIMARY,

Completed in 508 milliseconds

1 2