/device/generic/goldfish/camera/ |
H A D | PreviewWindow.cpp | 54 status_t res = NO_ERROR; local 66 res = window->set_usage(window, GRALLOC_USAGE_SW_WRITE_OFTEN); 67 if (res == NO_ERROR) { 72 res = -res; // set_usage returns a negative errno. 74 __FUNCTION__, res, strerror(res)); 79 return res; 108 int res; local 123 res [all...] |
H A D | EmulatedFakeCamera.cpp | 50 status_t res = mFakeCameraDevice.Initialize(); local 51 if (res != NO_ERROR) { 52 return res; 64 res = EmulatedCamera::Initialize(); 65 if (res != NO_ERROR) { 66 return res;
|
H A D | EmulatedQemuCameraDevice.cpp | 53 status_t res = mQemuClient.connectClient(connect_str); local 54 if (res != NO_ERROR) { 55 return res; 59 res = EmulatedCameraDevice::Initialize(); 60 if (res == NO_ERROR) { 68 return res; 91 const status_t res = mQemuClient.queryConnect(); local 92 if (res == NO_ERROR) { 101 return res; 121 const status_t res local 152 status_t res = EmulatedCameraDevice::commonStartDevice(width, height, pix_fmt); local 197 status_t res = mQemuClient.queryStop(); local 237 WorkerThread::SelectRes res = local [all...] |
H A D | EmulatedCameraDevice.cpp | 95 const status_t res = startWorkerThread(one_burst); local 96 ALOGE_IF(res != NO_ERROR, "%s: startWorkerThread failed", __FUNCTION__); 97 return res; 109 const status_t res = stopWorkerThread(); local 110 ALOGE_IF(res != NO_ERROR, "%s: startWorkerThread failed", __FUNCTION__); 111 return res; 256 const status_t res = getWorkerThread()->startThread(one_burst); local 257 ALOGE_IF(res != NO_ERROR, "%s: Unable to start worker thread", __FUNCTION__); 258 return res; 270 const status_t res local 310 status_t res = EINVAL; local 364 int res = TEMP_FAILURE_RETRY(select(fd_num, fds, NULL, NULL, tvp)); local [all...] |
H A D | EmulatedQemuCamera.cpp | 54 status_t res = mQemuCameraDevice.Initialize(device_name); local 55 if (res != NO_ERROR) { 56 return res; 60 res = EmulatedCamera::Initialize(); 61 if (res != NO_ERROR) { 62 return res;
|
H A D | EmulatedFakeCamera2.cpp | 113 status_t res; local 115 res = constructStaticInfo(&mCameraInfo, true); 116 if (res != OK) { 118 __FUNCTION__, strerror(-res), res); 119 return res; 121 res = constructStaticInfo(&mCameraInfo, false); 122 if (res != OK) { 124 __FUNCTION__, strerror(-res), res); 144 status_t res; local 225 status_t res; local 320 status_t res; local 719 status_t res; local 726 status_t res; local 819 status_t res; local 942 status_t res; local 1044 status_t res; local 1142 status_t res; local 1214 status_t res; local 1401 status_t res; local 1420 status_t res; local 1437 status_t res; local 1597 status_t res; local [all...] |
H A D | QemuClient.cpp | 342 status_t res = sendMessage(query->mQuery, strlen(query->mQuery) + 1); local 343 if (res == NO_ERROR) { 345 res = receiveMessage(reinterpret_cast<void**>(&query->mReplyBuffer), 347 if (res == NO_ERROR) { 352 __FUNCTION__, query->mQuery, strerror(res)); 356 __FUNCTION__, query->mQuery, strerror(res)); 360 const status_t res1 = query->completeQuery(res); 361 ALOGE_IF(res1 != NO_ERROR && res1 != res, 452 const status_t res = query.getCompletionStatus(); local 453 ALOGE_IF(res ! 465 const status_t res = query.getCompletionStatus(); local 483 const status_t res = query.getCompletionStatus(); local 496 const status_t res = query.getCompletionStatus(); local 521 const status_t res = query.getCompletionStatus(); local [all...] |
H A D | JpegCompressor.cpp | 34 void* res = dlsym(dl, signature); local 35 assert (res != NULL); 37 return res;
|
H A D | EmulatedCameraFactory.cpp | 50 status_t res; local 102 res = mEmulatedCameras[camera_id]->Initialize(); 103 if (res != NO_ERROR) { 105 __FUNCTION__, camera_id, strerror(-res), res); 159 res = mEmulatedCameras[camera_id]->Initialize(); 160 if (res != NO_ERROR) { 162 __FUNCTION__, camera_id, strerror(-res), res); 324 status_t res local [all...] |
H A D | EmulatedCamera.cpp | 194 status_t res = EINVAL; local 200 res = getCameraDevice()->connectDevice(); 201 if (res == NO_ERROR) { 206 return -res; 339 status_t res; local 391 res = camera_dev->startDevice(width, height, org_fmt); 392 if (res != NO_ERROR) { 396 return res; 402 res = camera_dev->startDeliveringFrames(true); 403 if (res ! 545 status_t res = mPreviewWindow.startPreview(); local 627 status_t res = NO_ERROR; local 650 status_t res = NO_ERROR; local [all...] |
H A D | EmulatedFakeCamera3.cpp | 152 status_t res; local 159 res = constructStaticInfo(); 160 if (res != OK) { 162 __FUNCTION__, strerror(-res), res); 163 return res; 172 status_t res; local 182 res = mSensor->startUp(); 183 if (res != NO_ERROR) return res; 211 status_t res; local 746 status_t res; local 1330 status_t res; local 1853 status_t res; local 1874 status_t res; local [all...] |
/device/generic/goldfish/opengl/system/OpenglSystemCommon/ |
H A D | QemuPipeStream.cpp | 95 size_t res = len; local 98 while (res > 0) { 99 ssize_t stat = ::write(m_sock, (const char *)(buf) + (len - res), res); 101 res -= stat; 128 size_t res = len; local 129 while (res > 0) { 130 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, len); 143 res -= stat; 176 int res local [all...] |
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/ |
H A D | SocketStream.cpp | 95 size_t res = size; 98 while (res > 0) { 99 ssize_t stat = ::send(m_sock, (const char *)buffer + (size - res), res, 0); 107 res -= stat; 120 size_t res = len; local 121 while (res > 0) { 122 ssize_t stat = ::recv(m_sock, (char *)(buf) + len - res, res, 0); 124 res 157 int res = 0; local [all...] |
H A D | Win32PipeStream.cpp | 182 size_t res = size; 185 while (res > 0) { 187 if (! ::WriteFile(m_pipe, (const char *)m_buf + (size - res), res, &written, NULL)) { 192 res -= written; 208 size_t res = len; local 209 while (res > 0) { 211 if (! ::ReadFile(m_pipe, (char *)buf + (len - res), res, &readcount, NULL) || readcount == 0) { 215 res [all...] |
/device/sample/apps/client/src/com/example/android/platform_library/client/ |
H A D | Client.java | 35 int res = pl.getInt(false); 39 tv.setText("Got from lib: " + res);
|
/device/asus/fugu/recovery/ |
H A D | recovery_ui.cpp | 86 int res; local 96 res = ioctl(fb_dev, FBIO_PSB_SET_RMODE, ¤t_mode); 97 if (res) { 104 res = ioctl(fb_dev, FBIOGET_VSCREENINFO, ¤t_mode); 105 if (res) { 106 fprintf(stderr, "FAIL: unable to get mode, err %d\n", res); 110 res = ioctl(fb_dev, FBIOBLANK, FB_BLANK_POWERDOWN); 111 if (res) { 112 fprintf(stderr, "FAIL: unable to blank display, err %d\n", res); 124 res [all...] |
/device/generic/goldfish/camera/fake-pipeline2/ |
H A D | JpegCompressor.cpp | 61 status_t res; local 62 res = run("EmulatedFakeCamera2::JpegCompressor"); 63 if (res != OK) { 65 __FUNCTION__, strerror(-res), res); 68 return res; 72 status_t res; local 88 res = compress(); 92 return res; 105 status_t res; local 218 status_t res = OK; local 238 status_t res; local [all...] |
H A D | Sensor.cpp | 124 int res; local 126 res = run("EmulatedFakeCamera2::Sensor", 129 if (res != OK) { 130 ALOGE("Unable to start up sensor capture thread: %d", res); 132 return res; 138 int res; local 139 res = requestExitAndWait(); 140 if (res != OK) { 141 ALOGE("Unable to shut down sensor capture thread: %d", res); 143 return res; 179 int res; local 196 int res; local [all...] |
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
H A D | AccessoryController.java | 3 import android.content.res.Resources;
|
H A D | RelayController.java | 3 import android.content.res.Resources; 24 Resources res) { 28 mOffBackground = res 30 mOnBackground = res.getDrawable(R.drawable.toggle_button_on_holo_dark); 23 RelayController(DemoKitActivity activity, int relayNumber, Resources res) argument
|
H A D | ColorLEDController.java | 5 import android.content.res.Resources; 58 Resources res, boolean vertical) { 62 mRed = res.getDrawable(R.drawable.scrubber_vertical_red_holo_dark); 63 mGreen = res 65 mBlue = res 68 mRed = res 70 mGreen = res 72 mBlue = res 57 ColorLEDController(DemoKitActivity activity, int number, Resources res, boolean vertical) argument
|
H A D | Slider.java | 4 import android.content.res.Resources; 75 Resources res = context.getResources(); 77 mBackground = res 80 mBackground = res 83 mIndicator = res.getDrawable(R.drawable.scrubber_control_holo_dark);
|
/device/moto/shamu/camera/QCamera/HAL/core/src/ |
H A D | QCameraStream.cpp | 73 void QCameraStream::setResolution(mm_camera_dimension_t *res) argument 75 mWidth = res->width; 76 mHeight = res->height; 78 bool QCameraStream::isResolutionSame(mm_camera_dimension_t *res) argument 80 if (mWidth != res->width || mHeight != res->height) 85 void QCameraStream::getResolution(mm_camera_dimension_t *res) argument 87 res->width = mWidth; 88 res->height = mHeight;
|
/device/asus/fugu/power/ |
H A D | power.c | 124 static inline void timespec_sub(struct timespec *res, struct timespec *a, struct timespec *b) argument 126 res->tv_sec = a->tv_sec - b->tv_sec; 128 res->tv_nsec = a->tv_nsec - b->tv_nsec; 130 res->tv_nsec = 1000000000 - b->tv_nsec + a->tv_nsec; 131 res->tv_sec--;
|
/device/generic/goldfish/opengl/tests/gles_android_wrapper/ |
H A D | egl.cpp | 326 EGLBoolean res; local 329 res = getDispatch()->eglChooseConfig(dpy, 344 res = getDispatch()->eglChooseConfig(dpy, attrib_list, configs, config_size, num_config); 346 return res; 397 EGLBoolean res = getDispatch()->eglDestroySurface(dpy, surface); local 398 if (res && surface != EGL_NO_SURFACE) { 404 return res; 409 EGLBoolean res = getDispatch()->eglQuerySurface(dpy, surface, attribute, value); local 410 if (res && attribute == EGL_RENDERABLE_TYPE) { 413 return res; 509 EGLBoolean res = EGL_FALSE; local 532 EGLBoolean res = getDispatch()->eglMakeCurrent(dpy, draw, read, aglContext); local [all...] |