/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_channel.cpp | 37 const int ret = buffer_.Alloc(width, height, layer_count, format, usage); local 38 if (ret < 0) { 40 strerror(-ret)); 41 *error = ret;
|
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 179 const int ret = target->AttachTask(task_id); local 180 ALOGW_IF(ret < 0 && ret != -EINVAL, 183 task_id, target_set.c_str(), strerror(-ret)); 243 const bool ret = base::WriteStringToFd(value, file.get()); local 244 return !ret ? -errno : 0;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic3DLUT.cpp | 128 uchar4 ret = convert_uchar4(v2); local 129 ret.w = in->w; 148 *out = ret;
|
/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 45 media_status_t ret = AImageReader_new( local 48 if (ret != AMEDIA_OK || mImgReader == nullptr) { 49 ALOGE("Error creating image reader. ret %d", ret); 52 ret = AImageReader_getWindow(mImgReader, &mNativeWindow); 53 if (ret != AMEDIA_OK || mNativeWindow == nullptr) { 54 ALOGE("Error creating native window. ret %d", ret); 58 ret = AImageReader_setImageListener(mImgReader, &mReaderCb); 88 media_status_t ret; local 232 media_status_t ret; local 267 media_status_t ret; local [all...] |
H A D | rsScriptC.cpp | 155 uint32_t ret = 0; local 161 ret = rsc->mHal.funcs.script.invokeRoot(rsc, this); 164 ALOGV("%p ScriptC::run invoking complete, ret=%i", rsc, ret); 167 return ret;
|
H A D | rsScriptGroup.cpp | 79 bool ret = true; local 92 ret &= calcOrderRecurse(nt, n->mOrder + 1); 94 return ret; 143 bool ret = true; local 150 ret &= calcOrderRecurse(n, 0); 189 return ret;
|
/frameworks/rs/script_api/ |
H A D | GenerateHeaderFiles.cpp | 215 auto ret = permutation.getReturn(); local 216 if (ret) { 217 *file << ret->rsType;
|
/frameworks/webview/chromium/loader/ |
H A D | loader.cpp | 157 jboolean ret = JNI_FALSE; local 162 ret = DoCreateRelroFile(lib_utf8, relro_utf8); 167 return ret; 181 jint ret = LIBLOAD_FAILED_JNI_CALL; local 186 ret = DoLoadWithRelroFile(env, lib_utf8, relro_utf8, clazzLoader); 191 return ret;
|
/frameworks/av/camera/ |
H A D | Camera.cpp | 91 binder::Status ret; local 93 ret = cs.get()->connectLegacy(cl, cameraId, halVersion, clientPackageName, 96 if (ret.isOk() && c->mCamera != nullptr) { 101 switch(ret.serviceSpecificErrorCode()) { 129 (cs != nullptr) ? "Service not available" : ret.toString8().string());
|
H A D | ICamera.cpp | 231 status_t ret = reply.readInt32(); local 232 return ret; 242 status_t ret = reply.readInt32(); local 243 return ret; 254 status_t ret = reply.readInt32(); local 255 return ret;
|
H A D | VendorTagDescriptor.cpp | 411 int ret = 0; local 414 ret = desc->second->getTagCount(); 419 return ret; 434 const char *ret = nullptr; local 437 ret = desc->second->getSectionName(tag); 442 return ret; 447 const char *ret = nullptr; local 450 ret = desc->second->getTagName(tag); 455 return ret; 460 int ret local [all...] |
/frameworks/av/camera/ndk/impl/ |
H A D | ACameraManager.cpp | 131 binder::Status ret = mCameraService->getCameraVendorTagDescriptor(/*out*/desc.get()); local 133 if (ret.isOk()) { 165 } else if (ret.serviceSpecificErrorCode() == 172 __FUNCTION__, ret.toString8().string()); 438 camera_status_t ret = getCameraCharacteristics(cameraId, &rawChars); local 440 if (ret != ACAMERA_OK) { 442 __FUNCTION__, cameraId, ret); 470 ret = ACAMERA_ERROR_CAMERA_DISCONNECTED; 473 ret = ACAMERA_ERROR_CAMERA_IN_USE; 476 ret [all...] |
/frameworks/av/media/img_utils/src/ |
H A D | TiffIfd.cpp | 103 status_t ret = OK; local 115 BAIL_ON_FAIL(out->write(&header, 0, 1), ret); 119 BAIL_ON_FAIL(mEntries[i]->writeTagInfo(valueOffset, out), ret); 125 BAIL_ON_FAIL(out->write(&footer, 0, 1), ret); 130 ZERO_TILL_WORD(out, calculateIfdSize(size), ret); 137 BAIL_ON_FAIL(mEntries[i]->writeData(out->getCurrentOffset(), out), ret); 150 return ret;
|
H A D | TiffWriter.cpp | 61 status_t ret = OK; local 93 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local 98 BAIL_ON_FAIL(ifd->writeData(offset, &endOut), ret); 113 if ((ret = sources[i]->writeToStream(endOut, sizeToWrite)) != OK) { 114 ALOGE("%s: Could not write to stream, received %d.", __FUNCTION__, ret); 115 return ret; 117 ZERO_TILL_WORD(&endOut, sizeToWrite, ret); 129 return ret; 133 status_t ret = OK; local 140 BAIL_ON_FAIL(writeFileHeader(endOut), ret); local 359 status_t ret = OK; local [all...] |
/frameworks/av/media/libeffects/testlibs/ |
H A D | EffectEqualizer.cpp | 133 int ret; local 152 ret = Equalizer_init(pContext); 153 if (ret < 0) { 156 return ret;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaRecorder.cpp | 271 status_t ret = remote()->transact(GET_METRICS, data, reply); local 272 if (ret == NO_ERROR) { 409 status_t ret = getMaxAmplitude(&max); local 411 reply->writeInt32(ret); 416 status_t ret = getMetrics(reply); local 417 return ret;
|
H A D | IMediaSource.cpp | 82 status_t ret = remote()->transact(START, data, &reply); local 83 if (ret == NO_ERROR && params) { 91 return ret; 108 status_t ret = remote()->transact(GETFORMAT, data, &reply); local 109 if (ret == NO_ERROR) { 118 status_t ret = readMultiple(&buffers, 1 /* maxNumBuffers */, options); local 121 ret, *buffer != nullptr, mBuffersSinceStop); 122 return ret; 137 status_t ret = remote()->transact(READMULTIPLE, data, &reply); local 139 if (ret ! 199 status_t ret = remote()->transact(SUPPORT_NONBLOCKING_READ, data, &reply); local 290 status_t ret = start(meta.get()); local 343 status_t ret = NO_ERROR; local [all...] |
/frameworks/av/media/libstagefright/ |
H A D | MediaCodecListOverrides.cpp | 273 AString ret; local 279 ret.append(setting); 281 return ret; 285 AString ret; local 296 ret.append(codec); 305 ret.append(setting); 307 ret.append(" </MediaCodec>\n"); 309 return ret;
|
H A D | NuMediaExtractor.cpp | 304 status_t ret = source->start(); local 305 if (ret != OK) { 306 return ret;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | DecTestBench.c | 94 H264SwDecRet ret; local 199 ret = H264SwDecInit(&decInst, disableOutputReordering); 200 if (ret != H264SWDEC_OK) 226 ret = H264SwDecDecode(decInst, &decInput, &decOutput); 228 switch(ret) 235 ret = H264SwDecGetInfo(decInst, &decInfo); 236 if (ret != H264SWDEC_OK) 298 if (ret == H264SWDEC_PIC_RDY)
|
/frameworks/av/media/ndk/ |
H A D | NdkImage.cpp | 194 status_t ret = local 196 if (ret != OK) { 197 ALOGE("%s: AImage %p failed to lock, error=%d", __FUNCTION__, this, ret); 675 media_status_t ret = image->getWidth(&width); local 676 if (ret != AMEDIA_OK) { 677 return ret; 680 ret = image->getHeight(&height); 681 if (ret != AMEDIA_OK) { 682 return ret; 722 media_status_t ret local 740 media_status_t ret = const_cast<AImage*>(image)->lockImage(); local 759 media_status_t ret = const_cast<AImage*>(image)->lockImage(); local [all...] |
/frameworks/av/services/soundtrigger/ |
H A D | SoundTriggerHalHidl.cpp | 47 int ret; local 51 ret = rc; 58 if (ret == 0) { 65 ALOGI("getProperties ret %d", ret); 66 return ret; 104 int ret; local 112 ret = retval; 119 ret = retval; 128 if (ret [all...] |
/frameworks/base/libs/hwui/renderstate/ |
H A D | RenderState.cpp | 152 GLuint ret; local 153 glGenFramebuffers(1, &ret); 154 return ret;
|
/frameworks/base/native/android/ |
H A D | sensor.cpp | 152 int ret = static_cast<SensorManager *>(manager)->createDirectChannel( local 155 return ret;
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/shadowutil/ |
H A D | SpotShadow.java | 46 private static void centroid2d(@NonNull float[] poly, int len, @NonNull float[] ret) { argument 65 ret[0] = centroidX; 66 ret[1] = centroidY; 74 * @param ret The array used to sotre the result. The length should be 3. 76 private static void centroid3d(@NonNull float[] poly, int len, @NonNull float[] ret) { argument 97 ret[0] = (float) (cx / (3 * area)); 98 ret[1] = (float) (cy / (3 * area)); 99 ret[2] = (float) (cz / (3 * area)); 410 float y3, float x4, float y4, @NonNull float[] ret) { 425 ret[ 409 lineIntersection(float x1, float y1, float x2, float y2, float x3, float y3, float x4, float y4, @NonNull float[] ret) argument [all...] |