Home
last modified time | relevance | path

Searched refs:mDataTypes (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpPropertyList.java34 private List<Integer> mDataTypes; field in MtpPropertyList
47 mDataTypes = new ArrayList<>(); in MtpPropertyList()
55 mDataTypes.add(type); in append()
63 mDataTypes.add(MtpConstants.TYPE_STR); in append()
85 return mDataTypes.stream().mapToInt(Integer::intValue).toArray(); in getDataTypes()
/frameworks/base/core/java/android/content/
DIntentFilter.java281 private ArrayList<String> mDataTypes = null; field in IntentFilter
455 if (o.mDataTypes != null) { in IntentFilter()
456 mDataTypes = new ArrayList<String>(o.mDataTypes); in IntentFilter()
778 if (mDataTypes == null) mDataTypes = new ArrayList<String>(); in addDataType()
781 if (!mDataTypes.contains(str)) { in addDataType()
782 mDataTypes.add(str.intern()); in addDataType()
786 if (!mDataTypes.contains(type)) { in addDataType()
787 mDataTypes.add(type.intern()); in addDataType()
805 return mDataTypes != null && findMimeType(type); in hasDataType()
810 return mDataTypes != null && mDataTypes.contains(type); in hasExactDataType()
[all …]