Home
last modified time | relevance | path

Searched refs:ns (Results 1 – 14 of 14) sorted by relevance

/cts/tools/tradefed-host/src/com/android/cts/tradefed/result/
DTestResults.java44 private static final String ns = CtsXmlResultReporter.ns; field in TestResults
125 serializer.startTag(ns, "HostInfo"); in serializeHostInfo()
131 serializer.attribute(ns, "name", hostName); in serializeHostInfo()
133 serializer.startTag(ns, "Os"); 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()
137 serializer.endTag(ns, "Os"); in serializeHostInfo()
139 serializer.startTag(ns, "Java"); in serializeHostInfo()
140 serializer.attribute(ns, "name", System.getProperty("java.vendor")); in serializeHostInfo()
[all …]
DTest.java170 serializer.startTag(CtsXmlResultReporter.ns, TAG); in serialize()
171 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()
179 serializer.startTag(CtsXmlResultReporter.ns, SCENE_TAG); in serialize()
180 serializer.attribute(CtsXmlResultReporter.ns, MESSAGE_ATTR, mMessage); in serialize()
182 serializer.startTag(CtsXmlResultReporter.ns, STACK_TAG); in serialize()
184 serializer.endTag(CtsXmlResultReporter.ns, STACK_TAG); in serialize()
186 serializer.endTag(CtsXmlResultReporter.ns, SCENE_TAG); in serialize()
[all …]
DDeviceInfoResult.java41 private static final String ns = CtsXmlResultReporter.ns; field in DeviceInfoResult
78 serializer.startTag(ns, TAG); in serialize()
83 serializer.endTag(ns, TAG); in serialize()
89 serializer.startTag(ns, SCREEN_TAG); in serialize()
90 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()
100 serializer.endTag(ns, SCREEN_TAG); in serialize()
[all …]
DTestLog.java138 serializer.startTag(CtsXmlResultReporter.ns, TAG); in serialize()
139 serializer.attribute(CtsXmlResultReporter.ns, TYPE_ATTR, mLogType.getAttrValue()); in serialize()
140 serializer.attribute(CtsXmlResultReporter.ns, URL_ATTR, mUrl); in serialize()
141 serializer.endTag(CtsXmlResultReporter.ns, TAG); in serialize()
DTestCase.java89 serializer.startTag(CtsXmlResultReporter.ns, TAG); in serialize()
90 serializer.attribute(CtsXmlResultReporter.ns, "name", getName()); in serialize()
92 serializer.attribute(CtsXmlResultReporter.ns, "priority", ""); in serialize()
96 serializer.endTag(CtsXmlResultReporter.ns, TAG); in serialize()
DTestPackageResult.java54 private static final String ns = CtsXmlResultReporter.ns; field in TestPackageResult
160 serializer.startTag(ns, TAG); in serialize()
166 serializer.attribute(ns, "signatureCheck", "true"); in serialize()
169 serializer.endTag(ns, TAG); in serialize()
184 serializer.attribute(ns, attrName, attrValue); in serializeAttribute()
DTestSuite.java140 serializer.startTag(CtsXmlResultReporter.ns, TAG); in serialize()
141 serializer.attribute(CtsXmlResultReporter.ns, "name", mName); in serialize()
150 serializer.endTag(CtsXmlResultReporter.ns, TAG); in serialize()
DCtsXmlResultReporter.java72 static final String ns = null; field in CtsXmlResultReporter
429 serializer.startTag(ns, RESULT_TAG); in serializeResultsDoc()
430 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()
/cts/common/host-side/manifest-generator/src/com/android/compatibility/common/generator/
DManifestGenerator.java88 final String ns = null; in generate() local
93 serializer.startTag(ns, MANIFEST); in generate()
94 serializer.attribute(ns, "xmlns:android", "http://schemas.android.com/apk/res/android"); in generate()
95 serializer.attribute(ns, "package", pkgName); in generate()
96 serializer.startTag(ns, USES_SDK); in generate()
97 serializer.attribute(ns, "android:minSdkVersion", "8"); in generate()
98 serializer.endTag(ns, USES_SDK); in generate()
100 serializer.startTag(ns, USES_PERMISSION); in generate()
101 serializer.attribute(ns, "android:name", permission); in generate()
102 serializer.endTag(ns, USES_PERMISSION); in generate()
[all …]
/cts/libs/vogar-expect/src/vogar/util/
DTimeUtilities.java64 public static String nsToString(long ns) { in nsToString() argument
65 if (ns < 1000L) { in nsToString()
66 return Long.toString(ns) + "ns"; in nsToString()
67 } else if (ns < 1000000L) { in nsToString()
68 return Long.toString(ns/1000L) + "us"; in nsToString()
69 } else if (ns < 1000000000L) { in nsToString()
70 return Long.toString(ns/1000000L) + "ms"; in nsToString()
71 } else if (ns < 60000000000L) { in nsToString()
72 return String.format("%.2fs", nsToS(ns)); in nsToString()
74 long duration = ns; in nsToString()
[all …]
/cts/tests/tests/media/src/android/media/cts/
DAudioPreProcessingTest.java60 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_1NsCreateAndRelease() local
62 isAvailable == (ns != null)); in test1_1NsCreateAndRelease()
63 if (ns != null) { in test1_1NsCreateAndRelease()
64 ns.release(); in test1_1NsCreateAndRelease()
86 NoiseSuppressor ns = NoiseSuppressor.create(ar.getAudioSessionId()); in test1_2NsSetEnabledGetEnabled() local
87 assertNotNull("could not create NoiseSupressor", ns); in test1_2NsSetEnabledGetEnabled()
89 ns.setEnabled(true); in test1_2NsSetEnabledGetEnabled()
90 assertTrue("invalid state from getEnabled", ns.getEnabled()); in test1_2NsSetEnabledGetEnabled()
91 ns.setEnabled(false); in test1_2NsSetEnabledGetEnabled()
92 assertFalse("invalid state to getEnabled", ns.getEnabled()); in test1_2NsSetEnabledGetEnabled()
[all …]
/cts/tests/tests/security/jni/
Dandroid_security_cts_EncryptionTest.cpp117 static inline uint64_t ns() in ns() function
162 uint64_t t = ns(); in android_security_cts_EncryptionTest_aesIsFast()
168 t = ns() - t; in android_security_cts_EncryptionTest_aesIsFast()
/cts/tests/tests/media/assets/
Dsegment000001.ts446 �l6�no��:�������?��g0D��� �K}[�_,���v]6�O�ns����h= ����8�i���ӂ��(��{�4��Z�{W��…
Dsegment000000.ts320 �z�DR�U��È�G�9�����/X���ɧ� ��@�ns%�����/�zT-{�WY١�yΞؼ_�e�7�n�����{��'I<�n� ��s��G��A…