Home
last modified time | relevance | path

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

12345678910>>...15

/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/modules/Wifi/service/java/com/android/server/wifi/p2p/
DWifiP2pMetrics.java166 StringBuilder sb = new StringBuilder(); in dump() local
169 sb.append("startTime="); in dump()
170 sb.append(event.startTimeMillis == 0 ? " <null>" : in dump()
172 sb.append(", connectionType="); in dump()
175 sb.append("FRESH"); in dump()
178 sb.append("REINVOKE"); in dump()
181 sb.append("LOCAL"); in dump()
184 sb.append("FAST"); in dump()
187 sb.append("UNKNOWN"); in dump()
190 sb.append(", wpsMethod="); in dump()
[all …]
/packages/modules/NetworkStack/common/netlinkclient/src/android/net/netlink/
DConntrackMessage.java471 final StringBuilder sb = new StringBuilder(); in stringForIpConntrackStatus() local
474 sb.append("IPS_EXPECTED"); in stringForIpConntrackStatus()
477 if (sb.length() > 0) sb.append("|"); in stringForIpConntrackStatus()
478 sb.append("IPS_SEEN_REPLY"); in stringForIpConntrackStatus()
481 if (sb.length() > 0) sb.append("|"); in stringForIpConntrackStatus()
482 sb.append("IPS_ASSURED"); in stringForIpConntrackStatus()
485 if (sb.length() > 0) sb.append("|"); in stringForIpConntrackStatus()
486 sb.append("IPS_CONFIRMED"); in stringForIpConntrackStatus()
489 if (sb.length() > 0) sb.append("|"); in stringForIpConntrackStatus()
490 sb.append("IPS_SRC_NAT"); in stringForIpConntrackStatus()
[all …]
DStructNlMsgHdr.java53 final StringBuilder sb = new StringBuilder(); in stringForNlMsgFlags() local
55 sb.append("NLM_F_REQUEST"); in stringForNlMsgFlags()
58 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
59 sb.append("NLM_F_MULTI"); in stringForNlMsgFlags()
62 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
63 sb.append("NLM_F_ACK"); in stringForNlMsgFlags()
66 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
67 sb.append("NLM_F_ECHO"); in stringForNlMsgFlags()
70 if (sb.length() > 0) { sb.append("|"); } in stringForNlMsgFlags()
71 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/modules/Wifi/framework/java/android/net/wifi/
DRttManager.java217 StringBuffer sb = new StringBuffer(); in toString() local
218 sb.append("oneSidedRtt "). in toString()
228 sb.append("Legacy "); in toString()
232 sb.append("HT "); in toString()
236 sb.append("VHT "); in toString()
239 sb.append("is supported. "); in toString()
242 sb.append("5 MHz "); in toString()
246 sb.append("10 MHz "); in toString()
250 sb.append("20 MHz "); in toString()
254 sb.append("40 MHz "); in toString()
[all …]
/packages/modules/Wifi/framework/java/android/net/wifi/p2p/nsd/
DWifiP2pDnsSdServiceInfo.java127 StringBuffer sb = new StringBuffer(); in createPtrServiceQuery() local
128 sb.append("bonjour "); in createPtrServiceQuery()
129 sb.append(createRequest(serviceType + ".local.", DNS_TYPE_PTR, VERSION_1)); in createPtrServiceQuery()
130 sb.append(" "); in createPtrServiceQuery()
133 sb.append(String.format(Locale.US, "%02x", data.length)); in createPtrServiceQuery()
134 sb.append(WifiP2pServiceInfo.bin2HexStr(data)); in createPtrServiceQuery()
137 sb.append("c027"); in createPtrServiceQuery()
138 return sb.toString(); in createPtrServiceQuery()
156 StringBuffer sb = new StringBuffer(); in createTxtServiceQuery() local
157 sb.append("bonjour "); in createTxtServiceQuery()
[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/Car/tests/TestMediaApp/assets/media_items/
DGenerateSongsJson.java20 private static final StringBuilder sb = new StringBuilder(); field in GenerateSongsJson
41 sb.append("{ \n"); in main()
42 sb.append(" \"FLAGS\": \"browsable\", \n\n"); in main()
43 sb.append(" \"METADATA\": { \n"); in main()
44 sb.append(" \"MEDIA_ID\": \"hundreds_songs\", \n"); in main()
45 sb.append(" \"DISPLAY_TITLE\": \"More songs\" \n"); in main()
46 sb.append(" },\n\n"); in main()
47 sb.append(" \"CHILDREN\": [ \n"); in main()
52 sb.append(" { \n "); in main()
53 sb.append(" \"FLAGS\": \"playable\",\n"); in main()
[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/Bluetooth/src/com/android/bluetooth/gatt/
DAppScanStats.java469 synchronized void dumpToString(StringBuilder sb) { in dumpToString() argument
527 sb.append(" " + appName); in dumpToString()
529 sb.append(" (Registered)"); in dumpToString()
532 sb.append("\n LE scans (started/stopped) : " in dumpToString()
534 sb.append("\n Scan time in ms (active/suspend/total) : " in dumpToString()
536 sb.append("\n Scan time with mode in ms " in dumpToString()
540 sb.append("\n Scan mode counter (Opp/LowPower/Balanced/LowLatency/AmbientDiscovery):" in dumpToString()
543 sb.append("\n Score : " + Score); in dumpToString()
544 sb.append("\n Total number of results : " + results); in dumpToString()
547 sb.append("\n Last " + mLastScans.size() in dumpToString()
[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/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/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/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/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/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/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/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/modules/Wifi/service/java/com/android/server/wifi/
DWlanWakeReasonAndCounts.java65 StringBuffer sb = new StringBuffer(); in toString() local
66 sb.append(" totalCmdEventWake ").append(totalCmdEventWake); in toString()
67 sb.append(" totalDriverFwLocalWake ").append(totalDriverFwLocalWake); in toString()
68 sb.append(" totalRxDataWake ").append(totalRxDataWake); in toString()
70 sb.append(" rxUnicast ").append(rxUnicast); in toString()
71 sb.append(" rxMulticast ").append(rxMulticast); in toString()
72 sb.append(" rxBroadcast ").append(rxBroadcast); in toString()
74 sb.append(" icmp ").append(icmp); in toString()
75 sb.append(" icmp6 ").append(icmp6); in toString()
76 sb.append(" icmp6Ra ").append(icmp6Ra); in toString()
[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/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/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 …]

12345678910>>...15