Home
last modified time | relevance | path

Searched refs:builder (Results 1 – 25 of 453) sorted by relevance

12345678910>>...19

/frameworks/base/core/java/android/view/accessibility/
DAccessibilityEvent.java1192 StringBuilder builder = new StringBuilder(); in toString() local
1193 builder.append("EventType: ").append(eventTypeToString(mEventType)); in toString()
1194 builder.append("; EventTime: ").append(mEventTime); in toString()
1195 builder.append("; PackageName: ").append(mPackageName); in toString()
1196 builder.append("; MovementGranularity: ").append(mMovementGranularity); in toString()
1197 builder.append("; Action: ").append(mAction); in toString()
1198 builder.append(super.toString()); in toString()
1200 builder.append("\n"); in toString()
1201 builder.append("; ContentChangeTypes: ").append(mContentChangeTypes); in toString()
1202 builder.append("; sourceWindowId: ").append(mSourceWindowId); in toString()
[all …]
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DKMLFormatter.java29 LineBuilder builder = new LineBuilder(); in getHeader() local
30 builder.addLine("<?xml version=\"1.0\" encoding=\"UTF-8\"?>"); in getHeader()
31 builder.addLine("<kml xmlns=\"http://earth.google.com/kml/2.2\">"); in getHeader()
32 builder.addLine("<Document>"); in getHeader()
33 return builder.toString(); in getHeader()
37 LineBuilder builder = new LineBuilder(); in getFooter() local
38 builder.addLine("</Document>"); in getFooter()
39 builder.addLine("</kml>"); in getFooter()
40 return builder.toString(); in getFooter()
44 LineBuilder builder = new LineBuilder(); in getOutput() local
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNativeDaemonConnectorTest.java35 final StringBuilder builder = new StringBuilder(); in testArgumentNormal() local
37 builder.setLength(0); in testArgumentNormal()
38 appendEscaped(builder, ""); in testArgumentNormal()
39 assertEquals("", builder.toString()); in testArgumentNormal()
41 builder.setLength(0); in testArgumentNormal()
42 appendEscaped(builder, "foo"); in testArgumentNormal()
43 assertEquals("foo", builder.toString()); in testArgumentNormal()
45 builder.setLength(0); in testArgumentNormal()
46 appendEscaped(builder, "foo\"bar"); in testArgumentNormal()
47 assertEquals("foo\\\"bar", builder.toString()); in testArgumentNormal()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/text/
DStaticLayout_Delegate.java62 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nSetLocale() local
63 if (builder != null) { in nSetLocale()
64 builder.mLocale = locale; in nSetLocale()
65 builder.mNativeHyphenator = nativeHyphenator; in nSetLocale()
79 Builder builder = sBuilderManager.getDelegate(nativeBuilder); in nSetupParagraph() local
80 if (builder == null) { in nSetupParagraph()
84 builder.mText = text; in nSetupParagraph()
85 builder.mWidths = new float[length]; in nSetupParagraph()
86 builder.mLineWidth = new LineWidth(firstWidth, firstWidthLineCount, restWidth); in nSetupParagraph()
87 builder.mTabStopCalculator = new TabStops(variableTabStops, defaultTabStop); in nSetupParagraph()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DIdentifier.java57 final StringBuilder builder = new StringBuilder(); in toString() local
58 builder.append("Identifier { "); in toString()
60 builder.append("mDeviceId: "); in toString()
61 builder.append(mDeviceId); in toString()
62 builder.append(", "); in toString()
64 builder.append("mStorageId: "); in toString()
65 builder.append(mStorageId); in toString()
66 builder.append(", "); in toString()
68 builder.append("mObjectHandle: "); in toString()
69 builder.append(mObjectHandle); in toString()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DPropertyNode.java159 StringBuilder builder = new StringBuilder(); in toString() local
160 builder.append("propName: "); in toString()
161 builder.append(propName); in toString()
162 builder.append(", paramMap: "); in toString()
163 builder.append(paramMap.toString()); in toString()
164 builder.append(", paramMap_TYPE: ["); in toString()
170 builder.append(", "); in toString()
172 builder.append('"'); in toString()
173 builder.append(elem); in toString()
174 builder.append('"'); in toString()
[all …]
DImportTestProvider.java136 final StringBuilder builder = new StringBuilder(); in applyBatch() local
137 builder.append("\n"); in applyBatch()
138 builder.append("Unexpected: "); in applyBatch()
139 builder.append(convertToEasilyReadableString(actualContentValues)); in applyBatch()
140 builder.append("\n"); in applyBatch()
141 builder.append("Expected : "); in applyBatch()
143 builder.append(convertToEasilyReadableString(expectedContentValues)); in applyBatch()
145 TestCase.fail(builder.toString()); in applyBatch()
158 StringBuilder builder = new StringBuilder(); in verify() local
162 builder.append(convertToEasilyReadableString(expectedContentValues)); in verify()
[all …]
/frameworks/base/core/java/android/bluetooth/
DBluetoothHeadsetClientCall.java198 StringBuilder builder = new StringBuilder("BluetoothHeadsetClientCall{mDevice: "); in toString() local
199 builder.append(loggable ? mDevice : mDevice.hashCode()); in toString()
200 builder.append(", mId: "); in toString()
201 builder.append(mId); in toString()
202 builder.append(", mUUID: "); in toString()
203 builder.append(mUUID); in toString()
204 builder.append(", mState: "); in toString()
206 case CALL_STATE_ACTIVE: builder.append("ACTIVE"); break; in toString()
207 case CALL_STATE_HELD: builder.append("HELD"); break; in toString()
208 case CALL_STATE_DIALING: builder.append("DIALING"); break; in toString()
[all …]
/frameworks/base/core/java/android/hardware/location/
DGeofenceHardwareRequestParcelable.java110 StringBuilder builder = new StringBuilder(); in toString() local
111 builder.append("id="); in toString()
112 builder.append(mId); in toString()
113 builder.append(", type="); in toString()
114 builder.append(mRequest.getType()); in toString()
115 builder.append(", latitude="); in toString()
116 builder.append(mRequest.getLatitude()); in toString()
117 builder.append(", longitude="); in toString()
118 builder.append(mRequest.getLongitude()); in toString()
119 builder.append(", radius="); in toString()
[all …]
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V30.java80 StringBuilder builder = null; in getNonEmptyLine() local
89 if (builder == null) { in getNonEmptyLine()
90 builder = new StringBuilder(); in getNonEmptyLine()
93 builder.append(mPreviousLine); in getNonEmptyLine()
96 builder.append(line.substring(1)); in getNonEmptyLine()
98 if (builder != null || mPreviousLine != null) { in getNonEmptyLine()
106 if (builder != null) { in getNonEmptyLine()
107 ret = builder.toString(); in getNonEmptyLine()
200 StringBuilder builder = null; // Delay initialization. in splitAndPutParam() local
208 property.addParameter(paramName, encodeParamValue(builder.toString())); in splitAndPutParam()
[all …]
DVCardEntry.java163 final ContentProviderOperation.Builder builder = ContentProviderOperation in constructInsertOperation() local
165 builder.withValueBackReference(StructuredName.RAW_CONTACT_ID, backReferenceIndex); in constructInsertOperation()
166 builder.withValue(Data.MIMETYPE, StructuredName.CONTENT_ITEM_TYPE); in constructInsertOperation()
169 builder.withValue(StructuredName.GIVEN_NAME, mGiven); in constructInsertOperation()
172 builder.withValue(StructuredName.FAMILY_NAME, mFamily); in constructInsertOperation()
175 builder.withValue(StructuredName.MIDDLE_NAME, mMiddle); in constructInsertOperation()
178 builder.withValue(StructuredName.PREFIX, mPrefix); in constructInsertOperation()
181 builder.withValue(StructuredName.SUFFIX, mSuffix); in constructInsertOperation()
187 builder.withValue(StructuredName.PHONETIC_GIVEN_NAME, mPhoneticGiven); in constructInsertOperation()
191 builder.withValue(StructuredName.PHONETIC_FAMILY_NAME, mPhoneticFamily); in constructInsertOperation()
[all …]
/frameworks/base/core/java/com/android/internal/os/
DLoggingPrintStream.java38 private final StringBuilder builder = new StringBuilder(); field in LoggingPrintStream
86 int length = builder.length(); in flush()
93 && (nextBreak = builder.indexOf("\n", start)) != -1) { in flush()
94 log(builder.substring(start, nextBreak)); in flush()
101 log(builder.substring(start)); in flush()
103 builder.setLength(0); in flush()
106 builder.delete(0, start); in flush()
145 builder.append(decodedChars); in write()
182 private final Formatter formatter = new Formatter(builder, null);
198 builder.append(charArray); in print()
[all …]
/frameworks/base/location/java/android/location/
DGnssMeasurement.java292 StringBuilder builder = new StringBuilder(); in getStateString() local
294 builder.append("CodeLock|"); in getStateString()
297 builder.append("BitSync|"); in getStateString()
300 builder.append("SubframeSync|"); in getStateString()
303 builder.append("TowDecoded|"); in getStateString()
306 builder.append("MsecAmbiguous|"); in getStateString()
309 builder.append("SymbolSync|"); in getStateString()
312 builder.append("GloStringSync|"); in getStateString()
315 builder.append("GloTodDecoded|"); in getStateString()
318 builder.append("BdsD2BitSync|"); in getStateString()
[all …]
DGpsMeasurement.java292 StringBuilder builder = new StringBuilder(); in getStateString() local
294 builder.append("CodeLock|"); in getStateString()
297 builder.append("BitSync|"); in getStateString()
300 builder.append("SubframeSync|"); in getStateString()
303 builder.append("TowDecoded|"); in getStateString()
306 builder.append("MsecAmbiguous"); in getStateString()
310 builder.append("Other("); in getStateString()
311 builder.append(Integer.toBinaryString(remainingStates)); in getStateString()
312 builder.append(")|"); in getStateString()
314 builder.deleteCharAt(builder.length() - 1); in getStateString()
[all …]
/frameworks/compile/mclinker/unittests/
DLinkerTest.cpp56 IRBuilder builder(module, config); in TEST_F() local
60 if (linker.link(module, builder)) in TEST_F()
96 IRBuilder builder(module, config); in TEST_F() local
101 builder.ReadInput("crtbegin", crtbegin); in TEST_F()
106 builder.ReadInput("plasma", plasma); in TEST_F()
109 builder.ReadInput("m"); in TEST_F()
110 builder.ReadInput("log"); in TEST_F()
111 builder.ReadInput("jnigraphics"); in TEST_F()
112 builder.ReadInput("c"); in TEST_F()
117 builder.ReadInput("crtend", crtend); in TEST_F()
[all …]
/frameworks/base/rs/java/android/renderscript/
DProgramStore.java237 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_TEST() local
238 builder.setDepthFunc(ProgramStore.DepthFunc.LESS); in BLEND_NONE_DEPTH_TEST()
239 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_TEST()
240 builder.setDitherEnabled(false); in BLEND_NONE_DEPTH_TEST()
241 builder.setDepthMaskEnabled(true); in BLEND_NONE_DEPTH_TEST()
242 rs.mProgramStore_BLEND_NONE_DEPTH_TEST = builder.create(); in BLEND_NONE_DEPTH_TEST()
258 ProgramStore.Builder builder = new ProgramStore.Builder(rs); in BLEND_NONE_DEPTH_NONE() local
259 builder.setDepthFunc(ProgramStore.DepthFunc.ALWAYS); in BLEND_NONE_DEPTH_NONE()
260 builder.setBlendFunc(BlendSrcFunc.ONE, BlendDstFunc.ZERO); in BLEND_NONE_DEPTH_NONE()
261 builder.setDitherEnabled(false); in BLEND_NONE_DEPTH_NONE()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DHardwareConfig.java176 StringBuilder builder = new StringBuilder(); in toString() local
178 builder.append("Modem "); in toString()
179 builder.append("{ uuid=" + uuid); in toString()
180 builder.append(", state=" + state); in toString()
181 builder.append(", rilModel=" + rilModel); in toString()
182 builder.append(", rat=" + rat.toString()); in toString()
183 builder.append(", maxActiveVoiceCall=" + maxActiveVoiceCall); in toString()
184 builder.append(", maxActiveDataCall=" + maxActiveDataCall); in toString()
185 builder.append(", maxStandby=" + maxStandby); in toString()
186 builder.append(" }"); in toString()
[all …]
DSmsHeader.java270 StringBuilder builder = new StringBuilder(); in toString() local
271 builder.append("UserDataHeader "); in toString()
272 builder.append("{ ConcatRef "); in toString()
274 builder.append("unset"); in toString()
276 builder.append("{ refNumber=" + concatRef.refNumber); in toString()
277 builder.append(", msgCount=" + concatRef.msgCount); in toString()
278 builder.append(", seqNumber=" + concatRef.seqNumber); in toString()
279 builder.append(", isEightBits=" + concatRef.isEightBits); in toString()
280 builder.append(" }"); in toString()
282 builder.append(", PortAddrs "); in toString()
[all …]
/frameworks/support/recommendation/src/android/support/app/recommendation/
DContentRecommendation.java337 private ContentRecommendation(Builder builder) { in ContentRecommendation() argument
338 mIdTag = builder.mBuilderIdTag; in ContentRecommendation()
339 mTitle = builder.mBuilderTitle; in ContentRecommendation()
340 mText = builder.mBuilderText; in ContentRecommendation()
341 mSourceName = builder.mBuilderSourceName; in ContentRecommendation()
342 mContentImage = builder.mBuilderContentImage; in ContentRecommendation()
343 mBadgeIconId = builder.mBuilderBadgeIconId; in ContentRecommendation()
344 mBackgroundImageUri = builder.mBuilderBackgroundImageUri; in ContentRecommendation()
345 mColor = builder.mBuilderColor; in ContentRecommendation()
346 mContentIntentData = builder.mBuilderContentIntentData; in ContentRecommendation()
[all …]
/frameworks/base/tools/preload2/src/com/android/preload/actions/
DShowDataAction.java52 StringBuilder builder = new StringBuilder(); in actionPerformed() local
55 add(builder, "Boot classpath:", inv.get(null)); in actionPerformed()
60 builder.append("==================\n\n"); in actionPerformed()
61 add(builder, k, inv.get(k)); in actionPerformed()
67 newFrame.getContentPane().add(new JScrollPane(new JTextArea(builder.toString())), in actionPerformed()
75 private void add(StringBuilder builder, String head, Set<String> set) { in add() argument
76 builder.append(head); in add()
77 builder.append('\n'); in add()
78 addSet(builder, set); in add()
79 builder.append('\n'); in add()
[all …]
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
DComponentWriter.java31 final StringBuilder builder = new StringBuilder(); in createComponent() local
32 builder.append("package android.databinding;\n\n"); in createComponent()
33 builder.append("public interface DataBindingComponent {\n"); in createComponent()
41 addGetter(builder, simpleName, className, index++); in createComponent()
44 addGetter(builder, simpleName, classes.iterator().next(), 0); in createComponent()
47 builder.append("}\n"); in createComponent()
48 return builder.toString(); in createComponent()
51 private static void addGetter(StringBuilder builder, String simpleName, String className, in addGetter() argument
53 builder.append(INDENT) in addGetter()
58 builder.append(index); in addGetter()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/sms/
DCdmaSmsAddress.java98 StringBuilder builder = new StringBuilder(); in toString() local
99 builder.append("CdmaSmsAddress "); in toString()
100 builder.append("{ digitMode=" + digitMode); in toString()
101 builder.append(", numberMode=" + numberMode); in toString()
102 builder.append(", numberPlan=" + numberPlan); in toString()
103 builder.append(", numberOfDigits=" + numberOfDigits); in toString()
104 builder.append(", ton=" + ton); in toString()
105 builder.append(", address=\"" + address + "\""); in toString()
106 builder.append(", origBytes=" + HexDump.toHexString(origBytes)); in toString()
107 builder.append(" }"); in toString()
[all …]
DUserData.java152 StringBuilder builder = new StringBuilder(); in toString() local
153 builder.append("UserData "); in toString()
154 builder.append("{ msgEncoding=" + (msgEncodingSet ? msgEncoding : "unset")); in toString()
155 builder.append(", msgType=" + msgType); in toString()
156 builder.append(", paddingBits=" + paddingBits); in toString()
157 builder.append(", numFields=" + numFields); in toString()
158 builder.append(", userDataHeader=" + userDataHeader); in toString()
159 builder.append(", payload='" + HexDump.toHexString(payload) + "'"); in toString()
160 builder.append(", payloadStr='" + payloadStr + "'"); in toString()
161 builder.append(" }"); in toString()
[all …]
/frameworks/base/core/java/android/content/res/
DResourcesKey.java143 StringBuilder builder = new StringBuilder().append("ResourcesKey{"); in toString() local
144 builder.append(" mHash=").append(Integer.toHexString(mHash)); in toString()
145 builder.append(" mResDir=").append(mResDir); in toString()
146 builder.append(" mSplitDirs=["); in toString()
148 builder.append(TextUtils.join(",", mSplitResDirs)); in toString()
150 builder.append("]"); in toString()
151 builder.append(" mOverlayDirs=["); in toString()
153 builder.append(TextUtils.join(",", mOverlayDirs)); in toString()
155 builder.append("]"); in toString()
156 builder.append(" mLibDirs=["); in toString()
[all …]
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DUiSelector.java904 StringBuilder builder = new StringBuilder(); in dumpToString() local
905 builder.append(UiSelector.class.getSimpleName() + "["); in dumpToString()
909 builder.append(", "); in dumpToString()
914 builder.append("TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
917 builder.append("TEXT_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
920 builder.append("START_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
923 builder.append("CONTAINS_TEXT=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
926 builder.append("CLASS=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
929 builder.append("CLASS_REGEX=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
932 builder.append("DESCRIPTION=").append(mSelectorAttributes.valueAt(i)); in dumpToString()
[all …]

12345678910>>...19