/frameworks/av/camera/ |
H A D | CameraBase.cpp | 42 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 D | CameraMetadata.cpp | 190 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 D | CameraParameters2.cpp | 106 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 D | CaptureResult.cpp | 83 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 D | ICameraClient.cpp | 142 status_t res = data.readInt64(×tamp); local 143 if (res != OK) { 144 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
|
H A D | ICameraRecordingProxyListener.cpp | 88 status_t res = data.readInt64(×tamp); local 89 if (res != OK) { 90 ALOGE("%s: Failed to read timestamp: %s (%d)", __FUNCTION__, strerror(-res), res);
|
H A D | VendorTagDescriptor.cpp | 100 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*>(§ionIndex))) != OK) { 162 if (res ! 248 status_t res = OK; local [all...] |
/frameworks/av/camera/camera2/ |
H A D | SubmitInfo.cpp | 26 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 D | CameraBinderTests.cpp | 295 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 D | codec.cpp | 346 int res; local 347 while ((res = getopt(argc, argv, "havpSDRT")) >= 0) { 348 switch (res) {
|
H A D | mediafilter.cpp | 671 int res; local 672 while ((res = getopt(argc, argv, "bcnrszTRSh")) >= 0) { 673 switch (res) {
|
H A D | muxer.cpp | 243 int res; local 244 while ((res = getopt(argc, argv, "h?avo:s:e:r:w")) >= 0) { 245 switch (res) {
|
H A D | recordvideo.cpp | 181 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 D | sf2.cpp | 590 int res; local 591 while ((res = getopt(argc, argv, "haSR")) >= 0) { 592 switch (res) {
|
H A D | stagefright.cpp | 701 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 D | CryptoPlugin.cpp | 67 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 D | DrmPlugin.cpp | 76 status_t res = session->provideKeyResponse(response); local 77 if (res == android::OK) { 80 return res;
|
H A D | InitDataParser.cpp | 49 android::status_t res = parsePssh(initData, &keyIds); local 50 if (res != android::OK) { 51 return res;
|
/frameworks/av/include/media/stagefright/foundation/ |
H A D | ADebug.h | 66 AString res; \ 68 res.append(a); \ 69 res.append(" vs. "); \ 70 res.append(b); \ 72 return res; \
|
/frameworks/av/media/common_time/ |
H A D | local_clock.cpp | 35 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 D | EndianUtils.h | 134 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 D | EndianUtils.cpp | 49 status_t res = OK; local 50 if((res = mOutput->write(buf, offset, count)) == OK) { 53 return res;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaPlayer.cpp | 684 status_t res = getRetransmitEndpoint(&endpoint); local 686 reply->writeInt32(res);
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | MediaPlayerService.cpp | 1509 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 D | NuPlayerRenderer.cpp | 339 status_t res = mAudioSink->getTimestamp(ts); local 340 if (res != OK) {
|