Home
last modified time | relevance | path

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

12345678910>>...41

/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/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.java67 return new StringBuilder("setMode(") in eventToString()
75 return new StringBuilder("mode IN COMMUNICATION timeout") in eventToString()
78 default: return new StringBuilder("FIXME invalid op:").append(mOp).toString(); in eventToString()
118 return new StringBuilder("setWiredDeviceConnectionState(") in eventToString()
140 return new StringBuilder("setForceUse(") in eventToString()
360 return new StringBuilder("adjustSuggestedStreamVolume(sugg:") in eventToString()
367 return new StringBuilder("adjustStreamVolume(stream:") in eventToString()
374 return new StringBuilder("setStreamVolume(stream:") in eventToString()
381 return new StringBuilder("setHearingAidVolume:") in eventToString()
386 return new StringBuilder("setAvrcpVolume:") in eventToString()
[all …]
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DWifiUtils.java56 final StringBuilder summary = new StringBuilder(); in buildLoggingSummary()
109 StringBuilder visibility = new StringBuilder(); in getVisibilityStatus()
110 StringBuilder scans24GHz = new StringBuilder(); in getVisibilityStatus()
111 StringBuilder scans5GHz = new StringBuilder(); in getVisibilityStatus()
112 StringBuilder scans60GHz = new StringBuilder(); in getVisibilityStatus()
224 StringBuilder stringBuilder = new StringBuilder(); in verboseScanResultSummary()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DCallbackHandler.java125 String log = new StringBuilder() in setWifiIndicators()
139 String log = new StringBuilder() in setMobileDataIndicators()
154 String currentCallback = new StringBuilder() in setConnectivityStatus()
162 String log = new StringBuilder() in setConnectivityStatus()
178 String currentCallback = new StringBuilder() in setCallIndicator()
185 String log = new StringBuilder() in setCallIndicator()
200 String currentCallback = new StringBuilder() in setSubs()
206 String log = new StringBuilder() in setSubs()
232 String log = new StringBuilder() in setEthernetIndicators()
243 String currentCallback = new StringBuilder() in setIsAirplaneMode()
[all …]
/frameworks/base/services/core/java/com/android/server/pm/
DPackageUsage.java64 StringBuilder sb = new StringBuilder(); in writeInternal()
100 StringBuilder sb = new StringBuilder(); in readInternal()
120 StringBuilder sb, String firstLine) in readVersion0LP()
148 StringBuilder sb) throws IOException { in readVersion1LP()
181 private String readLine(InputStream in, StringBuilder sb) throws IOException { in readLine()
185 private String readToken(InputStream in, StringBuilder sb, char endOfToken) in readToken()
/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.java119 StringBuilder sb = new StringBuilder(128); in toString()
127 StringBuilder sb = new StringBuilder(128); in toShortString()
133 StringBuilder sb = new StringBuilder(128); in toClientString()
138 public void toShortString(StringBuilder sb) { in toShortString()
144 public void toClientString(StringBuilder sb) { in toClientString()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DListDumper.java45 StringBuilder sb = new StringBuilder(); in dumpTree()
82 StringBuilder sb = new StringBuilder(); in dumpList()
100 StringBuilder sb, in dumpEntry()
122 StringBuilder rksb = new StringBuilder(); in dumpEntry()
/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/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.h171 class StringBuilder {
173 StringBuilder() = default;
175 StringBuilder& Append(const android::StringPiece& str);
196 inline const std::string& StringBuilder::ToString() const { in ToString()
200 inline const std::string& StringBuilder::Error() const { in Error()
204 inline bool StringBuilder::IsEmpty() const { in IsEmpty()
208 inline size_t StringBuilder::Utf16Len() const { in Utf16Len()
212 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/base/services/core/java/com/android/server/soundtrigger_middleware/
DObjectPrinter.java57 StringBuilder builder = new StringBuilder(); in print()
81 StringBuilder builder = new StringBuilder(); in printPublicFields()
96 static void print(@NonNull StringBuilder builder, @Nullable Object obj, boolean deep, in print()
223 static void printPublicFields(@NonNull StringBuilder builder, @Nullable Object obj, in printPublicFields()
/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/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/tests/LocationTracker/src/com/android/locationtracker/data/
DCSVFormatter.java29 StringBuilder csvBuilder = new StringBuilder(); in getHeader()
43 StringBuilder rowOutput = new StringBuilder(); in getOutput()
/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()

12345678910>>...41