/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/ |
D | SettingsValues.java | 354 final StringBuilder sb = new StringBuilder("Current settings :"); in dump() local 355 sb.append("\n mSpacingAndPunctuations = "); in dump() 356 sb.append("" + mSpacingAndPunctuations.dump()); in dump() 357 sb.append("\n mDelayInMillisecondsToUpdateOldSuggestions = "); in dump() 358 sb.append("" + mDelayInMillisecondsToUpdateOldSuggestions); in dump() 359 sb.append("\n mAutoCap = "); in dump() 360 sb.append("" + mAutoCap); in dump() 361 sb.append("\n mVibrateOn = "); in dump() 362 sb.append("" + mVibrateOn); in dump() 363 sb.append("\n mSoundOn = "); in dump() [all …]
|
D | SpacingAndPunctuations.java | 117 final StringBuilder sb = new StringBuilder(); in dump() local 118 sb.append("mSortedSymbolsPrecededBySpace = "); in dump() 119 sb.append("" + Arrays.toString(mSortedSymbolsPrecededBySpace)); in dump() 120 sb.append("\n mSortedSymbolsFollowedBySpace = "); in dump() 121 sb.append("" + Arrays.toString(mSortedSymbolsFollowedBySpace)); in dump() 122 sb.append("\n mSortedWordConnectors = "); in dump() 123 sb.append("" + Arrays.toString(mSortedWordConnectors)); in dump() 124 sb.append("\n mSortedWordSeparators = "); in dump() 125 sb.append("" + Arrays.toString(mSortedWordSeparators)); in dump() 126 sb.append("\n mSuggestPuncList = "); in dump() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlDocument.java | 59 StringBuilder sb = new StringBuilder(nodes.size() * 10); in toHTML() local 61 n.toHTML(sb); in toHTML() 63 return sb.toString(); in toHTML() 68 StringBuilder sb = new StringBuilder(nodes.size() * 10); in toXHTML() local 70 n.toXHTML(sb); in toXHTML() 72 return sb.toString(); in toXHTML() 81 StringBuilder sb = new StringBuilder(nodes.size() * 10); in toOriginalHTML() local 83 n.toOriginalHTML(sb); in toOriginalHTML() 85 return sb.toString(); in toOriginalHTML() 237 StringBuilder sb = new StringBuilder(); in toHTML() local [all …]
|
D | HtmlTree.java | 220 StringBuilder sb = new StringBuilder(estSize); in getHtml() local 224 node.toHTML(sb); in getHtml() 237 int recentNewLine = sb.substring(lastWrapIndex + 1).lastIndexOf('\n'); in getHtml() 243 if (((sb.length() - 1) - lastWrapIndex) > wrapSize) { in getHtml() 244 sb.append('\n'); in getHtml() 245 lastWrapIndex = sb.length() - 1; in getHtml() 251 return sb.toString(); in getHtml() 271 StringBuilder sb = new StringBuilder(chunkSize + 256); in getHtmlChunks() local 274 node.toHTML(sb); in getHtmlChunks() 293 if (stack == 0 && sb.length() >= chunkSize) { in getHtmlChunks() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
D | BluetoothMapbMessageMms.java | 76 …public void encode(StringBuilder sb, String boundaryTag, boolean last) throws UnsupportedEncodingE… in encode() argument 77 sb.append("--").append(boundaryTag).append("\r\n"); in encode() 79 sb.append("Content-Type: ").append(mContentType); in encode() 81 sb.append("; ").append("charset=\"").append(mCharsetName).append("\""); in encode() 82 sb.append("\r\n"); in encode() 84 sb.append("Content-Location: ").append(mContentLocation).append("\r\n"); in encode() 86 sb.append("Content-ID: ").append(mContentId).append("\r\n"); in encode() 88 sb.append("Content-Disposition: ").append(mContentDisposition).append("\r\n"); in encode() 96 … sb.append("Content-Transfer-Encoding: 8BIT\r\n\r\n"); // Add the header split empty line in encode() 97 sb.append(new String(mData,"UTF-8")).append("\r\n"); in encode() [all …]
|
D | BluetoothMapbMessage.java | 179 public void encode(StringBuilder sb) in encode() argument 181 sb.append("BEGIN:VCARD").append("\r\n"); in encode() 182 sb.append("VERSION:").append(mVersion).append("\r\n"); in encode() 185 sb.append("FN:").append(mFormattedName).append("\r\n"); in encode() 188 sb.append("N:").append(mName).append("\r\n"); in encode() 191 sb.append("TEL:").append(phoneNumber).append("\r\n"); in encode() 195 sb.append("EMAIL:").append(emailAddress).append("\r\n"); in encode() 197 sb.append("END:VCARD").append("\r\n"); in encode() 827 StringBuilder sb = new StringBuilder(out.length); in decodeBinary() local 830 sb.append(String.format("%02X",out[i] & 0xff)); in decodeBinary() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | ContactsProvider2.java | 2427 private void appendIds(StringBuilder sb, Set<Long> ids) { in appendIds() argument 2429 sb.append(id).append(','); in appendIds() 2432 sb.setLength(sb.length() - 1); // Yank the last comma in appendIds() 4669 final StringBuilder sb = new StringBuilder(); in accountsToString() local 4671 if (sb.length() > 0) { in accountsToString() 4672 sb.append(ACCOUNT_STRING_SEPARATOR_OUTER); in accountsToString() 4674 sb.append(account.name); in accountsToString() 4675 sb.append(ACCOUNT_STRING_SEPARATOR_INNER); in accountsToString() 4676 sb.append(account.type); in accountsToString() 4678 return sb.toString(); in accountsToString() [all …]
|
D | FastScrollingIndexCache.java | 115 private static void appendIfNotNull(StringBuilder sb, Object value) { in appendIfNotNull() argument 117 sb.append(value.toString()); in appendIfNotNull() 123 final StringBuilder sb = new StringBuilder(); in buildCacheKey() local 125 appendIfNotNull(sb, queryUri); in buildCacheKey() 126 appendIfNotNull(sb, SEPARATOR); in buildCacheKey() 127 appendIfNotNull(sb, selection); in buildCacheKey() 128 appendIfNotNull(sb, SEPARATOR); in buildCacheKey() 129 appendIfNotNull(sb, sortOrder); in buildCacheKey() 130 appendIfNotNull(sb, SEPARATOR); in buildCacheKey() 131 appendIfNotNull(sb, countExpression); in buildCacheKey() [all …]
|
D | ContactsDatabaseHelper.java | 3956 StringBuilder sb = new StringBuilder(); in upgradeToVersion626_fillAccountId() local 3960 sb.append("UPDATE " + table + " SET account_id = (SELECT _id FROM accounts WHERE "); in upgradeToVersion626_fillAccountId() 3962 addJoinExpressionAllowingNull(sb, table + ".account_name", "accounts.account_name"); in upgradeToVersion626_fillAccountId() 3963 sb.append("AND"); in upgradeToVersion626_fillAccountId() 3964 addJoinExpressionAllowingNull(sb, table + ".account_type", "accounts.account_type"); in upgradeToVersion626_fillAccountId() 3965 sb.append("AND"); in upgradeToVersion626_fillAccountId() 3966 addJoinExpressionAllowingNull(sb, table + ".data_set", "accounts.data_set"); in upgradeToVersion626_fillAccountId() 3968 sb.append("), account_name = null, account_type = null, data_set = null"); in upgradeToVersion626_fillAccountId() 3969 db.execSQL(sb.toString()); in upgradeToVersion626_fillAccountId() 4288 StringBuilder sb, String column1, String column2) { in addJoinExpressionAllowingNull() argument [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | Index.java | 261 StringBuilder sb = new StringBuilder(); in buildSuggestionsSQL() local 263 sb.append("SELECT "); in buildSuggestionsSQL() 264 sb.append(IndexDatabaseHelper.SavedQueriesColums.QUERY); in buildSuggestionsSQL() 265 sb.append(" FROM "); in buildSuggestionsSQL() 266 sb.append(Tables.TABLE_SAVED_QUERIES); in buildSuggestionsSQL() 269 sb.append(" ORDER BY rowId DESC"); in buildSuggestionsSQL() 271 sb.append(" WHERE "); in buildSuggestionsSQL() 272 sb.append(IndexDatabaseHelper.SavedQueriesColums.QUERY); in buildSuggestionsSQL() 273 sb.append(" LIKE "); in buildSuggestionsSQL() 274 sb.append("'"); in buildSuggestionsSQL() [all …]
|
/packages/apps/Exchange/src/com/android/exchange/utility/ |
D | CalendarUtilities.java | 220 StringBuilder sb = new StringBuilder(); in getString() local 226 sb.append((char)ch); in getString() 229 return sb.toString(); in getString() 518 StringBuilder sb = new StringBuilder(); in utcOffsetString() local 521 sb.append('-'); in utcOffsetString() 524 sb.append('+'); in utcOffsetString() 528 sb.append('0'); in utcOffsetString() 530 sb.append(hours); in utcOffsetString() 532 sb.append('0'); in utcOffsetString() 534 sb.append(minutes); in utcOffsetString() [all …]
|
D | FileLogger.java | 77 StringBuffer sb = new StringBuffer(256); in log() local 78 sb.append('['); in log() 79 sb.append(hr); in log() 80 sb.append(':'); in log() 82 sb.append('0'); in log() 83 sb.append(min); in log() 84 sb.append(':'); in log() 86 sb.append('0'); in log() 88 sb.append(sec); in log() 89 sb.append("] "); in log() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/dataitem/ |
D | DataKind.java | 106 final StringBuilder sb = new StringBuilder(); in toString() local 107 sb.append("DataKind:"); in toString() 108 sb.append(" resPackageName=").append(resourcePackageName); in toString() 109 sb.append(" mimeType=").append(mimeType); in toString() 110 sb.append(" titleRes=").append(titleRes); in toString() 111 sb.append(" iconAltRes=").append(iconAltRes); in toString() 112 sb.append(" iconAltDescriptionRes=").append(iconAltDescriptionRes); in toString() 113 sb.append(" weight=").append(weight); in toString() 114 sb.append(" editable=").append(editable); in toString() 115 sb.append(" actionHeader=").append(actionHeader); in toString() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppProvider.java | 336 java.lang.StringBuilder sb = new java.lang.StringBuilder(); in query() local 337 sb.append("starting query, database is "); in query() 339 sb.append("not "); in query() 341 sb.append("null; "); in query() 343 sb.append("projection is null; "); in query() 345 sb.append("projection is empty; "); in query() 348 sb.append("projection["); in query() 349 sb.append(i); in query() 350 sb.append("] is "); in query() 351 sb.append(projection[i]); in query() [all …]
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/codec/ |
D | EncoderUtil.java | 359 StringBuilder sb = new StringBuilder(); in encodeB() local 366 sb.append((char) BASE64_TABLE[data >> 18 & 0x3f]); in encodeB() 367 sb.append((char) BASE64_TABLE[data >> 12 & 0x3f]); in encodeB() 368 sb.append((char) BASE64_TABLE[data >> 6 & 0x3f]); in encodeB() 369 sb.append((char) BASE64_TABLE[data & 0x3f]); in encodeB() 374 sb.append((char) BASE64_TABLE[data >> 18 & 0x3f]); in encodeB() 375 sb.append((char) BASE64_TABLE[data >> 12 & 0x3f]); in encodeB() 376 sb.append((char) BASE64_TABLE[data >> 6 & 0x3f]); in encodeB() 377 sb.append((char) BASE64_PAD); in encodeB() 381 sb.append((char) BASE64_TABLE[data >> 18 & 0x3f]); in encodeB() [all …]
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/provider/ |
D | Policy.java | 398 private static void appendPolicy(StringBuilder sb, String code, int value) { in appendPolicy() argument 399 sb.append(code); in appendPolicy() 400 sb.append(":"); in appendPolicy() 401 sb.append(value); in appendPolicy() 402 sb.append(" "); in appendPolicy() 407 StringBuilder sb = new StringBuilder("["); in toString() local 409 sb.append("No policies]"); in toString() 412 sb.append("Pwd none "); in toString() 414 appendPolicy(sb, "Pwd strong", mPasswordMode == PASSWORD_MODE_STRONG ? 1 : 0); in toString() 415 appendPolicy(sb, "len", mPasswordMinLength); in toString() [all …]
|
/packages/apps/Email/provider_src/com/android/email/mail/store/ |
D | ImapStore.java | 277 StringBuilder sb = new StringBuilder("\"name\" \""); in makeCommonImapId() local 278 sb.append(packageName); in makeCommonImapId() 279 sb.append("\""); in makeCommonImapId() 282 sb.append(" \"os\" \"android\""); in makeCommonImapId() 285 sb.append(" \"os-version\" \""); in makeCommonImapId() 287 sb.append(version); in makeCommonImapId() 290 sb.append("1.0"); in makeCommonImapId() 294 sb.append("; "); in makeCommonImapId() 295 sb.append(id); in makeCommonImapId() 297 sb.append("\""); in makeCommonImapId() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
D | DebugLogUtils.java | 53 final StringBuilder sb = new StringBuilder(); in getStackTrace() local 60 sb.append(frames[j].toString() + "\n"); in getStackTrace() 63 return sb.toString(); in getStackTrace() 72 final StringBuilder sb = new StringBuilder(); in getStackTrace() local 75 sb.append(frames[j].toString() + "\n"); in getStackTrace() 77 return sb.toString(); in getStackTrace() 90 final StringBuilder sb = new StringBuilder(); in l() 92 sb.append(s(o).toString()); in l() 93 sb.append(" "); in l() 95 Log.e(TAG, sb.toString()); in l() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/ |
D | DBQueryUtilsTest.java | 78 StringBuilder sb = new StringBuilder(); in testEscapeLikeValuesEscapesUnderscores() local 79 DbQueryUtils.escapeLikeValue(sb, "my_test_string", '\\'); in testEscapeLikeValuesEscapesUnderscores() 80 assertEquals("my\\_test\\_string", sb.toString()); in testEscapeLikeValuesEscapesUnderscores() 82 sb = new StringBuilder(); in testEscapeLikeValuesEscapesUnderscores() 83 DbQueryUtils.escapeLikeValue(sb, "_test_", '\\'); in testEscapeLikeValuesEscapesUnderscores() 84 assertEquals("\\_test\\_", sb.toString()); in testEscapeLikeValuesEscapesUnderscores() 88 StringBuilder sb = new StringBuilder(); in testEscapeLikeValuesEscapesPercents() local 89 escapeLikeValue(sb, "my%test%string", '\\'); in testEscapeLikeValuesEscapesPercents() 90 assertEquals("my\\%test\\%string", sb.toString()); in testEscapeLikeValuesEscapesPercents() 92 sb = new StringBuilder(); in testEscapeLikeValuesEscapesPercents() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | SubjectAndFolderView.java | 111 final SpannableStringBuilder sb = new SpannableStringBuilder(wrappedSubject); in setFolders() local 112 sb.append('\u0020'); in setFolders() 114 final int start = sb.length(); in setFolders() 116 sb.append(".\u0020"); in setFolders() 117 sb.setSpan(new ReplacementSpan() { in setFolders() 139 mFolderDisplayer.constructFolderChips(sb); in setFolders() 141 final int end = sb.length(); in setFolders() 142 sb.setSpan(new ChangeLabelsSpan(callbacks), start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setFolders() 144 setText(sb); in setFolders() 192 private void constructFolderChips(SpannableStringBuilder sb) { in constructFolderChips() argument [all …]
|
D | ConversationPagerAdapter.java | 358 final StringBuilder sb = new StringBuilder(super.toString()); in toString() local 359 sb.setLength(sb.length() - 1); in toString() 360 sb.append(" detachedMode="); in toString() 361 sb.append(mDetachedMode); in toString() 362 sb.append(" singletonMode="); in toString() 363 sb.append(mSingletonMode); in toString() 364 sb.append(" mController="); in toString() 365 sb.append(mController); in toString() 366 sb.append(" mPager="); in toString() 367 sb.append(mPager); in toString() [all …]
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
D | Avrcp.java | 835 public void dump(StringBuilder sb) { in dump() argument 836 sb.append("AVRCP:\n"); in dump() 837 ProfileService.println(sb, "mMetadata: " + mMetadata); in dump() 838 ProfileService.println(sb, "mTransportControlFlags: " + mTransportControlFlags); in dump() 839 ProfileService.println(sb, "mCurrentPlayState: " + mCurrentPlayState); in dump() 840 ProfileService.println(sb, "mPlayStatusChangedNT: " + mPlayStatusChangedNT); in dump() 841 ProfileService.println(sb, "mTrackChangedNT: " + mTrackChangedNT); in dump() 842 ProfileService.println(sb, "mTrackNumber: " + mTrackNumber); in dump() 843 ProfileService.println(sb, "mCurrentPosMs: " + mCurrentPosMs); in dump() 844 ProfileService.println(sb, "mPlayStartTimeMs: " + mPlayStartTimeMs); in dump() [all …]
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/ |
D | WordListMetadata.java | 111 final StringBuilder sb = new StringBuilder(WordListMetadata.class.getSimpleName()); in toString() local 112 sb.append(" : ").append(mId); in toString() 113 sb.append("\nType : ").append(mType); in toString() 114 sb.append("\nDescription : ").append(mDescription); in toString() 115 sb.append("\nLastUpdate : ").append(mLastUpdate); in toString() 116 sb.append("\nFileSize : ").append(mFileSize); in toString() 117 sb.append("\nRawChecksum : ").append(mRawChecksum); in toString() 118 sb.append("\nChecksum : ").append(mChecksum); in toString() 119 sb.append("\nLocalFilename : ").append(mLocalFilename); in toString() 120 sb.append("\nRemoteFilename : ").append(mRemoteFilename); in toString() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/ |
D | MoreDatabaseUtils.java | 74 final StringBuilder sb = new StringBuilder(); in buildBindArgString() local 77 sb.append(delimiter).append("?"); in buildBindArgString() 80 return sb.toString(); in buildBindArgString() 88 final StringBuilder sb = new StringBuilder(); in dumpCursor() local 90 if (sb.length() > 0) sb.append(" "); in dumpCursor() 91 sb.append(c.getColumnName(i)); in dumpCursor() 93 Log.d(logTag, sb.toString()); in dumpCursor() 98 sb.setLength(0); in dumpCursor() 99 sb.append("row#"); in dumpCursor() 100 sb.append(c.getPosition()); in dumpCursor() [all …]
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | TelephonyConnection.java | 934 StringBuilder sb = new StringBuilder(); in toString() local 935 sb.append("[TelephonyConnection objId:"); in toString() 936 sb.append(System.identityHashCode(this)); in toString() 937 sb.append(" type:"); in toString() 939 sb.append("ims"); in toString() 941 sb.append("gsm"); in toString() 943 sb.append("cdma"); in toString() 945 sb.append(" state:"); in toString() 946 sb.append(Connection.stateToString(getState())); in toString() 947 sb.append(" capabilities:"); in toString() [all …]
|