Home
last modified time | relevance | path

Searched refs:getAttribute (Results 1 – 15 of 15) sorted by relevance

/cts/suite/cts/utils/
Dget_csv_report.py61 cases.update(parseSuite(child, parentName + child.getAttribute("name")))
64 className = parentName + child.getAttribute("name")
66 methodName = test.getAttribute("name")
71 result = str(test.getAttribute("result"))
78 summary[sts[0].getAttribute("message")] = getText(sts[0])
83 details[d.getAttribute("message")] = values
101 buildId = buildInfo.getAttribute("buildID")
102 deviceId = buildInfo.getAttribute("deviceID")
103 deviceName = buildInfo.getAttribute("build_device")
104 boardName = buildInfo.getAttribute("build_board")
[all …]
/cts/tools/utils/
Drerun.py37 for failure in parseSuite(child, parentName + child.getAttribute("name")):
41 className = parentName + child.getAttribute("name")
43 if test.getAttribute("result") != "pass":
44 failureName = className + "#" + test.getAttribute("name")
Dandroid_api_description_splitter.py123 … filename = os.path.join(self.out, elem.getAttribute("name").replace(".", "_").lower() + ".xml")
DCollectAllTests.java125 documentElement.getAttribute("package"); in main()
129 final String packageName = documentElement.getAttribute("package"); in main()
342 return e.getAttribute(attributeName); in getElementAttribute()
DDescriptionGenerator.java332 String newName = getAttribute(suiteElem, ATTRIBUTE_NAME) + "." in mergeEmptySuites()
333 + getAttribute(child, ATTRIBUTE_NAME); in mergeEmptySuites()
476 private String getAttribute(Node elem, String name) { in getAttribute() method in DescriptionGenerator.XMLGenerator
/cts/tests/tests/media/src/android/media/cts/
DExifInterfaceTest.java238 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
254 String stringValue = exifInterface.getAttribute(tag); in assertStringTag()
410 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileName()
414 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileName()
438 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileDescriptor()
443 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileDescriptor()
571 assertEquals(dateTimeValue, exif.getAttribute(ExifInterface.TAG_DATETIME)); in testSetDateTime()
572 assertEquals(dateTimeOriginalValue, exif.getAttribute(ExifInterface.TAG_DATETIME_ORIGINAL)); in testSetDateTime()
580 assertEquals(dateTimeOriginalValue, exif.getAttribute(ExifInterface.TAG_DATETIME)); in testSetDateTime()
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DCurrentApiHelper.java92 String name = element.getAttribute(ATTRIBUTE_NAME); in getPublicApis()
140 if (childName.equals(el.getAttribute(ATTRIBUTE_NAME))) { in getChildElementByName()
154 String typeName = ((Element) nodes.item(i)).getAttribute(ATTRIBUTE_TYPE); in getParamTypes()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java968 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in testJpegExifByCamera()
1039 String exposureTime = exif.getAttribute(ExifInterface.TAG_EXPOSURE_TIME); in checkExtraExifTagsSucceeds()
1050 String aperture = exif.getAttribute(ExifInterface.TAG_APERTURE); in checkExtraExifTagsSucceeds()
1060 String flash = exif.getAttribute(ExifInterface.TAG_FLASH); in checkExtraExifTagsSucceeds()
1065 String whiteBalance = exif.getAttribute(ExifInterface.TAG_WHITE_BALANCE); in checkExtraExifTagsSucceeds()
1070 String make = exif.getAttribute(ExifInterface.TAG_MAKE); in checkExtraExifTagsSucceeds()
1080 String model = exif.getAttribute(ExifInterface.TAG_MODEL); in checkExtraExifTagsSucceeds()
1095 String digitizedTime = exif.getAttribute(TAG_DATETIME_DIGITIZED); in checkExtraExifTagsSucceeds()
1098 String datetime = exif.getAttribute(ExifInterface.TAG_DATETIME); in checkExtraExifTagsSucceeds()
1189 assertNotNull(exif.getAttribute(ExifInterface.TAG_GPS_LATITUDE)); in testGpsExifValues()
[all …]
/cts/tests/tests/drm/src/android/drm/cts/
DDrmEventTest.java169 assertNull(event.getAttribute(key)); in checkGetAttributeWithEventType()
171 assertEquals(event.getAttribute(key), attributes.get(key)); in checkGetAttributeWithEventType()
DDRMTest.java323 = (DrmInfoStatus) event.getAttribute(DrmEvent.DRM_INFO_STATUS_OBJECT); in onEvent()
/cts/tests/camera/utils/src/android/hardware/camera2/cts/
DCameraTestUtils.java2498 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags()
2528 String exposureTime = exif.getAttribute(ExifInterface.TAG_EXPOSURE_TIME); in verifyJpegExifExtraTags()
2544 String exifAperture = exif.getAttribute(ExifInterface.TAG_APERTURE); in verifyJpegExifExtraTags()
2561 String make = exif.getAttribute(ExifInterface.TAG_MAKE); in verifyJpegExifExtraTags()
2565 String model = exif.getAttribute(ExifInterface.TAG_MODEL); in verifyJpegExifExtraTags()
2589 String make = exif.getAttribute(ExifInterface.TAG_MAKE); in verifyJpegExifExtraTags()
2593 String model = exif.getAttribute(ExifInterface.TAG_MODEL); in verifyJpegExifExtraTags()
2602 String flash = exif.getAttribute(ExifInterface.TAG_FLASH); in verifyJpegExifExtraTags()
2609 String whiteBalance = exif.getAttribute(ExifInterface.TAG_WHITE_BALANCE); in verifyJpegExifExtraTags()
2613 String digitizedTime = exif.getAttribute(ExifInterface.TAG_DATETIME_DIGITIZED); in verifyJpegExifExtraTags()
[all …]
/cts/tools/utils/cts/
Dtools.py250 return element.getAttribute(attr_name)
/cts/tests/camera/src/android/hardware/camera2/cts/
DDngCreatorTest.java296 exifInterface.getAttribute(ExifInterface.TAG_GPS_DATESTAMP)); in testSingleImageThumbnail()
298 exifInterface.getAttribute(ExifInterface.TAG_GPS_TIMESTAMP)); in testSingleImageThumbnail()
311 exifInterface.getAttribute(ExifInterface.TAG_DATETIME); in testSingleImageThumbnail()
/cts/tests/tests/provider/src/android/provider/cts/
DMediaStore_Images_MediaTest.java335 String xmp = exif.getAttribute(ExifInterface.TAG_XMP);
355 String xmp = exif.getAttribute(ExifInterface.TAG_XMP);
/cts/tests/providerui/src/android/providerui/cts/
DMediaStoreUiTest.java377 final String res = exif.getAttribute(tag); in assertAttribute()