/frameworks/base/libs/common_time/ |
H A D | clock_recovery.cpp | 365 bool ret = true; local 390 ret = false; 407 return ret; 413 int ret = next_slew_change_timeout_.msecTillTimeout(); local 414 if (!ret) { 417 ret = next_slew_change_timeout_.msecTillTimeout(); 420 return ret;
|
/frameworks/base/libs/hwui/renderthread/ |
H A D | RenderThread.cpp | 51 RenderTask* ret = mHead; local 52 if (ret) { 53 mHead = ret->mNext; 57 ret->mNext = nullptr; 59 return ret;
|
/frameworks/base/libs/hwui/utils/ |
H A D | LinearAllocator.h | 72 T* ret = new (allocImpl(sizeof(T))) T(std::forward<Params>(params)...); local 74 auto dtor = [](void* ret) { ((T*)ret)->~T(); }; 75 addToDestructionList(dtor, ret); 77 return ret;
|
/frameworks/base/media/jni/ |
H A D | android_media_MediaCodecList.cpp | 92 jint ret = mcl->findCodecByName(nameStr); local 94 return ret;
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 221 int ret = asset->mAsset->openFileDescriptor(&outStart64, &outLength64); local 225 return ret;
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_AlarmManagerService.cpp | 204 int ret; local 215 ret = impl->setTime(&tv); 217 if(ret < 0) { 219 ret = -1; 221 return ret; 255 bool ret = false; local 263 ret = hctosys; 266 return ret; 351 AlarmImpl *ret = new AlarmImpl(fds, epollfd, wall_clock_rtc()); local 361 delete ret; [all...] |
H A D | com_android_server_fingerprint_FingerprintService.cpp | 78 status_t ret = service->addAuthToken(auth_token, auth_token_length); local 79 if (ret != ResponseCode::NO_ERROR) { 80 ALOGE("Falure sending auth token to KeyStore: %d", ret); 141 int ret = gContext.device->enroll(gContext.device, local 144 return reinterpret_cast<jint>(ret); 148 uint64_t ret = gContext.device->pre_enroll(gContext.device); local 149 // ALOG(LOG_VERBOSE, LOG_TAG, "nativePreEnroll(), result = %llx", ret); 150 return reinterpret_cast<jlong>((int64_t)ret); 155 int ret = gContext.device->cancel(gContext.device); local 156 return reinterpret_cast<jint>(ret); 161 int ret = gContext.device->authenticate(gContext.device, sessionId, groupId); local 167 int ret = gContext.device->cancel(gContext.device); local 176 int ret = gContext.device->remove(gContext.device, finger); local [all...] |
H A D | com_android_server_power_PowerManagerService.cpp | 96 static void processReturn(const Return<void> &ret, const char* functionName) { argument 97 if (!ret.isOk()) { 107 Return<void> ret = gPowerHal->powerHint(PowerHint::INTERACTION, 0); local 108 processReturn(ret, "powerHint"); 162 Return<void> ret = gPowerHal->setInteractive(enable); local 163 processReturn(ret, "setInteractive"); 180 Return<void> ret = gPowerHal->powerHint((PowerHint)hintId, data); local 181 processReturn(ret, "powerHint"); 188 Return<void> ret = gPowerHal->setFeature((Feature)featureId, static_cast<bool>(data)); local 189 processReturn(ret, "setFeatur [all...] |
/frameworks/compile/mclinker/lib/LD/ |
H A D | IdenticalCodeFolding.cpp | 197 std::pair<ChecksumMap::iterator, ChecksumMap::iterator> ret = local 199 for (ChecksumMap::iterator it = ret.first; it != ret.second; ++it) {
|
/frameworks/compile/slang/ |
H A D | slang_rs_reflect_utils.cpp | 82 char ret[256]; local 87 ret[i] = tolower(*slash); 89 ret[i] = *slash; 94 ret[i] = 0; 95 return string(ret); 242 bool ret = true; local 249 ret = GenerateJavaCodeAccessorMethod(context, out); 252 ret = false; 258 return ret; 284 bool ret local [all...] |
/frameworks/ex/framesequence/jni/ |
H A D | FrameSequenceJNI.cpp | 122 int ret; local 126 if ((ret = AndroidBitmap_getInfo(env, bitmap, &info)) < 0) { 127 throwIae(env, "Couldn't get info from Bitmap", ret); 131 if ((ret = AndroidBitmap_lockPixels(env, bitmap, &pixels)) < 0) { 132 throwIae(env, "Bitmap pixels couldn't be locked", ret);
|
/frameworks/native/cmds/cmd/ |
H A D | cmd.cpp | 82 int ret = getfilecon(fullPath.string(), &tmp); local
|
/frameworks/native/cmds/dumpstate/ |
H A D | DumpstateUtil.cpp | 58 int ret = TEMP_FAILURE_RETRY(sigtimedwait(&child_mask, NULL, &ts)); local 63 if (ret == 0) { 67 if (ret == -1) { 310 bool ret = waitpid_with_timeout(pid, options.Timeout(), &status); local 314 if (!ret) {
|
/frameworks/native/cmds/installd/ |
H A D | installd.cpp | 306 int ret; local 333 if ((ret = InstalldNativeService::start()) != android::OK) { 334 SLOGE("Unable to start InstalldNativeService: %d", ret);
|
/frameworks/native/libs/binder/tests/ |
H A D | binderDriverInterfaceTest.cpp | 34 int ret; local 41 ret = ioctl(m_binderFd, BINDER_SET_MAX_THREADS, &max_threads); 42 EXPECT_EQ(0, ret); 56 int ret; local 63 ret = ioctl(m_binderFd, BINDER_WRITE_READ, &bwr); 64 EXPECT_EQ(0, ret); 65 if (ret < 0) { 81 int ret; local 83 ret = ioctl(m_binderFd, cmd, arg); 84 EXPECT_EQ(expect_ret, ret); 100 int ret; local 124 int ret; local [all...] |
/frameworks/native/libs/sensor/ |
H A D | SensorManager.cpp | 299 int ret; local 300 ret = i->second->configureChannel(sensorHandle, rateLevel); 301 ALOGE_IF(ret < 0, "SensorManager::configureChannel (%d, %d) returns %d", 303 static_cast<int>(ret)); 304 return ret;
|
/frameworks/native/libs/vr/libbufferhub/ |
H A D | buffer_hub_client.cpp | 68 const int ret = buffer_handle.Import(&ion_buffer); local 69 if (ret < 0) 70 return ret; 94 int ret = Lock(usage(), 0, 0, width, height, addr); local 95 if (ret == 0) 97 return ret; 113 const int ret = ImportBuffer(); local 114 if (ret < 0) { 116 strerror(-ret)); 117 Close(ret); 197 const int ret = ImportBuffer(); local 239 const int ret = ImportBuffer(); local 276 const int ret = ImportBuffer(); local 317 const int ret = ImportBuffer(); local 342 const int ret = ImportBuffer(); local 354 const int ret = ImportBuffer(); local [all...] |
/frameworks/native/libs/vr/libbufferhub/include/private/dvr/ |
H A D | bufferhub_rpc.h | 51 const int ret = local 55 if (ret < 0) 56 return ret;
|
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue-test.cpp | 57 int ret = producer_queue_->AllocateBuffer(kBufferWidth, kBufferHeight, local 60 ASSERT_EQ(ret, 0); 350 int ret = producer_queue_->AllocateBuffer(kBufferWidth, kBufferHeight, local 353 ASSERT_EQ(0, ret); 368 int ret = producer_queue_->AllocateBuffer(kBufferWidth, kBufferHeight, local 371 ASSERT_EQ(0, ret); 387 int ret = producer_queue_->AllocateBuffer( local 390 ASSERT_EQ(ret, 0); 393 ret = producer_queue_->AllocateBuffer(kBufferWidth, kBufferHeight, 396 ASSERT_EQ(ret, 406 int ret = producer_queue_->AllocateBuffer( local [all...] |
H A D | buffer_hub_queue_producer-test.cpp | 120 int ret = mProducer->dequeueBuffer(outSlot, outFence, kDefaultWidth, local 124 ASSERT_EQ(0, ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & ret);
|
/frameworks/native/libs/vr/libpdx/ |
H A D | client.cpp | 23 Status<void> ret; local 29 ret.SetError(status.error()); 30 return ret; 36 ret.SetError(ESHUTDOWN); 43 ret.SetError(-error_); 45 ret.SetValue(); 48 return ret; 140 void Transaction::SendTransaction(int opcode, Status<void>* ret, argument 144 *ret = client_.CheckReconnect(); 145 if (!*ret) 164 SendTransaction(int opcode, Status<int>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument 185 SendTransaction(int opcode, Status<LocalHandle>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument 206 SendTransaction(int opcode, Status<LocalChannelHandle>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument [all...] |
/frameworks/native/libs/vr/libvrsensor/ |
H A D | pose_client.cpp | 48 int ret = GetRingBuffer(nullptr); local 49 if (ret < 0) 50 return ret; 59 int ret = GetRingBuffer(nullptr); local 60 if (ret < 0) 72 int ret = GetControllerRingBuffer(controller_id); local 73 if (ret < 0) 74 return ret; 150 int ret = buffer->GetBlobReadOnlyPointer(sizeof(DvrPoseRingBuffer), &addr); local 151 if (ret < 195 int ret = buffer->GetBlobReadOnlyPointer(size, &addr); local 233 int ret = GetRingBuffer(nullptr); local [all...] |
/frameworks/native/opengl/tests/gl_perf/ |
H A D | fill_common.cpp | 232 uint32_t ret = 0xff000000; local 233 ret |= r & 0xff; 234 ret |= (g & 0xff) << 8; 235 ret |= (b & 0xff) << 16; 236 return ret;
|
/frameworks/native/services/sensorservice/hidl/ |
H A D | SensorManager.cpp | 68 hidl_vec<SensorInfo> ret; local 69 ret.resize(static_cast<size_t>(count)); 71 ret[i] = convertSensor(*list[i]); 73 _hidl_cb(ret, Result::OK);
|
/frameworks/native/services/surfaceflinger/tests/hwc2/ |
H A D | Hwc2TestLayer.cpp | 83 int ret = mBuffer.get(outHandle, &acquireFence); local 85 return ret;
|