Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDelta.java125 for (ArrayList<ValuesDelta> mimeEntries : remote.mEntries.values()) { in mergeAfter()
126 for (ValuesDelta remoteEntry : mimeEntries) { in mergeAfter()
156 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getPrimaryEntry() local
157 if (mimeEntries == null) return null; in getPrimaryEntry()
159 for (ValuesDelta entry : mimeEntries) { in getPrimaryEntry()
166 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getPrimaryEntry()
184 final ArrayList<ValuesDelta> mimeEntries = getMimeEntries(mimeType, false); in getSuperPrimaryEntry() local
185 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
188 for (ValuesDelta entry : mimeEntries) { in getSuperPrimaryEntry()
204 return mimeEntries.size() > 0 ? mimeEntries.get(0) : null; in getSuperPrimaryEntry()
[all …]
DRawContactModifier.java194 final List<ValuesDelta> mimeEntries = state.getMimeEntries(kind.mimeType); in getTypeFrequencies() local
195 if (mimeEntries == null) return typeCount; in getTypeFrequencies()
198 for (ValuesDelta entry : mimeEntries) { in getTypeFrequencies()
1015 DataKind kind, ArrayList<ValuesDelta> mimeEntries) { in ensureEntryMaxSize() argument
1016 if (mimeEntries == null) { in ensureEntryMaxSize()
1021 if (typeOverallMax >= 0 && (mimeEntries.size() > typeOverallMax)) { in ensureEntryMaxSize()
1024 newMimeEntries.add(mimeEntries.get(i)); in ensureEntryMaxSize()
1026 mimeEntries = newMimeEntries; in ensureEntryMaxSize()
1028 return mimeEntries; in ensureEntryMaxSize()
1072 final ArrayList<ValuesDelta> mimeEntries = ensureEntryMaxSize(newState, newDataKind, in migratePostal() local
[all …]
DRawContactDeltaList.java366 final ArrayList<ValuesDelta> mimeEntries = delta.getMimeEntries(mimeType); in getSuperPrimaryEntry() local
367 if (mimeEntries == null) return null; in getSuperPrimaryEntry()
369 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()