Home
last modified time | relevance | path

Searched refs:DataItem (Results 1 – 25 of 50) 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.java38 import co.nstant.in.cbor.model.DataItem;
59 private static byte[] encodePayload(List<DataItem> keys) throws CborException { in encodePayload()
97 List<DataItem> dataItems = new CborDecoder(bais).decode(); in generateCsr()
98 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.java137 import com.android.contacts.model.dataitem.DataItem;
547 private final Comparator<DataItem> mWithinMimeTypeDataItemComparator =
548 new Comparator<DataItem>() {
550 public int compare(DataItem lhs, DataItem rhs) {
575 private final Comparator<List<DataItem>> mAmongstMimeTypeDataItemComparator =
576 new Comparator<List<DataItem>> () {
578 public int compare(List<DataItem> lhsList, List<DataItem> rhsList) {
579 final DataItem lhs = lhsList.get(0);
580 final DataItem rhs = rhsList.get(0);
997 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()
/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 {
DCustomDataItem.java25 public class CustomDataItem 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 {
DWebsiteDataItem.java26 public class WebsiteDataItem 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.java77 import co.nstant.in.cbor.model.DataItem;
135 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSR()
179 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSRProvisionAndUseKey()
187 List<DataItem> publicKeysArr = new CborDecoder(bais).decode(); in testGenerateCSRProvisionAndUseKey()
303 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testDecryptProtectedPayload()
305 List<DataItem> encMsg = ((Array) dataItems.get(0)).getDataItems(); in testDecryptProtectedPayload()
328 List<DataItem> protectedDataArray = new CborDecoder(bais).decode(); in testDecryptProtectedPayload()
331 List<DataItem> protectedDataPayload = ((Array) protectedDataArray.get(0)).getDataItems(); in testDecryptProtectedPayload()
DCborUtilsTest.java37 import co.nstant.in.cbor.model.DataItem;
66 private byte[] encodeDataItem(DataItem toEncode) throws Exception { in encodeDataItem()
383 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testCreateCertificateRequest()
408 DataItem fingerprint = devInfo.get(new UnicodeString("fingerprint")); in testBuildUnverifiedDeviceInfo()
/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()

12