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);
888 String8 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL);
893 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
907 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
922 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
1201 pkg = AaptXml::getAttribute(tree, NULL, "package", NULL);
1226 String8 splitName = AaptXml::getAttribute(tree, NULL, "split");
1232 String8 platformVersionName = AaptXml::getAttribute(tree, NULL,
1475 String8 name = AaptXml::getAttribute(tree, NAME_ATTR, &error);
1512 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.cpp813 const XMLNode::attribute_entry* attr = root->getAttribute(
824 const XMLNode::attribute_entry* attr = root->getAttribute(
855 const XMLNode::attribute_entry* attr = vers->getAttribute(
941 const XMLNode::attribute_entry* attr = root->getAttribute(String16(), String16("featureName"));
1013 String8 versionName = AaptXml::getAttribute(tree, VERSION_NAME_ATTR, &error);
2908 pkg = AaptXml::getAttribute(tree, NULL, "package");
2914 String8 agent = AaptXml::getAttribute(tree,
2923 defaultProcess = AaptXml::getAttribute(tree,
2940 String8 name = AaptXml::getAttribute(tree,
2950 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.java1201 public String getAttribute(String tag) { method in class:ExifInterface
1700 String latValue = getAttribute(TAG_GPS_LATITUDE);
1701 String latRef = getAttribute(TAG_GPS_LATITUDE_REF);
1702 String lngValue = getAttribute(TAG_GPS_LONGITUDE);
1703 String lngRef = getAttribute(TAG_GPS_LONGITUDE_REF);
1741 String dateTimeString = getAttribute(TAG_DATETIME);
1753 String subSecs = getAttribute(TAG_SUBSEC_TIME);
1777 String date = getAttribute(TAG_GPS_DATESTAMP);
1778 String time = getAttribute(TAG_GPS_TIMESTAMP);
1909 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.cpp869 int32_t Display::getAttribute(hwc2_config_t configId, Attribute attribute) function in class:HWC2::Display
889 .setWidth(getAttribute(configId, Attribute::Width))
890 .setHeight(getAttribute(configId, Attribute::Height))
891 .setVsyncPeriod(getAttribute(configId, Attribute::VsyncPeriod))
892 .setDpiX(getAttribute(configId, Attribute::DpiX))
893 .setDpiY(getAttribute(configId, Attribute::DpiY))
H A DHWC2On1Adapter.cpp647 Error HWC2On1Adapter::Display::getAttribute(hwc2_config_t configId, function in class:android::HWC2On1Adapter::Display
653 ALOGV("[%" PRIu64 "] getAttribute failed: bad config (%u)", mId,
657 *outValue = mConfigs[configId]->getAttribute(attribute);
658 ALOGV("[%" PRIu64 "] getAttribute(%u, %s) --> %d", mId, configId,
1672 int32_t HWC2On1Adapter::Display::Config::getAttribute(Attribute attribute) const function in class:android::HWC2On1Adapter::Display::Config
1682 android_color_mode_t colorMode = static_cast<android_color_mode_t>(getAttribute(ColorMode));
1728 if (getAttribute(attribute) != other.getAttribute(attribute)) {
1733 static_cast<android_color_mode_t>(other.getAttribute(ColorMode));
1940 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;
421 return callDisplayFunction(device, display, &Display::getAttribute,
H A DHWC2.h337 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 604 milliseconds

12