/frameworks/rs/driver/ |
H A D | rsdGL.cpp | 241 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 D | DrawView.java | 99 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 D | binderThroughputTest.cpp | 126 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 D | DevicesFactoryHalHidl.cpp | 82 Return<void> ret = mDevicesFactory->openDevice( local 90 if (ret.isOk()) {
|
/frameworks/base/core/jni/ |
H A D | eventlog_helper.h | 165 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 D | IActivityManager.cpp | 41 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 D | IccCard.java | 270 AsyncResult ret = AsyncResult.forMessage(onComplete); 271 ret.exception = new RuntimeException("No valid IccCard");
|
H A D | CallTracker.java | 273 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 D | MtpDescriptors.cpp | 264 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 D | loader.cpp | 147 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 D | SliceProviderPermissions.java | 64 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 D | EnabledComponentsObserver.java | 218 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 D | TestSystemImpl.java | 121 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 D | SmsMessage.java | 201 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 D | SliceConvert.java | 83 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 D | CameraProviderManager.cpp | 212 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 D | Hwc2TestBuffer.cpp | 383 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 D | rsg_generator.c | 120 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 D | mediaplayer.cpp | 302 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 D | dvr_buffer_queue.cpp | 59 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 D | BaseShortcutManagerTest.java | 406 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 D | AudioTrack.java | 1675 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 D | rs_sample.c | 133 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 D | SpannableStringInternal.java | 332 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 D | SensorDevice.cpp | 181 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...] |