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.java1235 String sourceId; field in class:ContactsProvider2.GroupIdCacheEntry
6347 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID);
6352 && 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.java1963 String accountName, long rawContactId, String sourceId, String displayName) {
1965 sourceId, displayName);
1962 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.java222 protected long createGroup(Account account, String sourceId, String title) { argument
223 return createGroup(account, sourceId, title, 1, false, false);
226 protected long createGroup(Account account, String sourceId, String title, int visible) { argument
227 return createGroup(account, sourceId, title, visible, false, false);
235 protected long createGroup(Account account, String sourceId, String title, argument
238 values.put(Groups.SOURCE_ID, sourceId);
417 protected Uri insertGroupMembership(long rawContactId, String sourceId) { argument
421 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId);
694 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { argument
698 long actualRowId = assertGroup(c, rowId, account, sourceId, titl
706 assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
719 assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
728 assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) argument
[all...]

Completed in 137 milliseconds