/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/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_am_BatteryStatsService.cpp | 65 extern bool processPowerHalReturn(const Return<void> &ret, const char* functionName); 76 int ret = sem_post(&wakeup_sem); local 77 if (ret < 0) { 95 int ret = sem_init(&wakeup_sem, 0, 0); local 96 if (ret < 0) { 109 int ret = sem_wait(&wakeup_sem); local 110 if (ret < 0) { 213 Return<void> ret = powerHalV1_0->getPlatformLowPowerStats( local 240 if (!processPowerHalReturn(ret, "getPlatformLowPowerStats")) { 250 ret 297 Return<void> ret = powerHalV1_0->getPlatformLowPowerStats( local 380 Return<void> ret = powerHal_1_1->getSubsystemLowPowerStats( local [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 | 119 bool processPowerHalReturn(const Return<void> &ret, const char* functionName) { argument 120 if (!ret.isOk()) { 127 return ret.isOk(); 132 Return<void> ret; local 134 ret = powerHalV1_1->powerHintAsync(hintId, data); 135 processPowerHalReturn(ret, "powerHintAsync"); 139 ret = powerHalV1_0->powerHint(hintId, data); 140 processPowerHalReturn(ret, "powerHint"); 198 Return<void> ret = powerHalV1_0->setInteractive(enable); local 199 processPowerHalReturn(ret, "setInteractiv 230 Return<void> ret = powerHalV1_0->setFeature((Feature)featureId, static_cast<bool>(data)); local [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/installd/ |
H A D | installd.cpp | 196 int ret; local 223 if ((ret = InstalldNativeService::start()) != android::OK) { 224 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) { 82 int ret; local 84 ret = ioctl(m_binderFd, cmd, arg); 85 if (ret ! 91 int ret; local 110 int ret; local 134 int ret; local [all...] |
/frameworks/native/libs/sensor/ |
H A D | ISensorServer.cpp | 180 int32_t ret = isDataInjectionEnabled(); local 181 reply->writeInt32(static_cast<int32_t>(ret)); 227 int32_t ret = setOperationParameter(handle, type, floats, ints); local 228 reply->writeInt32(ret);
|
H A D | SensorManager.cpp | 300 int ret; local 301 ret = i->second->configureChannel(sensorHandle, rateLevel); 302 ALOGE_IF(ret < 0, "SensorManager::configureChannel (%d, %d) returns %d", 304 static_cast<int>(ret)); 305 return ret;
|
/frameworks/native/libs/ui/ |
H A D | Gralloc2.cpp | 119 hardware::Return<void> ret; local 121 ret = mMapperV2_1->createDescriptor_2_1(descriptorInfo, hidl_cb); 130 ret = mMapper->createDescriptor(info, hidl_cb); 133 return (ret.isOk()) ? error : kTransactionError; 140 auto ret = mMapper->importBuffer(rawHandle, local 151 return (ret.isOk()) ? error : kTransactionError; 157 auto ret = mMapper->freeBuffer(buffer); local 159 auto error = (ret.isOk()) ? static_cast<Error>(ret) : kTransactionError; 173 auto ret local 190 auto ret = mMapperV2_1->getTransportSize(buffer, local 224 auto ret = mMapper->lock(buffer, usage, accessRegion, acquireFenceHandle, local 259 auto ret = mMapper->lockYCbCr(buffer, usage, accessRegion, local 285 auto ret = mMapper->unlock(buffer, local 340 auto ret = mAllocator->allocate(descriptor, count, local [all...] |
/frameworks/native/libs/vr/libbufferhubqueue/tests/ |
H A D | buffer_hub_queue_producer-test.cpp | 126 int ret = mProducer->dequeueBuffer( local 130 ASSERT_EQ(0, ~IGraphicBufferProducer::BUFFER_NEEDS_REALLOCATION & ret);
|
/frameworks/native/libs/vr/libdvr/tests/ |
H A D | dvr_buffer_queue-test.cpp | 71 int ret = api_.WriteBufferQueueCreate( local 74 ASSERT_EQ(0, ret); 81 int ret = api_.WriteBufferQueueCreate( local 84 ASSERT_EQ(0, ret); 93 int ret = api_.WriteBufferQueueCreate( local 96 ASSERT_EQ(0, ret); 99 ret = api_.WriteBufferQueueCreateReadQueue(write_queue_, &read_queue); 101 ASSERT_EQ(0, ret); 108 int ret = api_.WriteBufferQueueCreate( local 111 ASSERT_EQ(0, ret); 130 int ret = api_.WriteBufferQueueCreate( local 149 int ret = api_.WriteBufferQueueCreate( local 222 int ret = api_.WriteBufferQueueCreate( local 245 int ret = api_.WriteBufferQueueCreate( local 363 int ret = api_.WriteBufferQueueCreate( local 382 int ret = api_.WriteBufferQueueCreate( local 529 int ret = api_.WriteBufferQueueCreate( local [all...] |
H A D | dvr_display-test.cpp | 21 int ret = api_.GetNativeDisplayMetrics(sizeof(display_metrics_), variable 23 ASSERT_EQ(ret, 0) << "Failed to get display metrics."; 82 int ret = local 85 ASSERT_EQ(ret, 0) << "Failed to create direct surface."; 91 ret = api_.SurfaceCreateWriteBufferQueue( 94 EXPECT_EQ(0, ret) << "Failed to create buffer queue."; 101 ret = api_.WriteBufferQueueGainBuffer(write_queue_, kTimeoutMs, &write_buffer, 103 EXPECT_EQ(0, ret) << "Failed to get the buffer."; 113 ret = api_.WriteBufferQueuePostBuffer(write_queue_, write_buffer, &out_meta, 115 EXPECT_EQ(0, ret) << "Faile 134 int ret = local 204 int ret = local 305 int ret = api_.WriteBufferGetAHardwareBuffer(write_buffer, &ah_buffer); local [all...] |
/frameworks/native/libs/vr/libpdx/ |
H A D | client.cpp | 22 Status<void> ret; local 28 ret.SetError(status.error()); 29 return ret; 35 ret.SetError(ESHUTDOWN); 42 ret.SetError(-error_); 44 ret.SetValue(); 47 return ret; 143 void Transaction::SendTransaction(int opcode, Status<void>* ret, argument 147 *ret = client_.CheckReconnect(); 148 if (!*ret) 167 SendTransaction(int opcode, Status<int>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument 188 SendTransaction(int opcode, Status<LocalHandle>* ret, const iovec* send_vector, size_t send_count, const iovec* receive_vector, size_t receive_count) argument 209 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/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 | 74 hidl_vec<SensorInfo> ret; local 75 ret.resize(static_cast<size_t>(count)); 77 ret[i] = convertSensor(*list[i]); 79 _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;
|
/frameworks/native/services/vr/bufferhubd/ |
H A D | producer_channel.cpp | 73 if (int ret = buffer_.Alloc(width, height, layer_count, format, usage)) { 75 strerror(-ret)); 76 *error = ret; 80 if (int ret = metadata_buffer_.Alloc(metadata_buf_size_, /*height=*/1, 85 strerror(-ret)); 86 *error = ret; 95 if (int ret = metadata_buffer_.Lock(BufferHubDefs::kMetadataUsage, /*x=*/0, 99 return ret; 320 int ret = epoll_ctl(release_fence_fd_.Get(), EPOLL_CTL_MOD, local 322 ALOGE_IF(ret < [all...] |
/frameworks/native/services/vr/performanced/ |
H A D | cpu_set.cpp | 246 const bool ret = base::WriteStringToFd(value, file.get()); local 247 if (!ret)
|
/frameworks/native/vulkan/vkjson/ |
H A D | vkjson.cc | 741 bool ret = true; local 745 ret &= 770 ret &= visitor->Visit("properties", &device->properties) && 780 return ret; 785 bool ret = true; local 788 ret &= visitor->Visit("deviceGroups", &instance->device_groups); 790 ret &= visitor->Visit("layers", &instance->layers) && 794 return ret;
|
/frameworks/rs/cpu_ref/ |
H A D | rsCpuIntrinsic3DLUT.cpp | 128 uchar4 ret = convert_uchar4(v2); local 129 ret.w = in->w; 148 *out = ret;
|
/frameworks/rs/ |
H A D | rsGrallocConsumer.cpp | 45 media_status_t ret = AImageReader_new( local 48 if (ret != AMEDIA_OK || mImgReader == nullptr) { 49 ALOGE("Error creating image reader. ret %d", ret); 52 ret = AImageReader_getWindow(mImgReader, &mNativeWindow); 53 if (ret != AMEDIA_OK || mNativeWindow == nullptr) { 54 ALOGE("Error creating native window. ret %d", ret); 58 ret = AImageReader_setImageListener(mImgReader, &mReaderCb); 88 media_status_t ret; local 232 media_status_t ret; local 267 media_status_t ret; local [all...] |