Searched refs:ret (Results 26 - 50 of 342) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/hardware/camera2/legacy/
H A DRequestQueue.java67 Pair<BurstHolder, Long> ret = new Pair<BurstHolder, Long>(next, mCurrentFrameNumber);
69 return ret;
80 long ret = INVALID_FRAME;
83 ret = (mCurrentRepeatingFrameNumber == INVALID_FRAME) ? INVALID_FRAME :
90 return ret;
124 long ret = INVALID_FRAME;
128 ret = (mCurrentRepeatingFrameNumber == INVALID_FRAME) ? INVALID_FRAME :
135 ret = calculateLastFrame(burst.getRequestId());
137 frameNumber.setNumber(ret);
/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/base/core/java/android/os/
H A DBatteryManager.java174 long ret;
189 ret = prop.getLong();
191 ret = Long.MIN_VALUE;
193 ret = Long.MIN_VALUE;
196 return ret;
/frameworks/base/libs/usb/tests/accessorytest/
H A Dusb.c46 int ret = 0; local
48 while (current_device && ret >= 0) {
51 ret = usb_device_bulk_transfer(current_device, read_ep, buffer, sizeof(buffer), 1000);
52 if (ret < 0 && errno == ETIMEDOUT)
53 ret = 0;
54 if (ret > 0) {
55 fwrite(buffer, 1, ret, stdout);
65 int ret = 0; local
67 while (ret >= 0) {
72 ret
88 int ret; local
[all...]
H A Dhid.c52 int id, ret, offset; local
87 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR,
89 fprintf(stderr, "ACCESSORY_REGISTER_HID returned %d\n", ret);
100 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR,
102 fprintf(stderr, "ACCESSORY_SET_HID_REPORT_DESC returned %d errno %d\n", ret, errno);
109 ret = read(fd, buffer, sizeof(buffer));
110 if (ret < 0) {
115 ret = usb_device_control_transfer(device, USB_DIR_OUT | USB_TYPE_VENDOR,
116 ACCESSORY_SEND_HID_EVENT, id, 0, buffer, ret, 1000);
117 if (ret <
[all...]
/frameworks/rs/api/
H A Drs_core_math.spec23 ret: #3#1
35 ret: #3#1
47 ret: #3#1
59 ret: #3#1
69 ret: #2#1
80 ret: #2#1
91 ret: #2#1
102 ret: #2#1
113 ret: #2#1
124 ret
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_StaticLayout.cpp65 jintArray ret; local
88 ret = recycle;
90 ret = env->NewIntArray(breaks.size());
93 if (ret != NULL) {
94 env->SetIntArrayRegion(ret, 0, breaks.size(), &breaks.front());
97 return ret;
H A Dandroid_os_SELinux.cpp106 int ret = getpeercon(fd, &tmp); local
110 if (ret != -1) {
142 int ret = setfscreatecon(const_cast<char *>(context_c_str)); local
144 ALOGV("setFSCreateCon(%s) => %d", context_c_str, ret);
146 return (ret == 0) ? true : false;
175 int ret = setfilecon(path.c_str(), tmp); local
177 ALOGV("setFileCon(%s, %s) => %d", path.c_str(), context.c_str(), ret);
178 return (ret == 0) ? true : false;
202 int ret = getfilecon(path.c_str(), &tmp); local
206 if (ret !
228 int ret = getcon(&tmp); local
255 int ret = getpidcon(static_cast<pid_t>(pid), &tmp); local
316 int ret = security_get_boolean_active(name.c_str()); local
341 int ret = security_set_boolean(name.c_str(), value ? 1 : 0); local
418 int ret = selinux_android_restorecon(pathname.c_str(), flags); local
[all...]
H A Dandroid_hardware_UsbDeviceConnection.cpp96 jbyteArray ret = env->NewByteArray(length);
97 if (ret) {
98 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0);
101 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
104 return ret;
117 int ret = usb_device_claim_interface(device, interfaceID); local
118 if (ret && force && errno == EBUSY) {
121 ret = usb_device_claim_interface(device, interfaceID);
123 return (ret == 0) ? JNI_TRUE : JNI_FALSE;
134 int ret local
151 int ret = usb_device_set_interface(device, interfaceID, alternateSetting); local
163 int ret = usb_device_set_configuration(device, configurationID); local
[all...]
/frameworks/base/core/java/android/bluetooth/
H A DBluetoothInputStream.java60 int ret = mSocket.read(b, 0, 1);
61 if (ret == 1) {
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp78 String8 ret; local
82 ret.append(", ");
86 ret.append(name);
87 ret.append(": ");
93 ret.appendFormat("int32(%" PRId32 ")", val);
100 ret.appendFormat("int64(%" PRId64 ")", val);
107 ret.appendFormat("size_t(%zu)", val);
114 ret.appendFormat("float(%f)", val);
121 ret.appendFormat("double(%f)", val);
128 ret
192 mData->mStringCache.add(String8(name), ret); local
[all...]
H A DNdkMediaCodec.cpp148 status_t ret = mData->mLooper->start( local
218 status_t ret = mData->mCodec->start(); local
219 if (ret != OK) {
220 return translate_error(ret);
230 media_status_t ret = translate_error(mData->mCodec->stop()); local
237 return ret;
248 status_t ret = mData->mCodec->dequeueInputBuffer(&idx, timeoutUs); local
250 if (ret == OK) {
253 return translate_error(ret);
297 status_t ret local
309 status_t ret = mData->mCodec->dequeueOutputBuffer(&idx, &offset, &size, &presentationTimeUs, local
416 AMediaCodecCryptoInfo *ret = (AMediaCodecCryptoInfo*) malloc(cryptosize); local
[all...]
/frameworks/av/media/libeffects/factory/
H A DEffectsFactory.c79 int ret = init(); local
80 if (ret < 0) {
81 return ret;
92 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer);
94 return ret;
104 int ret = init(); local
105 if (ret < 0) {
106 return ret;
117 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData);
119 return ret;
125 int ret = init(); local
145 int ret = init(); local
188 int ret = init(); local
206 int ret = init(); local
253 int ret = init(); local
277 int ret; local
346 int ret = init(); local
414 int ret = init(); local
750 int ret = 0; local
846 int ret = 0; local
[all...]
/frameworks/base/core/tests/systemproperties/src/android/os/
H A DSystemPropertiesTest.java32 long ret = SystemProperties.getLong(PERSIST_KEY, -1);
33 assertEquals(i, ret);
41 long ret = SystemProperties.getLong(KEY, -1);
42 assertEquals(i, ret);
/frameworks/base/libs/common_time/
H A Dcommon_time_server_packets.cpp105 ssize_t ret, tmp; local
107 ret = serializeHeader(data, length);
108 if (ret < 0)
109 return ret;
111 data += ret;
112 length -= ret;
140 return ret + tmp;
147 ssize_t ret; local
155 ret = p.who_is_master_request.deserializePacket(data, length);
159 ret
[all...]
/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/tests/RenderScriptTests/MiscSamples/src/com/example/android/rs/miscsamples/
H A DRsListView.java61 boolean ret = false;
65 ret = true;
68 ret = true;
71 return ret;
/frameworks/ex/framesequence/samples/RastermillSamples/src/com/android/rastermill/samples/
H A DSamplesList.java36 Map<String,Object> ret = new HashMap<String,Object>();
37 ret.put(KEY_NAME, name);
38 ret.put(KEY_CLASS, activity);
39 return ret;
/frameworks/rs/
H A Drsg.spec12 ret RsProgramStore
19 ret RsProgramRaster
46 ret RsProgramFragment
54 ret RsProgramVertex
61 ret RsFont
69 ret RsFont
76 ret RsMesh
85 ret RsPath
/frameworks/av/media/libnbaio/
H A DAudioStreamOutSink.cpp59 ssize_t ret = mStream->write(mStream, buffer, count * mFrameSize); local
60 if (ret > 0) {
61 ret /= mFrameSize;
62 mFramesWritten += ret;
66 return ret;
/frameworks/base/telephony/java/com/android/internal/telephony/
H A DGsmAlphabet.java165 int ret;
167 ret = sCharsToGsmTables[0].get(c, -1);
169 if (ret == -1) {
170 ret = sCharsToShiftTables[0].get(c, -1);
172 if (ret == -1) {
183 return ret;
195 int ret;
197 ret = sCharsToShiftTables[0].get(c, -1);
199 if (ret == -1) {
203 return ret;
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DEriManager.java283 EriDisplayInformation ret;
290 ret = new EriDisplayInformation(
294 return ret;
301 ret = new EriDisplayInformation(
308 ret = new EriDisplayInformation(
315 ret = new EriDisplayInformation(
324 ret = new EriDisplayInformation(
331 ret = new EriDisplayInformation(
338 ret = new EriDisplayInformation(
345 ret
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp77 bool ret; local
237 uint32_t ret; local
239 ret = atoi(kHz);
241 ret = 0;
243 if (ret != mCurrentkHz[cpuNum]) {
244 if (ret > 0) {
245 ALOGV("CPU %d frequency %u kHz", cpuNum, ret);
249 mCurrentkHz[cpuNum] = ret;
251 return ret;
/frameworks/opt/telephony/src/java/com/android/internal/telephony/test/
H A DSimulatedGsmCallState.java85 DriverCall ret;
87 ret = new DriverCall();
89 ret.index = index;
90 ret.isMT = mIsMT;
93 ret.state = DriverCall.stateFromCLCC(mState.value());
98 ret.isMpty = mIsMpty;
99 ret.number = mNumber;
100 ret.TOA = mTOA;
101 ret.isVoice = true;
102 ret
[all...]

Completed in 1591 milliseconds

1234567891011>>