Home
last modified time | relevance | path

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

12

/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/util/
DXmlUtils.java263 version = Long.parseLong(ele.getAttribute(XmlUtils.HR_ATTR_VERSION)); in tryGetVersion()
275 List<String> list = Arrays.stream(ele.getAttribute(attrName).split("\\|")).toList(); in getPipelineSplitAttr()
288 Boolean b = XmlUtils.fromString(ele.getAttribute(attrName)); in getBoolAttr()
303 .filter(e -> e.getAttribute(XmlUtils.OD_ATTR_NAME).equals(nameName)) in getOdBoolEle()
319 Boolean b = XmlUtils.fromString(boolEle.getAttribute(XmlUtils.OD_ATTR_VALUE)); in getOdBoolEle()
334 .filter(e -> e.getAttribute(XmlUtils.OD_ATTR_NAME).equals(nameName)) in getOdLongEle()
351 l = Long.parseLong(longEle.getAttribute(XmlUtils.OD_ATTR_VALUE)); in getOdLongEle()
365 .filter(e -> e.getAttribute(XmlUtils.OD_ATTR_NAME).equals(nameName)) in getOdStringEle()
379 String str = eles.get(0).getAttribute(XmlUtils.OD_ATTR_VALUE); in getOdStringEle()
393 .filter(e -> e.getAttribute(XmlUtils.OD_ATTR_NAME).equals(nameName)) in getOdPbundleWithName()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenshot/
DImageExporterTest.java120 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testUpdateExifAttributes_timeZoneUTC()
122 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testUpdateExifAttributes_timeZoneUTC()
161 exifInterface.getAttribute(ExifInterface.TAG_IMAGE_UNIQUE_ID)); in testImageExport()
164 exifInterface.getAttribute(ExifInterface.TAG_SOFTWARE)); in testImageExport()
172 exifInterface.getAttribute(ExifInterface.TAG_DATETIME_ORIGINAL)); in testImageExport()
174 exifInterface.getAttribute(ExifInterface.TAG_SUBSEC_TIME_ORIGINAL)); in testImageExport()
176 exifInterface.getAttribute(ExifInterface.TAG_OFFSET_TIME_ORIGINAL)); in testImageExport()
/frameworks/base/tools/app_metadata_bundles/src/lib/java/com/android/asllib/marshallable/
DDataCategoryFactory.java34 String categoryName = dataCategoryEle.getAttribute(XmlUtils.OD_ATTR_NAME); in createFromOdElements()
37 String dataTypeName = odDataTypeEle.getAttribute(XmlUtils.OD_ATTR_NAME); in createFromOdElements()
DDataTypeFactory.java33 hrDataTypeEle.getAttribute(XmlUtils.HR_ATTR_DATA_TYPE); in createFromHrElements()
69 String dataTypeName = odDataTypeEle.getAttribute(XmlUtils.OD_ATTR_NAME); in createFromOdElements()
DDataLabelsFactory.java112 String dataCategoryName = dataCategoryEle.getAttribute(XmlUtils.OD_ATTR_NAME); in getOdDataCategoriesWithTag()
130 dataUsedEle.getAttribute(XmlUtils.HR_ATTR_DATA_TYPE); in getDataCategoriesWithTag()
/frameworks/base/tools/aapt/
DCommand.cpp451 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
901 String8 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
906 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
922 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
939 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1276 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
1303 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); in doDump()
1311 String8 platformBuildVersionName = AaptXml::getAttribute(tree, NULL, in doDump()
1324 String8 platformBuildVersionCode = AaptXml::getAttribute(tree, NULL, in doDump()
1602 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
[all …]
DAaptXml.h37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
DAaptXml.cpp79 String8 getAttribute(const ResXMLTree& tree, const char* ns, in getAttribute() function
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { in getAttribute() function
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java792 if (media.getAttribute("recvonly") != null) {
794 } else if(media.getAttribute("sendonly") != null) {
796 } else if(offer.getAttribute("recvonly") != null) {
798 } else if(offer.getAttribute("sendonly") != null) {
1067 } else if (media.getAttribute("recvonly") != null) {
1069 } else if(media.getAttribute("sendonly") != null) {
1071 } else if(offer.getAttribute("recvonly") != null) {
1073 } else if(offer.getAttribute("sendonly") != null) {
DSimpleSessionDescription.java217 public String getAttribute(String name) { in getAttribute() method in SimpleSessionDescription
218 return mFields.getAttribute(name); in getAttribute()
500 public String getAttribute(String name) { in getAttribute() method in SimpleSessionDescription.Fields
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DExifInterfaceTest.java238 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
254 String stringValue = exifInterface.getAttribute(tag); in assertStringTag()
373 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileName()
376 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileName()
398 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileDescriptor()
403 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileDescriptor()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp86 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
91 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
110 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
115 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
134 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); in TEST()
139 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags); in TEST()
DTheme_bench.cpp91 theme->getAttribute(kAttrId, &value, &flags); in BM_ThemeGetAttributeOld()
/frameworks/base/services/core/java/com/android/server/graphics/fonts/
DPersistentSystemFontConfig.java79 out.updatedFontDirs.add(getAttribute(parser, ATTR_VALUE)); in loadFromXml()
136 private static String getAttribute(TypedXmlPullParser parser, String attr) { in getAttribute() method in PersistentSystemFontConfig
/frameworks/base/drm/java/android/drm/
DDrmEvent.java127 public Object getAttribute(String key) { in getAttribute() method in DrmEvent
/frameworks/base/packages/SystemUI/scripts/token_alignment/helpers/
DprocessXML.ts77 const attrName = qEl.getAttribute(attr);
DDOMFuncs.ts148 const currentAttrValue = el.getAttribute(attr);
217 (acc, attr) => ({ ...acc, [attr]: el.getAttribute(attr) || '' }),
/frameworks/base/media/java/android/media/
DExifInterface.java1703 public @Nullable String getAttribute(@NonNull String tag) { in getAttribute() method in ExifInterface
2406 String latValue = getAttribute(TAG_GPS_LATITUDE); in getLatLong()
2407 String latRef = getAttribute(TAG_GPS_LATITUDE_REF); in getLatLong()
2408 String lngValue = getAttribute(TAG_GPS_LONGITUDE); in getLatLong()
2409 String lngRef = getAttribute(TAG_GPS_LONGITUDE_REF); in getLatLong()
2445 return parseDateTime(getAttribute(TAG_DATETIME), in getDateTime()
2446 getAttribute(TAG_SUBSEC_TIME), in getDateTime()
2447 getAttribute(TAG_OFFSET_TIME)); in getDateTime()
2454 return parseDateTime(getAttribute(TAG_DATETIME_DIGITIZED), in getDateTimeDigitized()
2455 getAttribute(TAG_SUBSEC_TIME_DIGITIZED), in getDateTimeDigitized()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DVintfObjectTest.java68 return Pair.create(root.getTagName(), root.getAttribute("type")); in rootAndType()
/frameworks/rs/script_api/
DGenerateHeaderFiles.cpp135 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(), in writeTypeSpecification()
222 *file << makeAttributeTag(spec.getAttribute(), spec.isOverloadable() ? "overloadable" : "", in writeFunctionPermutation()
DSpecification.h319 std::string getAttribute() const { return mAttribute; } in getAttribute() function
413 std::string getAttribute() const { return mAttribute; } in getAttribute() function
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
DCameraTestUtils.java2072 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags()
2098 String exposureTime = exif.getAttribute(ExifInterface.TAG_EXPOSURE_TIME); in verifyJpegExifExtraTags()
2114 String exifAperture = exif.getAttribute(ExifInterface.TAG_APERTURE); in verifyJpegExifExtraTags()
2133 String flash = exif.getAttribute(ExifInterface.TAG_FLASH); in verifyJpegExifExtraTags()
2140 String whiteBalance = exif.getAttribute(ExifInterface.TAG_WHITE_BALANCE); in verifyJpegExifExtraTags()
2144 String make = exif.getAttribute(ExifInterface.TAG_MAKE); in verifyJpegExifExtraTags()
2148 String model = exif.getAttribute(ExifInterface.TAG_MODEL); in verifyJpegExifExtraTags()
2160 String digitizedTime = exif.getAttribute(ExifInterface.TAG_DATETIME_DIGITIZED); in verifyJpegExifExtraTags()
2163 String expectedDateTime = exif.getAttribute(ExifInterface.TAG_DATETIME); in verifyJpegExifExtraTags()
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWComposer.cpp242 int32_t HWComposer::getAttribute(hal::HWDisplayId hwcDisplayId, hal::HWConfigId configId, in getAttribute() function in android::impl::HWComposer
324 .width = getAttribute(hwcDisplayId, configId, hal::Attribute::WIDTH), in getModesFromLegacyDisplayConfigs()
325 .height = getAttribute(hwcDisplayId, configId, hal::Attribute::HEIGHT), in getModesFromLegacyDisplayConfigs()
326 .vsyncPeriod = getAttribute(hwcDisplayId, configId, hal::Attribute::VSYNC_PERIOD), in getModesFromLegacyDisplayConfigs()
327 .configGroup = getAttribute(hwcDisplayId, configId, hal::Attribute::CONFIG_GROUP), in getModesFromLegacyDisplayConfigs()
330 const int32_t dpiX = getAttribute(hwcDisplayId, configId, hal::Attribute::DPI_X); in getModesFromLegacyDisplayConfigs()
331 const int32_t dpiY = getAttribute(hwcDisplayId, configId, hal::Attribute::DPI_Y); in getModesFromLegacyDisplayConfigs()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DPolicyVersionUpgraderTest.java310 storedSuspendedPkgs.add(item.getAttribute("value")); in assertAdminSuspendedPackages()
392 assertThat(keepProfilesRunning.getAttribute("value")).isEqualTo("true"); in testEffectiveKeepProfilesRunningMissingInV5()
410 assertThat(keepProfilesRunning.getAttribute("value")).isEqualTo("true"); in testEffectiveKeepProfilesRunningTrueInV5()
/frameworks/base/tools/preload/
Dsorttable.js209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");

12