Searched refs:ret (Results 276 - 300 of 632) sorted by relevance

<<11121314151617181920>>

/frameworks/rs/driver/
H A DrsdGL.cpp241 EGLBoolean ret;
251 ret = eglChooseConfig(dc->gl.egl.display, configAttribs, 0, 0, &numConfigs);
252 checkEglError("eglGetConfigs", ret);
262 ret = eglChooseConfig(dc->gl.egl.display,
264 if (!ret || !n) {
265 checkEglError("eglChooseConfig", ret);
330 ret = eglMakeCurrent(dc->gl.egl.display, dc->gl.egl.surfaceDefault,
332 if (ret == EGL_FALSE) {
334 checkEglError("eglMakeCurrent", ret);
428 EGLBoolean ret;
[all...]
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/
H A DDrawView.java99 Region ret;
105 ret = new Region(Arrays.copyOf(defaultPath, defaultPath.length), img);
107 ret = new Region(Arrays.copyOf(path, len), img);
110 return ret;
/frameworks/native/libs/binder/tests/
H A DbinderThroughputTest.cpp126 ProcResults ret; local
128 ret.m_buckets[i] = a.m_buckets[i] + b.m_buckets[i];
130 ret.m_worst = max(a.m_worst, b.m_worst);
131 ret.m_best = min(a.m_best, b.m_best);
132 ret.m_transactions = a.m_transactions + b.m_transactions;
133 ret.m_long_transactions = a.m_long_transactions + b.m_long_transactions;
134 ret.m_total_time = a.m_total_time + b.m_total_time;
135 return ret;
223 status_t ret = workers[target]->transact(BINDER_NOP, data, &reply); local
229 if (ret !
[all...]
/frameworks/av/media/libaudiohal/2.0/
H A DDevicesFactoryHalHidl.cpp82 Return<void> ret = mDevicesFactory->openDevice( local
90 if (ret.isOk()) {
/frameworks/base/core/jni/
H A Deventlog_helper.h165 int ret = android_logger_list_read(logger_list.get(), &log_msg); local
167 if (ret == 0) {
170 if (ret < 0) {
171 if (ret == -EINTR) {
174 if (ret == -EINVAL) {
176 } else if (ret != -EAGAIN) {
177 jniThrowIOException(env, -ret); // Will throw on return
198 jsize len = ret;
/frameworks/native/libs/binder/
H A DIActivityManager.cpp41 status_t ret = remote()->transact(OPEN_CONTENT_URI_TRANSACTION, data, & reply); local
43 if (ret == NO_ERROR) {
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIccCard.java270 AsyncResult ret = AsyncResult.forMessage(onComplete);
271 ret.exception = new RuntimeException("No valid IccCard");
H A DCallTracker.java273 boolean ret = true;
276 log("compareGid1 serviceGid is empty, return " + ret);
277 return ret;
283 ret = false;
285 log("compareGid1 is " + (ret?"Same":"Different"));
286 return ret;
/frameworks/av/media/mtp/
H A DMtpDescriptors.cpp264 ssize_t ret = TEMP_FAILURE_RETRY(write(fd, local
266 if (ret < 0) {
268 ret = TEMP_FAILURE_RETRY(write(fd,
270 if (ret < 0) {
275 ret = TEMP_FAILURE_RETRY(write(fd, &mtp_strings, sizeof(mtp_strings)));
276 if (ret < 0) {
/frameworks/base/native/webview/loader/
H A Dloader.cpp147 jboolean ret = JNI_FALSE; local
152 ret = DoCreateRelroFile(lib_utf8, relro_utf8);
157 return ret;
162 jint ret = LIBLOAD_FAILED_JNI_CALL; local
167 ret = DoLoadWithRelroFile(env, lib_utf8, relro_utf8, clazzLoader);
172 return ret;
/frameworks/base/services/core/java/com/android/server/slice/
H A DSliceProviderPermissions.java64 SliceAuthority ret = mAuths.get(authority);
65 if (ret == null) {
66 ret = new SliceAuthority(authority, this);
67 mAuths.put(authority, ret);
68 onPersistableDirty(ret);
70 return ret;
/frameworks/base/services/core/java/com/android/server/vr/
H A DEnabledComponentsObserver.java218 ArraySet<ComponentName> ret = mInstalledSet.get(userId);
219 if (ret == null) {
222 return ret;
234 ArraySet<ComponentName> ret = mEnabledSet.get(userId);
235 if (ret == null) {
238 return ret;
/frameworks/base/services/tests/servicestests/src/com/android/server/webkit/
H A DTestSystemImpl.java121 PackageInfo ret = userPackages.get(PRIMARY_USER_ID);
122 if (ret == null) throw new NameNotFoundException(info.packageName);
123 return ret;
130 List<UserPackage> ret = new ArrayList();
133 ret.add(new UserPackage(createUserInfo(userId),
136 return ret;
/frameworks/opt/telephony/src/java/android/telephony/gsm/
H A DSmsMessage.java201 int ret[] = new int[4];
202 ret[0] = ted.msgCount;
203 ret[1] = ted.codeUnitCount;
204 ret[2] = ted.codeUnitsRemaining;
205 ret[3] = ted.codeUnitSize;
206 return ret;
/frameworks/support/slices/core/src/main/java/androidx/slice/
H A DSliceConvert.java83 Set<android.app.slice.SliceSpec> ret = new ArraySet<>();
85 ret.add(unwrap(spec));
87 return ret;
139 Set<androidx.slice.SliceSpec> ret = new ArraySet<>();
141 ret.add(wrap(spec));
143 return ret;
/frameworks/av/services/camera/libcameraservice/common/
H A DCameraProviderManager.cpp212 auto ret = provider->mInterface->isSetTorchModeSupported( local
218 if (!ret.isOk()) {
220 __FUNCTION__, provider->mProviderName.c_str(), ret.description().c_str());
243 hardware::Return<void> ret; local
244 ret = provider->mInterface->getVendorTags(
251 if (!ret.isOk()) {
253 __FUNCTION__, provider->mProviderName.c_str(), ret.description().c_str());
293 hardware::Return<void> ret; local
294 ret = deviceInfo3->mInterface->open(callback, [&status, &session]
301 if (!ret
379 metadata_vendor_id_t ret = CAMERA_METADATA_INVALID_VENDOR_ID; local
545 hardware::Return<void> ret = mInterface->getCameraIdList([&status, &devices]( local
851 hardware::Return<void> ret; local
876 hardware::Return<void> ret; local
925 hardware::Return<void> ret; local
959 hardware::Return<void> ret; local
1013 hardware::Return<void> ret; local
1109 auto ret = mInterface->dumpState(handle); local
1175 metadata_vendor_id_t ret = std::hash<std::string> {} (name); local
[all...]
/frameworks/native/services/surfaceflinger/tests/hwc2/
H A DHwc2TestBuffer.cpp383 int ret = generateBuffer(); local
384 if (ret)
385 return ret;
405 int ret = mGraphicBuffer->initCheck(); local
406 if (ret) {
407 return ret;
702 int ret = mGraphicBuffer->initCheck(); local
703 if (ret)
704 return ret;
754 int ret local
780 int ret = mGraphicBuffer->initCheck(); local
[all...]
/frameworks/rs/
H A Drsg_generator.c120 printVarTypeAndName(f, &api->ret);
169 int ret = 0; local
171 if (api->sync || api->ret.typeName[0]) {
188 ret = 1;
191 return ret;
221 if (api->ret.typeName[0]) {
255 if (api->ret.typeName[0]) {
270 if (!api->ret.typeName[0]) {
320 if (api->ret.typeName[0] || api->sync) {
329 } else if (api->ret
[all...]
/frameworks/av/media/libmedia/
H A Dmediaplayer.cpp302 status_t ret = prepareAsync_l(); local
303 if (ret != NO_ERROR) {
305 return ret;
328 status_t ret = NO_ERROR; local
334 ret = NO_ERROR;
341 ret = mPlayer->start();
342 if (ret != NO_ERROR) {
351 ret = INVALID_OPERATION;
356 return ret;
366 status_t ret local
385 status_t ret = mPlayer->pause(); local
516 status_t ret = mPlayer->getDuration(&durationMs); local
610 status_t ret = mPlayer->reset(); local
[all...]
/frameworks/native/libs/vr/libdvr/
H A Ddvr_buffer_queue.cpp59 if (const int ret = GainBuffer(timeout, &buffer, &meta, &fence_fd))
60 return ret;
199 const int ret = write_buffer->write_buffer->PostAsync(meta, fence); local
200 if (ret < 0) {
201 ALOGE("DvrWriteBufferQueue::PostBuffer: Failed to post buffer, ret=%d",
202 ret);
203 return ret;
411 int ret = read_buffer->read_buffer->ReleaseAsync(meta, fence); local
412 if (ret < 0) {
413 ALOGE("DvrReadBufferQueue::ReleaseBuffer: Failed to release buffer, ret
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
H A DBaseShortcutManagerTest.java406 final ArrayList<ResolveInfo> ret = new ArrayList<>(pi.activities.length);
413 ret.add(ri);
416 return ret;
1116 final PackageInfo ret = new PackageInfo();
1117 ret.packageName = pi.packageName;
1118 ret.versionCode = pi.versionCode;
1119 ret.versionCodeMajor = pi.versionCodeMajor;
1120 ret.lastUpdateTime = pi.lastUpdateTime;
1122 ret.applicationInfo = new ApplicationInfo(pi.applicationInfo);
1123 ret
[all...]
/frameworks/base/media/java/android/media/
H A DAudioTrack.java1675 int ret = native_get_timestamp(longArray);
1676 if (ret != SUCCESS) {
1717 int ret = native_get_timestamp(longArray);
1720 return ret;
2279 int ret = native_write_byte(audioData, offsetInBytes, sizeInBytes, mAudioFormat,
2284 && (ret > 0)) {
2289 return ret;
2388 int ret = native_write_short(audioData, offsetInShorts, sizeInShorts, mAudioFormat,
2393 && (ret > 0)) {
2398 return ret;
[all...]
/frameworks/rs/driver/runtime/
H A Drs_sample.c133 float4 ret = {0.f, 0.f, 0.f, r}; local
134 return ret;
143 float4 ret = {r, r, r, 1.f}; local
144 return ret;
153 float4 ret = {r.x, r.x, r.x, r.y}; local
154 return ret;
163 float4 ret = {r.x, r.x, r.z, 1.f}; local
164 return ret;
173 float4 ret = {r.x, r.x, r.z, 1.f}; local
174 return ret;
197 float4 ret = {0.f, 0.f, 0.f, r}; local
210 float4 ret = {r, r, r, 1.f}; local
223 float4 ret = {r.x, r.x, r.x, r.y}; local
236 float4 ret = {r.x, r.y, r.z, 1.f}; local
261 float4 ret; local
[all...]
/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java332 Object[] ret = null;
365 ret = (Object[]) Array.newInstance(kind, spanCount - i + 1);
366 ret[0] = ret1;
374 int p = getSpanFlags(ret[j]) & Spanned.SPAN_PRIORITY;
381 System.arraycopy(ret, j, ret, j + 1, count - j);
382 ret[j] = spans[i];
385 ret[count++] = spans[i];
394 ret = (Object[]) Array.newInstance(kind, 1);
395 ret[
[all...]
/frameworks/native/services/sensorservice/
H A DSensorDevice.cpp181 auto ret = mSensors->poll( local
194 if (ret.isOk()) {
202 handleHidlDeath(ret.description());
506 int32_t ret; local
508 [&ret](auto result, auto channelHandle) {
510 ret = channelHandle;
512 ret = StatusFromResult(result);
515 return ret;
547 int32_t ret; local
549 [&ret, rat
[all...]

Completed in 1240 milliseconds

<<11121314151617181920>>