/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/eab/ |
D | EabUtil.java | 130 int contactId = getEabContactId(contact, context); in removeContactFromEab() local 131 if (contactId == -1) { in removeContactFromEab() 134 int commonId = getEabCommonId(contactId, context); in removeContactFromEab() 135 count += removeContactCapabilities(contactId, commonId, context); in removeContactFromEab() 141 int contactId = -1; in getEabContactId() local 151 contactId = cursor.getInt(cursor.getColumnIndex(EabProvider.ContactColumns._ID)); in getEabContactId() 160 return contactId; in getEabContactId() 163 private static int getEabCommonId(int contactId, Context context) { in getEabCommonId() argument 171 new String[] { String.valueOf(contactId) }, null); in getEabCommonId() 185 private static int removeContactCapabilities(int contactId, int commonId, Context context) { in removeContactCapabilities() argument [all …]
|
D | EabControllerImpl.java | 250 int contactId = getIntValue(c, EabProvider.ContactColumns._ID); in saveCapabilities() local 253 deleteOldPresenceCapability(contactId); in saveCapabilities() 254 insertNewPresenceCapability(contactId, capability); in saveCapabilities() 257 deleteOldOptionCapability(contactId); in saveCapabilities() 258 insertNewOptionCapability(contactId, capability); in saveCapabilities() 262 int contactId = insertNewContact(phoneNumber); in saveCapabilities() local 264 insertNewPresenceCapability(contactId, capability); in saveCapabilities() 266 insertNewOptionCapability(contactId, capability); in saveCapabilities() 678 private void insertNewPresenceCapability(int contactId, RcsContactUceCapability capability) { in insertNewPresenceCapability() argument 680 contentValues.put(EabProvider.EabCommonColumns.EAB_CONTACT_ID, contactId); in insertNewPresenceCapability() [all …]
|
D | EabContactSyncController.java | 148 String contactId = cursor.getString(cursor.getColumnIndex( in handleContactDeletedCase() local 150 deleteClause.append(EabProvider.ContactColumns.CONTACT_ID + "=" + contactId); in handleContactDeletedCase() 249 String contactId = contactCursor.getString(contactCursor.getColumnIndex( in handlePhoneNumberInsertedCase() local 270 data.put(EabProvider.ContactColumns.CONTACT_ID, contactId); in handlePhoneNumberInsertedCase()
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
D | RecipientEntry.java | 102 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument 106 destinationLabel, contactId, directoryId, dataId, photoThumbnailUri, in RecipientEntry() 111 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument 120 mContactId = contactId; in RecipientEntry() 134 int destinationType, String destinationLabel, long contactId, Long directoryId, in RecipientEntry() argument 138 contactId, directoryId, dataId, photoThumbnailUri, isFirstLevel, isValid, in RecipientEntry() 191 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument 196 contactId, directoryId, dataId, photoThumbnailUri, true, isValid, lookupKey, in constructTopLevelEntry() 201 String destination, int destinationType, String destinationLabel, long contactId, in constructTopLevelEntry() argument 206 contactId, directoryId, dataId, (thumbnailUriAsString != null in constructTopLevelEntry() [all …]
|
D | BaseRecipientAdapter.java | 144 public final long contactId; field in BaseRecipientAdapter.TemporaryEntry 156 long contactId, in TemporaryEntry() argument 166 this.contactId = contactId; in TemporaryEntry() 179 this.contactId = cursor.getLong(Queries.Query.CONTACT_ID); in TemporaryEntry() 818 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry() 820 } else if (entryMap.containsKey(entry.contactId)) { in putOneEntry() 822 final List<RecipientEntry> entryList = entryMap.get(entry.contactId); in putOneEntry() 827 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry() 835 entry.contactId, entry.directoryId, entry.dataId, entry.thumbnailUriString, in putOneEntry() 837 entryMap.put(entry.contactId, entryList); in putOneEntry()
|
D | RecipientAlternatesAdapter.java | 369 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument 373 this(context, contactId, directoryId, lookupKey, currentId, queryMode, listener, in RecipientAlternatesAdapter() 377 public RecipientAlternatesAdapter(Context context, long contactId, Long directoryId, in RecipientAlternatesAdapter() argument 382 getCursorForConstruction(context, contactId, directoryId, lookupKey, queryMode, in RecipientAlternatesAdapter() 393 private static Cursor getCursorForConstruction(Context context, long contactId, in getCursorForConstruction() argument 407 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction() 422 uri = Contacts.getLookupUri(contactId, lookupKey) in getCursorForConstruction() 439 uri, projection, selection, new String[] {String.valueOf(contactId)}, null); in getCursorForConstruction()
|
D | RecipientEditTextView.java | 732 long contactId = mSelectedChip != null ? mSelectedChip.getEntry().getContactId() : -1; in shrink() local 733 if (mSelectedChip != null && contactId != RecipientEntry.INVALID_CONTACT in shrink() 734 && (!isPhoneQuery() && contactId != RecipientEntry.GENERATED_CONTACT)) { in shrink() 1006 long contactId = contact.getContactId(); in loadAvatarIcon() local 1008 contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon() 1009 : (contactId != RecipientEntry.INVALID_CONTACT in loadAvatarIcon() 1010 && contactId != RecipientEntry.GENERATED_CONTACT); in loadAvatarIcon() 2601 long contactId = currentChip.getContactId(); in shouldShowEditableText() local 2602 return contactId == RecipientEntry.INVALID_CONTACT in shouldShowEditableText() 2603 || (!isPhoneQuery() && contactId == RecipientEntry.GENERATED_CONTACT); in shouldShowEditableText() [all …]
|
/frameworks/base/core/java/android/provider/ |
D | ContactsInternal.java | 97 final long contactId = isContactIdIgnored in maybeStartManagedQuickContact() 113 if (!ContactsContract.Contacts.isEnterpriseContactId(contactId)) { in maybeStartManagedQuickContact() 114 throw new IllegalArgumentException("Invalid enterprise contact id: " + contactId); in maybeStartManagedQuickContact() 125 (contactId - ContactsContract.Contacts.ENTERPRISE_CONTACT_ID_BASE); in maybeStartManagedQuickContact()
|
D | ContactsContract.java | 1687 final long contactId = c.getLong(1); in getLookupUri() local 1688 return getLookupUri(contactId, lookupKey); in getLookupUri() 1703 public static Uri getLookupUri(long contactId, String lookupKey) { in getLookupUri() argument 1708 lookupKey), contactId); in getLookupUri() 1728 long contactId = c.getLong(0); in lookupContact() local 1729 return ContentUris.withAppendedId(Contacts.CONTENT_URI, contactId); in lookupContact() 1756 public static void markAsContacted(ContentResolver resolver, long contactId) { in markAsContacted() argument 1863 public static boolean isEnterpriseContactId(long contactId) { in isEnterpriseContactId() argument 1864 return (contactId >= ENTERPRISE_CONTACT_ID_BASE) && (contactId < Profile.MIN_ID); in isEnterpriseContactId() 2045 public Builder setContactId(long contactId) { in setContactId() argument [all …]
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardComposer.java | 482 public final long contactId; field in VCardComposer.RawContactEntitlesInfo 483 public RawContactEntitlesInfo(Uri rawContactEntitlesUri, long contactId) { in RawContactEntitlesInfo() argument 485 this.contactId = contactId; in RawContactEntitlesInfo() 499 RawContactEntitlesInfo getRawContactEntitlesInfo(long contactId); in getRawContactEntitlesInfo() argument 502 private String createOneEntryInternal(long contactId, in createOneEntryInternal() argument 514 mRawContactEntitlesInfoCallback.getRawContactEntitlesInfo(contactId); in createOneEntryInternal() 516 contactId = rawContactEntitlesInfo.contactId; in createOneEntryInternal() 519 final String[] selectionArgs = new String[] {String.valueOf(contactId)}; in createOneEntryInternal() 546 Log.w(LOG_TAG, "Data does not exist. contactId: " + contactId); in createOneEntryInternal()
|
/frameworks/opt/chips/tests/src/com/android/ex/chips/ |
D | RecipientAlternatesAdapterTest.java | 82 long contactId, in addRow() argument 88 contactId, dataId, photoUri, displayNameSource}); in addRow() 97 long contactId, in assertRow() argument 107 assertEquals(contactId, c.getLong(4)); in assertRow()
|
/frameworks/opt/net/ims/tests/src/com/android/ims/rcs/uce/eab/ |
D | EabContactSyncControllerTest.java | 179 private void insertDeletedContactToContactProvider(int contactId, int timestamp) { in insertDeletedContactToContactProvider() argument 181 values.put(ContactsContract.DeletedContacts.CONTACT_ID, contactId); in insertDeletedContactToContactProvider() 188 int contactId, int rawContactId, int dataId, String number) { in insertContactToContactProvider() argument 191 values.put(EabProvider.ContactColumns.CONTACT_ID, contactId); in insertContactToContactProvider() 200 private void insertContactToEabProvider(int contactId, in insertContactToEabProvider() argument 203 values.put(EabProvider.ContactColumns.CONTACT_ID, contactId); in insertContactToEabProvider()
|
D | EabControllerTest.java | 231 int contactId = cursor.getInt( in testSaveCapabilityAndCleanupInvalidDataInCommonTable() local 233 if (contactId == -1) { in testSaveCapabilityAndCleanupInvalidDataInCommonTable() 257 int contactId = cursor.getInt( in testCleanupInvalidDataInCommonTable() local 259 if (contactId == -1) { in testCleanupInvalidDataInCommonTable()
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | ValidateNotificationPeopleTest.java | 209 final int contactId = 12345; in testSearchContacts_workContact_queriesWorkContactProvider() local 221 ContactsContract.Contacts.ENTERPRISE_CONTACT_LOOKUP_PREFIX + contactId); in testSearchContacts_workContact_queriesWorkContactProvider() 240 final int contactId = 12345; in testSearchContacts_personalContact_queriesPersonalContactProvider() local 248 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testSearchContacts_personalContact_queriesPersonalContactProvider() 271 final int contactId = 12345; in testMergePhoneNumbers_noPhoneNumber() local 273 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testMergePhoneNumbers_noPhoneNumber() 303 final int contactId = 12345; in testMergePhoneNumbers_hasNumber() local 305 ContactsContract.Contacts.CONTENT_LOOKUP_URI, String.valueOf(contactId)); in testMergePhoneNumbers_hasNumber()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | ContactsQueryHelper.java | 115 long contactId; in queryContact() local 128 contactId = cursor.getLong(idIndex); in queryContact() 134 mContactUri = Contacts.getLookupUri(contactId, lookupKey); in queryContact()
|
/frameworks/base/core/java/android/widget/ |
D | QuickContactBadge.java | 360 long contactId = cursor.getLong(PHONE_ID_COLUMN_INDEX); in onQueryComplete() local 362 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete() 375 long contactId = cursor.getLong(EMAIL_ID_COLUMN_INDEX); in onQueryComplete() local 377 lookupUri = Contacts.getLookupUri(contactId, lookupKey); in onQueryComplete()
|
/frameworks/base/telecomm/java/android/telecom/ |
D | CallerInfo.java | 263 final long contactId = cursor.getLong(columnIndex); in getCallerInfo() local 264 if (contactId != 0 && !Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo() 265 info.contactIdOrZero = contactId; in getCallerInfo() 270 if (Contacts.isEnterpriseContactId(contactId)) { in getCallerInfo()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/people/ |
D | PeopleSpaceUtilsTest.java | 552 String contactId = cursor.getString(cursor.getColumnIndex( in cleanupTestContactFromContactProvider() local 556 new String[]{contactId}); in cleanupTestContactFromContactProvider()
|
/frameworks/base/core/java/android/app/admin/ |
D | IDevicePolicyManager.aidl | 344 …void startManagedQuickContact(String lookupKey, long contactId, boolean isContactIdIgnored, long d… in startManagedQuickContact() argument
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |