Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java60 String accountName, String sourceId, String displayName) { in appendToLookupKey() argument
70 if (sourceId == null) { in appendToLookupKey()
75 if (appendEscapedSourceId(lookupKey, sourceId)) { in appendToLookupKey()
81 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) { in appendEscapedSourceId() argument
85 int index = sourceId.indexOf('.', start); in appendEscapedSourceId()
87 sb.append(sourceId, start, sourceId.length()); in appendEscapedSourceId()
92 sb.append(sourceId, start, index); in appendEscapedSourceId()
DContactsProvider2.java1575 final String sourceId = values.getAsString(GroupMembership.GROUP_SOURCE_ID); in resolveGroupSourceIdInValues() local
1576 final long groupId = getOrMakeGroup(db, rawContactId, sourceId); in resolveGroupSourceIdInValues()
2279 private long getOrMakeGroup(SQLiteDatabase db, long rawContactId, String sourceId) { in getOrMakeGroup() argument
2304 new String[]{sourceId, account.name, account.type}, null, null, null); in getOrMakeGroup()
2312 groupValues.put(Groups.SOURCE_ID, sourceId); in getOrMakeGroup()
3898 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID); in lookupContactIdBySourceIds() local
3902 && segment.key.equals(sourceId)) { in lookupContactIdBySourceIds()
/packages/apps/Browser/src/com/android/browser/
DErrorConsoleView.java123 public void addErrorMessage(String msg, String sourceId, int lineNumber) { in addErrorMessage() argument
125 mErrorList.addErrorMessage(msg, sourceId, lineNumber); in addErrorMessage()
130 mErrorMessageCache.add(new ErrorConsoleMessage(msg, sourceId, lineNumber)); in addErrorMessage()
218 public void addErrorMessage(String msg, String sourceId, int lineNumber) { in addErrorMessage() argument
219 mConsoleMessages.add(msg, sourceId, lineNumber); in addErrorMessage()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DBaseContactsProvider2Test.java153 protected long createGroup(Account account, String sourceId, String title) { in createGroup() argument
154 return createGroup(account, sourceId, title, 1); in createGroup()
157 protected long createGroup(Account account, String sourceId, String title, int visible) { in createGroup() argument
159 values.put(Groups.SOURCE_ID, sourceId); in createGroup()
283 protected Uri insertGroupMembership(long rawContactId, String sourceId) { in insertGroupMembership() argument
287 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId); in insertGroupMembership()
443 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { in assertSingleGroup() argument
447 long actualRowId = assertGroup(c, rowId, account, sourceId, title); in assertSingleGroup()
456 String sourceId) { in assertSingleGroupMembership() argument
460 long actualRowId = assertGroupMembership(c, rowId, rawContactId, groupRowId, sourceId); in assertSingleGroupMembership()
[all …]
/packages/apps/Email/src/com/android/exchange/adapter/
DContactsSyncAdapter.java1492 String sourceId = c.getString(0); in cleanup() local
1493 values.put(Groups.TITLE, sourceId); in cleanup()
1495 Groups.SOURCE_ID + "=?", new String[] {sourceId}); in cleanup()