/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | CborUtils.java | 36 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 …]
|
D | SystemInterface.java | 38 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/ |
D | DataItemTests.java | 68 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/ |
D | QuickContactActivity.java | 137 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 …]
|
D | InvisibleContactUtil.java | 18 import com.android.contacts.model.dataitem.DataItem; 59 for (DataItem dataItem : Iterables.filter( in isInvisibleAndAddable()
|
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/ |
D | DataItem.java | 44 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()
|
D | PhoneDataItem.java | 30 public class PhoneDataItem extends DataItem { 37 private DataItem mReachableDataItem; 70 public DataItem getReachableDataItem() { in getReachableDataItem() 74 public void setReachableDataItem(DataItem reachableDataItem) { in setReachableDataItem()
|
D | EventDataItem.java | 29 public class EventDataItem extends DataItem { 44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | RelationDataItem.java | 29 public class RelationDataItem extends DataItem { 44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | ImDataItem.java | 30 public class ImDataItem extends DataItem { 87 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | NoteDataItem.java | 27 public class NoteDataItem extends DataItem {
|
D | CustomDataItem.java | 25 public class CustomDataItem extends DataItem {
|
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/ |
D | DataItem.java | 43 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()
|
D | RelationDataItem.java | 28 public class RelationDataItem extends DataItem { 43 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | EventDataItem.java | 28 public class EventDataItem extends DataItem { 43 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | ImDataItem.java | 28 public class ImDataItem extends DataItem { 83 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
|
D | NoteDataItem.java | 26 public class NoteDataItem extends DataItem {
|
D | NicknameDataItem.java | 26 public class NicknameDataItem extends DataItem {
|
D | WebsiteDataItem.java | 26 public class WebsiteDataItem extends DataItem {
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
D | ContactsUtilsTests.java | 28 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/ |
D | SystemInterfaceTest.java | 77 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()
|
D | CborUtilsTest.java | 37 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/ |
D | RawContact.java | 31 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/ |
D | RawContact.java | 30 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/ |
D | StructuredNameEditorView.java | 34 import com.android.contacts.model.dataitem.DataItem; 76 mSnapshot = (StructuredNameDataItem) DataItem.createFrom( in setValues() 171 mSnapshot = (StructuredNameDataItem) DataItem.createFrom(ss.mSnapshot); in onRestoreInstanceState()
|