Home
last modified time | relevance | path

Searched refs:StringBuilder (Results 1 – 25 of 914) sorted by relevance

12345678910>>...37

/frameworks/base/services/tests/servicestests/src/com/android/server/
DNativeDaemonConnectorTest.java35 final StringBuilder builder = new StringBuilder(); in testArgumentNormal()
55 final StringBuilder builder = new StringBuilder(); in testArgumentWithSpaces()
67 final StringBuilder builder = new StringBuilder(); in testArgumentWithUtf()
75 final StringBuilder rawBuilder = new StringBuilder(); in testSensitiveArgs()
76 final StringBuilder logBuilder = new StringBuilder(); in testSensitiveArgs()
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java45 return new StringBuilder("setMode(").append(AudioSystem.modeToString(mRequestedMode)) in eventToString()
62 return new StringBuilder("setWiredDeviceConnectionState(") in eventToString()
84 return new StringBuilder("setForceUse(") in eventToString()
163 return new StringBuilder("adjustSuggestedStreamVolume(sugg:") in eventToString()
170 return new StringBuilder("adjustStreamVolume(stream:") in eventToString()
177 return new StringBuilder("setStreamVolume(stream:") in eventToString()
184 return new StringBuilder("setHearingAidVolume:") in eventToString()
189 return new StringBuilder("setAvrcpVolume:") in eventToString()
193 return new StringBuilder("adjustStreamVolumeForUid(stream:") in eventToString()
200 return new StringBuilder("Voice activity change (") in eventToString()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSimpleInflaterTest.java40 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/am/
DContentProviderConnection.java96 StringBuilder sb = new StringBuilder(128); in toString()
104 StringBuilder sb = new StringBuilder(128); in toShortString()
110 StringBuilder sb = new StringBuilder(128); in toClientString()
115 public void toShortString(StringBuilder sb) { in toShortString()
121 public void toClientString(StringBuilder sb) { in toClientString()
/frameworks/layoutlib/create/tests/com/android/tools/layoutlib/create/
DMockLog.java21 StringBuilder mOut = new StringBuilder();
22 StringBuilder mErr = new StringBuilder();
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java34 final StringBuilder summary = new StringBuilder(); in buildLoggingSummary()
86 StringBuilder visibility = new StringBuilder(); in getVisibilityStatus()
87 StringBuilder scans24GHz = new StringBuilder(); in getVisibilityStatus()
88 StringBuilder scans5GHz = new StringBuilder(); in getVisibilityStatus()
176 StringBuilder stringBuilder = new StringBuilder(); in verboseScanResultSummary()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DUtils.java70 StringBuilder sb = new StringBuilder(); in macToString()
159 StringBuilder sb = new StringBuilder(); in roamingConsortiumsToString()
177 StringBuilder sb = new StringBuilder(s.length()); in toUnicodeEscapedString()
194 StringBuilder sb = new StringBuilder(data.length * 3); in toHexString()
209 StringBuilder sb = new StringBuilder(octets.length * 2); in toHex()
279 StringBuilder sbx = new StringBuilder(); in bytesToBingoCard()
/frameworks/base/core/java/android/text/util/
DRfc822Token.java90 StringBuilder sb = new StringBuilder(); in toString()
140 StringBuilder sb = new StringBuilder(); in quoteName()
163 StringBuilder sb = new StringBuilder(); in quoteComment()
DRfc822Tokenizer.java46 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/services/usb/java/com/android/server/usb/descriptors/
DUsbBinaryParser.java32 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/core/tests/coretests/src/android/app/
DApplicationErrorReportTest.java45 StringBuilder msg = new StringBuilder(); in testHugeExceptionMessageLeadsToReasonableReport()
58 StringBuilder msg = new StringBuilder("start"); in testTruncationKeepsStartAndEndIntact()
/frameworks/base/cmds/statsd/tools/loadtest/src/com/android/statsd/loadtest/
DDisplayProtoUtils.java27 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport()
87 … private static void displayDimension(StringBuilder sb, StatsLog.DimensionsValue dimensionValue) { in displayDimension()
108 public static void displayDurationMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayDurationMetricData()
130 public static void displayEventMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayEventMetricData()
140 public static void displayCountMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayCountMetricData()
162 public static void displayGaugeMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayGaugeMetricData()
166 public static void displayValueMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayValueMetricData()
/frameworks/base/cmds/statsd/tools/dogfood/src/com/android/statsd/dogfood/
DDisplayProtoUtils.java25 … public static void displayLogReport(StringBuilder sb, StatsLog.ConfigMetricsReportList reports) { in displayLogReport()
76 … private static void displayDimension(StringBuilder sb, StatsLog.DimensionsValue dimensionValue) { in displayDimension()
97 public static void displayDurationMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayDurationMetricData()
119 public static void displayEventMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayEventMetricData()
129 public static void displayCountMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayCountMetricData()
151 public static void displayGaugeMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayGaugeMetricData()
155 public static void displayValueMetricData(StringBuilder sb, StatsLog.StatsLogReport log) { in displayValueMetricData()
/frameworks/base/telephony/java/com/android/internal/telephony/cdma/
DCdmaSmsAddress.java99 StringBuilder builder = new StringBuilder(); in toString()
160 StringBuilder builder = new StringBuilder(); in filterNumericSugar()
177 StringBuilder builder = new StringBuilder(); in filterWhitespace()
/frameworks/base/services/backup/java/com/android/server/backup/
DFileMetadata.java45 StringBuilder sb = new StringBuilder(128); in toString()
61 StringBuilder b = new StringBuilder(128); in dump()
/frameworks/base/tools/aapt2/util/
DUtil.h161 class StringBuilder {
163 StringBuilder() = default;
165 StringBuilder& Append(const android::StringPiece& str);
186 inline const std::string& StringBuilder::ToString() const { in ToString()
190 inline const std::string& StringBuilder::Error() const { in Error()
194 inline bool StringBuilder::IsEmpty() const { in IsEmpty()
198 inline size_t StringBuilder::Utf16Len() const { in Utf16Len()
202 inline StringBuilder::operator bool() const {
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQueryBuilder.java64 private StringBuilder mWhereClause = null; // lazily created
124 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhere()
141 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereEscapeString()
159 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereStandalone()
310 StringBuilder query = new StringBuilder(120); in buildQueryString()
332 private static void appendClause(StringBuilder s, String name, String clause) { in appendClause()
343 public static void appendColumns(StringBuilder s, String[] columns) { in appendColumns()
706 StringBuilder sql = new StringBuilder(120); in buildUpdate()
727 StringBuilder sql = new StringBuilder(120); in buildDelete()
845 StringBuilder query = new StringBuilder(128); in buildUnionQuery()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java29 StringBuilder csvBuilder = new StringBuilder(); in getHeader()
43 StringBuilder rowOutput = new StringBuilder(); in getOutput()
/frameworks/base/apct-tests/perftests/multiuser/src/android/multiuser/
DBenchmarkResultsReporter.java57 final StringBuilder sb = new StringBuilder(summary);
66 final StringBuilder sb = new StringBuilder();
/frameworks/base/core/java/android/view/animation/
DTransformation.java214 StringBuilder sb = new StringBuilder(64); in toString()
224 StringBuilder sb = new StringBuilder(64); in toShortString()
232 public void toShortString(StringBuilder sb) { in toShortString()
/frameworks/ex/camera2/public/src/com/android/ex/camera2/utils/
DStateWaiter.java131 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/ex/camera2/public/src/com/android/ex/camera2/blocking/
DBlockingStateCallback.java180 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()
/frameworks/base/apct-tests/perftests/core/src/android/text/
DNonEditableTextGenerator.java115 final StringBuilder result = new StringBuilder(); in buildLatinSequence()
125 final StringBuilder result = new StringBuilder(); in buildLatinWord()
/frameworks/base/services/tests/servicestests/src/com/android/server/content/
DSyncManagerTest.java114 final StringBuilder sb = new StringBuilder(); in testFormatDurationHMS()
122 final StringBuilder sb = new StringBuilder(); in checkFormatDurationHMS()
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DShowDataAction.java52 StringBuilder builder = new StringBuilder(); in actionPerformed()
75 private void add(StringBuilder builder, String head, Set<String> set) { in add()
82 private void addSet(StringBuilder builder, Set<String> set) { in addSet()

12345678910>>...37