Searched defs:sourceId (Results 1 - 7 of 7) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java68 String accountName, long rawContactId, String sourceId,
79 if (sourceId == null) {
85 if (appendEscapedSourceId(lookupKey, sourceId)) {
91 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) { argument
95 int index = sourceId.indexOf('.', start);
97 sb.append(sourceId, start, sourceId.length());
102 sb.append(sourceId, start, index);
67 appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DDataRowHandlerForGroupMembership.java168 final String sourceId = values.getAsString(GroupMembership.GROUP_SOURCE_ID);
169 final long groupId = getOrMakeGroup(db, rawContactId, sourceId,
177 * Returns the group id of the group with sourceId and the same account as rawContactId.
182 * @param sourceId the source ID of the group to query or create
189 private long getOrMakeGroup(SQLiteDatabase db, long rawContactId, String sourceId, argument
210 ArrayList<GroupIdCacheEntry> entries = mGroupIdCache.get(sourceId);
213 mGroupIdCache.put(sourceId, entries);
226 entry.sourceId = sourceId;
229 // look up the group that contains this sourceId an
[all...]
H A DContactsProvider2.java1298 String sourceId; field in class:ContactsProvider2.GroupIdCacheEntry
6729 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID);
6734 && segment.key.equals(sourceId)) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
H A DProfileAggregator.java54 String accountName, long rawContactId, String sourceId, String displayName) {
53 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DContactAggregator.java2003 String accountName, long rawContactId, String sourceId, String displayName) {
2005 sourceId, displayName);
2002 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
/packages/apps/Mms/src/com/android/mms/ui/
H A DSearchActivity.java205 private long getThreadId(long sourceId, long which) { argument
207 b = b.appendQueryParameter("row_id", String.valueOf(sourceId));
248 long sourceId = Long.parseLong(u.getQueryParameter("source_id"));
250 long threadId = getThreadId(sourceId, whichTable);
254 onClickIntent.putExtra("select_id", sourceId);
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java178 protected long createGroup(Account account, String sourceId, String title) { argument
179 return createGroup(account, sourceId, title, 1, false, false);
182 protected long createGroup(Account account, String sourceId, String title, int visible) { argument
183 return createGroup(account, sourceId, title, visible, false, false);
191 protected long createGroup(Account account, String sourceId, String title, argument
194 values.put(Groups.SOURCE_ID, sourceId);
360 protected Uri insertGroupMembership(long rawContactId, String sourceId) { argument
364 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId);
633 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { argument
637 long actualRowId = assertGroup(c, rowId, account, sourceId, titl
645 assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
658 assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
667 assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) argument
[all...]

Completed in 136 milliseconds