Home
last modified time | relevance | path

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

/test/suite_harness/tools/dex-tools/src/dex/reader/
DTypeFormatter.java92 StringBuilder builder = new StringBuilder(); in format() local
96 builder.append(separator); in format()
98 builder.append(element.toString()); in format()
101 return builder.toString(); in format()
106 StringBuilder builder = new StringBuilder(); in formatDexFile() local
107 builder.append("----------------DEX_FILE--------------\n\n"); in formatDexFile()
108 builder.append("Filename: ").append(file.getName()); in formatDexFile()
109 builder.append("\n-----------DEFINED_CLASSES------------\n\n"); in formatDexFile()
111 builder.append("\n________________CLASS________________\n\n"); in formatDexFile()
112 builder.append(dexClass); in formatDexFile()
[all …]
DDexAnnotationImpl.java69 StringBuilder builder = new StringBuilder(); in toString() local
70 builder.append("@"); in toString()
71 builder.append(formatter.format(encodedAnnotation.getTypeName())); in toString()
73 builder.append(" ("); in toString()
75 builder.append(value.toString()); in toString()
76 builder.append(" "); in toString()
78 builder.append(")"); in toString()
80 return builder.toString(); in toString()
DDexMethodImpl.java141 StringBuilder builder = new StringBuilder(); in toString() local
142 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
143 builder.append(Modifier.toString(getModifiers())); in toString()
144 builder.append(" "); in toString()
145 builder.append(formatter.format(getReturnType())); in toString()
146 builder.append(" "); in toString()
147 builder.append(getName()); in toString()
148 builder.append("("); in toString()
151 builder.append(formatter.formatAnnotations(dexParameter in toString()
153 builder.append(formatter.format(dexParameter.getTypeName())); in toString()
[all …]
DDexFieldImpl.java95 StringBuilder builder = new StringBuilder(); in toString() local
96 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
97 builder.append(Modifier.toString(getModifiers())); in toString()
98 builder.append(" "); in toString()
99 builder.append(formatter.format(getType())); in toString()
100 builder.append(" "); in toString()
101 builder.append(getName()); in toString()
102 return builder.toString(); in toString()
DDexClassImpl.java344 StringBuilder builder = new StringBuilder(); in toString() local
345 builder.append(formatter.formatAnnotations(getAnnotations())); in toString()
346 builder.append(Modifier.toString(getModifiers())); in toString()
347 builder.append(" class "); in toString()
348 builder.append(formatter.format(getName())); in toString()
350 builder.append(" extends "); in toString()
351 builder.append(formatter.format(getSuperClass())); in toString()
354 builder.append(" implements "); in toString()
355 builder.append(formatter.format(getInterfaces())); in toString()
357 return builder.toString(); in toString()
DDexEncodedValueImpl.java283 StringBuilder builder = new StringBuilder(); in toString() local
284 builder.append("="); in toString()
290 builder.append(val.getValue()); in toString()
294 builder.append(getValue()); in toString()
296 return builder.toString(); in toString()
/test/mlts/benchmark/src/com/android/nn/benchmark/app/
DNNSettings.java35 AlertDialog.Builder builder = new AlertDialog.Builder(getActivity()); in onCreateDialog() local
36 builder.setTitle(R.string.settings); in onCreateDialog()
40 builder.setMultiChoiceItems(R.array.settings_array, mEnables, in onCreateDialog()
49 builder.setPositiveButton(R.string.ok, new DialogInterface.OnClickListener() { in onCreateDialog()
55 builder.setNegativeButton(R.string.cancel, new DialogInterface.OnClickListener() { in onCreateDialog()
61 return builder.create(); in onCreateDialog()
/test/suite_harness/common/util/src/com/android/compatibility/common/util/
DStacktrace.java62 StringBuilder builder = new StringBuilder(); in buildClassMethodName() local
63 builder.append(elements[depth].getClassName()).append("#") in buildClassMethodName()
66 builder.append(":").append(elements[depth].getLineNumber()); in buildClassMethodName()
68 return builder.toString(); in buildClassMethodName()
DBusinessLogicFactory.java262 StringBuilder builder = new StringBuilder(); in readStream() local
265 builder.append((char) irChar); in readStream()
268 return builder.toString(); in readStream()
/test/suite_harness/tools/dex-tools/test/dex/reader/
DDexFileReaderTests.java227 StringBuilder builder = new StringBuilder(); in testG0() local
229 builder.append(((DexEncodedValue)o).getValue()); in testG0()
232 assertEquals("<T:Ljava/lang/Object;>Ljava/lang/Object;", builder.toString()); in testG0()
252 StringBuilder builder = new StringBuilder(); in testG1() local
254 builder.append(((DexEncodedValue)o).getValue()); in testG1()
257 assertEquals("<T:LG1;>Ljava/lang/Object;", builder.toString()); in testG1()
/test/suite_harness/common/host-side/tradefed/tests/src/com/android/compatibility/common/tradefed/result/suite/
DPreviousResultLoaderTest.java179 TestRecord.Builder builder = TestRecord.newBuilder(); in createFakeBuild() local
180 builder.setDescription(Any.pack(mContext.toProto())); in createFakeBuild()
181 builder.build().writeDelimitedTo(new FileOutputStream(mProtoFile)); in createFakeBuild()
/test/suite_harness/common/host-side/tradefed/tests/res/testtype/
DtestJar1.jar ... file Class cls java.lang.reflect.Method builder Object helper java.lang.reflect.Method method ...
/test/vti/dashboard/src/main/java/com/android/vts/proto/
DTestSuiteResultMessageProto.java463 private TestSuiteResultMessage(com.google.protobuf.GeneratedMessageV3.Builder<?> builder) { in TestSuiteResultMessage() argument
464 super(builder); in TestSuiteResultMessage()
2145 Builder builder = new Builder(parent); in newBuilderForType() local
2146 return builder; in newBuilderForType()