Home
last modified time | relevance | path

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

12

/frameworks/base/tools/aapt/
DCommand.cpp450 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error); in getNfcAidCategories()
898 String8 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
903 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
919 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
936 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error); in doDump()
1219 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL); in doDump()
1246 String8 splitName = AaptXml::getAttribute(tree, NULL, "split"); in doDump()
1252 String8 platformBuildVersionName = AaptXml::getAttribute(tree, NULL, in doDump()
1258 String8 platformBuildVersionCode = AaptXml::getAttribute(tree, NULL, in doDump()
1526 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
DXMLNode.h100 const attribute_entry* getAttribute(const String16& ns, const String16& name) const;
DResource.cpp872 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
883 const XMLNode::attribute_entry* attr = root->getAttribute( in massageManifest()
914 const XMLNode::attribute_entry* attr = vers->getAttribute( in massageManifest()
1029 const XMLNode::attribute_entry* attr = root->getAttribute(String16(), String16("featureName")); in massageManifest()
1110 String8 versionName = AaptXml::getAttribute(tree, VERSION_NAME_ATTR, &error); in extractPlatformBuildVersion()
3058 pkg = AaptXml::getAttribute(tree, NULL, "package"); in writeProguardForAndroidManifest()
3064 String8 agent = AaptXml::getAttribute(tree, in writeProguardForAndroidManifest()
3073 defaultProcess = AaptXml::getAttribute(tree, in writeProguardForAndroidManifest()
3089 String8 componentProcess = AaptXml::getAttribute(tree, in writeProguardForAndroidManifest()
3103 String8 name = AaptXml::getAttribute(tree, in writeProguardForAndroidManifest()
DXMLNode.cpp710 const XMLNode::attribute_entry* XMLNode::getAttribute(const String16& ns, in getAttribute() function in XMLNode
DResourceTable.cpp5133 const XMLNode::attribute_entry* attr = child->getAttribute(String16(), kName16); in processBundleFormatImpl()
5209 if (parent->getAttribute(attrNs, attrName) != NULL) { in processBundleFormatImpl()
/frameworks/opt/net/voip/src/java/android/net/sip/
DSipAudioCall.java790 if (media.getAttribute("recvonly") != null) {
792 } else if(media.getAttribute("sendonly") != null) {
794 } else if(offer.getAttribute("recvonly") != null) {
796 } else if(offer.getAttribute("sendonly") != null) {
1065 } else if (media.getAttribute("recvonly") != null) {
1067 } else if(media.getAttribute("sendonly") != null) {
1069 } else if(offer.getAttribute("recvonly") != null) {
1071 } 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.java235 String tagValue = exifInterface.getAttribute(tagKey); in printExifTagsAndValues()
251 String stringValue = exifInterface.getAttribute(tag); in assertStringTag()
366 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileName()
370 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileName()
392 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE); in testSaveAttributes_withFileDescriptor()
397 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE)); in testSaveAttributes_withFileDescriptor()
/frameworks/base/libs/androidfw/tests/
DResTable_test.cpp113 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
118 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
137 ssize_t index = theme.getAttribute(basic::R::attr::attr1, &val, &specFlags); in TEST()
142 index = theme.getAttribute(basic::R::attr::attr2, &val, &specFlags); in TEST()
161 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags); in TEST()
166 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags); in TEST()
DTheme_bench.cpp94 theme->getAttribute(kAttrId, &value, &flags); in BM_ThemeGetAttributeOld()
/frameworks/base/drm/java/android/drm/
DDrmEvent.java125 public Object getAttribute(String key) { in getAttribute() method in DrmEvent
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/soap/
DPostDevDataMessageTest.java156 request.getAttribute(SppConstants.ATTRIBUTE_REQUEST_REASON)); in verifyCommonFields()
157 assertEquals(TEST_REDIRECT_URL, request.getAttribute(SppConstants.ATTRIBUTE_REDIRECT_URI)); in verifyCommonFields()
/frameworks/base/media/java/android/media/
DExifInterface.java1479 public @Nullable String getAttribute(@NonNull String tag) { in getAttribute() method in ExifInterface
2125 String latValue = getAttribute(TAG_GPS_LATITUDE); in getLatLong()
2126 String latRef = getAttribute(TAG_GPS_LATITUDE_REF); in getLatLong()
2127 String lngValue = getAttribute(TAG_GPS_LONGITUDE); in getLatLong()
2128 String lngRef = getAttribute(TAG_GPS_LONGITUDE_REF); in getLatLong()
2167 return parseDateTime(getAttribute(TAG_DATETIME), in getDateTime()
2168 getAttribute(TAG_SUBSEC_TIME), in getDateTime()
2169 getAttribute(TAG_OFFSET_TIME)); in getDateTime()
2179 return parseDateTime(getAttribute(TAG_DATETIME_DIGITIZED), in getDateTimeDigitized()
2180 getAttribute(TAG_SUBSEC_TIME_DIGITIZED), in getDateTimeDigitized()
[all …]
/frameworks/native/services/surfaceflinger/DisplayHardware/
DHWC2.cpp736 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) in getAttribute() function in HWC2::impl::Display
757 .setWidth(getAttribute(configId, Attribute::Width)) in loadConfig()
758 .setHeight(getAttribute(configId, Attribute::Height)) in loadConfig()
759 .setVsyncPeriod(getAttribute(configId, Attribute::VsyncPeriod)) in loadConfig()
760 .setDpiX(getAttribute(configId, Attribute::DpiX)) in loadConfig()
761 .setDpiY(getAttribute(configId, Attribute::DpiY)) in loadConfig()
DHWC2.h336 int32_t getAttribute(hwc2_config_t configId, Attribute attribute);
/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/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
DGenerateDocumentation.cpp356 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(), in writeDetailedTypeSpecification()
/frameworks/base/tools/preload/
Dsorttable.js209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");
/frameworks/base/core/java/android/provider/
DMetadataReader.java272 String data = exifInterface.getAttribute(tag); in getExifData()
/frameworks/base/libs/androidfw/include/androidfw/
DResourceTypes.h1892 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
/frameworks/base/libs/androidfw/
DResourceTypes.cpp3853 ssize_t ResTable::Theme::getAttribute(uint32_t resID, Res_value* outValue, in getAttribute() function in android::ResTable::Theme
3925 blockIndex = getAttribute(inOutValue->data, inOutValue, &newTypeSpecFlags); in resolveAttributeReference()

12