/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
H A D | HidParser.cpp | 101 // usage page, local min/max, report size and count have to be defined at report 112 << " has unsupported report size(> 32 bit)" << LOG_ENDL; 132 bool HidParser::parse(const unsigned char *begin, size_t size) { argument 133 std::vector<HidItem> hidItemVector = HidItem::tokenize(begin, size); 287 << ", " << i.packets.size() << " report packet:" << LOG_ENDL; 290 << " size: " << packet.bitSize 292 << packet.reports.size() << " entries" << LOG_ENDL; 299 os << " " << report.bitOffset << " size: " << report.bitSize
|
/hardware/qcom/audio/post_proc/ |
H A D | equalizer.c | 192 uint32_t *size) 248 *size = sizeof(effect_param_t) + voffset + p->vsize; 369 uint32_t size __unused) 191 equalizer_get_parameter(effect_context_t *context, effect_param_t *p, uint32_t *size) argument
|
H A D | reverb.c | 300 uint32_t *size) 381 *size = sizeof(effect_param_t) + voffset + p->vsize; 450 uint32_t size __unused) 299 reverb_get_parameter(effect_context_t *context, effect_param_t *p, uint32_t *size) argument
|
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
H A D | hci_uart.c | 456 ** Returns int: size to read 459 int read_hci_event(int fd, unsigned char* buf, int size) argument 464 if (size <= 0) { 465 ALOGE("Invalid size arguement!"); 491 if (buf[2] < (size - 3)) 494 remain = size - 3;
|
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
H A D | hci_uart.c | 456 ** Returns int: size to read 459 int read_hci_event(int fd, unsigned char* buf, int size) argument 464 if (size <= 0) { 465 ALOGE("Invalid size arguement!"); 491 if (buf[2] < (size - 3)) 494 remain = size - 3;
|
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
H A D | hci_uart.c | 461 ** Returns int: size to read 464 int read_hci_event(int fd, unsigned char* buf, int size) argument 469 if (size <= 0) { 470 ALOGE("Invalid size arguement!"); 496 if (buf[2] < (size - 3)) 499 remain = size - 3;
|
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
H A D | hci_uart.c | 461 ** Returns int: size to read 464 int read_hci_event(int fd, unsigned char* buf, int size) argument 469 if (size <= 0) { 470 ALOGE("Invalid size arguement!"); 496 if (buf[2] < (size - 3)) 499 remain = size - 3;
|
/hardware/qcom/display/msm8084/libgralloc/ |
H A D | alloc_controller.cpp | 400 size_t size = 0; local 406 size = alignedw * alignedh * 4; 409 size = alignedw * alignedh * 3; 413 size = alignedw * alignedh * 2; 416 size = ALIGN(alignedw * alignedh, 4096); 421 size = ALIGN(alignedw*alignedh, 4096); 422 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 428 size = ALIGN( alignedw * alignedh, 8192); 429 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 436 size 510 size_t size; local 528 size_t size; local 544 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, size_t& size) argument [all...] |
H A D | framebuffer.cpp | 208 //adreno needs 4k aligned offsets. Max hole size is 4096-1 209 size_t size = roundUpToPageSize(info.yres * info.xres * local 215 int numberOfBuffers = (int)(finfo.smem_len/size); 231 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 235 if (info.yres_virtual < ((size * 2) / line_length) ) { 237 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 55 int gpu_context_t::gralloc_alloc_buffer(size_t size, int usage, argument 61 size = roundUpToPageSize(size); 76 size = ALIGN(size, data.align); 80 data.size = size; 90 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 158 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 208 //adreno needs FB size t [all...] |
H A D | mapper.cpp | 65 size_t size = hnd->size; local 67 int err = memalloc->map_buffer(&mappedAddress, size, 78 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 79 err = memalloc->map_buffer(&mappedAddress, size, 102 size_t size = hnd->size; local 105 err = memalloc->unmap_buffer(base, size, hnd->offset); 110 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 111 err = memalloc->unmap_buffer(base, size, hn 310 size_t size = va_arg(args, size_t); local [all...] |
/hardware/qcom/display/msm8084/libhwcomposer/ |
H A D | hwc_ad.cpp | 214 size_t size; local 222 size = getBufferSizeAndDimensions(hnd->width, hnd->height, 225 if(!wb->configureMemory((uint32_t)size)) {
|
H A D | hwc_fbupdate.cpp | 50 size_t size = 0; local 57 mTileEnabled, size);
|
/hardware/qcom/display/msm8226/libgralloc/ |
H A D | alloc_controller.cpp | 399 unsigned int size = 0; local 405 size = alignedw * alignedh * 4; 408 size = alignedw * alignedh * 3; 412 size = alignedw * alignedh * 2; 417 size = ALIGN(alignedw*alignedh, 4096); 418 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 424 size = ALIGN( alignedw * alignedh, 8192); 425 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 432 size = alignedw*alignedh + 434 size 505 unsigned int size; local 523 unsigned int size; local 539 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument [all...] |
H A D | framebuffer.cpp | 209 //adreno needs 4k aligned offsets. Max hole size is 4096-1 210 unsigned int size = roundUpToPageSize(info.yres * info.xres * local 216 int numberOfBuffers = (int)(finfo.smem_len/size); 232 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 236 if (info.yres_virtual < ((size * 2) / line_length) ) { 238 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 54 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument 60 size = roundUpToPageSize(size); 75 size = ALIGN(size, data.align); 79 data.size = size; 89 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 161 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 211 //adreno needs FB size t 268 unsigned int size; local 344 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
H A D | mapper.cpp | 65 unsigned int size = hnd->size; local 67 int err = memalloc->map_buffer(&mappedAddress, size, 78 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 79 err = memalloc->map_buffer(&mappedAddress, size, 102 unsigned int size = hnd->size; local 105 err = memalloc->unmap_buffer(base, size, hnd->offset); 110 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 111 err = memalloc->unmap_buffer(base, size, hn 310 unsigned int size = va_arg(args, unsigned int); local [all...] |
/hardware/qcom/display/msm8226/libhwcomposer/ |
H A D | hwc_ad.cpp | 189 size_t size; local 197 size = getBufferSizeAndDimensions(hnd->width, hnd->height, 200 if(!wb->configureMemory((uint32_t)size)) {
|
H A D | hwc_fbupdate.cpp | 50 unsigned int size = 0; local 64 mTileEnabled, size);
|
/hardware/qcom/display/msm8909/libgralloc/ |
H A D | alloc_controller.cpp | 412 unsigned int size = 0; local 418 size = alignedw * alignedh * 4; 421 size = alignedw * alignedh * 3; 425 size = alignedw * alignedh * 2; 430 size = ALIGN(alignedw*alignedh, 4096); 431 size += ALIGN(2 * ALIGN(width/2, 32) * ALIGN(height/2, 32), 4096); 437 size = ALIGN( alignedw * alignedh, 8192); 438 size += ALIGN( alignedw * ALIGN(height/2, 32), 8192); 445 size = alignedw*alignedh + 447 size 518 unsigned int size; local 536 unsigned int size; local 552 getBufferAttributes(int width, int height, int format, int usage, int& alignedw, int &alignedh, int& tileEnabled, unsigned int& size) argument [all...] |
H A D | framebuffer.cpp | 204 //adreno needs 4k aligned offsets. Max hole size is 4096-1 205 unsigned int size = roundUpToPageSize(info.yres * info.xres * local 211 int numberOfBuffers = (int)(finfo.smem_len/size); 227 info.yres_virtual = (uint32_t) ((size * numberOfBuffers) / line_length); 231 if (info.yres_virtual < ((size * 2) / line_length) ) { 233 info.yres_virtual = (int)(size / line_length);
|
H A D | gpu.cpp | 51 int gpu_context_t::gralloc_alloc_buffer(unsigned int size, int usage, argument 57 size = roundUpToPageSize(size); 72 size = ALIGN(size, data.align); 76 data.size = size; 86 eData.size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 172 private_handle_t *hnd = new private_handle_t(data.fd, size, flags, 222 //adreno needs FB size t 281 unsigned int size; local 357 unsigned int size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); local [all...] |
H A D | mapper.cpp | 66 unsigned int size = 0; local 73 size = hnd->size; 74 err = memalloc->map_buffer(&mappedAddress, size, 89 size = ROUND_UP_PAGESIZE(sizeof(MetaData_t)); 90 err = memalloc->map_buffer(&mappedAddress, size, 114 unsigned int size = hnd->size; local 117 err = memalloc->unmap_buffer(base, size, hnd->offset); 122 size 324 unsigned int size = va_arg(args, unsigned int); local [all...] |
/hardware/qcom/display/msm8909/libhwcomposer/ |
H A D | hwc_ad.cpp | 193 size_t size; local 201 size = getBufferSizeAndDimensions(hnd->width, hnd->height, 204 if(!wb->configureMemory((uint32_t)size)) {
|
H A D | hwc_fbupdate.cpp | 48 unsigned int size = 0; local 62 mTileEnabled, size);
|