Home
last modified time | relevance | path

Searched refs:DataItem (Results 1 – 25 of 49) sorted by relevance

12

/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/
DCborUtils.java36 import co.nstant.in.cbor.model.DataItem;
85 List<DataItem> dataItems = new CborDecoder(bais).decode(); in parseSignedCertificates()
109 for (DataItem entry : uniqueCertificates.getDataItems()) { in parseSignedCertificates()
128 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType()
137 private static boolean parseDeviceConfig(GeekResponse resp, DataItem deviceConfig) { in parseDeviceConfig()
142 DataItem extraKeys = in parseDeviceConfig()
144 DataItem timeToRefreshHours = in parseDeviceConfig()
146 DataItem newUrl = in parseDeviceConfig()
178 List<DataItem> dataItems = new CborDecoder(bais).decode(); in parseGeekResponse()
186 List<DataItem> respItems = in parseGeekResponse()
[all …]
DSystemInterface.java36 import co.nstant.in.cbor.model.DataItem;
57 private static byte[] encodePayload(List<DataItem> keys) throws CborException { in encodePayload()
88 List<DataItem> dataItems = new CborDecoder(bais).decode(); in generateCsr()
89 List<DataItem> macInfo = ((Array) dataItems.get(0)).getDataItems(); in generateCsr()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java68 private List<DataItem> createDataItemsAndCollapse(DataKind kind, ContentValues... values) { in createDataItemsAndCollapse()
69 final List<DataItem> dataList = new ArrayList<>(values.length); in createDataItemsAndCollapse()
71 final DataItem data = DataItem.createFrom(value); in createDataItemsAndCollapse()
93 final List<DataItem> dataList = createDataItemsAndCollapse(kind, mValues1, mValues2); in testDataItemCollapsing_genericDataItemFields()
119 final List<DataItem> dataList = in testDataItemCollapsing_email()
156 final List<DataItem> dataList = in testDataItemCollapsing_event()
192 final List<DataItem> dataList = in testDataItemCollapsing_im()
219 final List<DataItem> dataList = in testDataItemCollapsing_nickname()
241 final List<DataItem> dataList = in testDataItemCollapsing_note()
273 final List<DataItem> dataList = in testDataItemCollapsing_organization()
[all …]
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java136 import com.android.contacts.model.dataitem.DataItem;
545 private final Comparator<DataItem> mWithinMimeTypeDataItemComparator =
546 new Comparator<DataItem>() {
548 public int compare(DataItem lhs, DataItem rhs) {
573 private final Comparator<List<DataItem>> mAmongstMimeTypeDataItemComparator =
574 new Comparator<List<DataItem>> () {
576 public int compare(List<DataItem> lhsList, List<DataItem> rhsList) {
577 final DataItem lhs = lhsList.get(0);
578 final DataItem rhs = rhsList.get(0);
995 final Map<String, List<DataItem>> dataItemsMap = cp2DataCardModel.dataItemsMap; in bindDataToCards()
[all …]
DInvisibleContactUtil.java18 import com.android.contacts.model.dataitem.DataItem;
59 for (DataItem dataItem : Iterables.filter( in isInvisibleAndAddable()
DDataAction.java36 import com.android.contacts.model.dataitem.DataItem;
75 public DataAction(Context context, DataItem item, DataKind kind) { in DataAction()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataItem.java44 public class DataItem implements Collapser.Collapsible<DataItem> { class
49 protected DataItem(ContentValues values) { in DataItem() method in DataItem
57 public static DataItem createFrom(ContentValues values) { in createFrom()
94 return new DataItem(values); in createFrom()
191 public void collapseWith(DataItem that) { in collapseWith()
222 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DPhoneDataItem.java30 public class PhoneDataItem extends DataItem {
37 private DataItem mReachableDataItem;
70 public DataItem getReachableDataItem() { in getReachableDataItem()
74 public void setReachableDataItem(DataItem reachableDataItem) { in setReachableDataItem()
DEventDataItem.java29 public class EventDataItem extends DataItem {
44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DRelationDataItem.java29 public class RelationDataItem extends DataItem {
44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DImDataItem.java30 public class ImDataItem extends DataItem {
87 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DNoteDataItem.java27 public class NoteDataItem extends DataItem {
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataItem.java43 public class DataItem implements Collapser.Collapsible<DataItem> { class
48 protected DataItem(ContentValues values) { in DataItem() method in DataItem
56 public static DataItem createFrom(ContentValues values) { in createFrom()
91 return new DataItem(values); in createFrom()
192 public void collapseWith(DataItem that) { in collapseWith()
234 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DRelationDataItem.java28 public class RelationDataItem extends DataItem {
43 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DEventDataItem.java28 public class EventDataItem extends DataItem {
43 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DImDataItem.java28 public class ImDataItem extends DataItem {
83 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DNoteDataItem.java26 public class NoteDataItem extends DataItem {
DNicknameDataItem.java26 public class NicknameDataItem extends DataItem {
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java28 import com.android.contacts.model.dataitem.DataItem;
87 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentCustom()
109 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntent()
128 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithAudio()
150 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithVideo()
175 (EmailDataItem) DataItem.createFrom(values)); in testImEmailIntent()
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/
DSystemInterfaceTest.java53 import co.nstant.in.cbor.model.DataItem;
129 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSR()
170 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSRProvisionAndUseKey()
178 List<DataItem> publicKeysArr = new CborDecoder(bais).decode(); in testGenerateCSRProvisionAndUseKey()
290 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testDecryptProtectedPayload()
292 List<DataItem> encMsg = ((Array) dataItems.get(0)).getDataItems(); in testDecryptProtectedPayload()
315 List<DataItem> protectedDataArray = new CborDecoder(bais).decode(); in testDecryptProtectedPayload()
318 List<DataItem> protectedDataPayload = ((Array) protectedDataArray.get(0)).getDataItems(); in testDecryptProtectedPayload()
DCborUtilsTest.java35 import co.nstant.in.cbor.model.DataItem;
64 private byte[] encodeDataItem(DataItem toEncode) throws Exception { in encodeDataItem()
380 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testCreateCertificateRequest()
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContact.java31 import com.android.contacts.model.dataitem.DataItem;
334 public List<DataItem> getDataItems() { in getDataItems()
335 final ArrayList<DataItem> list = Lists.newArrayListWithCapacity(mDataItems.size()); in getDataItems()
338 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DRawContact.java30 import com.android.contacts.common.model.dataitem.DataItem;
244 public List<DataItem> getDataItems() { in getDataItems()
245 final ArrayList<DataItem> list = new ArrayList<>(mDataItems.size()); in getDataItems()
248 list.add(DataItem.createFrom(dataItem.mContentValues)); in getDataItems()
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java34 import com.android.contacts.model.dataitem.DataItem;
76 mSnapshot = (StructuredNameDataItem) DataItem.createFrom( in setValues()
171 mSnapshot = (StructuredNameDataItem) DataItem.createFrom(ss.mSnapshot); in onRestoreInstanceState()
/packages/apps/Contacts/src/com/android/contacts/detail/
DContactDisplayUtils.java40 import com.android.contacts.model.dataitem.DataItem;
122 for (DataItem dataItem : Iterables.filter( in getCompany()

12