Searched refs:res (Results 1 - 25 of 1775) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraBase.cpp42 status_t res; local
43 res = parcel->writeInt32(facing);
44 if (res != OK) return res;
45 res = parcel->writeInt32(orientation);
46 return res;
50 status_t res; local
51 res = parcel->readInt32(&facing);
52 if (res != OK) return res;
214 binder::Status res = cs->getNumberOfCameras( local
[all...]
H A DCameraMetadata.cpp190 status_t res; local
195 if ( (res = checkType(tag, TYPE_INT32)) != OK) {
196 return res;
203 status_t res; local
208 if ( (res = checkType(tag, TYPE_BYTE)) != OK) {
209 return res;
216 status_t res; local
221 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) {
222 return res;
229 status_t res; local
242 status_t res; local
255 status_t res; local
268 status_t res; local
282 status_t res; local
343 status_t res; local
359 status_t res; local
371 status_t res; local
531 status_t res = OK; local
628 status_t res = OK; local
[all...]
H A DCameraParameters2.cpp106 ssize_t res = mMap.replaceValueFor(String8(key), String8(value)); local
107 LOG_ALWAYS_FATAL_IF(res < 0, "replaceValueFor(%s,%s) failed", key, value);
H A DCaptureResult.cpp83 status_t res = OK; local
84 res = mMetadata.readFromParcel(parcel);
85 if (res != OK) {
88 return res;
92 res = mResultExtras.readFromParcel(parcel);
93 if (res != OK) {
96 return res;
112 status_t res; local
114 res = mMetadata.writeToParcel(parcel);
115 if (res !
[all...]
H A DICameraClient.cpp142 status_t res = data.readInt64(&timestamp); local
143 if (res != OK) {
144 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
H A DICameraRecordingProxyListener.cpp88 status_t res = data.readInt64(&timestamp); local
89 if (res != OK) {
90 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
H A DVendorTagDescriptor.cpp100 status_t res = OK; local
107 if ((res = parcel->readInt32(&tagCount)) != OK) {
109 return res;
124 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) {
130 res = BAD_VALUE;
133 if ((res = parcel->readInt32(&tagType)) != OK) {
139 res = BAD_VALUE;
145 res = NOT_ENOUGH_DATA;
149 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionIndex))) != OK) {
162 if (res !
248 status_t res = OK; local
[all...]
/frameworks/av/camera/camera2/
H A DSubmitInfo.cpp26 status_t res; local
29 res = parcel->writeInt32(mRequestId);
30 if (res != OK) return res;
32 res = parcel->writeInt64(mLastFrameNumber);
33 return res;
37 status_t res; local
40 res = parcel->readInt32(&mRequestId);
41 if (res != OK) return res;
[all...]
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp295 binder::Status res; local
298 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras);
299 EXPECT_TRUE(res.isOk()) << res;
304 res = service->addListener(listener);
305 EXPECT_TRUE(res.isOk()) << res;
311 res = service->supportsCameraApi(i,
313 EXPECT_TRUE(res.isOk()) << res;
378 binder::Status res = service->connectDevice(callbacks, deviceId, String16("meeeeeeeee!"), local
390 binder::Status res = p.second->disconnect(); local
434 binder::Status res; local
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp346 int res; local
347 while ((res = getopt(argc, argv, "havpSDRT")) >= 0) {
348 switch (res) {
H A Dmediafilter.cpp671 int res; local
672 while ((res = getopt(argc, argv, "bcnrszTRSh")) >= 0) {
673 switch (res) {
H A Dmuxer.cpp243 int res; local
244 while ((res = getopt(argc, argv, "h?avo:s:e:r:w")) >= 0) {
245 switch (res) {
H A Drecordvideo.cpp181 int res; local
182 while ((res = getopt(argc, argv, "b:c:f:i:n:w:t:l:p:v:o:hs")) >= 0) {
183 switch (res) {
H A Dsf2.cpp590 int res; local
591 while ((res = getopt(argc, argv, "haSR")) >= 0) {
592 switch (res) {
H A Dstagefright.cpp701 int res; local
702 while ((res = getopt(argc, argv, "haqn:lm:b:ptsrow:kxSTd:D:")) >= 0) {
703 switch (res) {
748 if (res == 'n') {
750 } else if (res == 'm') {
753 CHECK_EQ(res, 'b');
/frameworks/av/drm/mediadrm/plugins/clearkey/
H A DCryptoPlugin.cpp67 status_t res = mSession->decrypt(keyId, iv, srcPtr, dstPtr, subSamples, local
69 if (res == android::OK) {
73 return static_cast<ssize_t>(res);
H A DDrmPlugin.cpp76 status_t res = session->provideKeyResponse(response); local
77 if (res == android::OK) {
80 return res;
H A DInitDataParser.cpp49 android::status_t res = parsePssh(initData, &keyIds); local
50 if (res != android::OK) {
51 return res;
/frameworks/av/include/media/stagefright/foundation/
H A DADebug.h66 AString res; \
68 res.append(a); \
69 res.append(" vs. "); \
70 res.append(b); \
72 return res; \
/frameworks/av/media/common_time/
H A Dlocal_clock.cpp35 int res; local
43 res = hw_get_module_by_class(LOCAL_TIME_HARDWARE_MODULE_ID, NULL, &mod);
44 if (res) {
45 ALOGE("Failed to open local time HAL module (res = %d)", res);
47 res = local_time_hw_device_open(mod, &dev_);
48 if (res) {
49 ALOGE("Failed to open local time HAL device (res = %d)", res);
/frameworks/av/media/img_utils/include/img_utils/
H A DEndianUtils.h134 status_t res = OK; local
140 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
142 return res;
151 if ((res = mOutput->write(reinterpret_cast<uint8_t*>(&tmp), 0, size))
153 return res;
163 return res;
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp49 status_t res = OK; local
50 if((res = mOutput->write(buf, offset, count)) == OK) {
53 return res;
/frameworks/av/media/libmedia/
H A DIMediaPlayer.cpp684 status_t res = getRetransmitEndpoint(&endpoint); local
686 reply->writeInt32(res);
/frameworks/av/media/libmediaplayerservice/
H A DMediaPlayerService.cpp1509 status_t res = mTrack->getTimestamp(ts); local
1510 if (res == OK) { // case 1: mixing audio tracks and offloaded tracks.
1526 } else if (res == WOULD_BLOCK) { // case 2: transitory state on start of a new track
1532 res = mTrack->getPosition(&numFramesPlayed);
1533 CHECK_EQ(res, (status_t)OK);
1869 status_t res = NO_ERROR; local
1873 res = t->setPlaybackRate(mPlaybackRate);
1874 if (res == NO_ERROR) {
1876 res = t->attachAuxEffect(mAuxEffectId);
1879 ALOGV("open() DONE status %d", res);
2043 status_t res = mTrack->setPlaybackRate(rate); local
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerRenderer.cpp339 status_t res = mAudioSink->getTimestamp(ts); local
340 if (res != OK) {

Completed in 599 milliseconds

1234567891011>>