Home
last modified time | relevance | path

Searched refs:type (Results 1 – 25 of 178) sorted by relevance

12345678

/device/lge/mako/charger_touch/
Dcharger_touch.c49 static void write_path(int type) in write_path() argument
59 snprintf(buf, sizeof(buf), "%d", type); in write_path()
70 int type = NO_CHARGER; in handle_uevent() local
80 type = CHARGER_WIRELESS; in handle_uevent()
82 ALOGE("Type: %d", type); in handle_uevent()
83 write_path(type); in handle_uevent()
92 type = CHARGER_USB; in handle_uevent()
94 type = CHARGER_AC; in handle_uevent()
97 ALOGE("Type: %d", type); in handle_uevent()
98 write_path(type); in handle_uevent()
/device/asus/flo/charger_touch/
Dcharger_touch.c49 static void write_path(int type) in write_path() argument
59 snprintf(buf, sizeof(buf), "%d", type); in write_path()
70 int type = NO_CHARGER; in handle_uevent() local
80 type = CHARGER_WIRELESS; in handle_uevent()
82 ALOGE("Type: %d", type); in handle_uevent()
83 write_path(type); in handle_uevent()
92 type = CHARGER_USB; in handle_uevent()
94 type = CHARGER_AC; in handle_uevent()
97 ALOGE("Type: %d", type); in handle_uevent()
98 write_path(type); in handle_uevent()
/device/lge/mako/sepolicy/
Ddevice.te2 type gpu_device, dev_type;
5 type qseecom_device, dev_type;
7 type diag_device, dev_type;
8 type bcm2079x_device, dev_type;
11 type msm_acdb_device, dev_type;
14 type kickstart_device, dev_type;
17 type smd_device, dev_type;
Dfile.te2 type qmux_audio_socket, file_type;
3 type qmux_bluetooth_socket, file_type;
4 type qmux_gps_socket, file_type;
5 type qmux_radio_socket, file_type;
7 type audio_firmware_file, file_type;
Dhci_init.te1 type hci_init, domain;
3 type hci_exec, file_type, exec_type;
4 type hci_data_file, file_type;
/device/samsung/manta/libsensors/iio/
Devents.h59 type, chan, chan1, chan2) \ argument
60 (((u64)type << 56) | ((u64)diff << 55) | \
67 #define IIO_EV_BIT(type, direction) \ argument
68 (1 << (type*IIO_EV_DIR_MAX + direction))
80 type, direction) \ argument
81 IIO_EVENT_CODE(chan_type, 0, modifier, direction, type, number, 0, 0)
91 #define IIO_UNMOD_EVENT_CODE(chan_type, number, type, direction) \ argument
92 IIO_EVENT_CODE(chan_type, 0, 0, direction, type, number, 0, 0)
/device/asus/grouper/sepolicy/
Ddevice.te1 type knv_device, dev_type;
2 type elan_ip_device, dev_type;
3 type sensors_block_device, dev_type;
4 type sysfs_devices_tegradc, dev_type;
5 type diag_device, dev_type;
Dbtmacreader.te1 type btmacreader, domain;
3 type btmacreader_exec, exec_type, file_type;
4 type mac_data_file, file_type, data_file_type;
Dsensors_config.te4 type sensors_config, domain;
6 type sensors_config_exec, exec_type, file_type;
7 type sensors_data_file, file_type, data_file_type;
/device/lge/hammerhead/libsensors/
DProximitySensor.cpp39 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; in ProximitySensor()
118 int type = event->type; in readEvents() local
119 if (type == EV_ABS) { in readEvents()
122 mPendingEvent.type = SENSOR_TYPE_PROXIMITY; in readEvents()
125 } else if (type == EV_SYN) { in readEvents()
135 type, event->code); in readEvents()
DLightSensor.cpp39 mPendingEvent.type = SENSOR_TYPE_LIGHT; in LightSensor()
137 int type = event->type; in readEvents() local
138 if (type == EV_ABS) { in readEvents()
141 mPendingEvent.type = SENSOR_TYPE_LIGHT; in readEvents()
144 } else if (type == EV_SYN) { in readEvents()
154 type, event->code); in readEvents()
/device/asus/flo/camera/hdr/include/
Dmorpho_api.h18 #define MORPHO_API(type) __declspec(dllexport) extern type argument
20 #define MORPHO_API(type) extern type argument
/device/lge/mako/camera/hdr/include/
Dmorpho_api.h18 #define MORPHO_API(type) __declspec(dllexport) extern type argument
20 #define MORPHO_API(type) extern type argument
/device/generic/goldfish/opengl/system/GLESv1_enc/
DGLEncoder.cpp264 void GLEncoder::s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *da… in s_glVertexPointer() argument
268 ctx->m_state->setState(GLClientState::VERTEX_LOCATION, size, type, false, stride, data); in s_glVertexPointer()
271 void GLEncoder::s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glNormalPointer() argument
275 ctx->m_state->setState(GLClientState::NORMAL_LOCATION, 3, type, false, stride, data); in s_glNormalPointer()
278 void GLEncoder::s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat… in s_glColorPointer() argument
282 ctx->m_state->setState(GLClientState::COLOR_LOCATION, size, type, false, stride, data); in s_glColorPointer()
285 void GLEncoder::s_glPointsizePointer(void *self, GLenum type, GLsizei stride, const void *data) in s_glPointsizePointer() argument
289 ctx->m_state->setState(GLClientState::POINTSIZE_LOCATION, 1, type, false, stride, data); in s_glPointsizePointer()
299 void GLEncoder::s_glTexcoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *… in s_glTexcoordPointer() argument
304 ctx->m_state->setState(loc, size, type, false, stride, data); in s_glTexcoordPointer()
[all …]
Dgl_entry.cpp62 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
76 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid* indices);
119 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid* pointer);
128 …void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLv…
138 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
143 …ormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixe…
148 …fset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixe…
150 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid* pointer);
152 void glPointSizePointerOES(GLenum type, GLsizei stride, const GLvoid* pointer);
153 void glVertexPointerOffset(GLint size, GLenum type, GLsizei stride, GLuint offset);
[all …]
DGLEncoder.h34 size_t pixelDataSize(GLsizei width, GLsizei height, GLenum format, GLenum type, int pack);
111 …static void s_glVertexPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
112 static void s_glNormalPointer(void *self, GLenum type, GLsizei stride, const void *data);
113 … static void s_glColorPointer(void *self, int size, GLenum type, GLsizei stride, const void *data);
114 static void s_glPointsizePointer(void *self, GLenum type, GLsizei stride, const void *data);
116 …static void s_glTexcoordPointer(void *self, int size, GLenum type, GLsizei stride, const void *dat…
117 …static void s_glMatrixIndexPointerOES(void *self, int size, GLenum type, GLsizei stride, const voi…
118 …static void s_glWeightPointerOES(void *self, int size, GLenum type, GLsizei stride, const void * d…
128 …static void s_glDrawElements(void *self, GLenum mode, GLsizei count, GLenum type, const void *indi…
Dgl_enc.h77 …void glColorPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* pointe…
91 …void glDrawElements_enc(void *self , GLenum mode, GLsizei count, GLenum type, const GLvoid* indice…
134 void glNormalPointer_enc(void *self , GLenum type, GLsizei stride, const GLvoid* pointer);
143 …elf , GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
153 …void glTexCoordPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* poi…
158 …ormat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid* pixe…
163 …fset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid* pixe…
165 …void glVertexPointer_enc(void *self , GLint size, GLenum type, GLsizei stride, const GLvoid* point…
167 void glPointSizePointerOES_enc(void *self , GLenum type, GLsizei stride, const GLvoid* pointer);
168 …void glVertexPointerOffset_enc(void *self , GLint size, GLenum type, GLsizei stride, GLuint offset…
[all …]
/device/samsung/manta/libsensors/
DSensorBase.cpp107 int SensorBase::findTypeByName(const char *name, const char *type) in findTypeByName() argument
127 strlen(ent->d_name) > strlen(type) && in findTypeByName()
128 strncmp(ent->d_name, type, strlen(type)) == 0) { in findTypeByName()
129 if (sscanf(ent->d_name + strlen(type), "%d", &iio_id) != 1) in findTypeByName()
132 sprintf(filename, "%s%s%d/name", iio_dir, type, iio_id); in findTypeByName()
/device/lge/mako/camera/QCamera/stack/common/
Dcam_list.h38 #define member_of(ptr, type, member) ({ \ argument
39 const typeof(((type *)0)->member) *__mptr = (ptr); \
40 (type *)((char *)__mptr - offsetof(type,member));})
/device/generic/goldfish/opengl/system/GLESv2_enc/
DGL2EncoderUtils.cpp21 size_t pixelDataSize(void *self, GLsizei width, GLsizei height, GLenum format, GLenum type, int pac… in pixelDataSize() argument
25 return ctx->state()->pixelDataSize(width, height, format, type, pack); in pixelDataSize()
28 …e3D(void *self, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, int pack) in pixelDataSize3D() argument
30 size_t layerSize = pixelDataSize(self, width, height, format, type, pack); in pixelDataSize3D()
/device/samsung/manta/sepolicy/
Ddevice.te1 type mali_device, dev_type, mlstrustedobject;
2 type secmem_device, dev_type;
4 type ump_device, dev_type;
/device/asus/flo/camera/QCamera2/stack/common/
Dcam_list.h38 #define member_of(ptr, type, member) ({ \ argument
39 const typeof(((type *)0)->member) *__mptr = (ptr); \
40 (type *)((char *)__mptr - offsetof(type,member));})
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
DGLClientState.h58 GLenum type; member
86 …void setState(int location, int size, GLenum type, GLboolean normalized, GLsizei stride, const vo…
125 size_t pixelDataSize(GLsizei width, GLsizei height, GLenum format, GLenum type, int pack) const;
242 *ptr = (T)(vertexAttrib->type); in getVertexAttribParameter()
276 *ptr = state->type; in getClientStateParameter()
294 *ptr = state->type; in getClientStateParameter()
306 *ptr = state->type; in getClientStateParameter()
324 *ptr = state->type; in getClientStateParameter()
336 *ptr = state->type; in getClientStateParameter()
354 *ptr = state->type; in getClientStateParameter()
[all …]
DglUtils.cpp21 size_t glSizeof(GLenum type) in glSizeof() argument
24 switch(type) { in glSizeof()
72 ERR("**** ERROR unknown type 0x%x (%s,%d)\n", type, __FUNCTION__,__LINE__); in glSizeof()
332 int size, GLenum type, unsigned int stride, in glUtilsPackPointerData() argument
335 unsigned int vsize = size * glSizeof(type); in glUtilsPackPointerData()
350 int size, GLenum type, unsigned int stride, in glUtilsWritePackPointerData() argument
355 unsigned int vsize = size * glSizeof(type); in glUtilsWritePackPointerData()
368 int glUtilsPixelBitSize(GLenum format, GLenum type) in glUtilsPixelBitSize() argument
373 switch(type) { in glUtilsPixelBitSize()
/device/generic/goldfish/libqemu/
Dtest_host_1.c58 socket_loopback_server( int port, int type ) in socket_loopback_server() argument
62 int sock = socket(AF_INET, type, 0); in socket_loopback_server()
80 if (type == SOCK_STREAM) { in socket_loopback_server()
91 socket_unix_server( const char* path, int type ) in socket_unix_server() argument
95 int sock = socket(AF_UNIX, type, 0); in socket_unix_server()
116 if (type == SOCK_STREAM) { in socket_unix_server()

12345678