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.java1315 String sourceId; field in class:ContactsProvider2.GroupIdCacheEntry
6942 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID);
6947 && 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.java2008 String accountName, long rawContactId, String sourceId, String displayName) {
2010 sourceId, displayName);
2007 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.java191 protected long createGroup(Account account, String sourceId, String title) { argument
192 return createGroup(account, sourceId, title, 1, false, false);
195 protected long createGroup(Account account, String sourceId, String title, int visible) { argument
196 return createGroup(account, sourceId, title, visible, false, false);
204 protected long createGroup(Account account, String sourceId, String title, argument
207 values.put(Groups.SOURCE_ID, sourceId);
373 protected Uri insertGroupMembership(long rawContactId, String sourceId) { argument
377 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId);
646 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { argument
650 long actualRowId = assertGroup(c, rowId, account, sourceId, titl
658 assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
671 assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
680 assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) argument
[all...]

Completed in 176 milliseconds