Home
last modified time | relevance | path

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

12

/device/linaro/poplar/wifi/wifi_hal/
Dcpp_bindings.h76 nlattr *get_attribute(int attribute) { in get_attribute() argument
77 return mAttributes[attribute]; in get_attribute()
80 uint8_t get_u8(int attribute) { in get_u8() argument
81 return mAttributes[attribute] ? nla_get_u8(mAttributes[attribute]) : 0; in get_u8()
84 uint16_t get_u16(int attribute) { in get_u16() argument
85 return mAttributes[attribute] ? nla_get_u16(mAttributes[attribute]) : 0; in get_u16()
88 uint32_t get_u32(int attribute) { in get_u32() argument
89 return mAttributes[attribute] ? nla_get_u32(mAttributes[attribute]) : 0; in get_u32()
92 uint64_t get_u64(int attribute) { in get_u64() argument
93 return mAttributes[attribute] ? nla_get_u64(mAttributes[attribute]) : 0; in get_u64()
[all …]
/device/generic/goldfish-opengl/system/hwc3/
DDisplayConfig.cpp32 void DisplayConfig::setAttribute(DisplayAttribute attribute, int32_t value) { in setAttribute() argument
33 if (attribute == DisplayAttribute::WIDTH) { in setAttribute()
36 if (attribute == DisplayAttribute::HEIGHT) { in setAttribute()
39 if (attribute == DisplayAttribute::DPI_X) { in setAttribute()
42 if (attribute == DisplayAttribute::DPI_Y) { in setAttribute()
45 if (attribute == DisplayAttribute::VSYNC_PERIOD) { in setAttribute()
48 if (attribute == DisplayAttribute::CONFIG_GROUP) { in setAttribute()
53 int32_t DisplayConfig::getAttribute(DisplayAttribute attribute) const { in getAttribute()
54 if (attribute == DisplayAttribute::WIDTH) { in getAttribute()
57 if (attribute == DisplayAttribute::HEIGHT) { in getAttribute()
[all …]
DDisplayConfig.h50 int32_t getAttribute(DisplayAttribute attribute) const;
51 void setAttribute(DisplayAttribute attribute, int32_t value);
/device/google/redbull-sepolicy/vendor/qcom/common/
Dattributes1 attribute vendor_persist_type;
2 attribute hal_display_color;
3 attribute hal_qseecom;
4 attribute hal_qseecom_client;
5 attribute hal_qseecom_server;
6 attribute hal_qspmhal;
7 attribute hal_qspmhal_client;
8 attribute hal_qspmhal_server;
/device/google/cuttlefish/host/libs/graphics_detector/include/EGL/
Deglext.h127 typedef EGLBoolean (EGLAPIENTRYP PFNEGLQUERYDEBUGKHRPROC) (EGLint attribute, EGLAttrib *value);
131 EGLAPI EGLBoolean EGLAPIENTRY eglQueryDebugKHR (EGLint attribute, EGLAttrib *value);
155 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
160 …EGLAPIENTRY eglGetSyncAttribKHR (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
263 …FNEGLQUERYSURFACE64KHRPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *v…
265 …IENTRY eglQuerySurface64KHR (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLAttribKHR *v…
349 … PFNEGLSTREAMATTRIBKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
350 … PFNEGLQUERYSTREAMKHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
351 …EGLQUERYSTREAMU64KHRPROC) (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *v…
355 …APIENTRY eglStreamAttribKHR (EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
[all …]
Degl.h133 …RYP PFNEGLGETCONFIGATTRIBPROC) (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
142 …PIENTRYP PFNEGLQUERYCONTEXTPROC) (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
144 …TRYP PFNEGLQUERYSURFACEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
158 …EGLAPIENTRY eglGetConfigAttrib (EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
167 EGLAPI EGLBoolean EGLAPIENTRY eglQueryContext (EGLDisplay dpy, EGLContext ctx, EGLint attribute, EG…
169 EGLAPI EGLBoolean EGLAPIENTRY eglQuerySurface (EGLDisplay dpy, EGLSurface surface, EGLint attribute
195 …TRYP PFNEGLSURFACEATTRIBPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
200 … EGLAPIENTRY eglSurfaceAttrib (EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
336 …PIENTRYP PFNEGLGETSYNCATTRIBPROC) (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGLAttrib *valu…
347 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttrib (EGLDisplay dpy, EGLSync sync, EGLint attribute, EGL…
/device/google/cuttlefish/host/libs/graphics_detector/include/vulkan-hpp/
DVulkanHppGenerator.cpp11265 for ( auto const & attribute : attributes ) in readCommandsCommand() local
11267 if ( attribute.first == "alias" ) in readCommandsCommand()
11269 alias = attribute.second; in readCommandsCommand()
11271 else if ( attribute.first == "name" ) in readCommandsCommand()
11273 name = attribute.second; in readCommandsCommand()
11303 for ( auto const & attribute : attributes ) in readCommandsCommand() local
11305 if ( attribute.first == "errorcodes" ) in readCommandsCommand()
11307 commandData.errorCodes = tokenize( attribute.second, "," ); in readCommandsCommand()
11310 else if ( attribute.first == "successcodes" ) in readCommandsCommand()
11312 commandData.successCodes = tokenize( attribute.second, "," ); in readCommandsCommand()
[all …]
/device/google/coral-sepolicy/vendor/qcom/common/
Dattributes1 attribute vendor_persist_type;
2 attribute hal_display_color;
3 attribute hal_qseecom;
4 attribute hal_qseecom_client;
5 attribute hal_qseecom_server;
/device/google/sunfish-sepolicy/vendor/qcom/common/
Dattributes1 attribute vendor_persist_type;
2 attribute hal_display_color;
3 attribute hal_qseecom;
4 attribute hal_qseecom_client;
5 attribute hal_qseecom_server;
/device/generic/goldfish-opengl/system/include/EGL/
Deglext.h145 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribKHR(EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute
151 …RYP PFNEGLGETSYNCATTRIBKHRPROC) (EGLDisplay dpy, EGLSyncKHR sync, EGLint attribute, EGLint *value);
225 EGLAPI EGLBoolean EGLAPIENTRY eglGetSyncAttribNV (EGLSyncNV sync, EGLint attribute, EGLint *value);
232 typedef EGLBoolean (EGLAPIENTRYP PFNEGLGETSYNCATTRIBNVPROC) (EGLSyncNV sync, EGLint attribute, EGLi…
307 EGLAPI EGLBoolean eglQuerySurfacePointerANGLE(EGLDisplay dpy, EGLSurface surface, EGLint attribute,…
309 …QUERYSURFACEPOINTERANGLEPROC) (EGLDisplay dpy, EGLSurface surface, EGLint attribute, void **value);
358 …LAPIENTRY eglStreamAttribKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
359 …LAPIENTRY eglQueryStreamKHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint *value);
360 …ENTRY eglQueryStreamu64KHR(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLuint64KHR *v…
364 …P PFNEGLSTREAMATTRIBKHRPROC)(EGLDisplay dpy, EGLStreamKHR stream, EGLenum attribute, EGLint value);
[all …]
Degl.h263 EGLint attribute, EGLint *value);
275 EGLint attribute, EGLint *value);
289 EGLint attribute, EGLint value);
308 EGLint attribute, EGLint *value);
/device/generic/goldfish-opengl/tests/gles_android_wrapper/
Degl.cpp313 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
315 if (s_needEncode && attribute == EGL_RENDERABLE_TYPE) { in eglGetConfigAttrib()
319 return getDispatch()->eglGetConfigAttrib(dpy, config, attribute, value); in eglGetConfigAttrib()
371 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
373 EGLBoolean res = getDispatch()->eglQuerySurface(dpy, surface, attribute, value); in eglQuerySurface()
374 if (res && attribute == EGL_RENDERABLE_TYPE) { in eglQuerySurface()
405 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
407 return getDispatch()->eglSurfaceAttrib(dpy, surface, attribute, value); in eglSurfaceAttrib()
534 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value) in eglQueryContext() argument
538 if (attribute == EGL_CONTEXT_CLIENT_VERSION) { in eglQueryContext()
[all …]
/device/generic/vulkan-cereal/stream-servers/apigen-codec-common/GL/
Dglxext.h530 extern int glXGetFBConfigAttrib (Display *dpy, GLXFBConfig config, int attribute, int *value);
538 extern void glXQueryDrawable (Display *dpy, GLXDrawable draw, int attribute, unsigned int *value);
543 extern int glXQueryContext (Display *dpy, GLXContext ctx, int attribute, int *value);
549 typedef int ( * PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int …
557 typedef void ( * PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned …
562 typedef int ( * PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
667 extern int glXQueryContextInfoEXT (Display *dpy, GLXContext context, int attribute, int *value);
673 typedef int ( * PFNGLXQUERYCONTEXTINFOEXTPROC) (Display *dpy, GLXContext context, int attribute, in…
682 extern int glXGetFBConfigAttribSGIX (Display *dpy, GLXFBConfigSGIX config, int attribute, int *valu…
689 …PFNGLXGETFBCONFIGATTRIBSGIXPROC) (Display *dpy, GLXFBConfigSGIX config, int attribute, int *value);
[all …]
Dglx.h246 int attribute, int *value );
269 extern void glXQueryDrawable( Display *dpy, GLXDrawable draw, int attribute,
281 extern int glXQueryContext( Display *dpy, GLXContext ctx, int attribute,
293 typedef int (* PFNGLXGETFBCONFIGATTRIBPROC) (Display *dpy, GLXFBConfig config, int attribute, int *…
301 typedef void (* PFNGLXQUERYDRAWABLEPROC) (Display *dpy, GLXDrawable draw, int attribute, unsigned i…
306 typedef int (* PFNGLXQUERYCONTEXTPROC) (Display *dpy, GLXContext ctx, int attribute, int *value);
/device/google/zuma/usb/usb/
DUsb.cpp1282 Status Usb::readDisplayPortAttribute(string attribute, string usb_path, string* value) { in readDisplayPortAttribute() argument
1285 if (!strncmp(attribute.c_str(), "hpd", strlen("hpd")) || in readDisplayPortAttribute()
1286 !strncmp(attribute.c_str(), "pin_assignment", strlen("pin_assignment"))) { in readDisplayPortAttribute()
1287 attrPath = usb_path + attribute; in readDisplayPortAttribute()
1288 } else if (!strncmp(attribute.c_str(), "link_status", strlen("link_status"))) { in readDisplayPortAttribute()
1290 } else if (!strncmp(attribute.c_str(), "vdo", strlen("vdo"))) { in readDisplayPortAttribute()
1302 ALOGE("usbdp: Failed to read Type-C attribute %s", attribute.c_str()); in readDisplayPortAttribute()
1306 Status Usb::writeDisplayPortAttributeOverride(string attribute, string value) { in writeDisplayPortAttributeOverride() argument
1310 attrDrmPath = string(kDisplayPortDrmPath) + attribute; in writeDisplayPortAttributeOverride()
1314 ALOGE("usbdp: Failed to write attribute %s to drm: %s", attribute.c_str(), value.c_str()); in writeDisplayPortAttributeOverride()
[all …]
DUsb.h91 Status readDisplayPortAttribute(string attribute, string usb_path, string* value);
92 Status writeDisplayPortAttributeOverride(string attribute, string value);
93 Status writeDisplayPortAttribute(string attribute, string usb_path);
/device/generic/opengl-transport/host/libs/virglrenderer/OpenGLESDispatch/
Degl.entries16 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value);
25 EGLBoolean eglQueryContext(EGLDisplay dpy, EGLContext ctx, EGLint attribute, EGLint *value);
27 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint *value);
35 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value);
/device/generic/goldfish-opengl/system/egl/
Degl.cpp1265 EGLBoolean eglGetConfigAttrib(EGLDisplay dpy, EGLConfig config, EGLint attribute, EGLint *value) in eglGetConfigAttrib() argument
1270 if (s_display.getConfigAttrib(config, attribute, value)) in eglGetConfigAttrib()
1276 DPRINT("%s: bad attrib 0x%x", __FUNCTION__, attribute); in eglGetConfigAttrib()
1417 EGLBoolean eglQuerySurface(EGLDisplay dpy, EGLSurface eglSurface, EGLint attribute, EGLint *value) in eglQuerySurface() argument
1427 switch (attribute) { in eglQuerySurface()
1517 attribute, surface->getSurfaceType()); in eglQuerySurface()
1535 ALOGE("eglQuerySurface %x EGL_BAD_ATTRIBUTE", attribute); in eglQuerySurface()
1614 EGLBoolean eglSurfaceAttrib(EGLDisplay dpy, EGLSurface surface, EGLint attribute, EGLint value) in eglSurfaceAttrib() argument
1630 switch (attribute) { in eglSurfaceAttrib()
1658 ALOGW("%s: attr=0x%x not implemented", __FUNCTION__, attribute); in eglSurfaceAttrib()
[all …]
/device/generic/goldfish-opengl/system/renderControl_enc/
DREADME30 with their attribute values.
38 attribute, next for each config there are 'numAttribs' integer values
39 holding the attribute values for that config, the values are specified
40 in the same order as the attribute vector.
45 attribs - a list of attribute names followed by the desired values, terminated by EGL_NONE
/device/generic/vulkan-cereal/stream-servers/gl/glestranslator/EGL/
DEglImp.cpp131 …APIENTRY eglGetSyncAttribKHR(EGLDisplay display, EGLSyncKHR sync, EGLint attribute, EGLint *value);
760 EGLint attribute, EGLint *value) { in eglGetConfigAttrib() argument
763 if(!EglValidate::confAttrib(attribute)){ in eglGetConfigAttrib()
766 return cfg->getConfAttrib(attribute,value)? EGL_TRUE:EGL_FALSE; in eglGetConfigAttrib()
875 EGLint attribute, EGLint *value) { in eglQuerySurface() argument
879 if(!srfc->getAttrib(attribute,value)) { in eglQuerySurface()
886 EGLint attribute, EGLint value) { in eglSurfaceAttrib() argument
889 if(!srfc->setAttrib(attribute,value)) { in eglSurfaceAttrib()
1233 EGLint attribute, EGLint *value) { in eglQueryContext() argument
1237 if(!ctx->getAttrib(attribute,value)){ in eglQueryContext()
[all …]
/device/generic/vulkan-cereal/include/OpenGLESDispatch/
DRenderEGL_functions.h17 …X(EGLBoolean, eglGetConfigAttrib, (EGLDisplay display, EGLConfig config, EGLint attribute, EGLint*…
29 …X(EGLBoolean, eglQuerySurface, (EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint *…
DRenderEGL_static_translator_namespaced_header.h17 …APIENTRY eglGetConfigAttrib(EGLDisplay display, EGLConfig config, EGLint attribute, EGLint* value);
29 …APIENTRY eglQuerySurface(EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint * value);
/device/generic/vulkan-cereal/stream-servers/gl/OpenGLESDispatch/
Drender_egl.entries17 EGLBoolean eglGetConfigAttrib(EGLDisplay display, EGLConfig config, EGLint attribute, EGLint* value…
29 EGLBoolean eglQuerySurface(EGLDisplay display, EGLSurface surface, EGLint attribute, EGLint *value);
/device/google/trout/hal/dumpstate/aidl/1.0/config/
Ddumpstate_hal_configuration_V1_0.cpp45 static std::string getXmlAttribute(const xmlNode* cur, const char* attribute) { in getXmlAttribute() argument
46 auto xmlValue = make_xmlUnique(xmlGetProp(cur, reinterpret_cast<const xmlChar*>(attribute))); in getXmlAttribute()
/device/generic/vulkan-cereal/fake-android-guest/hardware/
Dhwcomposer2.h320 static inline const char* getAttributeName(hwc2_attribute_t attribute) { in getAttributeName() argument
321 switch (attribute) { in getAttributeName()
1170 int32_t /*hwc2_attribute_t*/ attribute, int32_t* outValue);

12