Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DSearchIndexManager.java244 private StringBuilder mSb = new StringBuilder(); field in SearchIndexManager
346 mSb.setLength(0); in buildAndInsertIndex()
347 mSb.append(Data.CONTACT_ID + ", "); in buildAndInsertIndex()
348 mSb.append("(CASE WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
349 mSb.append(mDbHelper.getMimeTypeId(Nickname.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
350 mSb.append(" THEN -4 "); in buildAndInsertIndex()
351 mSb.append(" WHEN " + DataColumns.MIMETYPE_ID + "="); in buildAndInsertIndex()
352 mSb.append(mDbHelper.getMimeTypeId(Organization.CONTENT_ITEM_TYPE)); in buildAndInsertIndex()
353 mSb.append(" THEN -3 "); in buildAndInsertIndex()
354 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.java1141 private final StringBuilder mSb = new StringBuilder(); field in ContactsProvider2
2448 mSb.setLength(0); in flushTransactionalChanges()
2449 mSb.append(UPDATE_RAW_CONTACT_SET_DIRTY_SQL); in flushTransactionalChanges()
2450 appendIds(mSb, dirtyRawContacts); in flushTransactionalChanges()
2451 mSb.append(")"); in flushTransactionalChanges()
2452 db.execSQL(mSb.toString()); in flushTransactionalChanges()
2457 mSb.setLength(0); in flushTransactionalChanges()
2458 mSb.append(UPDATE_RAW_CONTACT_SET_VERSION_SQL); in flushTransactionalChanges()
2459 appendIds(mSb, updatedRawContacts); in flushTransactionalChanges()
2460 mSb.append(")"); in flushTransactionalChanges()
[all …]
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DLoggingInputStream.java33 private StringBuilder mSb; field in LoggingInputStream
50 mSb = new StringBuilder(mTag); in initBuffer()
88 mSb.append((char)oneByte); in logRaw()
92 mSb.append("\\x" + Utility.byteToHex(oneByte)); in logRaw()
97 if (mDumpEmptyLines || (mSb.length() > mTag.length())) { in flushLog()
98 LogUtils.d(Logging.LOG_TAG, mSb.toString()); in flushLog()
/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.java906 mSb.setLength(0); in updateScoreForCandidatesWithoutName()
908 mSb.append(RawContacts._ID).append(" IN ("); in updateScoreForCandidatesWithoutName()
911 mSb.append(","); in updateScoreForCandidatesWithoutName()
913 mSb.append(secondaryRawContactIds.get(i)); in updateScoreForCandidatesWithoutName()
915 mSb.append( ")"); in updateScoreForCandidatesWithoutName()
917 NullNameRawContactsIdsQuery.COLUMNS, mSb.toString(), null, null, null, null); in updateScoreForCandidatesWithoutName()
DAbstractContactAggregator.java184 protected StringBuilder mSb = new StringBuilder(); field in AbstractContactAggregator