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

12

/frameworks/base/libs/androidfw/tests/
H A DTheme_test.cpp47 ASSERT_GE(theme1.getAttribute(android::R::attr::background, &val), 0);
50 ASSERT_GE(theme1.getAttribute(app::R::attr::number, &val), 0);
60 ASSERT_GE(theme2.getAttribute(android::R::attr::background, &val), 0);
63 ASSERT_GE(theme2.getAttribute(app::R::attr::number, &val), 0);
H A DResTable_test.cpp90 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags);
95 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags);
110 ssize_t index = theme.getAttribute(base::R::attr::attr1, &val, &specFlags);
115 index = theme.getAttribute(base::R::attr::attr2, &val, &specFlags);
130 ssize_t index = theme.getAttribute(lib::R::attr::attr1, &val, &specFlags);
135 index = theme.getAttribute(lib::R::attr::attr2, &val, &specFlags);
H A DAttributeFinder_test.cpp35 inline uint32_t getAttribute(const int index) const { function in class:MockAttributeFinder
/frameworks/base/include/androidfw/
H A DAttributeFinder.h125 mCurrentAttr = static_cast<const Derived*>(this)->getAttribute(mCurrent);
152 // because the derived class we access in getAttribute() may not be
155 mCurrentAttr = static_cast<const Derived*>(this)->getAttribute(mBegin);
180 mCurrentAttr = static_cast<const Derived*>(this)->getAttribute(mCurrent);
H A DResourceTypes.h1700 ssize_t getAttribute(uint32_t resID, Res_value* outValue,
/frameworks/base/drm/java/android/drm/
H A DDrmEvent.java125 public Object getAttribute(String key) { method in class:DrmEvent
/frameworks/base/tools/aapt/
H A DAaptXml.h37 android::String8 getAttribute(const android::ResXMLTree& tree, const char* ns,
45 android::String8 getAttribute(const android::ResXMLTree& tree, uint32_t attrRes,
H A DCommand.cpp452 String8 category = AaptXml::getAttribute(tree, CATEGORY_ATTR, &error);
863 String8 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL);
868 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
882 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
897 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
1176 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL);
1201 String8 splitName = AaptXml::getAttribute(tree, NULL, "split");
1207 String8 platformVersionName = AaptXml::getAttribute(tree, NULL,
1450 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
1487 String8 name = AaptXml::getAttribute(tre
[all...]
H A DAaptXml.cpp79 String8 getAttribute(const ResXMLTree& tree, const char* ns, function in namespace:AaptXml
88 String8 getAttribute(const ResXMLTree& tree, uint32_t attrRes, String8* outError) { function in namespace:AaptXml
H A DXMLNode.h100 const attribute_entry* getAttribute(const String16& ns, const String16& name) const;
H A DResource.cpp808 const XMLNode::attribute_entry* attr = root->getAttribute(
819 const XMLNode::attribute_entry* attr = root->getAttribute(
850 const XMLNode::attribute_entry* attr = vers->getAttribute(
936 const XMLNode::attribute_entry* attr = root->getAttribute(String16(), String16("featureName"));
1008 String8 versionName = AaptXml::getAttribute(tree, VERSION_NAME_ATTR, &error);
2894 pkg = AaptXml::getAttribute(tree, NULL, "package");
2900 String8 agent = AaptXml::getAttribute(tree,
2909 defaultProcess = AaptXml::getAttribute(tree,
2926 String8 name = AaptXml::getAttribute(tree,
2936 String8 componentProcess = AaptXml::getAttribute(tre
[all...]
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSipAudioCall.java784 if (media.getAttribute("recvonly") != null) {
786 } else if(media.getAttribute("sendonly") != null) {
788 } else if(offer.getAttribute("recvonly") != null) {
790 } else if(offer.getAttribute("sendonly") != null) {
1057 } else if (media.getAttribute("recvonly") != null) {
1059 } else if(media.getAttribute("sendonly") != null) {
1061 } else if(offer.getAttribute("recvonly") != null) {
1063 } else if(offer.getAttribute("sendonly") != null) {
H A DSimpleSessionDescription.java217 public String getAttribute(String name) { method in class:SimpleSessionDescription
218 return mFields.getAttribute(name);
500 public String getAttribute(String name) { method in class:SimpleSessionDescription.Fields
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
H A DExifInterfaceTest.java236 String tagValue = exifInterface.getAttribute(tagKey);
252 String stringValue = exifInterface.getAttribute(tag);
367 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE);
371 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE));
393 String backupValue = exifInterface.getAttribute(ExifInterface.TAG_MAKE);
398 assertEquals("abc", exifInterface.getAttribute(ExifInterface.TAG_MAKE));
/frameworks/base/media/java/android/media/
H A DExifInterface.java1200 public String getAttribute(String tag) { method in class:ExifInterface
1695 String latValue = getAttribute(TAG_GPS_LATITUDE);
1696 String latRef = getAttribute(TAG_GPS_LATITUDE_REF);
1697 String lngValue = getAttribute(TAG_GPS_LONGITUDE);
1698 String lngRef = getAttribute(TAG_GPS_LONGITUDE_REF);
1736 String dateTimeString = getAttribute(TAG_DATETIME);
1748 String subSecs = getAttribute(TAG_SUBSEC_TIME);
1772 String date = getAttribute(TAG_GPS_DATESTAMP);
1773 String time = getAttribute(TAG_GPS_TIMESTAMP);
1904 if (getAttribute(TAG_USER_COMMEN
[all...]
/frameworks/rs/api/
H A DGenerateHeaderFiles.cpp134 makeAttributeTag(spec.getAttribute(), "", type->getDeprecatedApiLevel(),
221 *file << makeAttributeTag(spec.getAttribute(), spec.isOverloadable() ? "overloadable" : "",
H A DSpecification.h317 std::string getAttribute() const { return mAttribute; } function in class:TypeSpecification
411 std::string getAttribute() const { return mAttribute; } function in class:FunctionSpecification
H A DGenerateDocumentation.cpp353 << makeAttributeTag(spec->getAttribute(), "", type->getDeprecatedApiLevel(),
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/helpers/
H A DCameraTestUtils.java2000 String dateTime = exif.getAttribute(ExifInterface.TAG_DATETIME);
2026 String exposureTime = exif.getAttribute(ExifInterface.TAG_EXPOSURE_TIME);
2042 String exifAperture = exif.getAttribute(ExifInterface.TAG_APERTURE);
2061 String flash = exif.getAttribute(ExifInterface.TAG_FLASH);
2068 String whiteBalance = exif.getAttribute(ExifInterface.TAG_WHITE_BALANCE);
2072 String make = exif.getAttribute(ExifInterface.TAG_MAKE);
2076 String model = exif.getAttribute(ExifInterface.TAG_MODEL);
2088 String digitizedTime = exif.getAttribute(ExifInterface.TAG_DATETIME_DIGITIZED);
2091 String expectedDateTime = exif.getAttribute(ExifInterface.TAG_DATETIME);
/frameworks/native/services/surfaceflinger/DisplayHardware/
H A DHWC2.cpp849 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) function in class:HWC2::Display
869 .setWidth(getAttribute(configId, Attribute::Width))
870 .setHeight(getAttribute(configId, Attribute::Height))
871 .setVsyncPeriod(getAttribute(configId, Attribute::VsyncPeriod))
872 .setDpiX(getAttribute(configId, Attribute::DpiX))
873 .setDpiY(getAttribute(configId, Attribute::DpiY))
H A DHWC2On1Adapter.cpp649 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, function in class:android::HWC2On1Adapter::Display
655 ALOGV("[%" PRIu64 "] getAttribute failed: bad config (%u)", mId,
659 *outValue = mConfigs[configId]->getAttribute(attribute);
660 ALOGV("[%" PRIu64 "] getAttribute(%u, %s) --> %d", mId, configId,
1671 int32_t HWC2On1Adapter::Display::Config::getAttribute(Attribute attribute) const function in class:android::HWC2On1Adapter::Display::Config
1681 int32_t colorTransform = getAttribute(ColorTransform);
1725 if (getAttribute(attribute) != other.getAttribute(attribute)) {
1729 int32_t otherColorTransform = other.getAttribute(ColorTransform);
1930 int32_t width = mActiveConfig->getAttribute(Attribut
[all...]
H A DHWC2On1Adapter.h193 HWC2::Error getAttribute(hwc2_config_t configId,
257 int32_t getAttribute(HWC2::Attribute attribute) const;
420 return callDisplayFunction(device, display, &Display::getAttribute,
H A DHWC2.h335 int32_t getAttribute(hwc2_config_t configId, Attribute attribute);
/frameworks/base/tools/preload/
H A Dsorttable.js209 if (node.getAttribute("sorttable_customkey") != null) {
210 return node.getAttribute("sorttable_customkey");
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1080 ssize_t block = theme->getAttribute(ident, &value, &typeSpecFlags);
1119 inline uint32_t getAttribute(jsize index) const { function in class:android::XmlAttributeFinder
1132 inline uint32_t getAttribute(const ResTable::bag_entry* entry) const { function in class:android::BagAttributeFinder
1203 if (theme->getAttribute(defStyleAttr, &value, &defStyleBagTypeSetFlags) >= 0) {
1275 ssize_t newBlock = theme->getAttribute(curIdent, &value, &typeSetFlags);
1405 if (theme->getAttribute(defStyleAttr, &value, &defStyleBagTypeSetFlags) >= 0) {
1419 if (theme->getAttribute(value.data, &value, &styleBagTypeSetFlags) < 0) {
1527 ssize_t newBlock = theme->getAttribute(curIdent, &value, &typeSetFlags);

Completed in 4658 milliseconds

12