/frameworks/base/apct-tests/perftests/core/src/android/libcore/regression/ |
D | StringBuilderPerfTest.java | 41 StringBuilder sb = new StringBuilder(); in timeAppendBoolean() 52 StringBuilder sb = new StringBuilder(); in timeAppendChar() 64 StringBuilder sb = new StringBuilder(); in timeAppendCharArray() 76 StringBuilder sb = new StringBuilder(); in timeAppendCharSequence() 88 StringBuilder sb = new StringBuilder(); in timeAppendSubCharSequence() 100 StringBuilder sb = new StringBuilder(); in timeAppendDouble() 112 StringBuilder sb = new StringBuilder(); in timeAppendFloat() 124 StringBuilder sb = new StringBuilder(); in timeAppendInt() 136 StringBuilder sb = new StringBuilder(); in timeAppendLong() 155 StringBuilder sb = new StringBuilder(); in timeAppendObject() [all …]
|
D | FormatterPerfTest.java | 53 StringBuilder sb = new StringBuilder(); in timeStringBuilder_NoFormatting() 83 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneInt() 104 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneHexInt() 145 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneFloat() 165 StringBuilder sb = new StringBuilder(); in timeStringBuilder_OneString()
|
D | CharsetUtf8PerfTest.java | 41 StringBuilder builder = new StringBuilder(); in makeUnicodeRange() 51 StringBuilder builder2 = new StringBuilder(); in makeUnicodeRange()
|
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/ |
D | SimpleInflaterTest.java | 40 final StringBuilder result = inflater.inflate(R.xml.simple_inflater_test); in testInflateXml() 45 private static class TestInflater extends SimpleInflater<StringBuilder> { 52 protected StringBuilder onCreateItem(String tagName, AttributeSet attrs) { in onCreateItem() 54 return new StringBuilder(tagName).append("[").append(attribute).append("]"); in onCreateItem() 58 protected void onAddChildItem(StringBuilder parent, StringBuilder child) { in onAddChildItem()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | AudioServiceEvents.java | 69 return new StringBuilder("setMode(") in eventToString() 77 return new StringBuilder("mode IN COMMUNICATION timeout") in eventToString() 80 default: return new StringBuilder("FIXME invalid op:").append(mOp).toString(); in eventToString() 120 return new StringBuilder("setWiredDeviceConnectionState(") in eventToString() 145 return new StringBuilder("setForceUse(") in eventToString() 167 return new StringBuilder("sending VOLUME_CHANGED stream:") in eventToString() 208 final StringBuilder sb = new StringBuilder("setDeviceVolume(stream:") in eventToString() 491 return new StringBuilder("adjustSuggestedStreamVolume(sugg:") in eventToString() 498 return new StringBuilder("adjustVolumeGroupVolume(group:") in eventToString() 505 return new StringBuilder("adjustStreamVolume(stream:") in eventToString() [all …]
|
/frameworks/layoutlib/create/tests/src/com/android/tools/layoutlib/create/ |
D | MockLog.java | 21 StringBuilder mOut = new StringBuilder(); 22 StringBuilder mErr = new StringBuilder();
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | PowerStatsLayout.java | 47 private StringBuilder mDeviceFormat = new StringBuilder(); 48 private StringBuilder mStateFormat = new StringBuilder(); 49 private StringBuilder mUidFormat = new StringBuilder(); 80 private void appendFormat(StringBuilder sb, int position, int length, String label, in appendFormat() 295 StringBuilder sb = new StringBuilder(); in putIntArray()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/ |
D | CallbackHandler.java | 122 String log = new StringBuilder() in setWifiIndicators() 136 String log = new StringBuilder() in setMobileDataIndicators() 151 String currentCallback = new StringBuilder() in setConnectivityStatus() 159 String log = new StringBuilder() in setConnectivityStatus() 175 String currentCallback = new StringBuilder() in setCallIndicator() 182 String log = new StringBuilder() in setCallIndicator() 197 String currentCallback = new StringBuilder() in setSubs() 203 String log = new StringBuilder() in setSubs() 229 String log = new StringBuilder() in setEthernetIndicators() 240 String currentCallback = new StringBuilder() in setIsAirplaneMode() [all …]
|
/frameworks/base/services/core/java/com/android/server/location/contexthub/ |
D | ContextHubEventLogger.java | 102 StringBuilder sb = new StringBuilder(); in toString() 130 StringBuilder sb = new StringBuilder(); in toString() 160 StringBuilder sb = new StringBuilder(); in toString() 183 StringBuilder sb = new StringBuilder(); in toString() 330 StringBuilder sb = new StringBuilder(); in toString()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | PackageUsage.java | 62 StringBuilder sb = new StringBuilder(); in writeInternal() 99 StringBuilder sb = new StringBuilder(); in readInternal() 119 StringBuilder sb, String firstLine) in readVersion0LP() 147 StringBuilder sb) throws IOException { in readVersion1LP() 180 private String readLine(InputStream in, StringBuilder sb) throws IOException { in readLine() 184 private String readToken(InputStream in, StringBuilder sb, char endOfToken) in readToken()
|
/frameworks/base/core/java/android/text/util/ |
D | Rfc822Token.java | 90 StringBuilder sb = new StringBuilder(); in toString() 140 StringBuilder sb = new StringBuilder(); in quoteName() 163 StringBuilder sb = new StringBuilder(); in quoteComment()
|
D | Rfc822Tokenizer.java | 46 StringBuilder name = new StringBuilder(); in tokenize() 47 StringBuilder address = new StringBuilder(); in tokenize() 48 StringBuilder comment = new StringBuilder(); in tokenize() 177 private static void crunch(StringBuilder sb) { in crunch()
|
/frameworks/base/tools/aapt2/util/ |
D | Util.h | 159 class StringBuilder { 161 StringBuilder() = default; 163 StringBuilder& Append(android::StringPiece str); 184 inline const std::string& StringBuilder::ToString() const { in ToString() 188 inline const std::string& StringBuilder::Error() const { in Error() 192 inline bool StringBuilder::IsEmpty() const { in IsEmpty() 196 inline size_t StringBuilder::Utf16Len() const { in Utf16Len() 200 inline StringBuilder::operator bool() const {
|
/frameworks/base/core/tests/coretests/src/android/app/ |
D | ApplicationErrorReportTest.java | 45 StringBuilder msg = new StringBuilder(); in testHugeExceptionMessageLeadsToReasonableReport() 58 StringBuilder msg = new StringBuilder("start"); in testTruncationKeepsStartAndEndIntact()
|
/frameworks/base/services/usb/java/com/android/server/usb/descriptors/ |
D | UsbBinaryParser.java | 32 private void dumpDescriptor(ByteStream stream, int length, byte type, StringBuilder builder) { in dumpDescriptor() 38 StringBuilder sb = new StringBuilder(); in dumpDescriptor() 61 StringBuilder builder) { in parseDescriptors()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ContentProviderConnection.java | 138 StringBuilder sb = new StringBuilder(128); in toString() 146 StringBuilder sb = new StringBuilder(128); in toShortString() 152 StringBuilder sb = new StringBuilder(128); in toClientString() 157 public void toShortString(StringBuilder sb) { in toShortString() 163 public void toClientString(StringBuilder sb) { in toClientString()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | ListDumper.java | 46 StringBuilder sb = new StringBuilder(); in dumpTree() 94 StringBuilder sb = new StringBuilder(); in dumpList() 112 StringBuilder sb, in dumpEntry() 141 StringBuilder rksb = new StringBuilder(); in dumpEntry()
|
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/sms/ |
D | CdmaSmsAddress.java | 104 StringBuilder builder = new StringBuilder(); in toString() 165 StringBuilder builder = new StringBuilder(); in filterNumericSugar() 182 StringBuilder builder = new StringBuilder(); in filterWhitespace()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationBigTextNormalizer.java | 74 final StringBuilder textSB = new StringBuilder(text.length()); in normalizeLines() 77 final StringBuilder lineSB = new StringBuilder(line.length()); in normalizeLines()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | FileMetadata.java | 45 StringBuilder sb = new StringBuilder(128); in toString() 61 StringBuilder b = new StringBuilder(128); in dump()
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/ |
D | StateWaiter.java | 131 StringBuilder s = new StringBuilder("Waiting for state(s) "); in waitForAnyOfStates() 159 StringBuilder s = new StringBuilder("Timed out after "); in waitForAnyOfStates() 180 public void appendStateNames(StringBuilder s, Collection<Integer> states) { in appendStateNames()
|
/frameworks/base/tools/preload-check/src/com/android/preload/check/ |
D | PreloadCheck.java | 76 StringBuilder sb = new StringBuilder(); in testDenyList() 109 StringBuilder sb = new StringBuilder(); in run()
|
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
D | CSVFormatter.java | 29 StringBuilder csvBuilder = new StringBuilder(); in getHeader() 43 StringBuilder rowOutput = new StringBuilder(); in getOutput()
|
/frameworks/base/core/java/android/database/sqlite/ |
D | SQLiteQueryBuilder.java | 73 private StringBuilder mWhereClause = null; // lazily created 138 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhere() 155 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereEscapeString() 173 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereStandalone() 390 StringBuilder query = new StringBuilder(120); in buildQueryString() 412 private static void appendClause(StringBuilder s, String name, String clause) { in appendClause() 423 public static void appendColumns(StringBuilder s, String[] columns) { in appendColumns() 895 StringBuilder sql = new StringBuilder(120); in buildInsert() 924 StringBuilder sql = new StringBuilder(120); in buildUpdate() 945 StringBuilder sql = new StringBuilder(120); in buildDelete() [all …]
|
/frameworks/ex/camera2/public/src/com/android/ex/camera2/blocking/ |
D | BlockingStateCallback.java | 180 StringBuilder s = new StringBuilder("Waiting for state(s) "); in waitForAnyOfStates() 208 StringBuilder s = new StringBuilder("Timed out after "); in waitForAnyOfStates() 229 public static void appendStates(StringBuilder s, Collection<Integer> states) { in appendStates()
|