Searched defs:res (Results 1 - 25 of 612) sorted by path

1234567891011>>

/frameworks/av/camera/
H A DCameraBase.cpp43 status_t res; local
44 res = parcel->writeInt32(facing);
45 if (res != OK) return res;
46 res = parcel->writeInt32(orientation);
47 return res;
51 status_t res; local
52 res = parcel->readInt32(&facing);
53 if (res != OK) return res;
59 auto res = parcel->writeString16(String16(cameraId)); local
68 auto res = parcel->readString16(&tempCameraId); local
239 binder::Status res = cs->getNumberOfCameras( local
[all...]
H A DCameraMetadata.cpp191 status_t res; local
196 if ( (res = checkType(tag, TYPE_INT32)) != OK) {
197 return res;
204 status_t res; local
209 if ( (res = checkType(tag, TYPE_BYTE)) != OK) {
210 return res;
217 status_t res; local
222 if ( (res = checkType(tag, TYPE_FLOAT)) != OK) {
223 return res;
230 status_t res; local
243 status_t res; local
256 status_t res; local
269 status_t res; local
282 status_t res; local
295 status_t res; local
357 status_t res; local
373 status_t res; local
385 status_t res; local
547 status_t res = OK; local
644 status_t res = OK; local
784 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.cpp166 status_t res = data.readInt64(&timestamp); local
167 if (res != OK) {
168 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
185 status_t res = data.readUint32(&n); local
186 if (res != OK) {
187 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
195 res = data.readInt64(&timestamps[i]);
196 if (res !
[all...]
H A DICameraRecordingProxy.cpp147 status_t res = data.readUint32(&n); local
148 if (res != OK) {
149 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
H A DICameraRecordingProxyListener.cpp119 status_t res = data.readInt64(&timestamp); local
120 if (res != OK) {
121 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
139 status_t res = data.readUint32(&n); local
140 if (res != OK) {
141 ALOGE("%s: Failed to read batch size: %s (%d)", __FUNCTION__, strerror(-res), res);
149 res = data.readInt64(&timestamps[i]);
150 if (res !
[all...]
H A DVendorTagDescriptor.cpp112 status_t res = OK; local
119 if ((res = parcel->readInt32(&tagCount)) != OK) {
121 return res;
136 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&tag))) != OK) {
142 res = BAD_VALUE;
145 if ((res = parcel->readInt32(&tagType)) != OK) {
151 res = BAD_VALUE;
157 res = NOT_ENOUGH_DATA;
161 if ((res = parcel->readInt32(reinterpret_cast<int32_t*>(&sectionIndex))) != OK) {
174 if (res !
260 status_t res = OK; local
349 status_t res = OK; local
369 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/ndk/impl/
H A DACameraManager.cpp143 binder::Status res = local
146 if (res.serviceSpecificErrorCode() ==
150 } else if (res.isOk()) {
162 __FUNCTION__, res.toString8().string());
/frameworks/av/camera/tests/
H A DCameraBinderTests.cpp304 binder::Status res; local
307 res = service->getNumberOfCameras(hardware::ICameraService::CAMERA_TYPE_ALL, &numCameras);
308 EXPECT_TRUE(res.isOk()) << res;
314 res = service->addListener(listener, &statuses);
315 EXPECT_TRUE(res.isOk()) << res;
322 res = service->supportsCameraApi(cameraId,
324 EXPECT_TRUE(res.isOk()) << res;
389 binder::Status res = service->connectDevice(callbacks, deviceId, String16("meeeeeeeee!"), local
401 binder::Status res = p.second->disconnect(); local
447 binder::Status res; local
[all...]
/frameworks/av/cmds/stagefright/
H A Dcodec.cpp348 int res; local
349 while ((res = getopt(argc, argv, "havpSDRT")) >= 0) {
350 switch (res) {
H A Dmediafilter.cpp673 int res; local
674 while ((res = getopt(argc, argv, "bcnrszTRSh")) >= 0) {
675 switch (res) {
H A Dmuxer.cpp242 int res; local
243 while ((res = getopt(argc, argv, "h?avo:s:e:r:w")) >= 0) {
244 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 Dstagefright.cpp704 int res; local
705 while ((res = getopt(argc, argv, "haqn:lm:b:ptsrow:kxSTd:D:")) >= 0) {
706 switch (res) {
751 if (res == 'n') {
753 } else if (res == 'm') {
756 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.cpp86 status_t res = session->provideKeyResponse(response); local
87 if (res == android::OK) {
92 return res;
H A DInitDataParser.cpp52 android::status_t res = parsePssh(initData, &keyIds); local
53 if (res != android::OK) {
54 return res;
/frameworks/av/include/media/
H A DInterpolator.h242 status_t res = parcel->writeInt32(mInterpolatorType) local
246 if (res != NO_ERROR) {
247 return res;
250 res = parcel->writeFloat(pt.first)
252 if (res != NO_ERROR) {
253 return res;
263 status_t res = parcel.readInt32(&type) local
268 if (res != NO_ERROR) {
269 return res;
276 res
[all...]
H A Dconvert.h236 int64_t res; local
238 if (!convertTo<std::string, int64_t>(str, res)) {
242 if (res > std::numeric_limits<int16_t>::max() || res < std::numeric_limits<int16_t>::min()) {
246 result = static_cast<int16_t>(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/libaaudio/src/binding/
H A DIAAudioService.cpp87 aaudio_result_t res; variable
88 reply.readInt32(&res);
89 return res;
138 aaudio_result_t res; variable
139 reply.readInt32(&res);
140 return res;
153 aaudio_result_t res; variable
154 reply.readInt32(&res);
155 return res;
168 aaudio_result_t res; variable
183 aaudio_result_t res; variable
205 aaudio_result_t res; variable
225 aaudio_result_t res; variable
[all...]

Completed in 214 milliseconds

1234567891011>>