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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactLookupKey.java66 String accountName, long rawContactId, String sourceId,
77 if (sourceId == null) {
83 if (appendEscapedSourceId(lookupKey, sourceId)) {
89 private static boolean appendEscapedSourceId(StringBuilder sb, String sourceId) { argument
93 int index = sourceId.indexOf('.', start);
95 sb.append(sourceId, start, sourceId.length());
100 sb.append(sourceId, start, index);
65 appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
H A DDataRowHandlerForGroupMembership.java167 final String sourceId = values.getAsString(GroupMembership.GROUP_SOURCE_ID);
168 final long groupId = getOrMakeGroup(db, rawContactId, sourceId,
176 * Returns the group id of the group with sourceId and the same account as rawContactId.
181 * @param sourceId the source ID of the group to query or create
188 private long getOrMakeGroup(SQLiteDatabase db, long rawContactId, String sourceId, argument
209 ArrayList<GroupIdCacheEntry> entries = mGroupIdCache.get(sourceId);
212 mGroupIdCache.put(sourceId, entries);
225 entry.sourceId = sourceId;
228 // look up the group that contains this sourceId an
[all...]
H A DContactsProvider2.java1413 String sourceId; field in class:ContactsProvider2.GroupIdCacheEntry
7767 String sourceId = c.getString(LookupBySourceIdQuery.SOURCE_ID);
7772 && 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 DAbstractContactAggregator.java1547 String accountName, long rawContactId, String sourceId, String displayName) {
1549 sourceId, displayName);
1546 appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, String accountName, long rawContactId, String sourceId, String displayName) argument
/packages/apps/TV/usbtuner/src/com/android/usbtuner/ts/
H A DSectionParser.java304 void onEitParsed(int sourceId, List<EitItem> items); argument
305 void onEttParsed(int sourceId, List<EttItem> descriptions); argument
335 int sourceId = mParsedEttItems.keyAt(i);
337 mListener.onEttParsed(sourceId, descriptions);
535 int sourceId = ((data[pos + 28] & 0xff) << 8) | (data[pos + 29] & 0xff);
566 programNumber, majorNumber, minorNumber, sourceId));
588 int sourceId = ((data[3] & 0xff) << 8) | (data[4] & 0xff);
643 mListener.onEitParsed(sourceId, results);
657 int sourceId = ((data[9] & 0xff) << 8) | (data[10] & 0xff);
660 List<EttItem> ettItems = mParsedEttItems.get(sourceId);
[all...]
H A DTsParser.java219 public void onEitParsed(int sourceId, List<EitItem> items) {
220 if (DEBUG) Log.d(TAG, "onEITParsed " + sourceId);
221 EventSourceEntry entry = new EventSourceEntry(mPid, sourceId);
223 handleEvents(sourceId);
227 public void onEttParsed(int sourceId, List<EttItem> descriptions) {
229 Log.d(TAG, String.format("onETTParsed sourceId: %d, descriptions.size(): %d",
230 sourceId, descriptions.size()));
235 mSourceIdToVctItemDescriptionMap.put(sourceId, item.text);
236 VctItem vctItem = mSourceIdToVctItemMap.get(sourceId);
249 EventSourceEntry entry = new EventSourceEntry(mPid, sourceId);
258 public final int sourceId; field in class:TsParser.EventSourceEntry
260 EventSourceEntry(int pid, int sourceId) argument
309 handleEvents(int sourceId) argument
[all...]
/packages/apps/TV/usbtuner/src/com/android/usbtuner/data/
H A DPsipData.java168 int programNumber, int majorChannelNumber, int minorChannelNumber, int sourceId) {
176 mSourceId = sourceId;
167 VctItem(String shortName, String longName, int serviceType, int channelTsid, int programNumber, int majorChannelNumber, int minorChannelNumber, int sourceId) argument
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
H A DBaseContactsProvider2Test.java190 protected long createGroup(Account account, String sourceId, String title) { argument
191 return createGroup(account, sourceId, title, 1, false, false);
194 protected long createGroup(Account account, String sourceId, String title, int visible) { argument
195 return createGroup(account, sourceId, title, visible, false, false);
203 protected long createGroup(Account account, String sourceId, String title, argument
206 values.put(Groups.SOURCE_ID, sourceId);
393 protected Uri insertGroupMembership(long rawContactId, String sourceId) { argument
397 values.put(GroupMembership.GROUP_SOURCE_ID, sourceId);
688 protected long assertSingleGroup(Long rowId, Account account, String sourceId, String title) { argument
692 long actualRowId = assertGroup(c, rowId, account, sourceId, titl
700 assertSingleGroupMembership(Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
713 assertGroupMembership(Cursor c, Long rowId, Long rawContactId, Long groupRowId, String sourceId) argument
722 assertGroup(Cursor c, Long rowId, Account account, String sourceId, String title) argument
[all...]

Completed in 180 milliseconds