Searched refs:ret (Results 101 - 125 of 632) sorted by relevance

1234567891011>>

/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/rs/script_api/
H A Drs_vector_math.spec42 ret: #2#1
56 ret: #2#1
67 ret: #2
83 ret: #2
94 ret: #2
108 ret: #2
119 ret: #2
138 ret: #2
156 ret: #2#1
177 ret
[all...]
H A Drs_convert.spec30 ret: #3#1
52 ret: #3#1
62 ret: #3#1
72 ret: #3#1
82 ret: #3#1
92 ret: #3#1
98 ret: uchar4
119 ret: uchar4
129 ret: uchar4
136 ret
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DEffectHalHidl.cpp159 Return<void> ret = mEffect->prepareForProcessing( local
169 if (!ret.isOk() || retval != Result::OK) {
170 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION;
204 status_t ret = mEfGroup->wait( local
215 if (ret == -EAGAIN || ret == -EINTR) {
219 return ret;
223 Return<Result> ret = mEffect->setProcessBuffers( local
226 if (ret.isOk() && ret
252 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, local
268 Return<void> ret = mEffect->getDescriptor( local
290 Return<void> ret; local
327 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? local
[all...]
/frameworks/av/media/libaudiohal/4.0/
H A DEffectHalHidl.cpp162 Return<void> ret = mEffect->prepareForProcessing( local
172 if (!ret.isOk() || retval != Result::OK) {
173 return ret.isOk() ? analyzeResult(retval) : FAILED_TRANSACTION;
207 status_t ret = mEfGroup->wait( local
218 if (ret == -EAGAIN || ret == -EINTR) {
222 return ret;
226 Return<Result> ret = mEffect->setProcessBuffers( local
229 if (ret.isOk() && ret
255 Return<void> ret = mEffect->command(cmdCode, hidlData, *replySize, local
271 Return<void> ret = mEffect->getDescriptor( local
293 Return<void> ret; local
330 Return<Result> ret = cmdCode == EFFECT_CMD_SET_CONFIG ? local
[all...]
H A DDeviceHalHidl.cpp145 Return<void> ret = mPrimaryDevice->getMasterVolume( local
152 return processReturn("getMasterVolume", ret, retval);
169 Return<void> ret = mDevice->getMicMute( local
176 return processReturn("getMicMute", ret, retval);
187 Return<void> ret = mDevice->getMasterMute( local
194 return processReturn("getMasterMute", ret, retval);
214 Return<void> ret = utils::getParameters(mDevice, local
223 return processReturn("getParameters", ret, retval);
232 Return<void> ret = mDevice->getInputBufferSize( local
240 return processReturn("getInputBufferSize", ret, retva
257 Return<void> ret = mDevice->openOutputStream( local
291 Return<void> ret = mDevice->openInputStream( local
323 Return<void> ret = mDevice->createAudioPatch( local
344 Return<void> ret = mDevice->getAudioPort( local
365 Return<void> ret = mDevice->getMicrophones( local
383 Return<void> ret = mDevice->debug(hidlHandle, {} /* options */); local
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
H A DEriManager.java312 EriDisplayInformation ret;
319 ret = new EriDisplayInformation(
323 return ret;
330 ret = new EriDisplayInformation(
337 ret = new EriDisplayInformation(
344 ret = new EriDisplayInformation(
353 ret = new EriDisplayInformation(
360 ret = new EriDisplayInformation(
367 ret = new EriDisplayInformation(
374 ret
[all...]
/frameworks/av/media/libmediaextractor/
H A DMetaDataBase.cpp453 status_t ret; local
455 ret = parcel.writeUint32(uint32_t(numItems));
456 if (ret) {
457 return ret;
466 ret = parcel.writeInt32(key);
467 if (ret) {
468 return ret;
470 ret = parcel.writeUint32(type);
471 if (ret) {
472 return ret;
504 status_t ret = parcel.readInt32(&key); local
[all...]
/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...]
/frameworks/av/media/libstagefright/codecs/amrwbenc/SampleCode/
H A DAMRWB_E_SAMPLE.c81 int ret = 0; local
113 ret = -1;
119 ret = -1;
156 ret = voGetAMRWBEncAPI(&AudioAPI);
157 if(ret)
159 ret = -1;
166 ret = AudioAPI.Init(&hCodec, VO_AUDIO_CodingAMRWB, &useData);
168 if(ret)
170 ret = -1;
178 ret
[all...]
/frameworks/av/media/ndk/
H A DNdkMediaFormat.cpp81 String8 ret; local
85 ret.append(", ");
89 ret.append(name);
90 ret.append(": ");
96 ret.appendFormat("int32(%" PRId32 ")", val);
103 ret.appendFormat("int64(%" PRId64 ")", val);
110 ret.appendFormat("size_t(%zu)", val);
117 ret.appendFormat("float(%f)", val);
124 ret.appendFormat("double(%f)", val);
131 ret
214 mData->mStringCache.add(String8(name), ret); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp101 jbyteArray ret = env->NewByteArray(length);
102 if (ret) {
103 jbyte* bytes = (jbyte*)env->GetPrimitiveArrayCritical(ret, 0);
106 env->ReleasePrimitiveArrayCritical(ret, bytes, 0);
109 return ret;
122 int ret = usb_device_claim_interface(device, interfaceID); local
123 if (ret && force && errno == EBUSY) {
126 ret = usb_device_claim_interface(device, interfaceID);
128 return (ret == 0) ? JNI_TRUE : JNI_FALSE;
139 int ret local
156 int ret = usb_device_set_interface(device, interfaceID, alternateSetting); local
168 int ret = usb_device_set_configuration(device, configurationID); local
294 int ret = usb_device_reset(device); local
[all...]
H A Dandroid_net_LocalSocketImpl.cpp58 int ret; local
69 ret = socket_local_client_connect(
75 if (ret < 0) {
91 int ret; local
107 ret = socket_local_server_bind(fd, nameUtf8.c_str(), namespaceId);
109 if (ret < 0) {
186 ssize_t ret; local
205 ret = TEMP_FAILURE_RETRY(recvmsg(fd, &msg, MSG_NOSIGNAL | MSG_CMSG_CLOEXEC));
207 if (ret < 0 && errno == EPIPE) {
212 if (ret <
241 ssize_t ret; local
356 int ret; local
[all...]
/frameworks/av/media/libstagefright/foundation/
H A DABitReader.cpp55 uint32_t ret; local
56 CHECK(getBitsGraceful(n, &ret));
57 return ret;
61 uint32_t ret = fallback; local
62 (void)getBitsGraceful(n, &ret);
63 return ret;
/frameworks/base/cmds/uiautomator/library/testrunner-src/com/android/uiautomator/core/
H A DShellUiAutomatorBridge.java102 int ret = -1;
104 ret = wm.getDefaultDisplayRotation();
109 return ret;
116 boolean ret = false;
118 ret = pm.isInteractive();
123 return ret;
/frameworks/av/camera/ndk/impl/
H A DACameraDevice.cpp132 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
133 if (ret != ACAMERA_OK) {
134 return ret;
165 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
166 if (ret != ACAMERA_OK) {
167 return ret;
176 ret = configureStreamsLocked(outputs, sessionParameters);
177 if (ret != ACAMERA_OK) {
179 return ret;
220 camera_status_t ret local
294 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
373 camera_status_t ret; local
465 camera_status_t ret = configureStreamsLocked(nullptr, nullptr); local
491 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
517 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
570 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
596 camera_status_t ret = getSurfaceFromANativeWindow(anw, surface); local
630 camera_status_t ret = checkCameraClosedOrErrorLocked(); local
1265 binder::Status ret = binder::Status::ok(); local
1328 binder::Status ret = binder::Status::ok(); local
1370 binder::Status ret = binder::Status::ok(); local
1412 binder::Status ret = binder::Status::ok(); local
1492 binder::Status ret = binder::Status::ok(); local
[all...]
/frameworks/av/media/libcpustats/
H A DThreadCpuUsage.cpp242 uint32_t ret; local
244 ret = atoi(kHz);
246 ret = 0;
248 if (ret != mCurrentkHz[cpuNum]) {
249 if (ret > 0) {
250 ALOGV("CPU %d frequency %u kHz", cpuNum, ret);
254 mCurrentkHz[cpuNum] = ret;
256 return ret;
/frameworks/base/libs/hwui/debug/
H A DGlesDriver.h45 #define GL_ENTRY(ret, api, ...) virtual ret api##_(__VA_ARGS__) = 0;
H A DGlesErrorCheckWrapper.cpp63 auto ret = mBase.x##_(__VA_ARGS__); \
65 return ret
/frameworks/base/tools/preload2/src/com/android/preload/actions/
H A DComputeThresholdAction.java91 boolean ret = Main.getUI().showConfirmDialog("Computed a set with " + result.size()
93 if (ret) {
103 TreeSet<String> ret = new TreeSet<>(); // TreeSet so it's nicely ordered by name.
108 ret.add(e.getKey());
113 return ret;
128 Set<String> ret = new HashSet<>();
131 ret.add(e.getKey());
134 return ret;
/frameworks/rs/tests/lldb/tests/harness/
H A DRS_funs.py1389 ret = ret_name[0]
1401 return ret, expr
/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/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/base/apct-tests/perftests/core/jni/
H A DSystemPerfTest.cpp35 jint ret = data[index]; local
37 return ret;
46 jint ret = data[index]; local
48 return ret;
/frameworks/base/services/core/jni/
H A Dcom_android_server_UsbDescriptorParser.cpp52 jbyteArray ret = NULL; local
56 ret = env->NewByteArray(numBytes);
57 env->SetByteArrayRegion(ret, 0, numBytes, buffer);
62 return ret;

Completed in 211 milliseconds

1234567891011>>