Home
last modified time | relevance | path

Searched refs:attribute (Results 1 – 25 of 238) sorted by relevance

12345678910

/frameworks/native/libs/vr/libdvr/
Ddvr_display_manager.cpp25 DvrSurfaceAttribute* attribute; member
28 attribute->value.int32_value = value; in operator ()()
29 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_INT32; in operator ()()
32 attribute->value.int64_value = value; in operator ()()
33 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_INT64; in operator ()()
36 attribute->value.bool_value = value; in operator ()()
37 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_BOOL; in operator ()()
40 attribute->value.float_value = value; in operator ()()
41 attribute->value.type = DVR_SURFACE_ATTRIBUTE_TYPE_FLOAT; in operator ()()
44 std::copy(value.cbegin(), value.cend(), attribute->value.float2_value); in operator ()()
[all …]
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_display_manager-test.cpp34 DvrSurfaceAttribute attribute; in MakeAttribute() local
35 attribute.key = key; in MakeAttribute()
36 attribute.value.type = DVR_SURFACE_ATTRIBUTE_TYPE_NONE; in MakeAttribute()
37 return attribute; in MakeAttribute()
41 DvrSurfaceAttribute attribute; in MakeAttribute() local
42 attribute.key = key; in MakeAttribute()
43 attribute.value.type = DVR_SURFACE_ATTRIBUTE_TYPE_INT32; in MakeAttribute()
44 attribute.value.int32_value = value; in MakeAttribute()
45 return attribute; in MakeAttribute()
49 DvrSurfaceAttribute attribute; in MakeAttribute() local
[all …]
/frameworks/base/core/java/android/util/
DXmlPullAttributes.java62 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
65 getAttributeValue(namespace, attribute), options, defaultValue); in getAttributeListValue()
68 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
71 getAttributeValue(namespace, attribute), defaultValue); in getAttributeBooleanValue()
74 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument
77 getAttributeValue(namespace, attribute), defaultValue); in getAttributeResourceValue()
80 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument
83 getAttributeValue(namespace, attribute), defaultValue); in getAttributeIntValue()
86 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument
89 getAttributeValue(namespace, attribute), defaultValue); in getAttributeUnsignedIntValue()
[all …]
DAttributeSet.java161 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
173 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
191 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument
203 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument
217 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument
229 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DAccessibilityNodeInfoDumper.java88 serializer.attribute("", "rotation", Integer.toString(rotation)); in dumpWindowToFile()
105 serializer.attribute("", "NAF", Boolean.toString(true)); in dumpNodeRec()
106 serializer.attribute("", "index", Integer.toString(index)); in dumpNodeRec()
107 serializer.attribute("", "text", safeCharSeqToString(node.getText())); in dumpNodeRec()
108 serializer.attribute("", "resource-id", safeCharSeqToString(node.getViewIdResourceName())); in dumpNodeRec()
109 serializer.attribute("", "class", safeCharSeqToString(node.getClassName())); in dumpNodeRec()
110 serializer.attribute("", "package", safeCharSeqToString(node.getPackageName())); in dumpNodeRec()
111 serializer.attribute("", "content-desc", safeCharSeqToString(node.getContentDescription())); in dumpNodeRec()
112 serializer.attribute("", "checkable", Boolean.toString(node.isCheckable())); in dumpNodeRec()
113 serializer.attribute("", "checked", Boolean.toString(node.isChecked())); in dumpNodeRec()
[all …]
/frameworks/compile/mclinker/lib/Target/Hexagon/
DHexagonEmulation.cpp27 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateHexagonELF()
28 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateHexagonELF()
29 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateHexagonELF()
32 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateHexagonELF()
33 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateHexagonELF()
34 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateHexagonELF()
/frameworks/compile/mclinker/lib/Target/AArch64/
DAArch64Emulation.cpp27 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateAArch64ELF()
28 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateAArch64ELF()
29 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateAArch64ELF()
32 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateAArch64ELF()
33 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateAArch64ELF()
34 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateAArch64ELF()
/frameworks/compile/mclinker/lib/Target/ARM/
DARMEmulation.cpp26 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateARMELF()
27 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateARMELF()
28 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateARMELF()
31 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateARMELF()
32 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateARMELF()
33 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateARMELF()
/frameworks/compile/mclinker/lib/Target/Mips/
DMipsEmulation.cpp30 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateMipsELF()
31 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateMipsELF()
32 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateMipsELF()
35 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateMipsELF()
36 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateMipsELF()
37 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateMipsELF()
/frameworks/compile/mclinker/lib/Target/X86/
DX86Emulation.cpp35 pConfig.attribute().constraint().enableWholeArchive(); in MCLDEmulateX86ELF()
36 pConfig.attribute().constraint().enableAsNeeded(); in MCLDEmulateX86ELF()
37 pConfig.attribute().constraint().setSharedSystem(); in MCLDEmulateX86ELF()
40 pConfig.attribute().predefined().unsetWholeArchive(); in MCLDEmulateX86ELF()
41 pConfig.attribute().predefined().unsetAsNeeded(); in MCLDEmulateX86ELF()
42 pConfig.attribute().predefined().setDynamic(); in MCLDEmulateX86ELF()
/frameworks/layoutlib/bridge/src/android/util/
DBridgeXmlPullAttributes.java122 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
124 String value = getAttributeValue(namespace, attribute); in getAttributeListValue()
139 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
141 String value = getAttributeValue(namespace, attribute); in getAttributeBooleanValue()
156 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument
157 String value = getAttributeValue(namespace, attribute); in getAttributeResourceValue()
163 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() argument
164 String value = getAttributeValue(namespace, attribute); in getAttributeIntValue()
185 enumValues = mFrameworkEnumValueSupplier.apply(attribute); in getAttributeIntValue()
189 enumValues = mProjectEnumValueSupplier.getEnumValues(attrNamespace, attribute); in getAttributeIntValue()
[all …]
/frameworks/av/media/libmedia/include/media/
DCounterMetric.h65 void Increment(AttributeType attribute) { in Increment() argument
66 if (values_.find(attribute) == values_.end()) { in Increment()
67 values_[attribute] = 1; in Increment()
69 values_[attribute] = values_[attribute] + 1; in Increment()
DEventMetric.h86 void Record(double value, AttributeType attribute) { in Record() argument
87 if (values_.find(attribute) != values_.end()) { in Record()
88 EventStatistics* stats = values_[attribute].get(); in Record()
106 values_[attribute] = std::move(stats); in Record()
161 void SetAttribute(const AttributeType& attribute) { in SetAttribute() argument
162 attribute_ = attribute; in SetAttribute()
/frameworks/av/media/libstagefright/
DOmxInfoBuilder.cpp63 for (const auto& attribute : node.attributes) { in queryCapabilities() local
66 if (hasPrefix(attribute.key, "feature-") && in queryCapabilities()
67 !hasPrefix(attribute.key, "feature-bitrate-modes")) { in queryCapabilities()
71 attribute.key.c_str(), in queryCapabilities()
72 hasPrefix(attribute.value, "1") ? 1 : 0); in queryCapabilities()
76 attribute.key.c_str(), attribute.value.c_str()); in queryCapabilities()
169 for (const IOmxStore::Attribute& attribute : node.attributes) { in buildMediaCodecList() local
170 if (attribute.key == "rank") { in buildMediaCodecList()
173 if (sscanf(attribute.value.c_str(), "%u%c", &rank, &dummy) != 1) { in buildMediaCodecList()
/frameworks/base/services/core/java/com/android/server/pm/
DCrossProfileIntentFilter.java101 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { in getStringFromXml() argument
102 String value = parser.getAttributeValue(null, attribute); in getStringFromXml()
104 String msg = "Missing element under " + TAG +": " + attribute + " at " + in getStringFromXml()
113 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { in getIntFromXml() argument
114 String stringValue = getStringFromXml(parser, attribute, null); in getIntFromXml()
122 serializer.attribute(null, ATTR_TARGET_USER_ID, Integer.toString(mTargetUserId)); in writeToXml()
123 serializer.attribute(null, ATTR_FLAGS, Integer.toString(mFlags)); in writeToXml()
124 serializer.attribute(null, ATTR_OWNER_PACKAGE, mOwnerPackage); in writeToXml()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/android/
DNopAttributeSet.java65 public int getAttributeListValue(String namespace, String attribute, String[] options, int in getAttributeListValue() argument
71 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
77 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument
82 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() argument
87 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument
93 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument
DBridgeLayoutParamsMapAttributes.java84 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
90 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
96 public int getAttributeResourceValue(String namespace, String attribute, in getAttributeResourceValue() argument
102 public int getAttributeIntValue(String namespace, String attribute, in getAttributeIntValue() argument
108 public int getAttributeUnsignedIntValue(String namespace, String attribute, in getAttributeUnsignedIntValue() argument
114 public float getAttributeFloatValue(String namespace, String attribute, in getAttributeFloatValue() argument
DBridgeXmlBlockParser.java414 public boolean getAttributeBooleanValue(String namespace, String attribute, in getAttributeBooleanValue() argument
416 return mAttrib.getAttributeBooleanValue(namespace, attribute, defaultValue); in getAttributeBooleanValue()
425 public float getAttributeFloatValue(String namespace, String attribute, float defaultValue) { in getAttributeFloatValue() argument
426 return mAttrib.getAttributeFloatValue(namespace, attribute, defaultValue); in getAttributeFloatValue()
435 public int getAttributeIntValue(String namespace, String attribute, int defaultValue) { in getAttributeIntValue() argument
436 return mAttrib.getAttributeIntValue(namespace, attribute, defaultValue); in getAttributeIntValue()
445 public int getAttributeListValue(String namespace, String attribute, in getAttributeListValue() argument
447 return mAttrib.getAttributeListValue(namespace, attribute, options, defaultValue); in getAttributeListValue()
461 public int getAttributeResourceValue(String namespace, String attribute, int defaultValue) { in getAttributeResourceValue() argument
462 return mAttrib.getAttributeResourceValue(namespace, attribute, defaultValue); in getAttributeResourceValue()
[all …]
/frameworks/av/media/libstagefright/omx/1.0/
DOmxStore.cpp68 ServiceAttribute attribute; in OmxStore() local
69 attribute.key = attributePair.first; in OmxStore()
70 attribute.value = attributePair.second; in OmxStore()
71 mServiceAttributeList[i] = std::move(attribute); in OmxStore()
102 NodeAttribute attribute; in OmxStore() local
103 attribute.key = attributePair.first; in OmxStore()
104 attribute.value = attributePair.second; in OmxStore()
105 attributeList[k] = std::move(attribute); in OmxStore()
/frameworks/compile/slang/tests/F_kernel_badattr/
Dstderr.txt.expect1 kernel_badattr.rscript:4:20: error: 'kernel' attribute takes no arguments
2 kernel_badattr.rscript:8:20: error: 'kernel' attribute takes no arguments
3 kernel_badattr.rscript:12:20: error: 'kernel' attribute takes no arguments
4 kernel_badattr.rscript:16:20: error: 'kernel' attribute takes no arguments
/frameworks/av/media/libaudioclient/
DAudioVolumeGroup.cpp38 AudioAttributes attribute; in readFromParcel() local
39 attribute.readFromParcel(parcel); in readFromParcel()
44 mAudioAttributes.push_back(attribute.getAttributes()); in readFromParcel()
64 AudioAttributes attribute(attributes); in writeToParcel() local
65 status_t ret = attribute.writeToParcel(parcel); in writeToParcel()
DAudioProductStrategy.cpp35 AudioAttributes attribute; in readFromParcel() local
36 ret = attribute.readFromParcel(parcel); in readFromParcel()
41 mAudioAttributes.push_back(attribute); in readFromParcel()
57 AudioAttributes attribute(mAudioAttributes[i]); in writeToParcel() local
58 status_t ret = attribute.writeToParcel(parcel); in writeToParcel()
/frameworks/base/core/java/android/content/pm/
DIntentFilterVerificationInfo.java124 String getStringFromXml(XmlPullParser parser, String attribute, String defaultValue) { in getStringFromXml() argument
125 String value = parser.getAttributeValue(null, attribute); in getStringFromXml()
127 String msg = "Missing element under " + TAG +": " + attribute + " at " + in getStringFromXml()
136 int getIntFromXml(XmlPullParser parser, String attribute, int defaultValue) { in getIntFromXml() argument
137 String value = parser.getAttributeValue(null, attribute); in getIntFromXml()
139 String msg = "Missing element under " + TAG +": " + attribute + " at " + in getIntFromXml()
186 serializer.attribute(null, ATTR_PACKAGE_NAME, mPackageName); in writeToXml()
187 serializer.attribute(null, ATTR_STATUS, String.valueOf(mMainStatus)); in writeToXml()
190 serializer.attribute(null, ATTR_DOMAIN_NAME, str); in writeToXml()
/frameworks/native/opengl/libs/EGL/
Degl_object.cpp100 EGLBoolean egl_surface_t::setSmpte2086Attribute(EGLint attribute, EGLint value) { in setSmpte2086Attribute() argument
101 switch (attribute) { in setSmpte2086Attribute()
146 EGLBoolean egl_surface_t::setCta8613Attribute(EGLint attribute, EGLint value) { in setCta8613Attribute() argument
147 switch (attribute) { in setCta8613Attribute()
206 EGLBoolean egl_surface_t::getColorSpaceAttribute(EGLint attribute, EGLint* value) const { in getColorSpaceAttribute() argument
207 if (attribute == EGL_GL_COLORSPACE_KHR) { in getColorSpaceAttribute()
214 EGLBoolean egl_surface_t::getSmpte2086Attribute(EGLint attribute, EGLint *value) const { in getSmpte2086Attribute() argument
215 switch (attribute) { in getSmpte2086Attribute()
260 EGLBoolean egl_surface_t::getCta8613Attribute(EGLint attribute, EGLint *value) const { in getCta8613Attribute() argument
261 switch (attribute) { in getCta8613Attribute()
/frameworks/base/services/core/java/com/android/server/inputmethod/
DAdditionalSubtypeUtils.java153 out.attribute(null, ATTR_ID, imiId); in save()
160 out.attribute(null, ATTR_IME_SUBTYPE_ID, in save()
163 out.attribute(null, ATTR_ICON, String.valueOf(subtype.getIconResId())); in save()
164 out.attribute(null, ATTR_LABEL, String.valueOf(subtype.getNameResId())); in save()
165 out.attribute(null, ATTR_IME_SUBTYPE_LOCALE, subtype.getLocale()); in save()
166 out.attribute(null, ATTR_IME_SUBTYPE_LANGUAGE_TAG, in save()
168 out.attribute(null, ATTR_IME_SUBTYPE_MODE, subtype.getMode()); in save()
169 out.attribute(null, ATTR_IME_SUBTYPE_EXTRA_VALUE, subtype.getExtraValue()); in save()
170 out.attribute(null, ATTR_IS_AUXILIARY, in save()
172 out.attribute(null, ATTR_IS_ASCII_CAPABLE, in save()

12345678910