/frameworks/base/cmds/statsd/src/external/ |
H A D | StatsPuller.cpp | 58 bool ret = PullInternal(&mCachedData); local 63 if (ret && mCachedData.size() > 0) { 67 return ret; 76 int ret = mCachedData.size(); local 79 return ret;
|
/frameworks/base/core/jni/ |
H A D | android_security_Scrypt.cpp | 41 jbyteArray ret = env->NewByteArray(outLen); local 45 jbyte* retPtr = (jbyte*)env->GetByteArrayElements(ret, NULL); 52 env->ReleaseByteArrayElements(ret, retPtr, 0); 55 return ret;
|
H A D | android_hardware_SerialPort.cpp | 178 int ret = read(fd, buf, length); local 179 if (ret > 0) { 181 env->SetByteArrayRegion(buffer, 0, ret, buf); 185 if (ret < 0) 187 return ret; 201 int ret = read(fd, buf, length); local 202 if (ret < 0) 204 return ret; 218 jint ret = write(fd, buf, length); local 220 if (ret < 234 int ret = write(fd, buf, length); local [all...] |
H A D | android_text_AndroidCharacter.cpp | 161 jboolean ret = JNI_FALSE; local 170 ret = JNI_TRUE; 173 return ret;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_UsbDescriptorParser.cpp | 52 jbyteArray ret = NULL; local 56 ret = env->NewByteArray(numBytes); 57 env->SetByteArrayRegion(ret, 0, numBytes, buffer); 62 return ret;
|
/frameworks/native/libs/binder/ |
H A D | IActivityManager.cpp | 41 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); local 43 if (ret == NO_ERROR) {
|
/frameworks/native/libs/vr/libdisplay/ |
H A D | shared_buffer_helpers.cpp | 86 const auto ret = buffer_->Lock(usage, 0, 0, width, height, &address_); local 88 if (ret < 0 || !address_) { 89 ALOGE("Pose failed to map ring buffer: ret:%d, addr:%p", ret, address_);
|
/frameworks/native/libs/vr/libvrflinger/ |
H A D | acquired_buffer.cpp | 18 const int ret = buffer->Acquire(&fence); local 21 *error = ret; 23 if (ret < 0) { 25 strerror(-ret)); 58 const int ret = sync_wait(acquire_fence_.Get(), 0); local 59 ALOGD_IF(TRACE || (ret < 0 && errno != ETIME), 62 buffer_->id(), acquire_fence_.Get(), ret, ret < 0 ? errno : 0); 63 if (ret == 0) { 68 return ret 86 const int ret = buffer_->ReleaseAsync(); local [all...] |
/frameworks/native/opengl/libs/GLES2/ |
H A D | gl2.cpp | 118 "ret \n" \ 152 "ret\n" \ 304 const GLubyte * ret = egl_get_string_for_current_context(name); local 305 if (ret == NULL) { 307 if(_c) ret = _c->glGetString(name); 309 return ret; 313 const GLubyte * ret = egl_get_string_for_current_context(name, index); local 314 if (ret == NULL) { 316 if(_c) ret = _c->glGetStringi(name, index); 318 return ret; [all...] |
/frameworks/native/services/sensorservice/tests/ |
H A D | sensorservicetest.cpp | 89 int32_t ret = loop->pollOnce(-1); local 90 switch (ret) { 104 printf("ugh? poll returned %d\n", ret);
|
/frameworks/native/services/vr/hardware_composer/ |
H A D | vr_composer.cpp | 71 binder::Status ret = callback_->onNewFrame(parcelable_frame, &fence); local 72 if (!ret.isOk()) 73 ALOGE("Failed to send new frame: %s", ret.toString8().string());
|
/frameworks/rs/rsov/compiler/spirit/ |
H A D | pass_queue_test.cpp | 35 auto ret = new IAddInst(mul->mResultType, mul->mOperand1, mul->mOperand2); variable 36 ret->setId(mul->getId()); 37 return ret; 44 auto ret = new SDivInst(add->mResultType, add->mOperand1, add->mOperand2); variable 45 ret->setId(add->getId()); 46 return ret; 54 auto ret = new IMulInst(add->mResultType, add, add); variable 55 ret->setId(add->getId()); 56 return ret;
|
H A D | transformer_test.cpp | 34 auto ret = new IAddInst(mul->mResultType, mul->mOperand1, mul->mOperand2); variable 35 ret->setId(mul->getId()); 36 return ret; 51 auto ret = new IAddInst(DoubleTy, mul, ConstDouble2); variable 53 IdResult id = ret->getId(); 54 ret->setId(mul->getId()); 57 return ret;
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | TiffEntryImpl.h | 125 status_t ret = OK; 126 BAIL_ON_FAIL(out->write(&mTag, 0, 1), ret); 127 BAIL_ON_FAIL(out->write(&mType, 0, 1), ret); 128 BAIL_ON_FAIL(out->write(&mCount, 0, 1), ret); 132 BAIL_ON_FAIL(out->write(&offset, 0, 1), ret); 143 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret); 144 ZERO_TILL_WORD(out, dataSize, ret); 146 return ret; 151 status_t ret = OK; local 170 BAIL_ON_FAIL(out->write(mData.array(), 0, count), ret); 185 status_t ret = OK; local 205 status_t ret = OK; local [all...] |
/frameworks/av/media/libaudioclient/tests/ |
H A D | test_create_audiorecord.cpp | 40 int ret = 0; local 81 ret = 1; 119 return ret;
|
/frameworks/av/media/libaudiohal/2.0/ |
H A D | EffectsFactoryHalHidl.cpp | 50 Return<void> ret = mEffectsFactory->getAllDescriptors( local 57 if (ret.isOk()) { 61 return processReturn(__FUNCTION__, ret); 93 Return<void> ret = mEffectsFactory->getDescriptor(hidlUuid, local 100 if (ret.isOk()) { 105 return processReturn(__FUNCTION__, ret); 115 Return<void> ret = mEffectsFactory->createEffect( local 123 if (ret.isOk()) { 128 return processReturn(__FUNCTION__, ret); 135 Return<void> ret local [all...] |
/frameworks/av/media/libaudiohal/4.0/ |
H A D | EffectsFactoryHalHidl.cpp | 51 Return<void> ret = mEffectsFactory->getAllDescriptors( local 58 if (ret.isOk()) { 62 return processReturn(__FUNCTION__, ret); 94 Return<void> ret = mEffectsFactory->getDescriptor(hidlUuid, local 101 if (ret.isOk()) { 106 return processReturn(__FUNCTION__, ret); 116 Return<void> ret = mEffectsFactory->createEffect( local 124 if (ret.isOk()) { 129 return processReturn(__FUNCTION__, ret); 136 Return<void> ret local [all...] |
/frameworks/av/media/libeffects/factory/ |
H A D | EffectsFactoryState.c | 40 int ret = 0; local 61 ret = -ENOENT; 70 return ret;
|
/frameworks/av/media/libmedia/ |
H A D | IMediaExtractorService.cpp | 50 status_t ret = remote()->transact(MAKE_EXTRACTOR, data, &reply); local 51 if (ret == NO_ERROR) { 64 status_t ret = remote()->transact(MAKE_IDATA_SOURCE_FD, data, &reply); local 65 ALOGV("fd:%d offset:%lld length:%lld ret:%d", 66 fd, (long long)offset, (long long)length, ret); 67 if (ret == NO_ERROR) { 86 status_t ret = data.readStrongBinder(&b); local 87 if (ret != NO_ERROR || b == NULL) { 89 return ret;
|
/frameworks/av/media/libnbaio/ |
H A D | AudioStreamOutSink.cpp | 66 status_t ret = mStream->write(buffer, count * mFrameSize, &written); local 67 if (ret == OK && written > 0) { 73 ALOGE_IF(ret != OK, "Error while writing data to HAL: %d", ret); 74 return ret;
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
H A D | HlsSampleDecryptor.cpp | 120 status_t ret = decryptBlock(encrypted, AES_BLOCK_SIZE, AESInitVec); local 121 if (ret != OK) { 122 ALOGE("processNal failed with %d", ret); 182 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); local 183 if (ret != OK) { 184 ALOGE("processAAC: decryptBlock failed with %d", ret); 238 status_t ret = decryptBlock(encrypted, encryptedBytes, AESInitVec); local 239 if (ret != OK) { 240 ALOGE("processAC3: decryptBlock failed with %d", ret);
|
/frameworks/av/media/ndk/ |
H A D | NdkMediaMuxer.cpp | 83 ssize_t ret = muxer->mImpl->addTrack(msg); local 84 return (ret >= 0) ? ret : translate_error(ret);
|
/frameworks/base/cmds/statsd/tests/external/ |
H A D | puller_util_test.cpp | 48 vector<vector<int>>& ret) { 49 ret.clear(); 56 ret.push_back(vec); 47 extractIntoVector(vector<shared_ptr<LogEvent>> events, vector<vector<int>>& ret) argument
|
/frameworks/base/libs/common_time/ |
H A D | common_clock.cpp | 92 int64_t ret; local 93 duration_trans_.doForwardTransform(localDur, &ret); 94 return ret;
|
/frameworks/base/media/jni/ |
H A D | android_media_Media2HTTPConnection.cpp | 108 jboolean ret = local 114 return (bool)ret;
|