Searched refs:ret (Results 1 - 25 of 417) sorted by relevance

1234567891011>>

/frameworks/av/media/libmedia/
H A Dmediarecorder.cpp48 status_t ret = mMediaRecorder->setCamera(camera, proxy); local
49 if (OK != ret) {
50 ALOGV("setCamera failed: %d", ret);
52 return ret;
54 return ret;
73 status_t ret = mMediaRecorder->setPreviewSurface(surface); local
74 if (OK != ret) {
75 ALOGV("setPreviewSurface failed: %d", ret);
77 return ret;
79 return ret;
94 status_t ret = mMediaRecorder->init(); local
125 status_t ret = init(); local
136 status_t ret = mMediaRecorder->setVideoSource(vs); local
156 status_t ret = init(); local
170 status_t ret = mMediaRecorder->setAudioSource(as); local
199 status_t ret = mMediaRecorder->setOutputFormat(of); local
229 status_t ret = mMediaRecorder->setVideoEncoder(ve); local
259 status_t ret = mMediaRecorder->setAudioEncoder(ae); local
296 status_t ret = mMediaRecorder->setOutputFile(fd, offset, length); local
322 status_t ret = mMediaRecorder->setVideoSize(width, height); local
383 status_t ret = mMediaRecorder->setVideoFrameRate(frames_per_second); local
408 status_t ret = mMediaRecorder->setParameters(params); local
448 status_t ret = mMediaRecorder->prepare(); local
470 status_t ret = mMediaRecorder->getMaxAmplitude(max); local
491 status_t ret = mMediaRecorder->start(); local
513 status_t ret = mMediaRecorder->stop(); local
538 status_t ret = UNKNOWN_ERROR; local
577 status_t ret = mMediaRecorder->pause(); local
599 status_t ret = mMediaRecorder->resume(); local
616 status_t ret = mMediaRecorder->close(); local
630 status_t ret = mMediaRecorder->reset(); local
[all...]
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/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 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 DrsDriverLoader.cpp60 bool ret = true; local
62 ret &= fn(RS_HAL_CORE_SHUTDOWN, (void **)&rsc->mHal.funcs.shutdownDriver);
63 ret &= fn(RS_HAL_CORE_SET_PRIORITY, (void **)&rsc->mHal.funcs.setPriority);
64 ret &= fn(RS_HAL_CORE_ALLOC_RUNTIME_MEM, (void **)&rsc->mHal.funcs.allocRuntimeMem);
65 ret &= fn(RS_HAL_CORE_FREE_RUNTIME_MEM, (void **)&rsc->mHal.funcs.freeRuntimeMem);
66 ret &= fn(RS_HAL_CORE_FINISH, (void **)&rsc->mHal.funcs.finish);
68 ret &= fn(RS_HAL_SCRIPT_INIT, (void **)&rsc->mHal.funcs.script.init);
69 ret &= fn(RS_HAL_SCRIPT_INIT_INTRINSIC, (void **)&rsc->mHal.funcs.script.initIntrinsic);
70 ret &= fn(RS_HAL_SCRIPT_INVOKE_FUNCTION, (void **)&rsc->mHal.funcs.script.invokeFunction);
71 ret
[all...]
H A DrsFifoSocket.cpp39 int ret = socketpair(AF_UNIX, SOCK_STREAM, 0, sv); local
57 size_t ret = ::send(sv[0], data, bytes, 0); local
58 rsAssert(ret == bytes);
59 if (ret != bytes) {
60 ALOGE("writeAsync %p %zu ret %zu", data, bytes, ret);
71 size_t ret = ::recv(sv[0], retData, retBytes, MSG_WAITALL); local
72 //ALOGE("writeWaitReturn %i", ret);
73 rsAssert(ret == retBytes);
82 size_t ret local
103 size_t ret = ::send(sv[1], data, bytes, 0); local
[all...]
/frameworks/base/core/java/android/os/
H A DAsyncResult.java38 AsyncResult ret;
40 ret = new AsyncResult (m.obj, r, ex);
42 m.obj = ret;
44 return ret;
51 AsyncResult ret;
53 ret = new AsyncResult (m.obj, null, null);
55 m.obj = ret;
57 return ret;
/frameworks/av/media/img_utils/src/
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/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/cmds/interrupter/
H A Dinterrupter.h29 #define CALL_FUNCTION_1(sym, ret, type1) \
30 ret (*real_##sym)(type1) = NULL; \
31 ret sym(type1 arg1) { \
36 #define CALL_FUNCTION_2(sym, ret, type1, type2) \
37 ret (*real_##sym)(type1, type2) = NULL; \
38 ret sym(type1 arg1, type2 arg2) { \
43 #define CALL_FUNCTION_3(sym, ret, type1, type2, type3) \
44 ret (*real_##sym)(type1, type2, type3) = NULL; \
45 ret sym(type1 arg1, type2 arg2, type3 arg3) { \
50 #define CALL_FUNCTION_4(sym, ret, type
[all...]
/frameworks/native/libs/binder/tests/
H A DbinderLibTest.cpp62 int ret; local
76 ret = pipe(pipefd);
77 if (ret < 0)
78 return ret;
95 ret = read(pipefd[0], &status, sizeof(status));
96 //printf("pipe read returned %d, status %d\n", ret, status);
98 if (ret == sizeof(status)) {
99 ret = status;
102 if (ret >= 0) {
103 ret
133 status_t ret; local
168 int ret; local
186 int ret; local
252 int ret; local
323 status_t ret; local
332 status_t ret; local
341 status_t ret; local
352 status_t ret; local
367 status_t ret; local
410 status_t ret; local
474 status_t ret; local
494 status_t ret; local
515 status_t ret; local
538 status_t ret; local
564 status_t ret; local
610 int ret; local
636 EXPECT_EQ(sizeof(buf), ret); local
660 int ret; local
722 int ret; local
819 int ret; local
841 int ret; local
864 int ret; local
909 status_t ret; local
937 int ret; local
[all...]
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp54 NBAIO_Format ret; local
55 ret.mSampleRate = sampleRate;
56 ret.mChannelCount = channelCount;
57 ret.mFormat = format;
58 ret.mFrameSize = audio_is_linear_pcm(format) ?
60 return ret;
83 ssize_t ret = via(user, buffer, count); local
84 if (ret > 0) {
85 ALOG_ASSERT((size_t) ret <= count);
86 size_t maxRet = ret;
119 ssize_t ret = read(buffer, count); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DDriverCall.java57 DriverCall ret = new DriverCall();
64 ret.index = p.nextInt();
65 ret.isMT = p.nextBoolean();
66 ret.state = stateFromCLCC(p.nextInt());
68 ret.isVoice = (0 == p.nextInt());
69 ret.isMpty = p.nextBoolean();
72 ret.numberPresentation = PhoneConstants.PRESENTATION_ALLOWED;
77 ret.number = PhoneNumberUtils.extractNetworkPortionAlt(p.nextString());
79 if (ret.number.length() == 0) {
80 ret
[all...]
H A DSmsResponse.java43 String ret = "{ mMessageRef = " + mMessageRef
47 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/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DIccUtils.java44 StringBuilder ret = new StringBuilder(length*2);
51 ret.append((char)('0' + v));
57 ret.append((char)('0' + v));
60 return ret.toString();
68 StringBuilder ret = new StringBuilder(length*2);
74 ret.append("0123456789abcdef".charAt(v));
77 ret.append("0123456789abcdef".charAt(v));
80 return ret.toString();
88 StringBuilder ret = new StringBuilder(length);
95 ret
[all...]
/frameworks/av/camera/ndk/impl/
H A DACameraCaptureSession.cpp60 camera_status_t ret = dev->stopRepeatingLocked(); local
61 if (ret != ACAMERA_OK) {
82 camera_status_t ret; local
86 ret = dev->stopRepeatingLocked();
89 return ret;
100 camera_status_t ret; local
104 ret = dev->flushLocked(this);
107 return ret;
121 camera_status_t ret; local
125 ret
141 camera_status_t ret; local
[all...]
/frameworks/base/packages/services/PacProcessor/src/com/android/pacprocessor/
H A DPacNative.java75 String ret = makeProxyRequestNativeLocked(url, host);
76 if ((ret == null) || (ret.length() == 0)) {
78 ret = null;
80 return ret;
/frameworks/rs/api/
H A Drs_debug.spec29 ret: void
45 ret: void
55 ret: void
63 ret: void
72 ret: void
82 ret: void
89 ret: void
97 ret: void
106 ret: void
116 ret
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DSdpMnsRecord.java84 String ret = "Bluetooth MNS SDP Record:\n";
87 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
90 ret += "L2CAP PSM: " + mL2capPsm + "\n";
93 ret += "Service Name: " + mServiceName + "\n";
96 ret += "Supported features: " + mSupportedFeatures + "\n";
99 ret += "Profile_version: " + mProfileVersion+"\n";
101 return ret;
H A DSdpMasRecord.java113 String ret = "Bluetooth MAS SDP Record:\n";
116 ret += "Mas Instance Id: " + mMasInstanceId + "\n";
119 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
122 ret += "L2CAP PSM: " + mL2capPsm + "\n";
125 ret += "Service Name: " + mServiceName + "\n";
128 ret += "Profile version: " + mProfileVersion + "\n";
131 ret += "Supported msg types: " + mSupportedMessageTypes + "\n";
134 ret += "Supported features: " + mSupportedFeatures + "\n";
136 return ret;
H A DSdpPseRecord.java93 String ret = "Bluetooth MNS SDP Record:\n";
96 ret += "RFCOMM Chan Number: " + mRfcommChannelNumber + "\n";
99 ret += "L2CAP PSM: " + mL2capPsm + "\n";
102 ret += "profile version: " + mProfileVersion + "\n";
105 ret += "Service Name: " + mServiceName + "\n";
108 ret += "Supported features: " + mSupportedFeatures + "\n";
111 ret += "Supported repositories: " + mSupportedRepositories + "\n";
114 return ret;
/frameworks/base/core/java/com/android/internal/util/
H A DParcelableString.java43 ParcelableString ret = new ParcelableString();
44 ret.string = in.readString();
45 return ret;
/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/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);

Completed in 693 milliseconds

1234567891011>>