Home
last modified time | relevance | path

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

123

/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/utils/
DCborUtils.java42 import co.nstant.in.cbor.model.DataItem;
98 List<DataItem> dataItems = new CborDecoder(bais).decode(); in parseSignedCertificates()
122 for (DataItem entry : uniqueCertificates.getDataItems()) { in parseSignedCertificates()
141 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType()
150 private static boolean parseDeviceConfig(GeekResponse resp, DataItem deviceConfig) { in parseDeviceConfig()
155 DataItem extraKeys = in parseDeviceConfig()
157 DataItem timeToRefreshHours = in parseDeviceConfig()
159 DataItem newUrl = in parseDeviceConfig()
161 DataItem lastBadCertTimeStart = in parseDeviceConfig()
163 DataItem lastBadCertTimeEnd = in parseDeviceConfig()
[all …]
/packages/modules/RemoteKeyProvisioning/util/src/com/android/rkpdapp/
DRkpRegistrationCheck.java55 import co.nstant.in.cbor.model.DataItem;
89 FetchEekResponse(DataItem response) throws CborException, RemoteException { in FetchEekResponse()
90 List<DataItem> respItems = ((Array) response).getDataItems(); in FetchEekResponse()
91 List<DataItem> allEekChains = in FetchEekResponse()
93 for (DataItem entry : allEekChains) { in FetchEekResponse()
94 List<DataItem> curveAndEekChain = ((Array) entry).getDataItems(); in FetchEekResponse()
224 DataItem response = httpPost(uri, csr); in signCertificates()
225 List<DataItem> dataItems = ((Array) response).getDataItems(); in signCertificates()
228 DataItem leaf = ((Array) dataItems.get(UNIQUE_CERTIFICATES_INDEX)).getDataItems().get(0); in signCertificates()
242 DataItem httpPost(Uri uri, byte[] input) in httpPost()
[all …]
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/element/
DCarSystemBarElementStatusBarDisableController.java42 private final List<DataItem> mListeners = new ArrayList<>();
74 DataItem item = new DataItem(listener, displayId, disableFlags, disable2Flags, in addListener()
112 List<DataItem> changedList = mListeners.stream().filter( in refreshSystemBarDisabledStates()
119 private void notifyDataItem(DataItem item) { in notifyDataItem()
134 private static class DataItem { class in CarSystemBarElementStatusBarDisableController
143 DataItem(Listener listener, int displayId, int disableFlags, int disable2Flags, in DataItem() method in CarSystemBarElementStatusBarDisableController.DataItem
/packages/modules/RemoteKeyProvisioning/app/src/com/android/rkpdapp/database/
DRkpKey.java21 import co.nstant.in.cbor.model.DataItem;
28 private final DataItem mCoseKey;
33 public RkpKey(byte[] keyBlob, byte[] macedPublicKey, DataItem coseKey, String irpcHal, in RkpKey()
46 public DataItem getCoseKey() { in getCoseKey()
/packages/apps/Contacts/tests/src/com/android/contacts/model/dataitem/
DDataItemTests.java71 private List<DataItem> createDataItemsAndCollapse(DataKind kind, ContentValues... values) { in createDataItemsAndCollapse()
72 final List<DataItem> dataList = new ArrayList<>(values.length); in createDataItemsAndCollapse()
74 final DataItem data = DataItem.createFrom(value); in createDataItemsAndCollapse()
96 final List<DataItem> dataList = createDataItemsAndCollapse(kind, mValues1, mValues2); in testDataItemCollapsing_genericDataItemFields()
122 final List<DataItem> dataList = in testDataItemCollapsing_email()
159 final List<DataItem> dataList = in testDataItemCollapsing_event()
195 final List<DataItem> dataList = in testDataItemCollapsing_im()
222 final List<DataItem> dataList = in testDataItemCollapsing_nickname()
244 final List<DataItem> dataList = in testDataItemCollapsing_note()
276 final List<DataItem> dataList = in testDataItemCollapsing_organization()
[all …]
/packages/modules/Uwb/service/java/com/android/server/uwb/secure/provisioning/
DScriptParser.java57 import co.nstant.in.cbor.model.DataItem;
187 List<DataItem> dataItems = CborDecoder.decode(cborEncodedData); in parseScript()
193 DataItem versionDataItem = dataItems.get(VERSION_INDEX); in parseScript()
201 DataItem apdusDataItem = dataItems.get(APDUS_INDEX); in parseScript()
206 List<DataItem> apduDataItemList = ((Array) apdusDataItem).getDataItems(); in parseScript()
207 for (DataItem apduDataItem : apduDataItemList) { in parseScript()
215 DataItem adfOidDataItem = dataItems.get(ADF_OID_INDEX); in parseScript()
229 private static boolean checkType(DataItem item, MajorType majorType, String field) { in checkType()
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
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()
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()
DRelationDataItem.java29 public class RelationDataItem extends DataItem {
44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DEventDataItem.java29 public class EventDataItem extends DataItem {
44 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DImDataItem.java32 public class ImDataItem extends DataItem {
89 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()
DEventDataItem.java28 public class EventDataItem extends DataItem {
43 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()
DImDataItem.java30 public class ImDataItem extends DataItem {
85 public boolean shouldCollapseWith(DataItem t, Context context) { in shouldCollapseWith()
DNoteDataItem.java26 public class NoteDataItem extends DataItem {
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DQuickContactActivity.java136 import com.android.contacts.model.dataitem.DataItem;
546 private final Comparator<DataItem> mWithinMimeTypeDataItemComparator =
547 new Comparator<DataItem>() {
549 public int compare(DataItem lhs, DataItem rhs) {
574 private final Comparator<List<DataItem>> mAmongstMimeTypeDataItemComparator =
575 new Comparator<List<DataItem>> () {
577 public int compare(List<DataItem> lhsList, List<DataItem> rhsList) {
578 final DataItem lhs = lhsList.get(0);
579 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()
/packages/apps/Contacts/tests/src/com/android/contacts/
DContactsUtilsTests.java29 import com.android.contacts.model.dataitem.DataItem;
88 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentCustom()
110 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntent()
129 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithAudio()
151 final ImDataItem im = (ImDataItem) DataItem.createFrom(values); in testImIntentWithVideo()
176 (EmailDataItem) DataItem.createFrom(values)); in testImEmailIntent()
/packages/modules/AdServices/adservices/tests/unittest/service-core/src/com/android/adservices/service/measurement/aggregation/
DAggregateCryptoConverterTest.java43 import co.nstant.in.cbor.model.DataItem;
290 final List<DataItem> dataItems = in testEncodeWithCbor_successfully()
330 final List<DataItem> dataItems = in testEncodeWithCbor_differentSizesShouldMatchUpperBound()
365 final List<DataItem> dataItems = in testEncodeWithCbor_valuesAtUpperBoundLimit()
409 final List<DataItem> dataItems = in testEncodeWithCbor_withAndWithoutSignedBits_ignoreSignedBits()
481 final List<DataItem> dataItems = in assertEncryptedPayload()
508 final List<DataItem> dataItems = in assertEncodedPayload()
/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/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/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/modules/RemoteKeyProvisioning/app/tests/unit/src/com/android/rkpdapp/unittest/
DCborUtilsTest.java48 import co.nstant.in.cbor.model.DataItem;
71 private byte[] encodeDataItem(DataItem toEncode) throws Exception { in encodeDataItem()
432 List<DataItem> dataItems = new CborDecoder(bais).decode(); in testCreateCertificateRequest()
457 DataItem fingerprint = devInfo.get(new UnicodeString("fingerprint")); in testBuildUnverifiedDeviceInfo()

123