Home
last modified time | relevance | path

Searched refs:mimeEntries (Results 1 – 5 of 5) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DRawContactDelta.java128 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
129 for (ValuesDelta remoteEntry : mimeEntries) { in mergeAfter()
159 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getPrimaryEntry() local
160 if (mimeEntries == null) return null; in getPrimaryEntry()
162 for (ValuesDelta entry : mimeEntries) { in getPrimaryEntry()
169 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getPrimaryEntry()
188 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getSuperPrimaryEntry() local
189 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
192 for (ValuesDelta entry : mimeEntries) { in getSuperPrimaryEntry()
208 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getSuperPrimaryEntry()
[all …]
DRawContactModifier.java196 final List<ValuesDelta> mimeEntries = state.getMimeEntries(kind.mimeType); in getTypeFrequencies() local
197 if (mimeEntries == null) return typeCount; in getTypeFrequencies()
200 for (ValuesDelta entry : mimeEntries) { in getTypeFrequencies()
1017 DataKind kind, ArrayList<ValuesDelta> mimeEntries) { in ensureEntryMaxSize() argument
1018 if (mimeEntries == null) { in ensureEntryMaxSize()
1023 if (typeOverallMax >= 0 && (mimeEntries.size() > typeOverallMax)) { in ensureEntryMaxSize()
1026 newMimeEntries.add(mimeEntries.get(i)); in ensureEntryMaxSize()
1028 mimeEntries = newMimeEntries; in ensureEntryMaxSize()
1030 return mimeEntries; in ensureEntryMaxSize()
1140 final ArrayList<ValuesDelta> mimeEntries = ensureEntryMaxSize(newState, newDataKind, in migratePostal() local
[all …]
DRawContactDeltaList.java476 final ArrayList<ValuesDelta> mimeEntries = delta.getMimeEntries(mimeType); in getSuperPrimaryEntry() local
477 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
479 for (ValuesDelta entry : mimeEntries) { in getSuperPrimaryEntry()
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DEntityDelta.java120 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
121 for (ValuesDelta remoteEntry : mimeEntries) { in mergeAfter()
151 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getPrimaryEntry() local
152 if (mimeEntries == null) return null; in getPrimaryEntry()
154 for (ValuesDelta entry : mimeEntries) { in getPrimaryEntry()
161 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getPrimaryEntry()
179 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getSuperPrimaryEntry() local
180 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
183 for (ValuesDelta entry : mimeEntries) { in getSuperPrimaryEntry()
199 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getSuperPrimaryEntry()
[all …]
DEntitySet.java279 final ArrayList<ValuesDelta> mimeEntries = delta.getMimeEntries(mimeType); in getSuperPrimaryEntry() local
280 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
282 for (ValuesDelta entry : mimeEntries) { in getSuperPrimaryEntry()