Searched defs:ret (Results 1 - 25 of 217) sorted by relevance

123456789

/frameworks/webview/chromium/plat_support/
H A Djni_entry_point.cpp31 jint ret = vm->AttachCurrentThread(&env, NULL); local
32 LOG_ALWAYS_FATAL_IF(ret != JNI_OK, "AttachCurrentThread failed");
/frameworks/av/media/mtp/
H A DMtpResponsePacket.cpp41 int ret = ::write(fd, mBuffer, mPacketSize); local
42 return (ret < 0 ? ret : 0);
50 int ret = transfer(request); local
51 if (ret >= 0)
52 mPacketSize = ret;
55 return ret;
H A DMtpEventPacket.cpp51 int ret = ::ioctl(fd, MTP_SEND_EVENT, (unsigned long)&event); local
52 return (ret < 0 ? ret : 0);
H A DMtpRequestPacket.cpp40 int ret = ::read(fd, mBuffer, mBufferSize); local
41 if (ret < 0) {
43 return ret;
47 const size_t read_size = static_cast<size_t>(ret);
55 ret = -1;
57 return ret;
/frameworks/rs/
H A DrsSignal.cpp74 bool ret = false; local
97 ret = true;
111 return ret;
H A Dspec.h31 VarType ret; member in struct:__anon1723
/frameworks/av/media/audioserver/
H A Dmain_audioserver.cpp62 int ret = waitid(P_PID, childPid, &info, WEXITED | WSTOPPED | WCONTINUED); local
63 if (ret == EINTR) {
66 if (ret < 0) {
/frameworks/av/media/common_time/
H A Dcc_helper.cpp31 bool ret = false; local
50 ret = true;
53 if (!ret) {
57 return ret;
/frameworks/av/media/img_utils/src/
H A DFileInput.cpp75 status_t ret = OK; local
78 ret = BAD_VALUE;
81 return ret;
H A DFileOutput.cpp69 status_t ret = OK; local
72 ret = BAD_VALUE;
75 return ret;
H A DInput.cpp35 ssize_t ret = read(skipBuf, 0, amt); local
36 if (ret < 0) {
37 if(ret == NOT_ENOUGH_DATA) {
48 return ret;
50 remaining -= ret;
/frameworks/av/media/libmedia/
H A DIMediaExtractorService.cpp48 status_t ret = remote()->transact(MAKE_EXTRACTOR, data, &reply); local
49 if (ret == NO_ERROR) {
69 status_t ret = data.readStrongBinder(&b); local
70 if (ret != NO_ERROR || b == NULL) {
72 return ret;
H A DIResourceManagerClient.cpp43 bool ret = false; local
46 ret = (bool)reply.readInt32();
48 return ret;
55 String8 ret; local
58 ret = reply.readString8();
60 return ret;
75 bool ret = reclaimResource(); local
76 reply->writeInt32(ret);
81 String8 ret = getName(); local
82 reply->writeString8(ret);
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DActivityManager.cpp41 status_t ret = am->transact(OPEN_CONTENT_URI_TRANSACTION, data, &reply); local
42 if (ret == NO_ERROR) {
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dmemalign.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/
H A Dmem_align.c42 int ret; local
50 ret = pMemop->Alloc(CodecID, &MemInfo);
51 if(ret != 0)
65 ret = pMemop->Alloc(CodecID, &MemInfo);
66 if(ret != 0)
/frameworks/av/media/utils/
H A DSchedulingPolicyService.cpp34 int ret; local
50 ret = sps->requestPriority(pid, tid, prio, asynchronous);
51 if (ret != DEAD_OBJECT) {
59 return ret;
/frameworks/av/services/camera/libcameraservice/utils/
H A DAutoConditionLock.cpp54 status_t ret = manager->mCondition.waitRelative(*(manager->mMutex), waitTime); local
55 if (ret != NO_ERROR) {
81 status_t ret = manager->mCondition.wait(*(manager->mMutex)); local
82 if (ret != NO_ERROR) {
/frameworks/av/services/mediaextractor/
H A DMediaExtractorService.cpp35 sp<IMediaExtractor> ret = MediaExtractor::CreateFromService(localSource, mime); local
38 ret.get(),
39 ret == NULL ? "" : ret->name());
41 if (ret != NULL) {
42 registerMediaExtractor(ret, localSource, mime);
45 return ret;
/frameworks/base/packages/DefaultContainerService/jni/
H A Dcom_android_defcontainer_MeasurementUtils.cpp33 jlong ret = 0L; local
37 return ret;
44 ret = calculate_dir_size(dirfd);
50 return ret;
/frameworks/base/services/core/jni/
H A Dcom_android_server_PersistentDataBlockService.cpp38 int ret; local
40 ret = ioctl(fd, BLKGETSIZE64, &size);
42 if (ret)
51 int ret; local
60 ret = ioctl(fd, BLKSECDISCARD, &range);
61 if (ret < 0) {
65 ret = ioctl(fd, BLKDISCARD, &range);
66 if (ret < 0) {
76 return ret;
101 const int ret local
[all...]
/frameworks/native/cmds/installd/
H A Dstring_helpers.h39 std::vector<std::string> ret; local
44 ret.push_back(token);
47 return ret;
/frameworks/native/libs/binder/
H A DIInterface.cpp56 android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; local
57 *ret = android::IInterface::asBinder((android::IInterface*)self);
63 android::sp<android::IBinder> *ret = new(retval) android::sp<android::IBinder>; local
64 *ret = android::IInterface::asBinder((android::IInterface*)self);
/frameworks/native/opengl/libs/GLES2/
H A Dgl2.cpp224 const GLubyte * ret = egl_get_string_for_current_context(name); local
225 if (ret == NULL) {
227 if(_c) ret = _c->glGetString(name);
229 return ret;
233 const GLubyte * ret = egl_get_string_for_current_context(name, index); local
234 if (ret == NULL) {
236 if(_c) ret = _c->glGetStringi(name, index);
238 return ret;
/frameworks/native/services/surfaceflinger/tests/vsync/
H A Dvsync.cpp63 int32_t ret = loop->pollOnce(-1); local
64 switch (ret) {
78 printf("ugh? poll returned %d\n", ret);

Completed in 552 milliseconds

123456789