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

1 2 3

  /packages/providers/ContactsProvider/src/com/android/providers/contacts/
DataRowHandlerForEmail.java 41 long dataId = super.insert(db, txContext, rawContactId, values);
44 String address = mDbHelper.insertNameLookupForEmail(rawContactId, dataId, email);
48 return dataId;
59 long dataId = c.getLong(DataUpdateQuery._ID);
63 mDbHelper.deleteNameLookup(dataId);
64 mDbHelper.insertNameLookupForEmail(rawContactId, dataId, address);
74 long dataId = c.getLong(DataDeleteQuery._ID);
79 mDbHelper.deleteNameLookup(dataId);
DataRowHandlerForNickname.java 43 long dataId = super.insert(db, txContext, rawContactId, values);
47 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
50 return dataId;
56 long dataId = c.getLong(DataUpdateQuery._ID);
65 mDbHelper.deleteNameLookup(dataId);
66 mDbHelper.insertNameLookupForNickname(rawContactId, dataId, nickname);
76 long dataId = c.getLong(DataDeleteQuery._ID);
81 mDbHelper.deleteNameLookup(dataId);
DataRowHandlerForOrganization.java 46 long dataId = super.insert(db, txContext, rawContactId, values);
49 return dataId;
62 long dataId = c.getLong(DataUpdateQuery._ID);
70 mSelectionArgs1[0] = String.valueOf(dataId);
81 mSelectionArgs1[0] = String.valueOf(dataId);
88 mDbHelper.deleteNameLookup(dataId);
96 long dataId = c.getLong(DataUpdateQuery._ID);
101 mDbHelper.deleteNameLookup(dataId);
DataRowHandlerForPhoneNumber.java 46 final long dataId = super.insert(db, txContext, rawContactId, values);
50 updatePhoneLookup(db, rawContactId, dataId, number, normalizedNumber);
56 return dataId;
69 long dataId = c.getLong(DataUpdateQuery._ID);
71 updatePhoneLookup(db, rawContactId, dataId,
102 long dataId = c.getLong(DataDeleteQuery._ID);
107 updatePhoneLookup(db, rawContactId, dataId, null, null);
114 private void updatePhoneLookup(SQLiteDatabase db, long rawContactId, long dataId,
116 mSelectionArgs1[0] = String.valueOf(dataId);
123 phoneValues.put(PhoneLookupColumns.DATA_ID, dataId);
    [all...]
NameLookupBuilder.java 82 protected abstract void insertNameLookup(long rawContactId, long dataId, int lookupType,
99 public void insertNameLookup(long rawContactId, long dataId, String name, int fullNameStyle) {
111 insertNameVariant(rawContactId, dataId, tokenCount, NameLookupType.NAME_EXACT, true);
126 insertCollationKey(rawContactId, dataId, MAX_NAME_TOKENS);
138 insertNameVariants(rawContactId, dataId, 0, tokenCount, !tooManyTokens, true);
139 insertNicknamePermutations(rawContactId, dataId, 0, tokenCount);
239 private void insertNameVariants(long rawContactId, long dataId, int fromIndex, int toIndex,
242 insertNameVariant(rawContactId, dataId, toIndex,
255 insertNameVariants(rawContactId, dataId, fromIndex + 1, toIndex,
266 private void insertNameVariant(long rawContactId, long dataId, int tokenCount
    [all...]
DataRowHandler.java 117 final long dataId = db.insert(Tables.DATA, null, values);
123 mDbHelper.setIsPrimary(rawContactId, dataId, mimeTypeId);
130 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
138 mDbHelper.setIsSuperPrimary(rawContactId, dataId, mimeTypeId);
147 return dataId;
159 long dataId = c.getLong(DataUpdateQuery._ID);
162 handlePrimaryAndSuperPrimary(txContext, values, dataId, rawContactId,
164 handleHashIdForUpdate(values, dataId);
167 mSelectionArgs1[0] = String.valueOf(dataId);
223 private void handleHashIdForUpdate(ContentValues values, long dataId) {
    [all...]
DataRowHandlerForStructuredName.java 51 long dataId = super.insert(db, txContext, rawContactId, values);
55 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
61 return dataId;
67 final long dataId = c.getLong(DataUpdateQuery._ID);
70 final ContentValues augmented = getAugmentedValues(db, dataId, values);
81 mDbHelper.deleteNameLookup(dataId);
83 mNameLookupBuilder.insertNameLookup(rawContactId, dataId, name,
95 long dataId = c.getLong(DataDeleteQuery._ID);
100 mDbHelper.deleteNameLookup(dataId);
DataRowHandlerForIdentity.java 37 final long dataId = super.insert(db, txContext, rawContactId, values);
44 return dataId;
DataRowHandlerForCommonDataKind.java 53 final long dataId = c.getLong(DataUpdateQuery._ID);
54 final ContentValues augmented = getAugmentedValues(db, dataId, values);
  /packages/apps/Dialer/src/com/android/dialer/contact/
ContactUpdateService.java 38 public static Intent createSetSuperPrimaryIntent(Context context, long dataId) {
40 serviceIntent.putExtra(EXTRA_PHONE_NUMBER_DATA_ID, dataId);
47 long dataId = intent.getLongExtra(EXTRA_PHONE_NUMBER_DATA_ID, -1);
49 ContactUpdateUtils.setSuperPrimary(this, dataId);
  /cts/tests/tests/provider/src/android/provider/cts/contacts/
DataUtil.java 35 public static String[] queryById(ContentResolver resolver, long dataId, String[] projection) {
36 Uri uri = ContentUris.withAppendedId(URI, dataId);
78 public static void delete(ContentResolver resolver, long dataId) {
79 Uri uri = ContentUris.withAppendedId(URI, dataId);
83 public static void update(ContentResolver resolver, long dataId, ContentValues values) {
84 Uri uri = ContentUris.withAppendedId(URI, dataId);
  /packages/apps/Messaging/src/com/android/messaging/datamodel/
BugleRecipientEntry.java 32 final long contactId, final Long directoryId, final long dataId,
36 directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, lookupKey);
42 final long dataId, final String thumbnailUriAsString, final boolean isValid,
45 destinationLabel, contactId, directoryId, dataId, (thumbnailUriAsString != null
52 final long dataId, final String thumbnailUriAsString, final boolean isValid,
55 destinationLabel, contactId, directoryId, dataId, (thumbnailUriAsString != null
  /packages/apps/ContactsCommon/src/com/android/contacts/common/database/
ContactUpdateUtils.java 32 public static void setSuperPrimary(Context context, long dataId) {
33 if (dataId == -1) {
44 ContentUris.withAppendedId(ContactsContract.Data.CONTENT_URI, dataId),
  /cts/tests/tests/provider/src/android/provider/cts/
ContactsContract_PhoneLookup.java 66 public long dataId;
68 public Id (long contactId, long dataId) {
70 this.dataId = dataId;
82 long dataId = rawContact.newDataRow(Phone.CONTENT_ITEM_TYPE)
119 new Id(contact.getId(), dataId),
148 expected.put(PhoneLookup.DATA_ID, ids[0].dataId);
165 expected.put(PhoneLookup.DATA_ID, ids[1].dataId);
180 expected.put(PhoneLookup.DATA_ID, ids[2].dataId);
208 expected.put(PhoneLookup.DATA_ID, ids[0].dataId);
    [all...]
ContactsContract_StatusUpdatesTest.java 40 private long dataId;
65 dataId = ContentUris.parseId(results[1].uri);
69 Uri uri = insertStatusUpdate(dataId, StatusUpdates.DO_NOT_DISTURB, null, null);
75 Uri uri2 = insertStatusUpdate(dataId, StatusUpdates.AVAILABLE, null, null);
83 Uri uri3 = insertStatusUpdate(dataId, StatusUpdates.AWAY, "Grabbing a byte", null);
92 Uri uri4 = insertStatusUpdate(dataId, StatusUpdates.IDLE, "Taking a bit of a break", null);
101 private Uri insertStatusUpdate(long dataId, int presence, String status, Long timestamp)
105 .withValue(StatusUpdates.DATA_ID, dataId)
ContactsContract_DataUsageTest.java 113 private void updateDataUsageAndAssert(long dataId, int assertValue) {
114 Uri uri = DataUsageFeedback.FEEDBACK_URI.buildUpon().appendPath(String.valueOf(dataId))
120 assertDataUsageEquals(dataId, assertValue);
139 private void assertDataUsageEquals(long dataId, int expectedValue) {
142 String[] record = DataUtil.queryById(mResolver, dataId, projection);
  /external/skia/src/ports/
SkRemotableFontMgr_win_dw.cpp 28 struct DataId {
33 DataId() { }
35 DataId(DataId&& that) : fLoader(that.fLoader), fKey(that.fKey), fKeySize(that.fKeySize) {
41 ~DataId() {
49 mutable SkTArray<DataId> fDataIdCache;
64 const DataId& current = fDataIdCache[i];
72 DataId& added = fDataIdCache.push_back();
454 SkStreamAsset* getData(int dataId) const override {
456 if (dataId >= fDataIdCache.count())
    [all...]
  /frameworks/opt/chips/src/com/android/ex/chips/
RecipientEntry.java 100 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid,
103 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri,
109 long dataId, Uri photoThumbnailUri, boolean shouldDisplayIcon,
119 mDataId = dataId;
132 long dataId, Uri photoThumbnailUri, boolean isFirstLevel, boolean isValid,
135 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid,
189 Long directoryId, long dataId, Uri photoThumbnailUri, boolean isValid,
193 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey,
199 Long directoryId, long dataId, String thumbnailUriAsString, boolean isValid,
203 contactId, directoryId, dataId, (thumbnailUriAsString != nul
    [all...]
  /external/ims/rcs/presencepolling/src/com/android/service/ims/presence/
EABDbUtil.java 118 String dataId = getDataId(contentResolver,rawContactId, contactNumber);
119 if (null != dataId) {
121 contactNumber, rawContactId, contactId, dataId));
123 logger.debug("dataId is null. Don't add contact to " +
152 String dataId = null;
161 dataId = cur.getString(cur.getColumnIndex(Data._ID));
164 logger.debug("SQLiteException while querying for dataId : " + e.toString());
166 logger.debug("Exception while querying for dataId : " + e);
172 return dataId;
201 String dataId) {
    [all...]
EABService.java 446 Long dataId = Long.valueOf(cursor.getLong(cursor.getColumnIndex(
456 verifyInsertOrUpdateAction(dataId, contactId, rawContactId, phoneNumber,
487 private void verifyInsertOrUpdateAction(Long dataId, Long contactId,
497 String eabWhereClause = EABContract.EABColumns.DATA_ID + " ='" + dataId.toString()
509 // EABProvider has entry for dataId & rawContactId. Try to
520 handlePhoneNumberChanged(dataId, contactId, rawContactId,
526 handlePhoneNameUpdate(dataId, contactId, rawContactId,
537 handlePhoneNumberInsertion(dataId, contactId, rawContactId, phoneNumber,
632 logger.error("Duplicate entry for DataId : " + eabDataId +
649 logger.error("DataId " + contactDataId
    [all...]
PresenceContact.java 47 String contactId, String dataId) {
52 mDataId = dataId;
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DataUtil.java 35 public static void delete(ContentResolver resolver, long dataId) {
36 Uri uri = ContentUris.withAppendedId(URI, dataId);
40 public static void update(ContentResolver resolver, long dataId, ContentValues values) {
41 Uri uri = ContentUris.withAppendedId(URI, dataId);
  /packages/apps/Camera2/src/com/android/camera/filmstrip/
FilmstripDataAdapter.java 35 /** Checks if the data of dataID is removed. */
38 /** Checks if the data of dataID is updated. */
87 * the {@code dataID} is out of range.
  /frameworks/opt/chips/tests/src/com/android/ex/chips/
RecipientAlternatesAdapterTest.java 83 long dataId,
88 contactId, dataId, photoUri, displayNameSource});
98 long dataId,
108 assertEquals(dataId, c.getLong(5));
  /packages/apps/Messaging/tests/src/com/android/messaging/datamodel/
BindingTest.java 133 public TestBindableData(final Object dataId) {
134 mDataId = dataId;

Completed in 904 milliseconds

1 2 3