Home
last modified time | relevance | path

Searched refs:stringBuilder (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationHeaderView.java128 StringBuilder stringBuilder = new StringBuilder(); in bind() local
140 stringBuilder.append(appName); in bind()
145 stringBuilder.append(mSeparatorText); in bind()
146 stringBuilder.append(extras.getCharSequence(Notification.EXTRA_SUB_TEXT)); in bind()
151 stringBuilder.append(mSeparatorText); in bind()
152 stringBuilder.append(extras.getCharSequence(Notification.EXTRA_INFO_TEXT)); in bind()
157 stringBuilder.append(mSeparatorText); in bind()
162 mHeaderTextView.setText(BidiFormatter.getInstance().unicodeWrap(stringBuilder, in bind()
/packages/apps/Dialer/java/com/android/dialer/oem/
DCequintCallerIdManager.java276 StringBuilder stringBuilder = new StringBuilder(); in generateDisplayName() local
280 stringBuilder.append(firstName); in generateDisplayName()
282 stringBuilder.append(" "); in generateDisplayName()
286 stringBuilder.append(lastName); in generateDisplayName()
289 stringBuilder.append(company); in generateDisplayName()
291 stringBuilder.append(name); in generateDisplayName()
296 if (stringBuilder.length() > 0) { in generateDisplayName()
297 return stringBuilder.toString(); in generateDisplayName()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/tips/
DHighUsageTip.java104 final StringBuilder stringBuilder = new StringBuilder(super.toString()); in toString() local
105 stringBuilder.append(" {"); in toString()
108 stringBuilder.append(" " + appInfo.toString() + " "); in toString()
110 stringBuilder.append('}'); in toString()
112 return stringBuilder.toString(); in toString()
DRestrictAppTip.java157 final StringBuilder stringBuilder = new StringBuilder(super.toString()); in toString() local
158 stringBuilder.append(" {"); in toString()
161 stringBuilder.append(" " + appInfo.toString() + " "); in toString()
163 stringBuilder.append('}'); in toString()
165 return stringBuilder.toString(); in toString()
/packages/apps/Messaging/src/com/android/messaging/util/
DTextUtil.java66 public static void appendWithSeparator(final StringBuilder stringBuilder, final String text, in appendWithSeparator() argument
68 if (stringBuilder.length() > 0) { in appendWithSeparator()
69 stringBuilder.append(separator); in appendWithSeparator()
71 stringBuilder.append(text); in appendWithSeparator()
/packages/apps/Dialer/java/com/android/dialer/commandline/impl/
DHelp.java59 StringBuilder stringBuilder = new StringBuilder(); in run() local
62 stringBuilder in run()
75 stringBuilder.append(String.format(Locale.US, " %20s %s\n", entry.getKey(), description)); in run()
78 return Futures.immediateFuture(stringBuilder.toString()); in run()
/packages/apps/Car/Messenger/src/com/android/car/messenger/impl/datamodels/util/
DMmsUtils.java80 StringBuilder stringBuilder = new StringBuilder(); in getMmsBody() local
82 stringBuilder.append(cursor.getString(cursor.getColumnIndex(Part.TEXT))); in getMmsBody()
83 stringBuilder.append(" "); in getMmsBody()
85 return stringBuilder.toString().replace(REPLACE_CHARS, ""); in getMmsBody()
/packages/services/Telephony/testapps/TestRcsApp/TestApp/src/com/google/android/sample/rcsclient/
DDelegateActivity.java142 StringBuilder stringBuilder = new StringBuilder(
148 stringBuilder.append(featureTagState.getFeatureTag()).append(" ").append(
153 stringBuilder.append("] registeredFT:[");
156 stringBuilder.append(ft).append(" ");
158 stringBuilder.append("]\r\n\r\n");
159 mCallbackResultStr += stringBuilder.toString();
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/registration/
DRegistrationControllerImpl.java214 StringBuilder stringBuilder = new StringBuilder( in dumpFeatureTagState() local
220 stringBuilder.append(featureTagState.getFeatureTag()).append(" ").append( in dumpFeatureTagState()
225 stringBuilder.append("] registeredFT:["); in dumpFeatureTagState()
228 stringBuilder.append(ft).append(" "); in dumpFeatureTagState()
230 stringBuilder.append("]"); in dumpFeatureTagState()
231 String result = stringBuilder.toString(); in dumpFeatureTagState()
/packages/apps/Dialer/java/com/android/incallui/
DLog.java94 StringBuilder stringBuilder = new StringBuilder(originalString.length()); in piiHandle() local
97 stringBuilder.append('*'); in piiHandle()
99 stringBuilder.append(c); in piiHandle()
102 return stringBuilder.toString(); in piiHandle()
/packages/apps/Dialer/java/com/android/dialer/common/
DLogUtil.java180 StringBuilder stringBuilder = new StringBuilder(phoneNumber.length()); in sanitizePhoneNumber() local
182 stringBuilder.append(sanitizeDialPadChar(c)); in sanitizePhoneNumber()
184 return stringBuilder.toString(); in sanitizePhoneNumber()
/packages/services/Telephony/src/com/android/phone/
DEmergencyShortcutButton.java120 StringBuilder stringBuilder = new StringBuilder(); in setPhoneNumber() local
122 stringBuilder.append(c).append(" "); in setPhoneNumber()
124 mPhoneNumber.setContentDescription(stringBuilder.toString().trim()); in setPhoneNumber()
/packages/apps/Dialer/java/com/android/dialer/contactphoto/
DContactPhotoManagerImpl.java955 private final StringBuilder stringBuilder = new StringBuilder(); field in ContactPhotoManagerImpl.LoaderThread
1142 stringBuilder.setLength(0); in loadThumbnails()
1143 stringBuilder.append(Photo._ID + " IN("); in loadThumbnails()
1146 stringBuilder.append(','); in loadThumbnails()
1148 stringBuilder.append('?'); in loadThumbnails()
1150 stringBuilder.append(')'); in loadThumbnails()
1163 stringBuilder.toString(), in loadThumbnails()
/packages/modules/Wifi/framework/tests/src/android/net/wifi/
DSoftApConfigurationTest.java65 StringBuilder stringBuilder = new StringBuilder(length); in generateRandomString() local
67 while (stringBuilder.length() < length) { in generateRandomString()
69 stringBuilder.append(TEST_CHAR_SET_AS_STRING.charAt(index)); in generateRandomString()
71 return stringBuilder.toString(); in generateRandomString()
/packages/apps/Settings/src/com/android/settings/network/apn/
DApnEditor.java1169 final StringBuilder stringBuilder = new StringBuilder(); in validateApnData() local
1171 stringBuilder.append(type).append(", "); in validateApnData()
1175 if (stringBuilder.length() >= 2) { in validateApnData()
1176 stringBuilder.delete(stringBuilder.length() - 2, stringBuilder.length()); in validateApnData()
1179 stringBuilder); in validateApnData()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DBinaryDictionaryTests.java161 final StringBuffer stringBuilder = new StringBuffer(); in testAddTooLongWord() local
163 stringBuilder.append('a'); in testAddTooLongWord()
165 final String validLongWord = stringBuilder.toString(); in testAddTooLongWord()
166 stringBuilder.append('a'); in testAddTooLongWord()
167 final String invalidLongWord = stringBuilder.toString(); in testAddTooLongWord()
/packages/providers/TelephonyProvider/tests/src/com/android/providers/telephony/
DTelephonyBackupAgentTest.java331 StringBuilder stringBuilder = new StringBuilder("["); in makeJsonArray() local
334 stringBuilder.append(","); in makeJsonArray()
336 stringBuilder.append(json[i]); in makeJsonArray()
338 stringBuilder.append("]"); in makeJsonArray()
339 return stringBuilder.toString(); in makeJsonArray()
/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
DWifiApConfigStoreTest.java625 StringBuilder stringBuilder = new StringBuilder(length); in generateRandomString() local
627 while (stringBuilder.length() < length) { in generateRandomString()
629 stringBuilder.append(TEST_CHAR_SET_AS_STRING.charAt(index)); in generateRandomString()
631 return stringBuilder.toString(); in generateRandomString()
/packages/services/Iwlan/src/com/google/android/iwlan/
DErrorPolicyManager.java491 StringBuilder stringBuilder = new StringBuilder(); in getDefaultJSONConfig() local
500 stringBuilder.append(str).append("\n"); in getDefaultJSONConfig()
503 return stringBuilder.toString(); in getDefaultJSONConfig()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java9215 StringBuilder stringBuilder = new StringBuilder(); in readToEnd() local
9223 stringBuilder.append((char)ch); in readToEnd()
9226 return stringBuilder.toString(); in readToEnd()