HomeSort by relevance Sort by last modified time
    Searched refs:rawContactId (Results 26 - 50 of 60) sorted by null

12 3

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForCommonDataKind.java 44 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
47 return super.insert(db, txContext, rawContactId, values);
LegacyApiSupport.java     [all...]
DataRowHandlerForStructuredPostal.java 55 public long insert(SQLiteDatabase db, TransactionContext txContext, long rawContactId,
58 return super.insert(db, txContext, rawContactId, values);
ContactsDatabaseHelper.java     [all...]
ContactsProvider2.java     [all...]
  /packages/apps/Contacts/src/com/android/contacts/
SplitAggregateView.java 81 void onContactSelected(long rawContactId);
100 mListener.onContactSelected(list.get(position).rawContactId);
116 final long rawContactId;
124 public RawContactInfo(long rawContactId) {
125 this.rawContactId = rawContactId;
162 long rawContactId = cursor.getLong(SplitQuery.RAW_CONTACT_ID);
163 RawContactInfo info = rawContactInfos.get(rawContactId);
165 info = new RawContactInfo(rawContactId);
166 rawContactInfos.put(rawContactId, info)
    [all...]
ContactSaveService.java 289 * @param rawContactId identifies a writable raw-contact whose photo is to be updated.
294 Class<? extends Activity> callbackActivity, String callbackAction, long rawContactId,
297 bundle.putString(String.valueOf(rawContactId), updatedPhotoPath);
369 final long rawContactId = getRawContactId(state, diff, results);
370 if (rawContactId == -1) {
394 rawContactId);
415 Long rawContactId = state.getRawContactId(i);
416 if (rawContactId != null && rawContactId != -1) {
420 sb.append(rawContactId);
    [all...]
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/platform/
ContactManager.java 139 final long rawContactId;
142 rawContactId = rawContact.getRawContactId();
146 rawContactId = lookupRawContact(resolver, serverContactId);
149 if (rawContactId != 0) {
152 true, true, true, rawContactId, batchOperation);
154 deleteContact(context, rawContactId, batchOperation);
195 final long rawContactId = c.getLong(DirtyQuery.COLUMN_RAW_CONTACT_ID);
206 Log.i(TAG, "Dirty Contact: " + Long.toString(rawContactId));
211 RawContact rawContact = RawContact.createDeletedContact(rawContactId,
215 RawContact rawContact = getRawContact(context, rawContactId);
    [all...]
ContactOperations.java 82 * @param rawContactId the unique Id of the existing rawContact
86 public static ContactOperations updateExistingContact(Context context, long rawContactId,
88 return new ContactOperations(context, rawContactId, isSyncOperation, batchOperation);
113 public ContactOperations(Context context, long rawContactId, boolean isSyncOperation,
117 mRawContactId = rawContactId;
  /packages/apps/Contacts/src/com/android/contacts/group/
SuggestedMemberListAdapter.java 215 long rawContactId = cursor.getLong(RAW_CONTACT_ID_COLUMN_INDEX);
223 SuggestedMember member = new SuggestedMember(rawContactId, displayName,
227 suggestionsMap.put(rawContactId, member);
254 for (Long rawContactId : suggestionsMap.keySet()) {
255 selectionArgs.add(String.valueOf(rawContactId));
269 long rawContactId = memberDataCursor.getLong(RAW_CONTACT_ID_COLUMN_INDEX);
270 SuggestedMember member = suggestionsMap.get(rawContactId);
329 public SuggestedMember(long rawContactId, String displayName, long contactId) {
330 mRawContactId = rawContactId;
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_StreamItemPhotosTest.java 40 long rawContactId = ContactsContract_StreamItemsTest.insertRawContact(mResolver);
42 rawContactId);
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
GroupsTest.java 229 public void assertRawContactVisible(long rawContactId, boolean expected) {
230 final long contactId = this.queryContactId(rawContactId);
257 final long rawContactId = this.createRawContact(sTestAccount);
258 final long contactId = this.queryContactId(rawContactId);
261 this.insertGroupMembership(rawContactId, groupId);
280 final long rawContactId = this.createRawContact();
283 assertRawContactVisible(rawContactId, true);
311 final long rawContactId = this.createRawContact(sTestAccount);
319 assertRawContactVisible(rawContactId, false);
328 assertRawContactVisible(rawContactId, true)
    [all...]
ContactsActor.java 365 long rawContactId = createRawContact();
366 createName(rawContactId, name);
367 return rawContactId;
380 final long rawContactId = createRawContact(name);
381 final long dataId = createEmail(rawContactId, address);
383 return rawContactId;
444 public long getContactForRawContact(long rawContactId) {
446 Uri contactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
469 public int getDataCountForRawContact(long rawContactId) {
472 rawContactId), Contacts.Data.CONTENT_DIRECTORY)
    [all...]
GlobalSearchSupportTest.java 51 long rawContactId = createRawContact(account);
52 insertStructuredName(rawContactId, "Deer", "Dough");
55 mResolver.delete(Data.CONTENT_URI, Data.RAW_CONTACT_ID + "=" + rawContactId
  /packages/apps/Contacts/src/com/android/contacts/editor/
AggregationSuggestionEngine.java 58 public long rawContactId;
65 return "ID: " + rawContactId + " account: " + accountType + "/" + accountName
391 long rawContactId = mDataCursor.getLong(DataQuery.RAW_CONTACT_ID);
392 if (!containsRawContact(suggestion, rawContactId)) {
394 rawContact.rawContactId = rawContactId;
433 public boolean containsRawContact(Suggestion suggestion, long rawContactId) {
437 if (suggestion.rawContacts.get(i).rawContactId == rawContactId) {
ContactEditorFragment.java 459 long rawContactId = rawContact.getId();
462 ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId),
700 final long rawContactId = rawContactDelta.getRawContactId();
734 Bitmap bitmap = updatedBitmapForRawContact(rawContactId);
769 if (rawContactId == mAggregationSuggestionsRawContactId) {
791 * @param rawContactId identifies the raw-contact whose Bitmap we'll try to return.
794 private Bitmap updatedBitmapForRawContact(long rawContactId) {
795 String path = mUpdatedPhotos.getString(String.valueOf(rawContactId));
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/
StreamItemPopulatorActivity.java 165 long rawContactId = -1;
181 rawContactId = c.getLong(0);
187 if (rawContactId != -1) {
188 addStreamItemsToRawContact(rawContactId, accountType, accountName);
212 private void addStreamItemsToRawContact(long rawContactId, String accountType,
224 rawContactId),
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/allintents/
AllIntentsActivity.java 359 final long rawContactId = findArbitraryRawContactOfContact(contactId);
360 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
368 final long rawContactId = findArbitraryRawContactOfContact(contactId);
369 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId);
434 final long rawContactId = findArbitraryRawContactOfContact(contactId);
435 final Uri uri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
443 final long rawContactId = findArbitraryRawContactOfContact(contactId);
444 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId);
468 final long rawContactId = findArbitraryRawContactOfContact(contactId);
469 final Uri uri = ContentUris.withAppendedId(legacyContentUri, rawContactId);
    [all...]
  /packages/apps/Contacts/tests/src/com/android/contacts/
RawContactDeltaListTests.java 99 static RawContactDelta getUpdate(Context context, long rawContactId) {
100 final RawContact before = RawContactDeltaTests.getRawContact(context, rawContactId,
122 static RawContactDelta buildBeforeEntity(Context context, long rawContactId, long version,
127 contact.put(RawContacts._ID, rawContactId);
168 static void insertPhone(RawContactDeltaList set, long rawContactId, ContentValues values) {
169 final RawContactDelta match = set.getByRawContactId(rawContactId);
173 static ValuesDelta getPhone(RawContactDeltaList set, long rawContactId, long dataId) {
174 final RawContactDelta match = set.getByRawContactId(rawContactId);
250 static ContentProviderOperation buildUpdateAggregationKeepTogether(long rawContactId) {
252 values.put(AggregationExceptions.RAW_CONTACT_ID1, rawContactId);
    [all...]
  /packages/experimental/LoaderApp/src/com/android/loaderapp/util/
ContactsUtils.java 273 public static long queryForContactId(ContentResolver cr, long rawContactId) {
279 RawContacts._ID + "=" + rawContactId, null, null);
317 long rawContactId = -1;
324 rawContactId = rawContactIdCursor.getLong(0);
331 return rawContactId;
  /packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
ContactFragment.java 340 final long rawContactId = entValues.getAsLong(RawContacts._ID);
346 if (!mRawContactIds.contains(rawContactId)) {
347 mRawContactIds.add(rawContactId);
355 mWritableRawContactIds.add(rawContactId);
361 entryValues.put(Data.RAW_CONTACT_ID, rawContactId);
372 rawContactId, dataId, entryValues);
414 imMime, imKind, rawContactId, dataId, entryValues);
440 final boolean isNameRawContact = (mNameRawContactId == rawContactId);
459 final boolean isNameRawContact = (mNameRawContactId == rawContactId);
551 long rawContactId, long dataId, ContentValues values)
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/interactions/
ContactDeletionInteraction.java 236 final long rawContactId = cursor.getLong(COLUMN_INDEX_RAW_CONTACT_ID);
244 writableRawContacts.add(rawContactId);
246 readOnlyRawContacts.add(rawContactId);
  /packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DataItem.java 109 public void setRawContactId(long rawContactId) {
110 mContentValues.put(Data.RAW_CONTACT_ID, rawContactId);
  /packages/apps/Contacts/src/com/android/contacts/model/
ContactLoader.java 380 long rawContactId = cursor.getLong(ContactQuery.RAW_CONTACT_ID);
381 if (rawContactId != currentRawContactId) {
384 currentRawContactId = rawContactId;
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
ContactAggregatorTest.java 115 long rawContactId = createRawContact();
117 Uri resultUri = insertStructuredName(rawContactId, "Johna", "Smitha");
122 long contactId = queryContactId(rawContactId);
    [all...]

Completed in 761 milliseconds

12 3