Home
last modified time | relevance | path

Searched refs:sourceId (Results 1 – 12 of 12) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DDataRowHandlerForGroupMembership.java168 final String sourceId = values.getAsString(GroupMembership.GROUP_SOURCE_ID);
169 final long groupId = getOrMakeGroup(db, rawContactId, sourceId,
189 private long getOrMakeGroup(SQLiteDatabase db, long rawContactId, String sourceId,
210 ArrayList<GroupIdCacheEntry> entries = mGroupIdCache.get(sourceId);
213 mGroupIdCache.put(sourceId, entries);
226 entry.sourceId = sourceId;
233 new String[]{sourceId, Long.toString(accountId)}, null, null, null);
241 groupValues.put(Groups.SOURCE_ID, sourceId);
DContactLookupKey.java68 String accountName, long rawContactId, String sourceId, in appendToLookupKey() argument
79 if (sourceId == null) { in appendToLookupKey()
85 if (appendEscapedSourceId(lookupKey, sourceId)) { in appendToLookupKey()
91 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) { in appendEscapedSourceId() argument
95 int index = sourceId.indexOf('.', start); in appendEscapedSourceId()
97 sb.append(sourceId, start, sourceId.length()); in appendEscapedSourceId()
102 sb.append(sourceId, start, index); in appendEscapedSourceId()
DContactsProvider2.java1315 String sourceId; field in ContactsProvider2.GroupIdCacheEntry
6942 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID); in lookupContactIdBySourceIds() local
6947 && segment.key.equals(sourceId)) { in lookupContactIdBySourceIds()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java191 protected long createGroup(Account account, String sourceId, String title) { in createGroup() argument
192 return createGroup(account, sourceId, title, 1, false, false); in createGroup()
195 protected long createGroup(Account account, String sourceId, String title, int visible) { in createGroup() argument
196 return createGroup(account, sourceId, title, visible, false, false); in createGroup()
204 protected long createGroup(Account account, String sourceId, String title, in createGroup() argument
207 values.put(Groups.SOURCE_ID, sourceId); in createGroup()
394 protected Uri insertGroupMembership(long rawContactId, String sourceId) { in insertGroupMembership() argument
398 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId); in insertGroupMembership()
677 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { in assertSingleGroup() argument
681 long actualRowId = assertGroup(c, rowId, account, sourceId, title); in assertSingleGroup()
[all …]
/packages/apps/Mms/src/com/android/mms/ui/
DSearchActivity.java205 private long getThreadId(long sourceId, long which) { in getThreadId() argument
207 b = b.appendQueryParameter("row_id", String.valueOf(sourceId)); in getThreadId()
248 long sourceId = Long.parseLong(u.getQueryParameter("source_id")); in onCreate()
250 long threadId = getThreadId(sourceId, whichTable); in onCreate()
254 onClickIntent.putExtra("select_id", sourceId); in onCreate()
/packages/apps/Email/provider_src/com/android/email/service/
DEmailServiceStub.java164 long sourceId = Utility.getFirstRowLong(mContext, Body.CONTENT_URI, in loadAttachment() local
168 if (sourceId != -1) { in loadAttachment()
170 EmailContent.Message.restoreMessageWithId(mContext, sourceId); in loadAttachment()
/packages/apps/Exchange/src/com/android/exchange/eas/
DEasSyncContacts.java1048 final String sourceId = c.getString(0); in cleanup() local
1049 values.put(Groups.TITLE, sourceId); in cleanup()
1052 new String[] {sourceId}); in cleanup()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DProfileAggregator.java54 String accountName, long rawContactId, String sourceId, String displayName) { in appendLookupKey() argument
DContactAggregator.java2273 String accountName, long rawContactId, String sourceId, String displayName) { in appendLookupKey() argument
2275 sourceId, displayName); in appendLookupKey()
/packages/apps/Browser/src/com/android/browser/
DErrorConsoleView.java307 headline.setText(error.sourceId() + ":" + error.lineNumber()); in getView()
DTab.java954 + consoleMessage.sourceId() + ":"
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DConversationViewFragment.java425 consoleMessage.sourceId(), consoleMessage.lineNumber(), in onCreateView()
429 consoleMessage.sourceId(), consoleMessage.lineNumber(), in onCreateView()