Searched defs:res (Results 1 - 25 of 31) sorted by relevance

12

/device/generic/goldfish/camera/
H A DEmulatedFakeCamera.cpp50 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 DEmulatedQemuCamera.cpp54 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 DEmulatedQemuCameraDevice.cpp53 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 DJpegCompressor.cpp34 void* res = dlsym(dl, signature); local
35 assert (res != NULL);
37 return res;
H A DPreviewWindow.cpp54 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 DCallbackNotifier.cpp260 status_t res = local
264 if (res == NO_ERROR) {
H A DEmulatedCameraDevice.cpp95 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 DEmulatedCameraFactory.cpp50 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 DEmulatedFakeCameraDevice.cpp121 const status_t res = local
123 if (res == NO_ERROR) {
168 return res;
195 WorkerThread::SelectRes res = local
197 if (res == WorkerThread::EXIT_THREAD) {
H A DQemuClient.cpp342 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...]
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/
H A DRelayController.java3 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 DColorLEDController.java5 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
/device/generic/goldfish/opengl/shared/OpenglCodecCommon/
H A DSocketStream.cpp95 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 DWin32PipeStream.cpp182 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/generic/goldfish/opengl/system/OpenglSystemCommon/
H A DQemuPipeStream.cpp95 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/asus/fugu/power/
H A Dpower.c124 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/camera/fake-pipeline2/
H A DJpegCompressor.cpp61 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...]
/device/moto/shamu/camera/QCamera/HAL/core/src/
H A DQCameraStream.cpp73 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/flo/bdAddrLoader/
H A Daddrloader.c129 Res res = FAIL; local
/device/asus/fugu/recovery/
H A Drecovery_ui.cpp86 int res; local
96 res = ioctl(fb_dev, FBIO_PSB_SET_RMODE, &current_mode);
97 if (res) {
104 res = ioctl(fb_dev, FBIOGET_VSCREENINFO, &current_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/lge/hammerhead/bdAddrLoader/
H A Daddrloader.c125 Res res = FAIL; local
/device/lge/mako/bdAddrLoader/
H A Daddrloader.c129 Res res = FAIL; local
/device/moto/shamu/bdAddrLoader/
H A Daddrloader.c125 Res res = FAIL; local
/device/moto/shamu/camera/QCamera/HAL2/core/src/
H A DQCameraHWI.cpp128 int res; local
150 res = find_camera_metadata_entry(request,
153 if (res != NO_ERROR) {
158 res = tryRestartStreams(streams);
159 if (res != NO_ERROR) {
160 ALOGE("error tryRestartStreams %d", res);
/device/asus/fugu/libaudio/
H A DAudioStreamOut.cpp508 status_t res; local
510 res = mOwnerHAL.obtainOutput(*this, mask, &newOutput);
513 if (OK != res) {
519 " (res %d)", mask, getName(), res);

Completed in 1485 milliseconds

12