Home
last modified time | relevance | path

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

12345678910>>...43

/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/layoutlib/create/tests/src/com/android/tools/layoutlib/create/
DMockLog.java21 StringBuilder mOut = new StringBuilder();
22 StringBuilder mErr = new StringBuilder();
/frameworks/base/services/core/java/com/android/server/audio/
DAudioServiceEvents.java68 return new StringBuilder("setMode(") in eventToString()
76 return new StringBuilder("mode IN COMMUNICATION timeout") in eventToString()
79 default: return new StringBuilder("FIXME invalid op:").append(mOp).toString(); in eventToString()
119 return new StringBuilder("setWiredDeviceConnectionState(") in eventToString()
142 return new StringBuilder("setForceUse(") in eventToString()
162 return new StringBuilder("sending VOLUME_CHANGED stream:") in eventToString()
202 final StringBuilder sb = new StringBuilder("setDeviceVolume(stream:") in eventToString()
440 return new StringBuilder("adjustSuggestedStreamVolume(sugg:") in eventToString()
447 return new StringBuilder("adjustVolumeGroupVolume(group:") in eventToString()
454 return new StringBuilder("adjustStreamVolume(stream:") in eventToString()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/connectivity/
DCallbackHandler.java123 String log = new StringBuilder() in setWifiIndicators()
137 String log = new StringBuilder() in setMobileDataIndicators()
152 String currentCallback = new StringBuilder() in setConnectivityStatus()
160 String log = new StringBuilder() in setConnectivityStatus()
176 String currentCallback = new StringBuilder() in setCallIndicator()
183 String log = new StringBuilder() in setCallIndicator()
198 String currentCallback = new StringBuilder() in setSubs()
204 String log = new StringBuilder() in setSubs()
230 String log = new StringBuilder() in setEthernetIndicators()
241 String currentCallback = new StringBuilder() in setIsAirplaneMode()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java62 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/libs/systemui/searchuilib/src/com/android/app/search/
DSearchTargetEventHelper.java59 StringBuilder webTargetId = new StringBuilder( in generateWebTargetIdForLogging()
88 StringBuilder appTargetId = new StringBuilder( in generateAppTargetIdForLogging()
/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/core/java/com/android/server/am/
DContentProviderConnection.java122 StringBuilder sb = new StringBuilder(128); in toString()
130 StringBuilder sb = new StringBuilder(128); in toShortString()
136 StringBuilder sb = new StringBuilder(128); in toClientString()
141 public void toShortString(StringBuilder sb) { in toShortString()
147 public void toClientString(StringBuilder sb) { in toClientString()
/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/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java107 final StringBuilder summary = new StringBuilder(); in buildLoggingSummary()
160 StringBuilder visibility = new StringBuilder(); in getVisibilityStatus()
161 StringBuilder scans24GHz = new StringBuilder(); in getVisibilityStatus()
162 StringBuilder scans5GHz = new StringBuilder(); in getVisibilityStatus()
163 StringBuilder scans60GHz = new StringBuilder(); in getVisibilityStatus()
275 StringBuilder stringBuilder = new StringBuilder(); in verboseScanResultSummary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListDumper.java46 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/
DCdmaSmsAddress.java104 StringBuilder builder = new StringBuilder(); in toString()
165 StringBuilder builder = new StringBuilder(); in filterNumericSugar()
182 StringBuilder builder = new StringBuilder(); in filterWhitespace()
/frameworks/base/tools/aapt2/util/
DUtil.h170 class StringBuilder {
172 StringBuilder() = default;
174 StringBuilder& Append(const android::StringPiece& str);
195 inline const std::string& StringBuilder::ToString() const { in ToString()
199 inline const std::string& StringBuilder::Error() const { in Error()
203 inline bool StringBuilder::IsEmpty() const { in IsEmpty()
207 inline size_t StringBuilder::Utf16Len() const { in Utf16Len()
211 inline StringBuilder::operator bool() const {
/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/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/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/tools/preload-check/src/com/android/preload/check/
DPreloadCheck.java76 StringBuilder sb = new StringBuilder(); in testDenyList()
109 StringBuilder sb = new StringBuilder(); in run()
/frameworks/base/core/java/android/database/sqlite/
DSQLiteQueryBuilder.java64 private StringBuilder mWhereClause = null; // lazily created
129 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhere()
146 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereEscapeString()
164 mWhereClause = new StringBuilder(inWhere.length() + 16); in appendWhereStandalone()
381 StringBuilder query = new StringBuilder(120); in buildQueryString()
403 private static void appendClause(StringBuilder s, String name, String clause) { in appendClause()
414 public static void appendColumns(StringBuilder s, String[] columns) { in appendColumns()
886 StringBuilder sql = new StringBuilder(120); in buildInsert()
915 StringBuilder sql = new StringBuilder(120); in buildUpdate()
936 StringBuilder sql = new StringBuilder(120); in buildDelete()
[all …]
/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/core/java/android/provider/
DFontRequest.java54 mIdentifier = new StringBuilder(mProviderAuthority).append("-").append(mProviderPackage) in FontRequest()
75 mIdentifier = new StringBuilder(mProviderAuthority).append("-").append(mProviderPackage) in FontRequest()
118 StringBuilder builder = new StringBuilder(); in toString()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java90 StringBuilder builder = null; in getNonEmptyLine()
100 builder = new StringBuilder(); in getNonEmptyLine()
210 StringBuilder builder = null; // Delay initialization. in splitAndPutParam()
248 builder = new StringBuilder(); in splitAndPutParam()
328 StringBuilder builder = new StringBuilder(); in unescapeText()
/frameworks/base/core/java/android/view/animation/
DTransformation.java242 StringBuilder sb = new StringBuilder(64); in toString()
252 StringBuilder sb = new StringBuilder(64); in toShortString()
260 public void toShortString(StringBuilder sb) { in toShortString()

12345678910>>...43