Searched refs:dataItems (Results 1 – 7 of 7) sorted by relevance
/packages/apps/RemoteProvisioner/src/com/android/remoteprovisioner/ |
D | CborUtils.java | 85 List<DataItem> dataItems = new CborDecoder(bais).decode(); in parseSignedCertificates() local 86 if (dataItems.size() != RESPONSE_ARRAY_SIZE in parseSignedCertificates() 87 || !checkType(dataItems.get(RESPONSE_CERT_ARRAY_INDEX), in parseSignedCertificates() 90 + dataItems.size()); in parseSignedCertificates() 93 dataItems = ((Array) dataItems.get(RESPONSE_CERT_ARRAY_INDEX)).getDataItems(); in parseSignedCertificates() 94 if (dataItems.size() != CERT_ARRAY_ENTRIES) { in parseSignedCertificates() 96 + dataItems.size()); in parseSignedCertificates() 99 if (!checkType(dataItems.get(SHARED_CERTIFICATES_INDEX), in parseSignedCertificates() 101 || !checkType(dataItems.get(UNIQUE_CERTIFICATES_INDEX), in parseSignedCertificates() 106 ((ByteString) dataItems.get(SHARED_CERTIFICATES_INDEX)).getBytes(); in parseSignedCertificates() [all …]
|
D | SystemInterface.java | 88 List<DataItem> dataItems = new CborDecoder(bais).decode(); in generateCsr() local 89 List<DataItem> macInfo = ((Array) dataItems.get(0)).getDataItems(); in generateCsr()
|
/packages/apps/RemoteProvisioner/tests/unittests/src/com/android/remoteprovisioner/unittest/ |
D | CborUtilsTest.java | 380 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testCreateCertificateRequest() local 381 assertEquals(1, dataItems.size()); in testCreateCertificateRequest() 382 assertEquals(MajorType.ARRAY, dataItems.get(0).getMajorType()); in testCreateCertificateRequest() 383 dataItems = ((Array) dataItems.get(0)).getDataItems(); in testCreateCertificateRequest() 384 assertEquals(4, dataItems.size()); in testCreateCertificateRequest() 388 assertEquals(MajorType.ARRAY, dataItems.get(0).getMajorType()); in testCreateCertificateRequest() 390 ((Array) dataItems.get(0)).getDataItems().get(0).getMajorType()); in testCreateCertificateRequest() 392 ((Array) dataItems.get(0)).getDataItems().get(1).getMajorType()); in testCreateCertificateRequest() 394 assertEquals(MajorType.BYTE_STRING, dataItems.get(1).getMajorType()); in testCreateCertificateRequest() 396 assertEquals(MajorType.ARRAY, dataItems.get(2).getMajorType()); in testCreateCertificateRequest() [all …]
|
D | SystemInterfaceTest.java | 129 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSR() local 130 assertEquals(1, dataItems.size()); in testGenerateCSR() 131 assertEquals(MajorType.ARRAY, dataItems.get(0).getMajorType()); in testGenerateCSR() 132 Array encMsg = (Array) dataItems.get(0); in testGenerateCSR() 170 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testGenerateCSRProvisionAndUseKey() local 171 assertEquals(1, dataItems.size()); in testGenerateCSRProvisionAndUseKey() 172 assertEquals(MajorType.ARRAY, dataItems.get(0).getMajorType()); in testGenerateCSRProvisionAndUseKey() 173 Array macMsg = (Array) dataItems.get(0); in testGenerateCSRProvisionAndUseKey() 290 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testDecryptProtectedPayload() local 292 List<DataItem> encMsg = ((Array) dataItems.get(0)).getDataItems(); in testDecryptProtectedPayload()
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 1792 private List<Entry> dataItemsToEntries(List<DataItem> dataItems, in dataItemsToEntries() argument 1795 if (dataItems.get(0).getMimeType().equals(MIMETYPE_GPLUS_PROFILE)) { in dataItemsToEntries() 1796 return gPlusDataItemsToEntries(dataItems); in dataItemsToEntries() 1797 } else if (dataItems.get(0).getMimeType().equals(MIMETYPE_HANGOUTS)) { in dataItemsToEntries() 1798 return hangoutsDataItemsToEntries(dataItems); in dataItemsToEntries() 1801 for (DataItem dataItem : dataItems) { in dataItemsToEntries() 1815 private Map<Long, List<DataItem>> dataItemsToBucket(List<DataItem> dataItems) { in dataItemsToBucket() argument 1817 for (DataItem dataItem : dataItems) { in dataItemsToBucket() 1832 private List<Entry> gPlusDataItemsToEntries(List<DataItem> dataItems) { in gPlusDataItemsToEntries() argument 1835 for (List<DataItem> bucket : dataItemsToBucket(dataItems).values()) { in gPlusDataItemsToEntries() [all …]
|
/packages/apps/Contacts/src/com/android/contacts/model/ |
D | ContactLoader.java | 828 final List<DataItem> dataItems = rawContact.getDataItems(); in computeFormattedPhoneNumbers() local 829 final int dataCount = dataItems.size(); in computeFormattedPhoneNumbers() 831 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | ContactLoader.java | 666 final List<DataItem> dataItems = rawContact.getDataItems(); in computeFormattedPhoneNumbers() local 667 final int dataCount = dataItems.size(); in computeFormattedPhoneNumbers() 669 final DataItem dataItem = dataItems.get(dataIndex); in computeFormattedPhoneNumbers()
|