/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1231 for (DataItem dataItem : rawContact.getDataItems()) { in generateDataModelFromContact() 1232 dataItem.setRawContactId(rawContact.getId()); in generateDataModelFromContact() 1234 final String mimeType = dataItem.getMimeType(); in generateDataModelFromContact() 1244 dataItem.setDataKind(dataKind); in generateDataModelFromContact() 1246 final boolean hasData = !TextUtils.isEmpty(dataItem.buildDataString(this, in generateDataModelFromContact() 1260 dataItemListByType.add(dataItem); in generateDataModelFromContact() 1375 private static Entry dataItemToEntry(DataItem dataItem, DataItem secondDataItem, in dataItemToEntry() argument 1405 DataKind kind = dataItem.getDataKind(); in dataItemToEntry() 1407 if (dataItem instanceof ImDataItem) { in dataItemToEntry() 1408 final ImDataItem im = (ImDataItem) dataItem; in dataItemToEntry() [all …]
|
D | InvisibleContactUtil.java | 59 for (DataItem dataItem : Iterables.filter( in isInvisibleAndAddable() 61 GroupMembershipDataItem groupMembership = (GroupMembershipDataItem) dataItem; in isInvisibleAndAddable()
|
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
D | RawContactTest.java | 39 final ContentValues dataItem = new ContentValues(); in buildRawContact() local 40 dataItem.put("key3", "value3"); in buildRawContact() 41 dataItem.put("key4", "value4"); in buildRawContact() 44 contact.addDataItemValues(dataItem); in buildRawContact() 54 final ContentValues dataItem = new ContentValues(); in buildRawContact2() local 55 dataItem.put("key33", "value33"); in buildRawContact2() 56 dataItem.put("key44", "value44"); in buildRawContact2() 59 contact.addDataItemValues(dataItem); in buildRawContact2()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | RawContact.java | 236 for (NamedDataItem dataItem : mDataItems) { in getContentValues() 237 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues() 238 list.add(dataItem.mContentValues); in getContentValues() 246 for (NamedDataItem dataItem : mDataItems) { in getDataItems() 247 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems() 248 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
|
D | ContactLoader.java | 375 for (DataItem dataItem : rawContact.getDataItems()) { in loadThumbnailBinaryData() 376 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData() 377 if (!(dataItem instanceof PhotoDataItem)) { in loadThumbnailBinaryData() 381 final PhotoDataItem photo = (PhotoDataItem) dataItem; in loadThumbnailBinaryData() 670 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers() local 671 if (dataItem instanceof PhoneDataItem) { in computeFormattedPhoneNumbers() 672 final PhoneDataItem phoneDataItem = (PhoneDataItem) dataItem; in computeFormattedPhoneNumbers()
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | RawContact.java | 326 for (NamedDataItem dataItem : mDataItems) { in getContentValues() 327 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getContentValues() 328 list.add(dataItem.mContentValues); in getContentValues() 336 for (NamedDataItem dataItem : mDataItems) { in getDataItems() 337 if (Data.CONTENT_URI.equals(dataItem.mUri)) { in getDataItems() 338 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
|
D | ContactLoader.java | 562 for (DataItem dataItem : rawContact.getDataItems()) { in loadThumbnailBinaryData() 563 if (dataItem.getId() == photoId) { in loadThumbnailBinaryData() 564 if (!(dataItem instanceof PhotoDataItem)) { in loadThumbnailBinaryData() 568 final PhotoDataItem photo = (PhotoDataItem) dataItem; in loadThumbnailBinaryData() 831 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers() local 832 if (dataItem instanceof PhoneDataItem) { in computeFormattedPhoneNumbers() 833 final PhoneDataItem phoneDataItem = (PhoneDataItem) dataItem; in computeFormattedPhoneNumbers()
|
D | RawContactModifier.java | 644 StructuredNameDataItem dataItem = NameConverter.parsePhoneticName(phoneticName, null); in parseStructuredNameExtra() local 645 child.put(StructuredName.PHONETIC_FAMILY_NAME, dataItem.getPhoneticFamilyName()); in parseStructuredNameExtra() 646 child.put(StructuredName.PHONETIC_MIDDLE_NAME, dataItem.getPhoneticMiddleName()); in parseStructuredNameExtra() 647 child.put(StructuredName.PHONETIC_GIVEN_NAME, dataItem.getPhoneticGivenName()); in parseStructuredNameExtra()
|
/packages/apps/Settings/src/com/android/settings/spa/core/instrumentation/ |
D | MetricsDataModel.kt | 29 fun addTimeStamp(dataItem: PageTimeStamp){ in addTimeStamp() 30 pageTimeStampList.add(dataItem) in addTimeStamp()
|
/packages/services/Car/service/src/com/android/car/telemetry/publisher/ |
D | CarTelemetrydPublisher.java | 308 private void processCarData(@NonNull CarDataInternal dataItem) { in processCarData() argument 309 ArrayList<DataSubscriber> currentSubscribers = mCarIdSubscriberLookUp.get(dataItem.id); in processCarData() 314 String content = new String(dataItem.content, StandardCharsets.UTF_8); in processCarData() 316 bundle.putInt(Constants.CAR_TELEMETRYD_BUNDLE_KEY_ID, dataItem.id); in processCarData()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | ContactDisplayUtils.java | 122 for (DataItem dataItem : Iterables.filter( in getCompany() 125 (OrganizationDataItem) dataItem, in getCompany()
|
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/ |
D | RkpRegistrationCheck.java | 342 static byte[] encodeCbor(final DataItem dataItem) throws CborException { in encodeCbor() argument 344 new CborEncoder(outputStream).encode(dataItem); in encodeCbor()
|
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/ |
D | CborUtils.java | 415 public static byte[] encodeCbor(final DataItem dataItem) throws CborException { in encodeCbor() argument 418 encoder.encode(dataItem); in encodeCbor()
|