/device/samsung/manta/recovery/ |
D | recovery_updater.c | 70 char buffer[8]; in get_bootflag() local 71 if (fread(buffer, 1, 8, f) != 8) { in get_bootflag() 77 buffer[0], buffer[1], buffer[2], buffer[3], in get_bootflag() 78 buffer[4], buffer[5], buffer[6], buffer[7]); in get_bootflag() 80 if (strncmp(buffer, "MANTABL", 7) != 0) return 0; in get_bootflag() 81 if (buffer[7] == '1') return 1; in get_bootflag() 82 if (buffer[7] == '2') return 2; in get_bootflag() 87 unsigned char buffer[9] = "MANTABLx"; in set_bootflag() local 88 buffer[7] = '0' + value; in set_bootflag() 89 copy_block(f, buffer, 0, 8, BOOTFLAG_OFFSET); in set_bootflag()
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
D | DemoKitActivity.java | 260 byte[] buffer = new byte[16384]; in run() 265 ret = mInputStream.read(buffer); in run() 274 switch (buffer[i]) { in run() 278 m.obj = new SwitchMsg(buffer[i + 1], buffer[i + 2]); in run() 288 m.obj = new TemperatureMsg(composeInt(buffer[i + 1], in run() 289 buffer[i + 2])); in run() 298 m.obj = new LightMsg(composeInt(buffer[i + 1], in run() 299 buffer[i + 2])); in run() 308 m.obj = new JoyMsg(buffer[i + 1], buffer[i + 2]); in run() 315 Log.d(TAG, "unknown msg: " + buffer[i]); in run() [all …]
|
/device/generic/goldfish/camera/ |
D | PreviewWindow.cpp | 139 buffer_handle_t* buffer = NULL; in onNextFrameAvailable() local 141 res = mPreviewWindow->dequeue_buffer(mPreviewWindow, &buffer, &stride); in onNextFrameAvailable() 142 if (res != NO_ERROR || buffer == NULL) { in onNextFrameAvailable() 149 res = mPreviewWindow->lock_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 153 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 162 res = grbuffer_mapper.lock(*buffer, GRALLOC_USAGE_SW_WRITE_OFTEN, rect, &img); in onNextFrameAvailable() 166 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 176 mPreviewWindow->enqueue_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 179 mPreviewWindow->cancel_buffer(mPreviewWindow, buffer); in onNextFrameAvailable() 181 grbuffer_mapper.unlock(*buffer); in onNextFrameAvailable()
|
D | EmulatedCameraHotplugThread.cpp | 148 char buffer[EVENT_BUF_LEN]; in threadLoop() local 150 read(mInotifyFd, buffer, EVENT_BUF_LEN)); in threadLoop() 164 inotify_event* event = (inotify_event*) &buffer[i]; in threadLoop() 348 char buffer[1]; in readFile() local 352 read(fd, buffer, sizeof(buffer))); in readFile() 357 __FUNCTION__, filePath.string(), length, buffer[0]); in readFile() 361 } else if (buffer[0] == '0') { in readFile()
|
D | EmulatedCameraDevice.cpp | 158 status_t EmulatedCameraDevice::getCurrentPreviewFrame(void* buffer) in getCurrentPreviewFrame() argument 164 if (mCurrentFrame == NULL || buffer == NULL) { in getCurrentPreviewFrame() 172 YV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame() 175 YU12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame() 178 NV21ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame() 181 NV12ToRGB32(mCurrentFrame, buffer, mFrameWidth, mFrameHeight); in getCurrentPreviewFrame()
|
D | EmulatedQemuCameraDevice.cpp | 219 status_t EmulatedQemuCameraDevice::getCurrentPreviewFrame(void* buffer) in getCurrentPreviewFrame() argument 223 memcpy(buffer, mPreviewFrame, mTotalPixels * 4); in getCurrentPreviewFrame() 226 return EmulatedCameraDevice::getCurrentPreviewFrame(buffer); in getCurrentPreviewFrame()
|
/device/generic/goldfish/opengl/system/renderControl_enc/ |
D | renderControl.attrib | 12 dir buffer out 13 len buffer bufferSize 16 dir buffer out 17 len buffer bufferSize 24 dir buffer out 25 len buffer bufSize
|
D | renderControl_entry.cpp | 11 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize); 12 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize); 14 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer); 55 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcQueryEGLString() argument 58 return ctx->rcQueryEGLString(ctx, name, buffer, bufferSize); in rcQueryEGLString() 61 EGLint rcGetGLString(EGLenum name, void* buffer, EGLint bufferSize) in rcGetGLString() argument 64 return ctx->rcGetGLString(ctx, name, buffer, bufferSize); in rcGetGLString() 73 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer) in rcGetConfigs() argument 76 return ctx->rcGetConfigs(ctx, bufSize, buffer); in rcGetConfigs()
|
D | README | 16 EGLint rcQueryEGLString(EGLenum name, void* buffer, EGLint bufferSize); 18 if buffer is NULL or the bufferSize is not big enough the return value 20 otherwise the string value is copied to buffer and its size is 28 EGLint rcGetConfigs(uint32_t bufSize, GLuint* buffer); 31 bufSize is the size of buffer, the size should be at least equal to 36 of configs and buffer is filled as follows: The first 'numAttribs' 91 This flushes the current window color buffer 94 This set the target color buffer for a windowSurface, when set the 105 immediatly, the buffer will be displayed at the next swap interval. 118 posts for the buffer requested previously through rcFBPost has been [all …]
|
D | renderControl.in | 3 GL_ENTRY(EGLint, rcQueryEGLString, EGLenum name, void *buffer, EGLint bufferSize) 4 GL_ENTRY(EGLint, rcGetGLString, EGLenum name, void *buffer, EGLint bufferSize) 6 GL_ENTRY(EGLint, rcGetConfigs, uint32_t bufSize, GLuint *buffer)
|
D | renderControl_enc.h | 27 EGLint rcQueryEGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize); 28 EGLint rcGetGLString_enc(void *self , EGLenum name, void* buffer, EGLint bufferSize); 30 EGLint rcGetConfigs_enc(void *self , uint32_t bufSize, GLuint* buffer);
|
/device/asus/grouper/audio/ |
D | audio_hw.c | 123 int16_t *buffer; member 144 int16_t *buffer; member 166 struct resampler_buffer* buffer); 168 struct resampler_buffer* buffer); 225 if (out->buffer) { in do_out_standby() 226 free(out->buffer); in do_out_standby() 227 out->buffer = NULL; in do_out_standby() 246 if (in->buffer) { in do_in_standby() 247 free(in->buffer); in do_in_standby() 248 in->buffer = NULL; in do_in_standby() [all …]
|
/device/lge/hammerhead/liblight/ |
D | lights.c | 66 char buffer[32] = {0,}; in write_int() local 67 int bytes = snprintf(buffer, sizeof(buffer), "%d\n", value); in write_int() 68 int amt = write(fd, buffer, bytes); in write_int() 87 char buffer[32] = {0,}; in write_on_off() local 88 int bytes = snprintf(buffer, sizeof(buffer), "%d %d\n", on, off); in write_on_off() 89 int amt = write(fd, buffer, bytes); in write_on_off()
|
/device/generic/goldfish/libqemu/ |
D | test_guest_2.c | 58 uint8_t* buffer; in main() local 152 buffer = malloc(bufferSize); in main() 156 buffer[nn] = (uint8_t)nn; in main() 163 int ret = pipe_send(pipe, buffer, bufferSize); in main() 189 if (memcmp(buffer, buffer2, bufferSize) != 0) { in main() 200 if (memcmp(buffer+nn, buffer2+nn, avail) != 0) { in main() 208 printf(" %02x", buffer[nn+mm]); in main()
|
/device/lge/mako/camera/ |
D | QCameraHWI_Mem.cpp | 382 char buffer[SIZE]; in dump() local 385 snprintf(buffer, 255, "QualcommCameraHardware::AshmemPool::dump\n"); in dump() 386 result.append(buffer); in dump() 388 snprintf(buffer, 255, "mem pool name (%s)\n", mName); in dump() 389 result.append(buffer); in dump() 392 snprintf(buffer, 255, "heap base(%p), size(%d), flags(%d), device(%s)\n", in dump() 395 result.append(buffer); in dump() 397 snprintf(buffer, 255, in dump() 400 result.append(buffer); in dump()
|
D | QCameraHWI_Parm.cpp | 443 char buffer[32]; in create_sizes_str() local 446 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); in create_sizes_str() 447 str.append(buffer); in create_sizes_str() 450 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); in create_sizes_str() 451 str.append(buffer); in create_sizes_str() 471 char buffer[32]; in create_fps_str() local 474 snprintf(buffer, sizeof(buffer), "(%d,%d)", fps[0].minFPS, fps[0].maxFPS); in create_fps_str() 475 str.append(buffer); in create_fps_str() 478 snprintf(buffer, sizeof(buffer), ",(%d,%d)", fps[i].minFPS, fps[i].maxFPS); in create_fps_str() 479 str.append(buffer); in create_fps_str() [all …]
|
D | QualcommCameraHardware.cpp | 911 char buffer[32]; in create_sizes_str() local 914 sprintf(buffer, "%dx%d", sizes[0].width, sizes[0].height); in create_sizes_str() 915 str.append(buffer); in create_sizes_str() 918 sprintf(buffer, ",%dx%d", sizes[i].width, sizes[i].height); in create_sizes_str() 919 str.append(buffer); in create_sizes_str() 926 char buffer[32]; in create_fps_str() local 929 sprintf(buffer, "(%d,%d)", fps[0].minFPS, fps[0].maxFPS); in create_fps_str() 930 str.append(buffer); in create_fps_str() 933 sprintf(buffer, ",(%d,%d)", fps[i].minFPS, fps[i].maxFPS); in create_fps_str() 934 str.append(buffer); in create_fps_str() [all …]
|
/device/generic/goldfish/lights/ |
D | lights_qemu.c | 85 char buffer[64]; in set_light_backlight() local 86 snprintf( buffer, sizeof(buffer), "power:light:brightness:lcd_backlight:%d", brightness ); in set_light_backlight() 87 D( "%s: lcd_backlight command: %s", __FUNCTION__, buffer ); in set_light_backlight() 90 if (qemud_channel_send( fd, buffer, -1 ) < 0) { in set_light_backlight()
|
/device/lge/mako/camera/QCamera/HAL/core/src/ |
D | QCameraHWI_Mem.cpp | 379 char buffer[SIZE]; in dump() local 382 snprintf(buffer, 255, "QualcommCameraHardware::AshmemPool::dump\n"); in dump() 383 result.append(buffer); in dump() 385 snprintf(buffer, 255, "mem pool name (%s)\n", mName); in dump() 386 result.append(buffer); in dump() 389 snprintf(buffer, 255, "heap base(%p), size(%d), flags(%d), device(%s)\n", in dump() 392 result.append(buffer); in dump() 394 snprintf(buffer, 255, in dump() 397 result.append(buffer); in dump()
|
D | QCameraHWI_Parm.cpp | 444 char buffer[32]; in create_sizes_str() local 447 snprintf(buffer, sizeof(buffer), "%dx%d", sizes[0].width, sizes[0].height); in create_sizes_str() 448 str.append(buffer); in create_sizes_str() 451 snprintf(buffer, sizeof(buffer), ",%dx%d", sizes[i].width, sizes[i].height); in create_sizes_str() 452 str.append(buffer); in create_sizes_str() 472 char buffer[32]; in create_fps_str() local 475 snprintf(buffer, sizeof(buffer), "(%d,%d)", fps[0].minFPS, fps[0].maxFPS); in create_fps_str() 476 str.append(buffer); in create_fps_str() 479 snprintf(buffer, sizeof(buffer), ",(%d,%d)", fps[i].minFPS, fps[i].maxFPS); in create_fps_str() 480 str.append(buffer); in create_fps_str() [all …]
|
/device/samsung/manta/audio/ |
D | audio_hw.c | 179 int16_t *buffer; member 805 struct resampler_buffer* buffer) in get_next_buffer() argument 810 if (buffer_provider == NULL || buffer == NULL) in get_next_buffer() 817 buffer->raw = NULL; in get_next_buffer() 818 buffer->frame_count = 0; in get_next_buffer() 825 (void*)in->buffer, in get_next_buffer() 829 buffer->raw = NULL; in get_next_buffer() 830 buffer->frame_count = 0; in get_next_buffer() 839 in->buffer[i] = in->buffer[i * 2]; in get_next_buffer() 842 buffer->frame_count = (buffer->frame_count > in->frames_in) ? in get_next_buffer() [all …]
|
/device/asus/grouper/liblights/ |
D | lights.c | 42 char buffer[20]; in write_int() local 43 int bytes = sprintf(buffer, "%d\n", value); in write_int() 44 int amt = write(fd, buffer, bytes); in write_int()
|
/device/asus/flo/camera/QCamera2/HAL3/ |
D | QCamera3Channel.h | 48 camera3_stream_buffer_t *buffer, 142 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber); 150 mm_camera_buf_def_t* getInternalFormatBuffer(buffer_handle_t* buffer); 180 virtual int32_t request(buffer_handle_t *buffer, uint32_t frameNumber); 208 virtual int32_t request(buffer_handle_t *buffer,
|
/device/generic/goldfish/opengl/system/egl/ |
D | egl.cpp | 245 android_native_buffer_t* buffer; member 253 buffer(NULL) in egl_window_surface_t() 266 if (nativeWindow->dequeueBuffer_DEPRECATED(nativeWindow, &buffer) != NO_ERROR) { in init() 278 ((cb_handle_t*)(buffer->handle))->hostHandle); in init() 301 if (buffer) { in ~egl_window_surface_t() 302 nativeWindow->cancelBuffer_DEPRECATED(nativeWindow, buffer); in ~egl_window_surface_t() 318 nativeWindow->queueBuffer_DEPRECATED(nativeWindow, buffer); in swapBuffers() 319 if (nativeWindow->dequeueBuffer_DEPRECATED(nativeWindow, &buffer)) { in swapBuffers() 320 buffer = NULL; in swapBuffers() 325 ((cb_handle_t *)(buffer->handle))->hostHandle); in swapBuffers() [all …]
|
/device/lge/mako/camera/inc/ |
D | omx_jpeg_common.h | 259 OMX_IN OMX_U8* buffer); 272 OMX_IN OMX_BUFFERHEADERTYPE* buffer); 276 OMX_IN OMX_BUFFERHEADERTYPE* buffer); 280 OMX_IN OMX_BUFFERHEADERTYPE* buffer);
|