Searched refs:backupId (Results 1 – 6 of 6) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactMetadataProviderTest.java | 175 String backupId = "backupId10001"; in testInsertAndUpdateMetadataSync() local 180 values.put(RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync() 186 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync() 195 " \"contact_id\": " + backupId + ",\n" + in testInsertAndUpdateMetadataSync() 207 insertedValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync() 221 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync() 233 " \"contact_id\": " + backupId + ",\n" + in testInsertAndUpdateMetadataSync() 243 updatedValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync() 261 String backupId = "newBackupId"; in testInsertMetadata() local 268 " \"contact_id\": " + backupId + ",\n" + in testInsertMetadata() [all …]
|
D | ContactsProvider2Test.java | 2905 String backupId = "backupId100001"; in testUpdateFromMetadataEntry() local 2907 values.put(RawContacts.BACKUP_ID, backupId); in testUpdateFromMetadataEntry() 2949 backupId, accountType1, accountName1, null); in testUpdateFromMetadataEntry() 3028 String backupId = "backupId001"; in testUpdateMetadataOnRawContactInsert() local 3040 " \"contact_id\": " + backupId + ",\n" + in testUpdateMetadataOnRawContactInsert() 3051 insertedValues.put(MetadataSync.RAW_CONTACT_BACKUP_ID, backupId); in testUpdateMetadataOnRawContactInsert() 3061 long rawContactId = RawContactUtil.createRawContactWithBackupId(mResolver, backupId, in testUpdateMetadataOnRawContactInsert() 3068 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testUpdateMetadataOnRawContactInsert() 3084 String backupId = "backupId001"; in testUpdateMetadataOnRawContactBackupIdChange() local 3096 " \"contact_id\": " + backupId + ",\n" + in testUpdateMetadataOnRawContactBackupIdChange() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | MetadataEntryParser.java | 100 public RawContactInfo(String backupId, String accountType, String accountName, in RawContactInfo() argument 102 this.mBackupId = backupId; in RawContactInfo() 244 final String backupId = uniqueContactJSON.getString(CONTACT_ID); in parseUniqueContact() local 264 if (TextUtils.isEmpty(backupId) || TextUtils.isEmpty(accountType) in parseUniqueContact() 270 backupId, accountType, accountName, dataSet); in parseUniqueContact()
|
D | ContactsProvider2.java | 4905 private long queryRawContactId(SQLiteDatabase db, String backupId, long accountId) { in queryRawContactId() argument 4906 if (TextUtils.isEmpty(backupId)) { in queryRawContactId() 4909 mSelectionArgs2[0] = backupId; in queryRawContactId() 4964 final String backupId = rawContactInfo.mBackupId; in searchRawContactIdForRawContactInfo() local 4976 final long rawContactId = queryRawContactId(db, backupId, accountId); in searchRawContactIdForRawContactInfo()
|
D | ContactsDatabaseHelper.java | 4992 public long upsertMetadataSync(String backupId, Long accountId, String data, Integer deleted) { in upsertMetadataSync() argument 5000 metadataSyncInsert.bindString(1, backupId); in upsertMetadataSync()
|
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
D | RawContactUtil.java | 120 public static long createRawContactWithBackupId(ContentResolver resolver, String backupId, in createRawContactWithBackupId() argument 123 values.put(ContactsContract.RawContacts.BACKUP_ID, backupId); in createRawContactWithBackupId()
|