Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 25 of 273) sorted by relevance

1234567891011

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/settings/
DSettingsValues.java374 final StringBuilder sb = new StringBuilder("Current settings :"); in dump() local
375 sb.append("\n mSpacingAndPunctuations = "); in dump()
376 sb.append("" + mSpacingAndPunctuations.dump()); in dump()
377 sb.append("\n mDelayInMillisecondsToUpdateOldSuggestions = "); in dump()
378 sb.append("" + mDelayInMillisecondsToUpdateOldSuggestions); in dump()
379 sb.append("\n mAutoCap = "); in dump()
380 sb.append("" + mAutoCap); in dump()
381 sb.append("\n mVibrateOn = "); in dump()
382 sb.append("" + mVibrateOn); in dump()
383 sb.append("\n mSoundOn = "); in dump()
[all …]
DSpacingAndPunctuations.java132 final StringBuilder sb = new StringBuilder(); in dump() local
133 sb.append("mSortedSymbolsPrecededBySpace = "); in dump()
134 sb.append("" + Arrays.toString(mSortedSymbolsPrecededBySpace)); in dump()
135 sb.append("\n mSortedSymbolsFollowedBySpace = "); in dump()
136 sb.append("" + Arrays.toString(mSortedSymbolsFollowedBySpace)); in dump()
137 sb.append("\n mSortedWordConnectors = "); in dump()
138 sb.append("" + Arrays.toString(mSortedWordConnectors)); in dump()
139 sb.append("\n mSortedWordSeparators = "); in dump()
140 sb.append("" + Arrays.toString(mSortedWordSeparators)); in dump()
141 sb.append("\n mSuggestPuncList = "); in dump()
[all …]
/packages/apps/Dialer/java/com/android/voicemail/impl/sms/
DOmtpStandardMessageSender.java63 StringBuilder sb = new StringBuilder().append(OmtpConstants.ACTIVATE_REQUEST); in requestVvmActivation() local
65 appendProtocolVersionAndClientType(sb); in requestVvmActivation()
68 appendApplicationPort(sb); in requestVvmActivation()
69 appendClientPrefix(sb); in requestVvmActivation()
72 sendSms(sb.toString(), sentIntent); in requestVvmActivation()
81 StringBuilder sb = new StringBuilder().append(OmtpConstants.DEACTIVATE_REQUEST); in requestVvmDeactivation() local
82 appendProtocolVersionAndClientType(sb); in requestVvmDeactivation()
84 sendSms(sb.toString(), sentIntent); in requestVvmDeactivation()
93 StringBuilder sb = new StringBuilder().append(OmtpConstants.STATUS_REQUEST); in requestVvmStatus() local
96 appendProtocolVersionAndClientType(sb); in requestVvmStatus()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java450 synchronized void dumpToString(StringBuilder sb) { in dumpToString() argument
502 sb.append(" " + appName); in dumpToString()
504 sb.append(" (Registered)"); in dumpToString()
507 sb.append("\n LE scans (started/stopped) : " in dumpToString()
509 sb.append("\n Scan time in ms (active/suspend/total) : " in dumpToString()
511 sb.append("\n Scan time with mode in ms (Opp/LowPower/Balanced/LowLatency): " in dumpToString()
514 sb.append("\n Scan mode counter (Opp/LowPower/Balanced/LowLatency) : " + oppScan in dumpToString()
516 sb.append("\n Score : " + Score); in dumpToString()
517 sb.append("\n Total number of results : " + results); in dumpToString()
520 sb.append("\n Last " + mLastScans.size() in dumpToString()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPhonebookEntry.java64 StringBuilder sb = new StringBuilder(); in toString() local
65 sb.append("Name: { family: "); in toString()
66 sb.append(family); in toString()
67 sb.append(" given: "); in toString()
68 sb.append(given); in toString()
69 sb.append(" middle: "); in toString()
70 sb.append(middle); in toString()
71 sb.append(" prefix: "); in toString()
72 sb.append(prefix); in toString()
73 sb.append(" suffix: "); in toString()
[all …]
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemData.java152 StringBuilder sb = new StringBuilder(); in toString() local
153 sb.append("FilmstripItemData {"); in toString()
154 sb.append("id:"); in toString()
155 sb.append(mContentId); in toString()
156 sb.append(",title:"); in toString()
157 sb.append(mTitle); in toString()
158 sb.append(",mimeType:"); in toString()
159 sb.append(mMimeType); in toString()
160 sb.append(",creationDate:"); in toString()
161 sb.append(mCreationDate); in toString()
[all …]
/packages/apps/SecureElement/src/com/android/se/security/
DChannelAccess.java180 StringBuilder sb = new StringBuilder(); in toString() local
181 sb.append(this.getClass().getName()); in toString()
182 sb.append("\n [mPackageName="); in toString()
183 sb.append(mPackageName); in toString()
184 sb.append(", mAccess="); in toString()
185 sb.append(mAccess); in toString()
186 sb.append(", mApduAccess="); in toString()
187 sb.append(mApduAccess); in toString()
188 sb.append(", mUseApduFilter="); in toString()
189 sb.append(mUseApduFilter); in toString()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/util/
DDBQueryUtilsTest.java78 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/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapbMessageMime.java80 public void encode(StringBuilder sb, String boundaryTag, boolean last) in encode() argument
82 sb.append("--").append(boundaryTag).append("\r\n"); in encode()
84 sb.append("Content-Type: ").append(mContentType); in encode()
87 sb.append("; ").append("charset=\"").append(mCharsetName).append("\""); in encode()
89 sb.append("\r\n"); in encode()
91 sb.append("Content-Location: ").append(mContentLocation).append("\r\n"); in encode()
94 sb.append("Content-ID: ").append(mContentId).append("\r\n"); in encode()
97 sb.append("Content-Disposition: ").append(mContentDisposition).append("\r\n"); in encode()
109 sb.append("Content-Transfer-Encoding: 8BIT\r\n\r\n"); in encode()
112 sb.append("Content-Transfer-Encoding: Quoted-Printable\r\n\r\n"); in encode()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/dataitem/
DDataKind.java106 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/providers/ContactsProvider/src/com/android/providers/contacts/
DFastScrollingIndexCache.java121 private static void appendIfNotNull(StringBuilder sb, Object value) { in appendIfNotNull() argument
123 sb.append(value.toString()); in appendIfNotNull()
129 final StringBuilder sb = new StringBuilder(); in buildCacheKey() local
131 appendIfNotNull(sb, queryUri); in buildCacheKey()
132 appendIfNotNull(sb, SEPARATOR); in buildCacheKey()
133 appendIfNotNull(sb, selection); in buildCacheKey()
134 appendIfNotNull(sb, SEPARATOR); in buildCacheKey()
135 appendIfNotNull(sb, sortOrder); in buildCacheKey()
136 appendIfNotNull(sb, SEPARATOR); in buildCacheKey()
137 appendIfNotNull(sb, countExpression); in buildCacheKey()
[all …]
/packages/apps/Dialer/java/com/android/contacts/common/model/dataitem/
DDataKind.java110 final StringBuilder sb = new StringBuilder(); in toString() local
111 sb.append("DataKind:"); in toString()
112 sb.append(" resPackageName=").append(resourcePackageName); in toString()
113 sb.append(" mimeType=").append(mimeType); in toString()
114 sb.append(" titleRes=").append(titleRes); in toString()
115 sb.append(" iconAltRes=").append(iconAltRes); in toString()
116 sb.append(" iconAltDescriptionRes=").append(iconAltDescriptionRes); in toString()
117 sb.append(" weight=").append(weight); in toString()
118 sb.append(" editable=").append(editable); in toString()
119 sb.append(" actionHeader=").append(actionHeader); in toString()
[all …]
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DStructNlMsgHdr.java49 final StringBuilder sb = new StringBuilder(); in stringForNlMsgFlags() local
51 sb.append("NLM_F_REQUEST"); in stringForNlMsgFlags()
54 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
55 sb.append("NLM_F_MULTI"); in stringForNlMsgFlags()
58 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
59 sb.append("NLM_F_ACK"); in stringForNlMsgFlags()
62 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
63 sb.append("NLM_F_ECHO"); in stringForNlMsgFlags()
66 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
67 sb.append("NLM_F_ROOT"); in stringForNlMsgFlags()
[all …]
DStructNdMsg.java78 final StringBuilder sb = new StringBuilder(); in stringForNudFlags() local
80 sb.append("NTF_USE"); in stringForNudFlags()
83 if (sb.length() > 0) { sb.append("|"); } in stringForNudFlags()
84 sb.append("NTF_SELF"); in stringForNudFlags()
87 if (sb.length() > 0) { sb.append("|"); } in stringForNudFlags()
88 sb.append("NTF_MASTER"); in stringForNudFlags()
91 if (sb.length() > 0) { sb.append("|"); in stringForNudFlags()
93 sb.append("NTF_PROXY"); } in stringForNudFlags()
95 if (sb.length() > 0) { sb.append("|"); } in stringForNudFlags()
96 sb.append("NTF_ROUTER"); in stringForNudFlags()
[all …]
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java256 final StringBuilder sb = new StringBuilder(); in formatPendingIntent() local
258 sb.append("Intent(pkg=").append(is.getCreatorPackage()); in formatPendingIntent()
262 if (isActivity) sb.append(" (activity)"); in formatPendingIntent()
264 sb.append(")"); in formatPendingIntent()
265 return sb.toString(); in formatPendingIntent()
323 final SpannableStringBuilder sb = new SpannableStringBuilder(); in generateExtraText() local
325 sb.append(bold(getString(R.string.notification_log_details_package))) in generateExtraText()
332 sb.append("\n") in generateExtraText()
336 sb.append("\n") in generateExtraText()
340 sb.append("\n") in generateExtraText()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationStation.java256 final StringBuilder sb = new StringBuilder(); in formatPendingIntent() local
258 sb.append("Intent(pkg=").append(is.getCreatorPackage()); in formatPendingIntent()
262 if (isActivity) sb.append(" (activity)"); in formatPendingIntent()
264 sb.append(")"); in formatPendingIntent()
265 return sb.toString(); in formatPendingIntent()
323 final SpannableStringBuilder sb = new SpannableStringBuilder(); in generateExtraText() local
325 sb.append(bold(getString(R.string.notification_log_details_package))) in generateExtraText()
332 sb.append("\n") in generateExtraText()
336 sb.append("\n") in generateExtraText()
340 sb.append("\n") in generateExtraText()
[all …]
/packages/services/Telephony/src/com/android/services/telephony/
DConferenceParticipantConnection.java202 StringBuilder sb = new StringBuilder(); in toString() local
203 sb.append("[ConferenceParticipantConnection objId:"); in toString()
204 sb.append(System.identityHashCode(this)); in toString()
205 sb.append(" endPoint:"); in toString()
206 sb.append(Rlog.pii(LOG_TAG, mEndpoint)); in toString()
207 sb.append(" address:"); in toString()
208 sb.append(Rlog.pii(LOG_TAG, getAddress())); in toString()
209 sb.append(" addressPresentation:"); in toString()
210 sb.append(getAddressPresentation()); in toString()
211 sb.append(" parentConnection:"); in toString()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
DKeyboardTextsSet.java86 StringBuilder sb; in resolveTextReference() local
100 sb = null; in resolveTextReference()
104 if (sb == null) { in resolveTextReference()
105 sb = new StringBuilder(text.substring(0, pos)); in resolveTextReference()
107 pos = expandReference(text, pos, PREFIX_TEXT, sb); in resolveTextReference()
109 if (sb == null) { in resolveTextReference()
110 sb = new StringBuilder(text.substring(0, pos)); in resolveTextReference()
112 pos = expandReference(text, pos, PREFIX_RESOURCE, sb); in resolveTextReference()
114 if (sb != null) { in resolveTextReference()
116 sb.append(text.substring(pos, Math.min(pos + 2, size))); in resolveTextReference()
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
DDebugLogUtils.java53 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/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppProvider.java288 java.lang.StringBuilder sb = new java.lang.StringBuilder(); in query() local
289 sb.append("starting query, database is "); in query()
291 sb.append("not "); in query()
293 sb.append("null; "); in query()
295 sb.append("projection is null; "); in query()
297 sb.append("projection is empty; "); in query()
300 sb.append("projection["); in query()
301 sb.append(i); in query()
302 sb.append("] is "); in query()
303 sb.append(projection[i]); in query()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DMoreDatabaseUtils.java74 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/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DWordListMetadata.java118 final StringBuilder sb = new StringBuilder(WordListMetadata.class.getSimpleName()); in toString() local
119 sb.append(" : ").append(mId); in toString()
120 sb.append("\nType : ").append(mType); in toString()
121 sb.append("\nDescription : ").append(mDescription); in toString()
122 sb.append("\nLastUpdate : ").append(mLastUpdate); in toString()
123 sb.append("\nFileSize : ").append(mFileSize); in toString()
124 sb.append("\nRawChecksum : ").append(mRawChecksum); in toString()
125 sb.append("\nChecksum : ").append(mChecksum); in toString()
126 sb.append("\nRetryCount: ").append(mRetryCount); in toString()
127 sb.append("\nLocalFilename : ").append(mLocalFilename); in toString()
[all …]
/packages/apps/TV/src/com/android/tv/dvr/provider/
DDvrDatabaseHelper.java209 StringBuilder sb = new StringBuilder(); in buildCreateSql() local
210 sb.append("CREATE TABLE ").append(tableName).append("("); in buildCreateSql()
214 sb.append(","); in buildCreateSql()
217 sb.append(columnInfo.name); in buildCreateSql()
221 sb.append(" INTEGER"); in buildCreateSql()
224 sb.append(" TEXT"); in buildCreateSql()
227 sb.append(columnInfo.constraint); in buildCreateSql()
230 sb.append(foreignKeyConstraint); in buildCreateSql()
232 sb.append(");"); in buildCreateSql()
233 return sb.toString(); in buildCreateSql()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMapClientService.java104 StringBuilder sb = new StringBuilder(); in connect() local
105 dump(sb); in connect()
107 + ", InstanceMap start state: " + sb.toString()); in connect()
151 StringBuilder sb = new StringBuilder(); in connect() local
152 dump(sb); in connect()
154 + ", InstanceMap end state: " + sb.toString()); in connect()
170 StringBuilder sb = new StringBuilder(); in disconnect() local
171 dump(sb); in disconnect()
173 + ", InstanceMap start state: " + sb.toString()); in disconnect()
187 StringBuilder sb = new StringBuilder(); in disconnect() local
[all …]
/packages/services/Telecomm/src/com/android/server/telecom/callfiltering/
DCallFilteringResult.java254 StringBuilder sb = new StringBuilder(); in toString() local
255 sb.append("["); in toString()
257 sb.append("Allow"); in toString()
259 sb.append("Reject"); in toString()
261 sb.append("Silence"); in toString()
263 sb.append("Ignore"); in toString()
267 sb.append(", audio processing"); in toString()
271 sb.append(", logged"); in toString()
275 sb.append(", notified"); in toString()
279 sb.append(", contact exists"); in toString()
[all …]

1234567891011