Home
last modified time | relevance | path

Searched refs:mSb (Results 1 – 6 of 6) sorted by relevance

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java245 private StringBuilder mSb = new StringBuilder(); field in SearchIndexManager
347 mSb.setLength(0); in buildAndInsertIndex()
348 mSb.append(Data.CONTACT_ID + ", "); in buildAndInsertIndex()
349 mSb.append("(CASE WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
350 mSb.append(mDbHelper.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
351 mSb.append(" THEN -4 "); in buildAndInsertIndex()
352 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
353 mSb.append(mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
354 mSb.append(" THEN -3 "); in buildAndInsertIndex()
355 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
[all …]
DDataRowHandlerForStructuredName.java36 private final StringBuilder mSb = new StringBuilder(); field in DataRowHandlerForStructuredName
197 mSb.setLength(0); in appendSearchableData()
200 mSb.append(phoneticFamily); in appendSearchableData()
204 mSb.append(phoneticMiddle); in appendSearchableData()
208 mSb.append(phoneticGiven); in appendSearchableData()
210 final String phoneticName = mSb.toString().trim(); in appendSearchableData()
DContactsProvider2.java1132 private final StringBuilder mSb = new StringBuilder(); field in ContactsProvider2
2578 mSb.setLength(0); in flushTransactionalChanges()
2579 mSb.append(UPDATE_RAW_CONTACT_SET_DIRTY_SQL); in flushTransactionalChanges()
2580 appendIds(mSb, dirtyRawContacts); in flushTransactionalChanges()
2581 mSb.append(")"); in flushTransactionalChanges()
2582 db.execSQL(mSb.toString()); in flushTransactionalChanges()
2587 mSb.setLength(0); in flushTransactionalChanges()
2588 mSb.append(UPDATE_RAW_CONTACT_SET_VERSION_SQL); in flushTransactionalChanges()
2589 appendIds(mSb, updatedRawContacts); in flushTransactionalChanges()
2590 mSb.append(")"); in flushTransactionalChanges()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DContactAggregator.java648 mSb.setLength(0); in pickBestMatchBasedOnSecondaryData()
649 mSb.append(RawContacts.CONTACT_ID).append(" IN ("); in pickBestMatchBasedOnSecondaryData()
652 mSb.append(','); in pickBestMatchBasedOnSecondaryData()
654 mSb.append(secondaryContactIds.get(i)); in pickBestMatchBasedOnSecondaryData()
659 mSb.append(") AND " + STRUCTURED_NAME_BASED_LOOKUP_SQL); in pickBestMatchBasedOnSecondaryData()
661 matchAllCandidates(db, mSb.toString(), candidates, matcher, in pickBestMatchBasedOnSecondaryData()
DContactAggregator2.java920 mSb.setLength(0); in updateScoreForCandidatesWithoutName()
922 mSb.append(RawContacts._ID).append(" IN ("); in updateScoreForCandidatesWithoutName()
925 mSb.append(","); in updateScoreForCandidatesWithoutName()
927 mSb.append(secondaryRawContactIds.get(i)); in updateScoreForCandidatesWithoutName()
929 mSb.append( ")"); in updateScoreForCandidatesWithoutName()
931 NullNameRawContactsIdsQuery.COLUMNS, mSb.toString(), null, null, null, null); in updateScoreForCandidatesWithoutName()
DAbstractContactAggregator.java185 protected StringBuilder mSb = new StringBuilder(); field in AbstractContactAggregator