Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 26) sorted by relevance

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/
DTestResultsReport.java93 xml.attribute(null, "report-version", Integer.toString(REPORT_VERSION)); in getContents()
94 xml.attribute(null, "creation-time", DATE_FORMAT.format(new Date())); in getContents()
97 xml.attribute(null, "version-name", Version.getVersionName(mContext)); in getContents()
98 xml.attribute(null, "version-code", Integer.toString(Version.getVersionCode(mContext))); in getContents()
99 xml.attribute(null, "build", Version.getBuildNumber(mContext)); in getContents()
104 xml.attribute(null, "board", Build.BOARD); in getContents()
105 xml.attribute(null, "brand", Build.BRAND); in getContents()
106 xml.attribute(null, "device", Build.DEVICE); in getContents()
107 xml.attribute(null, "display", Build.DISPLAY); in getContents()
108 xml.attribute(null, "fingerprint", Build.FINGERPRINT); in getContents()
[all …]
/cts/common/util/src/com/android/compatibility/common/util/
DMetricsXmlSerializer.java44 mXmlSerializer.attribute(null, "message", summary.getMessage()); in serialize()
45 mXmlSerializer.attribute(null, "scoreType", summary.getType().getXmlString()); in serialize()
46 mXmlSerializer.attribute(null, "unit", summary.getUnit().getXmlString()); in serialize()
55 mXmlSerializer.attribute(null, "source", result.getLocation()); in serialize()
56 mXmlSerializer.attribute(null, "message", result.getMessage()); in serialize()
57 mXmlSerializer.attribute(null, "scoreType", result.getType().getXmlString()); in serialize()
58 mXmlSerializer.attribute(null, "unit", result.getUnit().getXmlString()); in serialize()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResults.java131 serializer.attribute(ns, "name", hostName); in serializeHostInfo()
134 serializer.attribute(ns, "name", System.getProperty("os.name")); in serializeHostInfo()
135 serializer.attribute(ns, "version", System.getProperty("os.version")); in serializeHostInfo()
136 serializer.attribute(ns, "arch", System.getProperty("os.arch")); in serializeHostInfo()
140 serializer.attribute(ns, "name", System.getProperty("java.vendor")); in serializeHostInfo()
141 serializer.attribute(ns, "version", System.getProperty("java.version")); in serializeHostInfo()
145 serializer.attribute(ns, "version", CtsBuildProvider.CTS_BUILD_VERSION); in serializeHostInfo()
146 serializer.attribute(ns, "build", buildId); in serializeHostInfo()
149 serializer.attribute(ns, "name", "testStatusTimeoutMs"); in serializeHostInfo()
152 serializer.attribute(ns, "value", "600000"); in serializeHostInfo()
[all …]
DTest.java171 serializer.attribute(CtsXmlResultReporter.ns, NAME_ATTR, getName()); in serialize()
172 serializer.attribute(CtsXmlResultReporter.ns, RESULT_ATTR, mResult.getValue()); in serialize()
173 serializer.attribute(CtsXmlResultReporter.ns, STARTTIME_ATTR, mStartTime); in serialize()
174 serializer.attribute(CtsXmlResultReporter.ns, ENDTIME_ATTR, mEndTime); in serialize()
180 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, mMessage); in serialize()
194 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, summary.mMessage); in serialize()
196 serializer.attribute(CtsXmlResultReporter.ns, TARGET_ATTR, summary.mTarget); in serialize()
198 serializer.attribute(CtsXmlResultReporter.ns, SCORETYPE_ATTR, summary.mType); in serialize()
199 serializer.attribute(CtsXmlResultReporter.ns, UNIT_ATTR, summary.mUnit); in serialize()
218 serializer.attribute(CtsXmlResultReporter.ns, SOURCE_ATTR, d.mSource); in serialize()
[all …]
DDeviceInfoResult.java90 serializer.attribute(ns, DeviceInfoConstants.RESOLUTION, in serialize()
92 serializer.attribute(ns, DeviceInfoConstants.SCREEN_DENSITY, in serialize()
94 serializer.attribute(ns, DeviceInfoConstants.SCREEN_DENSITY_BUCKET, in serialize()
96 serializer.attribute(ns, DeviceInfoConstants.SCREEN_SIZE, in serialize()
98 serializer.attribute(ns, DeviceInfoConstants.SMALLEST_SCREEN_WIDTH_DP, in serialize()
103 serializer.attribute(ns, DeviceInfoConstants.PHONE_NUMBER, in serialize()
118 serializer.attribute(ns, metricEntry.getKey(), metricEntry.getValue()); in serialize()
210 serializer.attribute(ns, attrNames[i], attrValues[i]); in serialize()
DTestLog.java139 serializer.attribute(CtsXmlResultReporter.ns, TYPE_ATTR, mLogType.getAttrValue()); in serialize()
140 serializer.attribute(CtsXmlResultReporter.ns, URL_ATTR, mUrl); in serialize()
DTestCase.java90 serializer.attribute(CtsXmlResultReporter.ns, "name", getName()); in serialize()
92 serializer.attribute(CtsXmlResultReporter.ns, "priority", ""); in serialize()
DCtsXmlResultReporter.java430 serializer.attribute(ns, PLAN_ATTR, mPlanName); in serializeResultsDoc()
431 serializer.attribute(ns, STARTTIME_ATTR, startTime); in serializeResultsDoc()
432 serializer.attribute(ns, "endtime", endTime); in serializeResultsDoc()
433 serializer.attribute(ns, "version", CTS_RESULT_FILE_VERSION); in serializeResultsDoc()
434 serializer.attribute(ns, "suite", mSuiteName); in serializeResultsDoc()
DTestPackageResult.java166 serializer.attribute(ns, "signatureCheck", "true"); in serialize()
184 serializer.attribute(ns, attrName, attrValue); in serializeAttribute()
DTestSuite.java141 serializer.attribute(CtsXmlResultReporter.ns, "name", mName); in serialize()
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java94 serializer.attribute(ns, "xmlns:android", "http://schemas.android.com/apk/res/android"); in generate()
95 serializer.attribute(ns, "package", pkgName); in generate()
97 serializer.attribute(ns, "android:minSdkVersion", "8"); in generate()
101 serializer.attribute(ns, "android:name", permission); in generate()
107 serializer.attribute(ns, "android:name", activity); in generate()
112 serializer.attribute(ns, "android:name", instrumentName); in generate()
113 serializer.attribute(ns, "android:targetPackage", pkgName); in generate()
/cts/tests/tests/widget/src/android/widget/cts/util/
DXmlUtils.java239 out.attribute(null, "name", name); in writeMapXml()
301 out.attribute(null, "name", name); in writeListXml()
324 out.attribute(null, "name", name); in writeSetXml()
358 out.attribute(null, "name", name); in writeByteArrayXml()
362 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
403 out.attribute(null, "name", name); in writeIntArrayXml()
407 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
411 out.attribute(null, "value", Integer.toString(val[i])); in writeIntArrayXml()
442 out.attribute(null, "name", name); in writeLongArrayXml()
446 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/tests/tests/view/src/android/view/cts/util/
DXmlUtils.java238 out.attribute(null, "name", name); in writeMapXml()
300 out.attribute(null, "name", name); in writeListXml()
323 out.attribute(null, "name", name); in writeSetXml()
357 out.attribute(null, "name", name); in writeByteArrayXml()
361 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
402 out.attribute(null, "name", name); in writeIntArrayXml()
406 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
410 out.attribute(null, "value", Integer.toString(val[i])); in writeIntArrayXml()
441 out.attribute(null, "name", name); in writeLongArrayXml()
445 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/tests/tests/content/src/android/content/cts/util/
DXmlUtils.java265 out.attribute(null, "name", name); in writeMapXml()
328 out.attribute(null, "name", name); in writeListXml()
351 out.attribute(null, "name", name); in writeSetXml()
385 out.attribute(null, "name", name); in writeByteArrayXml()
389 out.attribute(null, "num", Integer.toString(N)); in writeByteArrayXml()
430 out.attribute(null, "name", name); in writeIntArrayXml()
434 out.attribute(null, "num", Integer.toString(N)); in writeIntArrayXml()
438 out.attribute(null, "value", Integer.toString(val[i])); in writeIntArrayXml()
469 out.attribute(null, "name", name); in writeLongArrayXml()
473 out.attribute(null, "num", Integer.toString(N)); in writeLongArrayXml()
[all …]
/cts/suite/cts/deviceTests/opengl/assets/vertex/
Dperspective17 attribute vec4 a_Position;
18 attribute vec3 a_Normal;
19 attribute vec2 a_TexCoordinate;
Dblur15 attribute vec4 a_Position;
16 attribute vec2 a_TexCoordinate;
Dbasic15 attribute vec4 a_Position;
16 attribute vec2 a_TexCoordinate;
Dwater17 attribute vec4 a_Position;
18 attribute vec2 a_TexCoordinate;
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DTestPlan.java223 serializer.attribute(null, "version", "1.0"); in serialize()
227 serializer.attribute(null, ABI_ATTR, parts[0]); in serialize()
228 serializer.attribute(null, NAME_ATTR, parts[1]); in serialize()
255 serializer.attribute(null, EXCLUDE_ATTR, exclusionAttrValue); in serializeFilter()
266 serializer.attribute(null, INCLUDE_ATTR, exclusionAttrValue); in serializeFilter()
/cts/tools/dex-tools/src/dex/reader/
DDexFileReader.java139 private void readSize(int attribute) { in readSize() argument
140 size[attribute] = b.readUInt(); in readSize()
143 private void readOffset(int attribute) { in readOffset() argument
144 off[attribute] = b.readUInt(); in readOffset()
/cts/tests/tests/graphics/src/android/opengl/cts/
DEglConfigGLSurfaceView.java317 int attribute = attributes[i]; in printConfig() local
319 if (egl.eglGetConfigAttrib(display, config, attribute, value)) { in printConfig()
/cts/hostsidetests/security/src/android/cts/security/
DSELinuxHostTest.java172 private void assertNotInAttribute(String attribute, String badtype) throws Exception { in assertNotInAttribute() argument
175 devicePolicyFile.getAbsolutePath(), "attribute", attribute); in assertNotInAttribute()
183 assertFalse("Attribute " + attribute + " includes " + type + "\n", in assertNotInAttribute()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DGLSurfaceViewCustom.java962 EGLConfig config, int attribute, int defaultValue) { in findConfigAttrib() argument
964 if (egl.eglGetConfigAttrib(display, config, attribute, mValue)) { in findConfigAttrib()
/cts/tools/dasm/src/dasm/
Dparser.cup276 /* ========== EnclosingMethod attribute specification ========== */
287 /* ========== Deprecated attribute ========== */
/cts/tools/signature-tools/lib/
Dstringtemplate.jarMETA-INF/ META-INF/MANIFEST.MF org/antlr/stringtemplate/AttributeRenderer. ...

12